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
Usman Muzaffar
be26fc540c
Many fixes to the stability of the feature tests, including:
...
tree toggle issue
Query tool inteliSence issue eg. when there is only one option and drop down is not shown
Backup and restore windows locator changes
Fixes required due to resolving rm # 4041
Dependent tab not showing data sometime, so refreshed the page and handled it
Due to change of logic for auto commit, did the required changes
Due to fix of RM 4062, did the required workaround which broke the test case.
2019-03-21 12:04:37 +00:00
Dave Page
8c5894dd6a
Revert "Remove the cp1252 test to see if it un-breaks the Windows buildfarm runs."
...
This reverts commit ce51204
2019-03-18 09:28:28 +00:00
Dave Page
04c776cbeb
Randomise the database name used for encoding tests to avoid collisions when multiple tests are running against the same server.
2019-03-15 12:03:42 +00:00
Dave Page
ce5120431b
Remove the cp1252 test to see if it un-breaks the Windows buildfarm runs.
2019-03-15 11:01:53 +00: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
Dave Page
d7bf6ec69f
String review and subsequent cleanup
...
Ashesh Vashi
Abhilasha Narendra
Karen Blatchley
Susan Douglas
Dave Page
2019-03-05 14:08:16 +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
36ffdb93e8
Custom-encode forward slashes in URL parameters as Apache HTTPD doesn't allow them in some cases. Fixes #3998
2019-03-01 14:55:25 +00:00
Khushboo Vashi
849e34c2f7
Add full support and testsfor all PG server side encodings. Fixes #3992 . Fixes #3982 . Fixes #3911
2019-03-01 13:51:50 +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
Akshay Joshi
5be0d17df5
Don't exclude SELECT statements from transaction management in the Query Tool in case they call data-modifying functions. Fixes #3958
2019-02-21 14:05:10 +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
841af6868d
Fix paste issue during commit :-s
2019-02-18 17:08:18 +00:00
Murtuza Zabuawala
e2482d2294
Set the background colour for backform notes, and add an icon. Fixes #3948
2019-02-18 16:59:39 +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
Dave Page
c64373435b
Make the Query Tool tab titles more concise and useful. Fixes #3544
2019-02-15 15:09:49 +00:00
Akshay Joshi
944cc55df7
Prevent an error when closing the Sort/Filter dialogue with an empty filter string. Fixes #3970
2019-02-13 16:44:57 +00:00
Dave Page
1fc66406f5
Don't embed docs and external sites in iframes, to allow the external sites to set X-FRAME-OPTIONS = DENY for security. Fxies #3985
2019-02-12 16:07:38 +00:00
Akshay Joshi
22d458b01e
Close connections gracefully when the user logs out of pgAdmin. Fixes #3942
2019-02-06 13:17:52 +00:00
Akshay Joshi
8f4d1f14f2
1) Fix alignment of import/export toggle switch. Fixes #3963
...
2) Remove unnecessary options for toggle switch which are already the default options.
2019-02-06 16:49:36 +05:30
Khushboo Vashi
4a75053514
Clean up the unwanted extended versions of Backform Switch controls.
...
The Bootstrap Switch Control was extended only for alignment in most
places. IIntroduce a configurable option to set the necessary class
on the main div and also remove the extra extended controls.
2019-02-05 16:22:35 +00:00
Dave Page
9c21c07fc4
Correct error message.
2019-02-04 10:23:43 +00:00
Khushboo Vashi
dae8186c2a
Replace Bootstrap switch with Bootstrap4 toggle to improve the performance. Fixes #3051
2019-02-04 11:31:48 +05:30
Cyril Jouve
cbd8f8236a
Remove Python 2.6 code that's now obsolete. Fixes #3935
2019-01-31 13:47:56 +01:00
Murtuza Zabuawala
317a04eafc
Handle backend errors properly and display them correctly on GUI for Grant Wizard
2019-01-30 16:39:34 +05:30
Akshay Joshi
0e489df7b0
Fixed debugger issue for procedure inside package for EPAS servers. Fixes #3927
2019-01-30 14:48:58 +05:30
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
Murtuza Zabuawala
07f16f40cd
Ensure that grant wizard should list down functions for EPAS server running with no-redwood-compat mode. Fixes #3935
2019-01-28 12:47:27 +05:30
Murtuza Zabuawala
d9fc9fdc4d
Ensure object names in external process dialogues are properly escaped. Fixes #3872
2019-01-24 16:34:18 +00:00
Harshal Dhumal
42c7ae372f
Fixed dialog tab navigation for Backup and Restore dialog. Fixes regression of #3862
2019-01-24 17:15:12 +05:30
Akshay Joshi
f316e0533e
1) Messages tab of query tool should be clear on subsequent execution of table/view using View/Edit Data. Fixes #3608
...
2) Clear drop-down menu should be disabled for View/Edit Data. Fixes #3609
2019-01-23 18:25:33 +05:30
Aditya Toshniwal
1f29859040
Improve application level exception handling for unhandled exceptions.
2019-01-23 12:49:05 +05:30
Harshal Dhumal
f731ab730b
Fixed keyboard navigation for dialog tabs. Fixes #3862
2019-01-22 16:28:32 +05:30
Akshay Joshi
3e7381414f
Drop-down should be closed when click on any other toolbar button. Fixes #3858
2019-01-22 16:05:02 +05:30
Akshay Joshi
a163edec7a
Inline edbspl trigger functions should not be visible in Grant Wizard. Fixes #3740
2019-01-17 18:37:36 +05:30
Aditya Toshniwal
7ac4e2a9d9
Fixed following issues:
...
- Process watcher made fixed width with header changes, time details rounded to 2 decimals
- Query history will show "No query history" if no query fired. Query editor default size increased.
- Fixed a bug where New folder create button not working when in List mode and No files/folder present.
- Other minor improvements.
2019-01-16 11:55:08 +05:30
Aditya Toshniwal
d4a2f1b8cd
Ensure that last row of table data should be visible and user will be able to add new row. Fixes #3866
2019-01-11 23:25:05 +05:30
Akshay Joshi
8fb340d23b
Fix ordering of VACUUM options which changed in PG11. Fixes #3836
...
While we're at it, fix the JSON handling in the maintenance/backup/restore routes.
2019-01-10 15:29:55 +05:30
Aditya Toshniwal
868622912e
Fix help for the backup/restore dialogues. Fixes #3861
2019-01-10 11:20:42 +05:30
Aditya Toshniwal
3c7742f3b2
Fixed an issue while creating export job. Fixes #3856
2019-01-08 13:02:29 +05:30
Dave Page
598f69b63d
Improve wording.
2019-01-03 15:24:47 +00:00
Aditya Toshniwal
7d765fea04
Further styling fixes.
2019-01-03 14:50:24 +00:00
Murtuza Zabuawala
e23d307c56
Update copyright notices for 2019
2019-01-02 15:54:12 +05:30
Aditya Toshniwal
86ecf9c84e
Fixed following:
...
- Base font size changed from 0.815rem to 0.875rem, for navbar from 0.875rem to 0.925rem.
- Dialog sizes made consistent throughout the application. Now there are 3 size options for width and height each - sm, md, lg. Combination of any of these to be used hereafter
- Alignment fix for controls of Node properties dialogs which includes showing text and label in one line without dialog size change, checkbox alignment, switch control alignment at places and other minor improvements in other dialogs
- Error message design change in dialogs validation
- SQL Editor data grid editor popup design changes which were missed
- Design change for dashboard server activity grid
- Login page language dropdown color fix
- Properties accordion collapse design fix
- Help, Info icon fixed across all dialogs which were not working if clicked exactly on the text
- Added missing icon with buttons at few places
- Shadow behind the dialogs is increased to make it look clearly separated and depth.
- Control Alignment fix in maintenance dialog
- Min height of alertify dialogs set for better UX
- File dialog design fix when no files found
- Grant wizard fixes - Scroll bar visibility on first page, use full space for SQL generated on the last page
- Browser toolbar buttons changed to sync with SQL editor toolbar buttons
- Rounded corners for docker floating dialog (no properties)
- Renaming file in file dialog should show original file name
- SQL data grid text edit popup buttons behaviour was swapped. This is fixed.
- Import/Export dialog changes as per new design.
2019-01-02 15:07:59 +05:30
Akshay Joshi
41c028f944
Ensure that null values handled properly in CSV download. Fixes #3780
2019-01-01 15:15:36 +05:30
Ashesh Vashi
5799ac14ba
Improvement in the look and feel of the whole application
...
Changed the SCSS/CSS for the below third party libraries to adopt the
new look 'n' feel:
- wcDocker
- Alertify dialogs, and notifications
- AciTree
- Bootstrap Navbar
- Bootstrap Tabs
- Bootstrap Drop-Down menu
- Backgrid
- Select2
Adopated the new the look 'n' feel for the dialogs, wizard, properties,
tab panels, tabs, fieldset, subnode control, spinner control, HTML
table, and other form controls.
- Font is changed to Roboto
- Using SCSS variables to define the look 'n' feel
- Designer background images for the Login, and Forget password pages in
'web' mode
- Improved the look 'n' feel for the key selection in the preferences
dialog
- Table classes consistency changes across the application
- File Open and Save dialog list view changes
Author(s): Aditya Toshniwal & Khushboo Vashi
2018-12-21 17:14:55 +05:30
Khushboo Vashi
d14fb85fff
Tweak the wording on the Grant Wizard. Fixes #3796
2018-12-20 10:17:00 +00:00
Akshay Joshi
52fb8e197f
Increase the size of the resize handle of the edit grid text pop-out. Fixes #3083
...
Allow horizontal sizing of the edit grid text pop-out. Fixes #3805
2018-12-13 10:56:45 +00:00
Khushboo Vashi
12ef55334b
Fix encoding test for older Python versions.
2018-12-06 10:15:58 +00:00
Khushboo Vashi
7e3bd8b88a
Fix an encoding issue in the query tool. Fixes #3711
2018-12-04 17:03:19 +00:00
Murtuza Zabuawala
660293456c
Don't use a hard coded server ID for mocking!
2018-12-04 13:07:35 +00:00
Aditya Toshniwal
0100997aab
Hide Radio buttons that should not be shown on the maintenance dialogue.
2018-12-04 11:00:58 +00:00
Murtuza Zabuawala
f4f0fa0e47
Fix utility route check for Windows.
2018-12-04 10:46:59 +00:00
Murtuza Zabuawala
9a3047c89c
Add API tests for utility check route. Fixes #3790
2018-11-30 09:56:41 +00:00
Akshay Joshi
d801ed5008
Add titles to the code areas of the Query Tool and Debugger to ensure that panels can be re-docked within them. Fixes #3619
2018-11-29 15:47:48 +00:00
Akshay Joshi
bdf9f3404f
Fix handling of array types as inputs to the debugger. Fixes #3354
2018-11-27 11:18:47 +00:00
Murtuza Zabuawala
c79ac2f8d2
Fix some minor CSS issues.
2018-11-27 10:57:30 +00:00
Akshay Joshi
05e067035f
Prevent the debugger controls being pressed again before previous processing is complete. Fixes #3734
...
Note that this needs to be re-visited in the future, as the current fix is somewhat hacky.
2018-11-20 16:35:27 +00:00
Dave Page
782b7419f6
Fix toggle breakpoints buttons in the debugger. Fixes #3736
2018-11-20 16:22:56 +00:00
Akshay Joshi
ef68cae1f1
Properly report errors when debugging cannot be started. Fixes #3723
2018-11-15 15:18:12 -05:00
Akshay Joshi
220fdf583e
Allow use of 0 (integer) and empty strings as parameters in the debugger. Fixes #3629
2018-11-02 16:44:09 +00:00
Akshay Joshi
3359a0de7a
Allow the selection order to be preserved in the Select2 control to fix column ordering in data Import/Export. Fixes #3029
2018-10-31 10:09:40 +00:00
Akshay Joshi
0d5a6eeeff
Ensure that utility existence check should work for schema and
...
other child objects while taking Backup/Restore. Fixes #3722
2018-10-25 18:55:21 +05:30
Akshay Joshi
6ddab02769
1) Fixed process watcher status message when user has stopped the process.
...
2) Saved the process state in sqlite database.
2018-10-25 17:03:34 +05:30
Akshay Joshi
2058cdf662
Fixed test cases for Utilities when default_binary_path is not provided in test_config file.
2018-10-22 13:22:35 +05:30
Akshay Joshi
6bc6bc7f60
Ensure that Utilities(Backup/Restore/Maintenence/Import-Export) should not be started
...
if binary path is wrong and also added 'Stop Process' button to cancel the process.
2018-10-22 12:35:53 +05:30
Aditya Toshniwal
6991c06937
Additional Bootstrap 4 fixes:
...
- Calendar control
- Query Tool's Sort/Filter drop down
- Backform hidden controls
- Debugger toolbar
2018-10-11 13:23:59 +01:00
Dave Page
55cf0cf2f9
Fix message.
2018-10-10 13:30:55 +01:00
Aditya Toshniwal
0565f8dd78
Update to use Bootstrap 3 instead of Bootstrap 4. Fixes #3562
2018-10-10 12:43:26 +01:00
Murtuza Zabuawala
c66840bc8e
Fix some styling regressed in #2927 .
2018-10-09 11:22:54 +01:00
Aditya Toshniwal
26ad6d4c5d
Rename the 'SQL Editor' section of the Preferences to 'Query Tool' as it applies to the whole tool, not just the editor. Fixes #3660
2018-10-08 11:43:02 +01:00
Akshay Joshi
15fe26a710
Fix handling of backslashes in the edit grid. Fixes #3551
2018-09-25 10:34:33 -04:00
Aditya Toshniwal
1b20831338
Ensure changes to Query Tool settings from the Preferences dialogue are applied before executing queries. Fixes #3657
2018-09-19 16:50:11 +01:00
Akshay Joshi
0ec3224212
Fix logic around validation and highlighting of Sort/Filter in the Query Tool. Fixes #3607
2018-09-14 14:18:43 +01:00
Akshay Joshi
532cbe216a
Add shortcuts for View Data and the Query tool to the Browser header bar. Fixes #3564
2018-09-10 15:16:13 +01:00
Aditya Toshniwal
82c9cca683
Move all CSS into SCSS files for consistency and ease of colour maintenance etc. Fixes #2927
2018-09-04 11:24:51 +01:00
Xuri Gong
89e283fbc2
Add a geometry viewer that can render PostGIS data on a blank canvas or various map sources. Fixes #1407
2018-08-30 13:59:44 +01:00
Aditya Toshniwal
283a69a21a
Fix auto scrolling issue in debugger on step in and step out. Fixes #3554 .
2018-08-29 18:20:45 +05:30
Harshal Dhumal
208ee4da8c
Fixed debugger execution issues:
...
1. Allow debugging of EPAS package procedures/functions with INOUT params.
2. Add support for indirect debugging for EPAS package procedures/functions.
3. Allow debugging with NULL param values.
4. Remove saved debug arguments.
Fixes #3191
2018-08-29 17:44:37 +05:30
Aditya Toshniwal
25679fd542
Ensure sort/filter dialog should display proper message after losing database connection. Fixes #3561
2018-08-22 16:38:31 +05:30
Akshay Joshi
0ab1305ddf
1. Added new backup/restore options for PostgreSQL 11. Fixes #3503
...
2. Ensure backup should work with '--data-only' and '--schema-only' for any format. Fixes #3347
3. Added supported "Dump Options" for "pg_dumpall" which was not there since pgAdmin 3.
4. Fixed issue where "--clean" should not clubbed with "--data-only" while taking backup.
5. Fixed "--oids" should not clubbed with "--inserts" or "--column-inserts" while taking backup.
2018-08-22 12:17:50 +05:30
Usman Muzaffar
70c95fcdd5
Stabilise feature tests for continuous running on CI systems. Fixes #3136 .
2018-08-21 17:39:36 +05:30
Aditya Toshniwal
57660d131f
1) Fix sort/filter dialog editing issue. Fixes #3558 .
...
2) Fix sort/filter dialog issue where it incorrectly requires ASC/DESC. Fixes #3325 .
2018-08-21 13:05:40 +05:30
Akshay Joshi
d68c967423
Fix passing of --globals-only to global backups.
2018-08-16 14:20:32 +01:00
Akshay Joshi
7b2c1bb9f8
Handle connection errors properly in the query tool. Fixes #3528
2018-08-10 13:51:32 +01:00
Akshay Joshi
c8c5f83dfe
Add support to save and clear SSH Tunnel password. Fixes #3511
2018-08-06 15:56:46 +05:30
Akshay Joshi
52fc0846cd
pgAdmin4 should work with python 3.7, Fixes #3458
2018-08-06 15:35:03 +05:30
Akshay Joshi
8f45e6fe68
View Data->Filtered Rows dialog should be displayed. Fixes #3527
2018-08-02 18:15:58 +05:30
Aditya Toshniwal
f7e43d5e50
Realtime preference handling for the Dashboards and Debugger. Fixes #3294
2018-07-24 16:31:44 +01:00
Aditya Toshniwal
c353135a3a
Add support for INCLUDE columns on indexes and index constraints with PG 11+. Fixes #3462
2018-07-19 13:13:37 +01:00
Akshay Joshi
1fc82d328c
Fix backup in directory format on Windows.
2018-07-17 13:04:28 +01:00
Akshay Joshi
ba8f745f70
Exclude system columns in Import/Export. Fixes #3448
2018-07-17 13:01:40 +01:00
Khushboo Vashi
8869fd6eb3
Fix a number of debugger execution issues. Fixes #3191
...
1. EPAS packages' function/procedure does not honour INOUT arguments, it converts INOUT to OUT.
2. Packages' functions and procedures are not getting listed in their respected nodes in some scenarios like procedure having INOUT argument and function with void return type
3. The Reverse engineering SQL is not correct for Packages' functions/procedures
4. In case of INOUT argument, debugger asks for mendatory input which should not.
5. Re-executing a procedure whilst direct debugging doesn't work.
2018-07-17 12:51:24 +01:00
Aditya Toshniwal
41a8333145
Replace deprecated success, error callbacks in $.ajax call with new functions .done and .fail.
2018-07-09 13:54:00 +01:00
Aditya Toshniwal
bdb7e3fde2
Infrastructure and changes to the Query Tool for realtime preference handling. Refs #3294
...
Highlights of this patch include:
- Changes will affect SQL Editors in Create dialog boxes, SQL tab of the main screen, Query tool, History entries in the query tool, Query tool opened in New Tab/Window
- All the components of SQL editor will refer to single source of preferences which is cached in the Browser object. All other redundant ajax get preference calls are removed.
- SQL editor will not refer template JS variables anymore, once all the references are removed the template variables will also be removed.
- Code refactoring wherever possible.
- Covered JS test cases wherever possible.
2018-07-05 11:38:43 +01:00
Khushboo Vashi
d56f1b17f3
Fix restoring of restore options for sections. Fixes #3362
2018-07-02 15:53:19 +01:00
Khushboo Vashi
28e0220e97
Fix restoring of restore options for sections. Fixes #
2018-07-02 15:52:15 +01:00
Murtuza Zabuawala
d53c47e1cf
Cleanup and fix handling of Query Tool Cancel button status. Fixes #3319
2018-07-02 15:43:36 +01:00
Murtuza Zabuawala
b390c033cf
Fix debugging of procedures in EPAS packages. Fixes #3457
2018-06-29 15:20:33 +01:00
Khushboo Vashi
fb1ef9ac0b
Properly support backups in Directory format. Fixes #3309
2018-06-29 15:14:37 +01:00
Akshay Joshi
08e4cdf2ac
Updated extension upgrade message. Fixes #3445
2018-06-26 11:53:46 +05:30
Dave Page
5bdd80e3da
Correct version comparison, per Khushboo.
2018-06-25 16:41:34 +01:00
Akshay Joshi
cf29e8df90
Require v1.1 of the pldbgapi extension to debug on EPAS 11.
2018-06-25 16:01:53 +01:00
Akshay Joshi
4a71c6d7af
Various EPAS/PG11 function & procedure fixes. Fixes #3421 . Fixes #3422
2018-06-25 14:58:02 +01:00
Aditya Toshniwal
df85392bbf
Fix handling of SQL_ASCII data in the query tool. Fixes #3289 . Fixes #3250
2018-06-21 08:26:01 -04:00
Akshay Joshi
7a06acb678
Allow the connection timeout to be configured on a per-server basis. Fixes #3388
2018-06-19 19:58:46 -04:00
Khushboo Vashi
ba8829b64f
Further Python 2.6 fixes.
2018-06-15 15:03:53 +01:00
Khushboo Vashi
d1902cd639
Add Python API tests for execution of external utilities such as pg_dump.
2018-06-15 11:36:07 +01:00
Akshay Joshi
b48145f01f
Add an option to auto-complete keywords in upper case. Fixes #2686
2018-06-15 10:18:56 +01:00
Khushboo Vashi
d1ecba56b8
Function and procedure support for PG11. Fixes #3362
2018-06-13 15:03:17 +01:00
Akshay Joshi
419f9069ae
Move the notifications tab between messages and history as it seems more natural there.
2018-06-06 09:23:33 +01:00
Joao De Almeida Pereira
7dd6372eeb
Extract the tests and refactor some of the methods.
...
Extract some of the ACI Tree functionalities, and decouple it from the
main source. Also - create some abstractions from the repeated code
around the enable/disable the schema children object create/edit/delete
functionalities, and also created the dialog wrappers for backup and
restore dialogs.
Reviewed by: Khushboo and Ashesh
Refactored by: Ashesh
2018-06-05 16:42:59 +05:30
Aditya Toshniwal
920934759f
Handle a potential error case in the connection status monitoring.
...
When you disconnect the server with an open sqleditor tab, exception
occurs at the back end. Also, after connecting server, the sqleditor
is not able to connect back because of the exception.
2018-06-05 11:57:56 +01:00
Akshay Joshi
38ee39ae7a
Add support for LISTEN/NOTIFY in the query tool. Fixes #3204
2018-05-30 21:58:28 -04:00
Akshay Joshi
2b4605a9d3
Ensure backup/restore/maintenance work via SSH tunnels. Fixes #3355
2018-05-30 21:25:42 -04:00
Aditya Toshniwal
9f13865777
Update jQuery to 3.3.1. Fixes #3271
...
Patch by Aditya, with test enhancements from Anthony and Joao at Pivotal.
2018-05-25 16:26:37 +01:00
Aditya Toshniwal
6492dacbb2
Ensure the debugger container has focus when loaded. Fixes #3295 - this time on Firefox too!
2018-05-18 11:33:42 +01:00
Anthony Emengo
ab27b9d118
Fix template handling in tests for Windows.
2018-05-14 15:47:38 +01:00
Khushboo Vashi
ba23ba9b8b
Ensure the debugger container has focus when loaded. Fixes #3295
2018-05-09 14:26:50 +01:00
Aditya Toshniwal
5b86a67a41
Fixed query tool keyboard issue where arrow keys were not behaving as expected for execute options dropdown. Fixes #3298
2018-05-09 13:05:22 +05:30
Khushboo Vashi
567f764234
Backup, Maintenance and Restore should not be started if database name contains "=" symbol. Fixes #1220 #1221
2018-05-07 15:09:12 +05:30
Akshay Joshi
b7fb01ab04
Add support for SSH tunneled connections. Fixes #1447
2018-05-04 11:27:27 +01:00
Ashesh Vashi
b653b742ed
Close button added to the alertify message box, which pops up in case of backend error. Fixes #3290
2018-04-24 18:57:31 +05:30
Murtuza Zabuawala
c08adb5567
Catch errors when trying to EXPLAIN an invalid query. Fixes #3257
2018-04-12 10:50:57 +01:00
Murtuza Zabuawala
f5e474e4ec
Ensure the query tool will open properly under MS Edge.
2018-04-10 11:09:59 +01:00
Murtuza Zabuawala
fa1854bd85
Allow sorting when viewing/editing data. Fixes #1894
2018-04-05 16:25:17 +01:00
Murtuza Zabuawala
a705fb46a8
Refactor and simplify query tool connection error handling code. Fixes #3235
2018-04-04 11:20:36 +01:00
Murtuza Zabuawala
be055ce57d
Update Python and JS modules. Fixes #3154
2018-04-04 10:47:01 +01:00
Khushboo Vashi
7805170783
Add the ability to enable/disable UI animations. Fixes #1978
2018-04-03 14:52:13 +01:00
Joao Pedro De Almeida Pereira
94e1e46201
Show more granular timing info in the query tool history panel. Fixes #3244
2018-04-03 14:11:11 +01:00
Akshay Joshi
637f3b9d1a
Fix a number of broken connection detection scenarios.
2018-03-21 08:38:18 +00:00
Murtuza Zabuawala
9ea118ca57
Ensure the file manager properly escapes file & directory names. Fixes #3196
2018-03-19 10:58:12 +00:00
Khushboo Vashi
63ba3402e8
Ensure SSL options are pushed down to external tools like pg_dump. Fixes #3122
2018-03-15 07:35:47 -04:00
Dave Page
3c686d3fbe
PEP-8 fixes
2018-03-13 17:30:07 -04:00
Khushboo Vashi
802269910c
Fix unicode handling in the external process tools and show the complete command in the process viewer. Fixes #2963 . Fixes #3157 .
2018-03-13 16:45:20 -04:00
Joao Pedro De Almeida Pereira
876ce1799a
Skip tests where appropriate on GPDB. Fixes #3190
...
Victoria & Joao @ Pivotal.
2018-03-13 15:32:35 -04:00
Joao Pedro De Almeida Pereira
83477224cb
Use test methods with @patch rather than directly.
2018-03-09 13:25:35 +00:00
Khushboo Vashi
7796a47b12
Fix test case for Python 2.
2018-03-08 10:21:24 +00:00
Khushboo Vashi
f86c313c18
More hardening of the query tool tests.
2018-03-08 09:12:48 +00:00
Khushboo Vashi
1136e37cf0
Make the poll query test a little more robust.
2018-03-07 16:48:32 +00:00
Khushboo Vashi
ae5c13188d
Insert rows correctly when a table has OIDs and a Primary Key in uppercase. Fixes #3135
2018-03-07 16:06:23 +00:00
Khushboo Vashi
d3c303e455
Ensure all messages are retrieved from the server in the Query Tool. Fixes #3094
2018-03-07 13:38:27 +00:00
Joao Pedro De Almeida Pereira
427314cfdf
Support for external tables in GPDB. Fixes #3168
2018-03-02 16:49:25 +00:00
Murtuza Zabuawala
92a0bb605d
Ensure we can edit grid values in the debugger using keyboard shortcuts. Fixes #3153
2018-03-02 15:05:04 +00:00
Murtuza Zabuawala
efcf87636d
Fix typo/thinko in access key definition.
2018-03-02 14:49:06 +00:00
Neethu Mariya Joy
0c48b79ce7
Allow copying of SQL from the dashboard tables. Fixes #3137
2018-03-02 14:39:12 +00:00
Neethu Mariya Joy
7471dea458
Allow text selection/copying from disabled CodeMirror instances. Fixes #2309
2018-03-02 13:46:06 +00:00
Murtuza Zabuawala
da7f088508
Handle opening of non-UTF8 compatible files. Fixes #3129
2018-03-02 13:36:50 +00:00
Murtuza Zabuawala
a9de043fef
Add keyboard shortcuts for the Query Tool. Fixes #2900
2018-02-27 14:32:03 +00:00
Harshal Dhumal
aa1849c13a
Support tab navigation in dialogs. Fixes #2898
2018-02-27 11:18:36 +00:00
Joao Pedro De Almeida Pereira
2332630af8
PEP8 fixes for the tools module.
2018-02-23 11:57:44 +00:00
Harshal Dhumal
c91a597df9
Fix alignment issues in keyboard shortcut options. Fixes #3080
2018-02-20 16:49:59 +00:00
Murtuza Zabuawala
96165044ae
Ensure we can properly update rows with upper-case primary key columns. Fixes #3105
2018-02-19 11:37:31 +00:00
Murtuza Zabuawala
30868614ff
Show button shortcut keys in the debugger on tooltips.
2018-02-19 11:05:34 +00:00
Joao Pedro De Almeida Pereira
9c382e4d23
Fix tests for Python 3.x
2018-02-09 14:39:39 +00:00
Murtuza Zabuawala
942ac733a4
Configurable shortcuts in the Debugger. Fixes #2901
2018-02-09 12:43:27 +00:00
Joao Pedro De Almeida Pereira
e16a952753
Support EXPLAIN on Greenplum. Fixes #3097
...
- Extract SQLEditor.execute and SQLEditor._poll into their own files and add test around them
- Extract SQLEditor backend functions that start executing query to their own files and add tests around it
- Move the Explain SQL from the front-end and now pass the Explain plan parameters as a JSON object in the start query call.
- Extract the compile_template_name into a function that can be used by the different places that try to select the version of the template and the server type
2018-02-09 11:54:42 +00:00
Murtuza Zabuawala
25647c16ba
Ensure we capture notices raised by queries. Fixes #3027
2018-02-02 15:23:33 +01:00
Harshal Dhumal
e0da9c5a0c
Significantly improve connection loss detection and handling in the query tool. Fixes #2815
2018-02-01 14:29:18 +01:00
Murtuza Zabuawala
c6e405ce72
Prevent the filter dialog CodeMirror from overflowing onto the button bar of the dialog. Fixes #3067
2018-01-31 10:12:04 +00:00
Murtuza Zabuawala
bc836aa374
Ensure the user can use keyboard shortcuts after using button controls such as Cancel, Open and Save. Fixes #3054
2018-01-29 13:43:35 +00:00
Murtuza Zabuawala
393ce53d2d
Fix PEP8 issues in the Tools module. Fixes #3063
2018-01-26 16:54:21 +00:00
Murtuza Zabuawala
abcb8c36a3
Fix connection status indicator on IE/FF. Fixes #3046
2018-01-25 13:30:13 +00:00
Murtuza Zabuawala
97760d65c2
Add keyboard navigation in Query tool module via Tab/Shift-Tab key. Fixes #2896
...
Note:
1) Once the keyboard shortcut infrastructure is ready we will add generic shortcut to focus out from CodeMirror editor and set foucs to next element, Right now there is no way of doing this, For testing purpose you can manually focus out from CodeMirror and click on data output panel to continue navigate using Tab key.
2) As of now inner panel's are not getting focused on Tab/Shift-Tab keys but once RM#2895 patch gets committed it will start working automatically as it's inherited code which will add tabindex tag automatically on each newly created wcDocker panel.
2018-01-25 12:27:13 +00:00
Murtuza Zabuawala
0e41b3364b
Support keyboard navigation in the debugger. Fixes #2897
...
In passing, fix injection of variable values. Fixes #2981
2018-01-23 11:58:10 +00:00
Ashesh Vashi
404f1cc8ef
Fixing the javascript file after running pga_eslint.js script
2018-01-17 13:24:25 +05:30
Murtuza Zabuawala
8520871bc6
Monitor connection and transaction status in the query tool. Fixes #2475
2018-01-12 14:34:39 +00:00
Ashesh Vashi
c32eb6bd37
Fixed the warnings/errors reported by eslint for all the static
...
javascripts.
2018-01-12 13:00:14 +05:30
Khushboo Vashi
def2df9028
Fix view data for views/mat views. Fixes #2993
2018-01-10 09:32:42 +00:00
Dave Page
89821c0d19
Update copyright notices for 2018.
2018-01-05 10:42:50 +00:00
Murtuza Zabuawala
36d779df5d
Add tab indexes for debugger controls.
2017-12-18 09:23:11 +00:00
Harshal Dhumal
55254a649f
Re-hash the way that we handle rendering of special types such as arrays. Fixes #2782 . Fixes #2822 .
2017-12-13 11:53:27 +00:00
Khushboo Vashi
0c5a5ba9c2
Add support for editing data in tables with OIDs but no primary keys. Fixes #2849 .
...
This patch also updates the editor to retrieve all row values on save, thus immediately showing default values and allowing subsequent editing without a refresh.
2017-12-13 10:28:31 +00:00
Murtuza Zabuawala
136ed0d3e2
Fix debugging of self-referencing functions. Fixes #2524
2017-12-05 13:32:06 +09:00
Murtuza Zabuawala
bac9c77c4e
Cleanup some inconsistent error dialog titles. Fixes #2098
2017-12-02 05:12:40 +00:00
Murtuza Zabuawala
389cf01af7
Cleanup the layout of the filter data dialogue. Fixes #2924
2017-11-30 10:53:48 +00:00
Akshay Joshi
ea82d92e41
Do not show success message, when there is an error saving the data in
...
the DataGrid.
Fixes #2907
2017-11-30 13:01:30 +05:30
Akshay Joshi
281b6c91b5
Using the correct type name (along with the internal name) while
...
generating the query for update/insert table data (Data grid).
Modified by Ashesh for array support.
Fixes #2830
2017-11-30 13:01:30 +05:30
Murtuza Zabuawala
f10733e8d4
Ensure the auto-complete selection list can display longer names. Fixes #2726
2017-11-29 11:14:24 +00:00
Khushboo Vashi
5bfa450a5f
Allow form validation messages to be close in case the eclipse anything on the form. Fixes #2859
2017-11-28 14:10:12 +00:00
Murtuza Zabuawala
9ae4a03784
Allow changing of the users password without leaving the app. Fixes #2891
2017-11-28 10:55:54 +00:00
Harshal Dhumal
05a00f4ac8
Make the "Save Changes" prompts in the query tool optional. Fixes #2845
2017-11-23 09:20:59 +00:00
Murtuza Zabuawala
38f111d969
Ensure the scroll location is retains in the query tool data grid if the user changes tab and then returns. Fixes #2875
2017-11-23 09:07:46 +00:00