Murtuza Zabuawala
3ee8861d44
Fix JSON type rendering. Fixes #1404
2016-07-04 10:05:59 +01:00
Dave Page
aa44122a8a
Fix query execution keys in the Mac runtime. Needs more work to sanitize with CodeMirror, but this is a step further. Fixes #1336
2016-06-30 09:56:15 +01:00
Dave Page
0282ef7992
Use a standard colour for error highlighting.
2016-06-29 20:54:08 +01:00
Surinder Kumar
53434030c1
Consistent busy indication. Fixes #1242
2016-06-29 12:16:02 +01:00
Dave Page
1222681888
Revert "Display busy indicators in a much more consistent way. Fixes #1242 "
...
This reverts commit 7fbefa507b
which seems to be
missing things.
2016-06-29 10:32:20 +01:00
Dave Page
7fbefa507b
Display busy indicators in a much more consistent way. Fixes #1242
2016-06-27 17:09:37 +01:00
Dave Page
7d0fe669ca
Code tidy.
2016-06-21 14:21:06 +01:00
Dave Page
3026b470e9
Optimise Python imports.
2016-06-21 14:12:14 +01:00
Harshal Dhumal
237f93591f
Keyboard shortcuts in the Query Tool:
...
Execute --> Ctrl + Shift + E
Explain --> Ctrl + Shift + X
Explain analyze --> Ctrl + Shift + A
2016-06-20 13:03:46 +01:00
Akshay Joshi
c04b729c1d
Set the minimum value to 50 and maximum value to 2000 for the items per page in the result grid
2016-06-20 16:23:49 +05:30
Dave Page
05e7ee5a05
Second attempt at fixing the file handling code. Tested on Mac and Windows in both desktop and server modes.
2016-06-17 22:05:49 +01:00
Dave Page
2c62d1a4b7
Revert "Make the file manager work a little more sanely with regard to paths."
...
This breaks things even more on Windows :-(
This reverts commit 35243b9869
.
2016-06-17 18:19:51 +01:00
Dave Page
35243b9869
Make the file manager work a little more sanely with regard to paths.
2016-06-17 17:12:04 +01:00
Ashesh Vashi
359b1d0176
Use a separate class to remove the footer space in the query editor,
...
when no of records in a page is set to 0 (or, less than 0). So that -
we do not loose CSS applied on the children DOM Elements dependent of
the original class.
This was regression of commit-id:
f9393aee44
We were loosing the formatting under the grid table due to this change.
2016-06-17 15:11:47 +05:30
Akshay Joshi
f9393aee44
Allow a value of 0 rows per page to mean "no paging". Allow rows to be added on any page.
...
Fixes #1356
2016-06-16 09:57:44 +01:00
Surinder Kumar
677008af10
Fix file type detection for Python 2.6. Fixes #1330
...
To find out the type of file selected using FileManager in query tool, we use bitwise OR( | ) on two sets which is not working on python-2.6.9 version.
Now we took list of elements instead of sets to fix the issue.
2016-06-13 16:35:11 +01:00
Surinder Kumar
9e8e3fc787
Fix file selection on Windows. Fixes #1319
...
1) Unable to select sql file through query tool on windows OS. In file_manager.js, we are stripping initial slash '/' from the path obtained, but we should not strip if it is full path like 'c:/path/to/dir/filename.ext'
2) Handle directory path if STORAGE_DIR is None. Proper checks are added.
2016-06-10 17:06:22 +01:00
Akshay Joshi
967159664e
Fixes #1303 Query with Order by clause is not working in Query Tool
2016-06-03 14:40:57 +05:30
Murtuza Zabuawala
1bd37d1f76
Fixes #1275 Issue with Query tool for PPAS - not showing the correct output
2016-06-03 14:34:50 +05:30
Surinder Kumar
278f18bab8
Fixes #1243 - Allow to resize the columns of the result table in the
...
Query editor.
2016-06-02 14:46:58 +05:30
Ashesh Vashi
486da5e12c
Fixed issue only coming in the runtime.
...
* Do not need to translate an empty string. (that results into the
translation header inclusion in the javacript module).
* String.prototype.StartsWith is not an well received function, it has
not been available in the QWebkit for linux.
2016-06-02 13:15:26 +05:30
Surinder Kumar
f4938beb3c
Error out - when user tries to load a binary file in the Query Editor.
2016-05-25 17:51:44 +05:30
Surinder Kumar
d4644428e6
Fixes #1217 - Added support for the context menu - 'View Data' for the
...
Materialized View.
2016-05-25 00:02:52 +05:30
Akshay Joshi
0a354055a9
Adding support for autocomplete in the SQL Editor.
...
In Query editor, we can use the autocomplete feature by using keyword
combination - 'Ctrl + Space'.
2016-05-21 16:04:29 +05:30
Akshay Joshi
8312efe927
Fixed issue of getting/setting preferences options for 'Explain'
2016-05-17 14:38:44 +05:30
Akshay Joshi
216b6b16b5
Fixed issue change 'Auto Commit' option from preferences not reflacted properly on UI and also not set the class variable
2016-05-17 12:31:39 +05:30
Sanket Mehta
fcc3d112e2
Integrate the graphical explain module in the Query Editor.
...
Added few TODO list for the graphical explain module by Ashesh.
2016-05-16 01:07:54 +05:30
Murtuza Zabuawala
5ca63fba48
Initial version for generationg the CREATE/SELECT/EXEC scripts for the
...
selected node.
2016-05-16 00:25:34 +05:30
Surinder Kumar
1aeab98a2b
Load, and save the files in the Query Editor.
...
Also, the changes done by Ashesh to resolved few issue with the file
manager in 'Select' mode.
2016-05-14 15:29:08 +05:30
Karen Blatchley
949e536bae
First round of string review and cleanup.
2016-05-06 13:53:48 +01:00
Akshay Joshi
894002b06d
Fixed below review comments for QueryTool
...
- The button bar be moved out into an HTML template
- create.sql should perhaps be renamed to insert.sql
- The "Add Row" button only works if you're on the last page of the resultset.
- Use one wcDocker instead of two
- Added support of code folding
2016-05-06 18:09:04 +05:30
Ashesh Vashi
9dd3aeadb5
Do not close the menu, when clicking on the menu with checkbox.
...
Introduced a class 'noclose'. Then - menu-item having this class will
not propograte the events to its parent, hence - it will not be closed.
Some of the CSS applicable only to the immediate buttons only, and not
the grand-children.
2016-04-25 22:06:42 +05:30
Ashesh Vashi
a5aa6d159a
Updated the CodeMirror to the latest stable version (5.14.2).
...
It has now the 'sql/x-pgsql' mode, which will make the queries more
familiar, and lot more improved addons.
2016-04-22 15:28:34 +05:30
Dave Page
4d7d3bd5e1
Icon and toolbar cleanup/consistency.
2016-04-15 13:32:17 +01:00
Dave Page
9c65b73f31
Fix "View Filtered Rows" option.
2016-04-15 08:52:27 +01:00
Akshay Joshi
c6acbcb5ad
Query tool/data editor initial version
2016-04-14 15:04:03 +01:00