Aditya Toshniwal
234efc3be7
Don't wait for the database connection before rendering the Query Tool UI, for improved UX. Fixes #4453
...
In addition, unescape HTML entities in database names in the Query Tool title bar. Fixes #4584
2019-08-23 12:14:20 +01:00
Murtuza Zabuawala
3155380621
Fix issue where Deleting N number of rows makes first N number of rows disable. Fixes #3605
2019-08-19 12:12:28 +05:30
Yosry Muhammad
687204771c
Add support in query history to show internal queries generated by pgAdmin during save data operations. Fixes #4612
2019-08-16 17:17:12 +05:30
Aditya Toshniwal
a51de78292
Fix issue in drag drop feature. It's regression of RM #4552
2019-08-12 13:11:56 +05:30
Yosry Muhammad
b618dfe286
Fix double click issue to expand the contents of a cell if the resultset was not editable. Fixes #4585
2019-08-09 11:45:05 +05:30
Aditya Toshniwal
99a8b70e00
Fix some errors thrown on the JS console when dragging text in the Query Tool. Fixes #4552
2019-08-02 11:28:57 +01:00
Yosry Muhammad
0cfd76c279
Fix load on demand in View/Edit data mode. Fixes #4536
2019-08-02 10:39:19 +01:00
Yosry Muhammad
97e39699ea
Ensure the Query Tool doesn't throw an error when viewing the contents of a table with no columns. Fixes #4492
2019-08-01 14:39:02 +01:00
Aditya Toshniwal
bcb1392a1a
Ensure type names are properly encoded in the results grid. Fixes #4401
2019-08-01 13:17:00 +01:00
Khushboo Vashi
c019778a47
1) Fix an error while retrieving json data from the table. Fixes #4427
...
2) Fix an issue where Explain and Explain Analyze are not working, it's regression of #1760 . Fixes #4484
3) Fix an issue where Filter toolbar button is not working in view/edit data, it's regression of keyboard navigation. Fixes #4485
2019-07-22 18:42:48 +05:30
Yosry Muhammad
710d520631
Add support for editing of resultsets in the Query Tool, if the data can be identified as updatable. Fixes #1760
...
When a query is run in the Query Tool, check if the source of the columns
can be identified as being from a single table, and that we have all
columns that make up the primary key. If so, consider the resultset to
be editable and allow the user to edit data and add/remove rows in the
grid. Changes to data are saved using SAVEPOINTs as part of any
transaction that's in progress, and rolled back if there are integrity
violations, without otherwise affecting the ongoing transaction.
Implemented by Yosry Muhammad as a Google Summer of Code project.
2019-07-17 11:45:20 +01:00
Dave Page
bd0e4a5a8f
Remove some files committed in error.
2019-07-08 12:07:50 +01:00
Akshay Joshi
11a3aa56be
Use different folders for pg vs. ppas RE-SQL tests. Fall back to the tests folder without a subdirectory if neither exist.
2019-07-05 14:40:51 +01:00
Aditya Toshniwal
0aa18fd466
Ensure drag/drop from the treeview works as expected on Firefox. Fixes #4429
2019-07-04 14:49:09 +01:00
Aditya Toshniwal
0340b8fb28
Add EXPLAIN options for SETTINGS and SUMMARY. Fixes #4335
...
Prevent flickering of large tooltips on the Graphical EXPLAIN canvas. Fixes #4224
EXPLAIN options should be Query Tool instance-specific. Fixes #4395
2019-07-03 13:57:56 +01:00
Aditya Toshniwal
2451db8797
Ensure the browser close confirmation is only shown when closing a Query Tool which is running in a separate browser tab. Fixes #4403
2019-06-27 10:37:50 -04:00
Aditya Toshniwal
173b812b93
Allow some objects to be dragged/dropped into the Query Tool to insert their signature into the query text. Fixes #4139
2019-06-27 10:30:05 -04:00
Aditya Toshniwal
c39d257bf6
Fix an XSS issue when username contains XSS vulnerable text. Fixes #4386
2019-06-24 16:06:03 +05:30
Aditya Toshniwal
6e8ebbd375
Allow editing of data where a primary key column includes a % sign in the value. Fixes #4036
...
Fix an XSS issue seen in View/Edit data mode if a column name includes HTML. Fixes #4367
2019-06-20 12:21:37 +01:00
Aditya Toshniwal
f561c0cee6
Fix keyboard navigation in "inner" tabsets such as the Query Tool and Debugger. Fixes #4195
2019-06-10 11:10:49 +01:00
Aditya Toshniwal
2185ea302d
Omit the geometry viewer in the Query Tool from layout saving. Fixes #4169
2019-05-30 15:15:37 -04:00
Aditya Toshniwal
dfa892d2a2
1. Added Master Password to increase the security of saved passwords. Fixes #4184
...
2. In server(web) mode, update all the saved server credentials when user password is changed. Fixes #3377
2019-05-28 12:00:18 +05:30
Khushboo Vashi
6f0eafb223
Fixed CSRF security vulnerability issue. per Alvin Lindstam. Fixes #4217
...
Initial patch by: Khushboo Vashi
Modified by: Ashesh Vashi and Murtuza Zabuawala
2019-05-28 10:59:51 +05:30
Aditya Toshniwal
ee37be56f9
Fix handling of JSON in the Query Tool with NULL elements. Fixes #4263
2019-05-23 08:53:29 +01:00
Aditya Toshniwal
05ae330030
Improvement for 'beforeunload' event, bind the event only from where it is required.
2019-04-22 11:30:33 +05:30
Khushboo Vashi
0b47d1dbf6
1) Fix an issue where Deleting N number of rows makes first N number of rows disable. Fixes #3605
...
2) Ensure that on clicking Delete button should not delete rows immediately from the database server,
it should be deleted when Save button will be clicked. Fixes #2392
2019-04-18 12:09:35 +05:30
Aditya Toshniwal
7627e9c699
Display errors during CSV download from the Query Tool in the UI rather than putting them in the CSV file. Fixes #4085
...
Ensure the toolbar buttons are properly reset following a CSV download in the Query Tool. Fixes #4096
2019-03-29 14:31:33 +00:00
Aditya Toshniwal
fbc6aea497
Fix an issue where JSON data would not be rendered in the Query Tool. Fixes #4105
2019-03-28 08:12:09 -04:00
Aditya Toshniwal
6fb35f2649
Overhaul the layout saving code so it includes the Query Tool and Debugger, and stores the layout when change events are detected rather than (unreliably) on exit. Fixes #4084
2019-03-26 11:08:45 -04:00
Khushboo Vashi
e4417229aa
Update all Python and JS dependencies. Fixes #4019
2019-03-14 15:11:16 +00:00
Dave Page
ab9a3a57ad
Make the Query Tool history persistent across sessions. Fixes #4017
2019-03-13 13:37:34 +00:00
Dave Page
2356988bdf
Ensure that Firefox prompts for a filename/location when downloading query results as a CSV file. Fixes #4071
2019-03-12 12:45:25 +00:00
Aditya Toshniwal
6aae9d6e20
Handle resultsets with zero columns correctly in the Query Tool. Fixes #4054
2019-03-07 15:22:45 +00:00
Aditya Toshniwal
4b895941b3
Remove the large and unnecessary dependency on React and 87 other related libraries. Fixes #4018
2019-03-07 10:51:59 +00:00
Akshay Joshi
0aeb20ee64
Prevent auto-commit/rollback being changed mid-transaction, and make the Preferences the defaults, not the current values.
2019-03-04 10:44:31 +00:00
Murtuza Zabuawala
fb747b8031
Fix download CSV for IE11 which doesn't support the download attribute. Fixes #4040
2019-03-01 13:32:40 +00:00
Khushboo Vashi
c6d295727c
Fix resizing of the results grid, when full of data.
2019-03-01 12:49:41 +00:00
Aditya Toshniwal
74cfeabd02
Fix graphical explain now that JSON data is sent as text to stop JS futzing with it. Fixes #4041
2019-03-01 12:38:57 +00:00
Dave Page
acb61f0990
Use POST instead of GET for Query Tool downloads to avoid errors with long queries. Fixes #4013
2019-02-27 17:08:53 +00:00
Khushboo Vashi
6b3a628e7a
Fix double scrollbar on the query tool results grid.
2019-02-27 10:59:58 +00:00
Aditya Toshniwal
9c5b9364b6
Support double-click on Query Tool result grid column resize handles to auto-size to the content. Fixes #4034
2019-02-26 13:44:16 +00:00
Aditya Toshniwal
59446bb4b5
Ensure JSON data isn't modified in-flight by psycopg2 when using View/Edit data. Fixes #3600
2019-02-25 10:34:36 +00:00
Dave Page
27d3990ba2
Allow editing of values in columns with the oid datatype which are not an actual row OID. Fixes #3418
2019-02-22 16:18:39 +00:00
Akshay Joshi
38b034ec3c
Add Commit and Rollback buttons to the Query Tool. Fixes #2418
2019-02-22 14:28:05 +00:00
Dave Page
0766b17726
Enable/disable the Download button with the Execute button.
2019-02-22 09:34:48 +00:00
Khushboo Vashi
98283c1213
Disable the editor and execute functions whilst queries are executing. Fixes #4021
2019-02-21 14:19:25 +00:00
Khushboo Vashi
34045efb38
Modify the Download as CSV option to use the same connection as the Query Tool its running in so temporary tables etc. can be used. Fixes #3673
2019-02-20 11:49:45 +00:00
Dave Page
255afe673a
Add a "scratch pad" to the Query Tool to hold text snippets whilst editing. Fixes #2233
2019-02-15 15:44:49 +00:00
Akshay Joshi
fedbcd4045
Ensure that output of the query should be displayed even if Data Output window is detached from the Query Tool. Fixes #3697
2019-01-29 18:48:21 +05:30
Aditya Toshniwal
821496dc84
Fixed Query Tool Initialization Error. Fixes #3903
2019-01-29 11:45:31 +05:30