Murtuza Zabuawala
087332f32e
Fix the boolean editor, and warn the user if there are unsaved changed in the edit grid before refreshing.
2016-09-01 11:50:48 +01:00
Neel Patel
8dca4b0e0b
Fixed an syntantical issue, which was not supported by QtWebkit.
...
The issue was regression of the patch for the 'SlickGrid'.
Fixes #1621
2016-08-30 14:43:50 +05:30
Murtuza Zabuawala
c56e4667df
SlickGrid Integration in to query tool. Fixes #1618
2016-08-29 20:17:01 +05:30
Dave Page
d5f6c63ead
More string tweaks.
2016-08-19 11:48:34 +01:00
Surinder Kumar
761b54ce69
Allow the user to configure tabs in the SQL editor. Fixes #1406
2016-08-19 11:40:19 +01:00
Murtuza Zabuawala
d6391c7e9b
Properly display messages from the server in the query tool. Fixes #1523
2016-08-18 17:08:40 +01:00
Surinder Kumar
6d839a2924
Prevent a query being executed whilst one is already in progress. Fixes #1532
2016-08-16 12:10:16 +01:00
Akshay Joshi
035066bd41
Fix query tool button/menu inconsistencies. Fixes #1461
2016-08-09 16:23:24 +01:00
Surinder Kumar
1bcac0b67c
Fix more of the funky keyboard shortcuts.
2016-08-08 15:26:37 +01:00
Khushboo Vashi
8e099e29c3
Fix various escaping issues. Fixes #1527
2016-08-05 12:20:00 +01:00
Surinder Kumar
42f8745aba
Fix error running VACUUM FULL FREEZE ANALYZE VERBOSE. Fixes #1519
2016-08-04 12:13:34 +01:00
Harshal Dhumal
cb35c46f03
Fix View Data options for tables with columns that need quoting. Fixes #1492
2016-08-04 11:54:36 +01:00
Murtuza Zabuawala
8c433fbfce
Fix display of numerics in the query tool. Fixes #1463
2016-08-04 11:31:24 +01:00
Surinder Kumar
9c4eed70b4
Use the same keyboard shortcuts in the query tool as pgAdmin 3. Refs #1478
...
Per discussion on the mailing list, the shortcuts override the browser defaults (where there are any), but only when the query tool has focus.
2016-08-01 15:10:52 +01:00
Dave Page
f4f8273994
Display basic query info when execution completes in the query tool. Fixes #1507
2016-07-27 11:36:13 +01:00
Murtuza Zabuawala
06e881570a
Fix numerous encoding issues. Fixes #1307 . Fixes #1479
2016-07-26 15:05:14 +01:00
Harshal Dhumal
9dd3cf2399
Make Save/Save As menu options work a little more sanely. Fixes #1460
2016-07-25 12:55:06 +01:00
Dave Page
60659975ed
Stop using deprecated imports.
2016-07-22 16:25:23 +01:00
Harshal Dhumal
a7d7577c7c
Query tool file handling cleanup. Fixes #1460
...
- Opening a file should set the tab name to the filename
- Editing a file should add a * to the tab name to indicate the file is dirty
- Saving changes to a file should clear the *
- The Save button should have a drop-down menu, with a Save As option.
2016-07-21 13:44:42 +01:00
Harshal Dhumal
83a1535f89
Fix saving of query output as CSV data. Fixes #1405
2016-07-18 15:29:09 +01:00
Ashesh Vashi
9ba6bafb2b
Using own version of cursor class to allow us to take care of the
...
duplicate name in column description.
2016-07-16 10:42:51 +05:30
Murtuza Zabuawala
d15dfac60f
FIx a hang in the query tool that could occur if a column type couldn't be determined. Fixes #1438
2016-07-15 12:59:01 +01:00
Murtuza Zabuawala
517a797947
Fix query tool display of various types:
...
date
reltime
abstime
time with timezone
time without timezone
2016-07-15 11:59:45 +01:00
Surinder Kumar
1a129cf30e
File management dialogue enhancements:
...
- Double click on file/folder icon or name will navigate to the folder/file.
- Selected file/folder can be renamed by Rename button only. Double click rename is removed.
- Filename text box will not hide on smaller screen. Setting minimum width of File Browser fixed it.
- Path at top will only show directory name, not the file name and it is greyed out
2016-07-15 10:50:25 +01:00
Surinder Kumar
9ad0bd1026
Fix clear query option which was opening a query tool in new window in Mac Runtime
2016-07-13 12:35:22 +01:00
Neel Patel
d22ea8bf61
Properly support file downloads in the desktop runtime. Fixes #1405 . Fixes #1342
2016-07-13 12:26:24 +01:00
Surinder Kumar
52d1af63a5
Scroll to the new row when adding one in the query tool. Fixes #1435
2016-07-07 12:35:44 +01:00
Surinder Kumar
6c6660e576
Resolve "Move to last page" warning shown unnecessarily issue. Fixes #1422
2016-07-05 12:20:40 +01:00
Surinder Kumar
1bd27b847b
Grey the SQL panel in edit data mode. Fixes #1423
...
Introduced a new class 'cm_disabled' with css property background-color to '#EEEEE'
Query tool in edit mode, add the class 'cm_disabled' to set background color to dark and set the cursor property to 'nocursor' to disable editor.
Increased the query tool title padding to fix the issue of whitespace below the title.
2016-07-05 12:11:36 +01:00
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