Akshay Joshi
7515e08578
Fix an issue when user define Cast from smallint->text is created. Fixes #3753
2018-12-19 18:02:04 +05:30
Akshay Joshi
c973c3387e
Include the WHERE clause on EXCLUDE constraints in RE-SQL. Fixes #3726
2018-12-18 13:37:04 +00:00
Khushboo Vashi
72ba5bdaee
Fix drop/drop cascade regression. Fixes #3823
2018-12-18 09:45:06 +00:00
Khushboo Vashi
dfbb2212c0
Prevent attempts to bulk-drop schema objects. Fixes #3797
2018-12-13 11:03:30 +00:00
Dave Page
d68eede3e6
Allow query plans to be downloaded as SVG files. Fixes #3589
2018-12-13 10:49:56 +00:00
Murtuza Zabuawala
04735e631e
Minor bootstrap 4 fixes:
...
- Removed 'collapse in' css from wizard as we have 'collapse show' in Bootstrap-4
- Fixed 'Select/Unselect All' button layout for Select2 control used in pgAgent.
2018-12-13 10:28:58 +00:00
Akshay Joshi
431516ad61
Ensure the browser toolbar buttons work in languages other than English. Fixes #3798
2018-12-06 09:25:15 +00:00
Aditya Toshniwal
851c0cfff3
Ensure browser toolbar buttons are always shown.
2018-12-03 10:09:36 +00:00
Murtuza Zabuawala
c79ac2f8d2
Fix some minor CSS issues.
2018-11-27 10:57:30 +00:00
Akshay Joshi
3cfc3366d7
Fixed the height and width of the Table dialog.
2018-11-21 18:41:03 +05:30
Akshay Joshi
8b5abdfa8f
Fix changes to the NOT NULL and default value options in the Table Dialogue. Fixes #3742
2018-11-20 16:29:20 +00:00
Akshay Joshi
9b0889842d
Fix dropping of multiple functions/procedures at once. Fixes #3746
2018-11-14 08:40:21 -05:00
Dave Page
628f0d254e
Fix resource group multi-drop test.
2018-11-01 08:54:33 +00:00
Dave Page
7dde5d52d0
Fix regression test.
2018-10-31 12:18:13 +00:00
Khushboo Vashi
e59eaedfd0
Fix buildfarm failures.
2018-10-31 11:35:13 +00:00
Khushboo Vashi
f17979141c
Add support for dropping multiple objects at once from the collection Properties panel. Fixes #1513
2018-10-31 10:30:37 +00:00
Akshay Joshi
696fbfb8b9
Fix CREATE Script functionality for EDB-Wrapped functions. Fixes #3676
2018-10-29 11:54:11 +00:00
Usman Muzaffar
9ae49cbf31
Test case fixes for server mode.
2018-10-18 09:39:09 +01:00
Akshay Joshi
50738db2b8
Fix syntax error when creating new pgAgent schedules with a start
...
date/time and exception. Fixes #3638
- Fixed syntax error.
- Update/Delete exceptions are not working, SQL is wrong.
- Wrong exception time is shown, it should shown in UTC as datatype of
the column is timestamp with out timezone.
- Added test cases for Schedule and Steps of pgAgent Job.
2018-10-17 12:28:31 +01:00
Aditya Toshniwal
d6c4911135
Fixed calender control issues with Bootstrap 4
2018-10-12 15:02:38 +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
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
Khushboo Vashi
528ea88dec
Save the treeview state periodically, and restore it automatically when reconnecting. Fixes #1253
2018-10-08 10:03:19 +01:00
Akshay Joshi
6c2c18106f
Swap the Schema and Schemas icons and Catalog and Catalogs icons that had been used the wrong way around.
2018-09-24 14:11:23 -04:00
Aditya Toshniwal
38ddea038a
Fix support for the CLOB datatype in EPAS. Fixes #3596
2018-09-13 13:45:06 +01:00
Akshay Joshi
d6c64e8f11
Fixed issue where wrong menu id passed when click on 'View Data' tool button
2018-09-12 11:00:58 +05:30
Akshay Joshi
9c5e42c7a6
Used SCSS variables instead of hardcoded value for color and moved code from CSS to SCSS file.
2018-09-11 11:18:37 +05:30
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
a74b9c96c1
Add optional data point markers and mouse-over tooltips to display values on graphs. Fixes #3514
...
Ensure queries are no longer executed when dashboards are closed. Fixes #3576
2018-09-05 17:25:11 +01:00
Dave Page
6e54a13ba2
Update test cases to match style changes
2018-09-04 12:04:57 +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
Akshay Joshi
dd3c7c94e6
Ensure external table node should be visible only for GPDB. Fixes #3548
2018-08-27 19:11:25 +05:30
Murtuza Zabuawala
0f17b4f738
Ensure 'select all' and 'unselect all' working properly for pgAgent schedule. Fixes #3313 .
2018-08-22 15:13:40 +05:30
Joao De Almeida Pereira
46d4bf027d
Ensure sql for Role should be visible in SQL panel for GPDB. Fixes #3578
2018-08-17 14:50:16 +05:30
Ashesh Vashi
0a8d7a37b9
Changed the icon, label, inode, etc. propely while refreshing the
...
browser tree item.
Refs #3461
2018-08-14 10:18:03 +05:30
Akshay Joshi
008359ad3a
Ensure that refreshing a node also updates the Property list. Fixes #3461
2018-08-13 13:47:07 +01:00
Akshay Joshi
c8c5f83dfe
Add support to save and clear SSH Tunnel password. Fixes #3511
2018-08-06 15:56:46 +05:30
Aditya Toshniwal
cb8a288f85
Added version number for URL's to ensure that files are only cached on a per-version basis. Fixes #2136 .
2018-08-06 15:21:10 +05:30
Akshay Joshi
a17aa212f0
COST statement should not be automatically duplicated after creating trigger function. Fixes #3526
2018-08-06 11:54:25 +05:30
Akshay Joshi
e9e8b0b433
1. Change the string from 'Reset server password" to "Clear Saved Password" and move this sub menu from File to Object menu.
...
2. Move the "Change Password..." menu from 'File' to 'Object' menu.
RM #3074
2018-08-03 16:41:01 +05:30
Khushboo Vashi
0cb25bde63
Add support for primary key, foreign key, unique key, indexes and triggers on partitioned tables for PG/EPAS 11. Fixes #3412
2018-07-27 17:31:21 +05:30
Akshay Joshi
0138dee989
Add support for reset saved password. Fixes #3074
2018-07-27 14:36:42 +05:30
Aditya Toshniwal
f7e43d5e50
Realtime preference handling for the Dashboards and Debugger. Fixes #3294
2018-07-24 16:31:44 +01:00
Dave Page
d7eb41fff4
Include a cacert file when needed for the upgrade check. Fixes #3185
2018-07-23 16:15:58 +01:00
Akshay Joshi
213cb440d0
Add support for SCRAM password changes (requires psycopg2 >= 2.8). Fixes #2214
2018-07-23 15:03:44 +01:00
Khushboo Vashi
2d1e835d32
Fix panel errors seen when click on partitions.
2018-07-23 14:33:40 +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
ce768c7f8a
Support SSH tunneling with keys that don't have a passphrase. Fixes #3468
2018-07-18 14:15:05 +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
Akshay Joshi
39b41d7b24
Various procedure/function related fixes for EPAS/PG 11. Fixes #3446
...
- Fix the RM #3446 "plpgsql keyword should displayed in SQL pane for EPAS-11".
- Procedures for EPAS 11 always created as 'edbspl', even though language is sql or plpgsql.
- Not able to create Function/Procedure/Trigger function if the language is "C" for all supported database server.
- Function creation for EPAS 9.6 and above when set "Window?" flag to "Yes".
- Disable Volatility, Strict, Parallel, Estimated cost and Leak prof while creating procedures in EPAS 11 when language is not 'edbspl'.
- Rename "default" folder to "11_plus" inside "pg" directory for procedures, as procedures are supported from PG11 onwards.
- Creating/Deleting parameter in Procedure for PG 11.
- Drop procedures with arguments for PG/EPAS 11.
pg_proc table has added default value 'v' for Volatility, 100 for Cost and 'u' for Parallel for any language. All the three are not supported for Procedures in PG/EPAS 11 (excluding 'edbspl' language for EPAS). Fixed the issue where it is visible in properties panel if we create procedure using language 'plpgsql' or 'sql'.
2018-07-17 12:43:46 +01:00
Aditya Toshniwal
2b9c0a63fb
Ensure CodeMirror always has a non-zero font size. Fixes #3480
2018-07-10 13:58:44 +01:00
Aditya Toshniwal
3b862bd70b
More jQuery 3 updates.
2018-07-10 10:59:53 +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
73530c05aa
Add missing files related to previous commit: Infrastructure and changes to the Query Tool for realtime preference handling. Refs #3294
2018-07-05 11:41:01 +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
Aditya Toshniwal
82d77c4608
Don't create a session when the /misc/ping test endpoint is called. Fixes #3371
2018-07-05 11:12:03 +01:00
Akshay Joshi
57c054fb0e
Fix various Drop menu options that were broken during the treeview refactoring.
...
Fixes #3442 . Fixes #3443 . Fixes #3444
2018-06-25 15:52:12 +01:00
Akshay Joshi
4a71c6d7af
Various EPAS/PG11 function & procedure fixes. Fixes #3421 . Fixes #3422
2018-06-25 14:58:02 +01:00
Akshay Joshi
560e5f225a
Allow dropping of Procedures in PG 11. Fixes #3423
2018-06-21 16:36:10 -04:00
Akshay Joshi
480fe6b9fc
Fixed issue of detection of EPAS server 11 and above. Version string is changed in EPAS 11
2018-06-21 18:30:37 +05:30
Joao Pedro De Almeida Pereira
155f82676d
Fix the RE-SQL generation for GreenPlum external tables. Fixes #3431
2018-06-19 20:01:45 -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
Dave Page
9821e28da5
Fix file permissions per Devrim
2018-06-19 16:09:49 -04:00
Dave Page
717637c5b9
Fix indent.
2018-06-18 13:47:39 -04:00
Akshay Joshi
a45c33cf76
Ensure that template0 and template1 are available as tempates when creating databasesa. Fixes #3361
...
[regardless of the Show System Objects? option]
2018-06-18 13:41:14 -04:00
Ashesh Vashi
f2cef38364
Flask 1.0.2 does not allow a dot (.) in the view_func name, which we use
...
during generting the routes for the node.
References:
2f57a0b917
https://github.com/pallets/flask/issues/2790
Fixes #3360
Reported by: Marcelo Mendes
Investigated by: Khushboo Vashi
2018-06-18 09:58:16 +05:30
Akshay Joshi
766b389001
Include the schema name on RE-SQL for packages. Fixes #3356
2018-06-15 10:40:14 +01:00
Akshay Joshi
df7b4d55c6
Remove an extra space in Procedure templates.
2018-06-15 09:16:00 +01:00
Dave Page
087db8a75e
Fix stored procedure test cases so they don't fail on EPAS 9.4
2018-06-13 17:01:19 +01:00
Khushboo Vashi
d1ecba56b8
Function and procedure support for PG11. Fixes #3362
2018-06-13 15:03:17 +01:00
Joao De Almeida Pereira
e5048b4d0b
Disable ACLs for the database objects for the Greenplum due to
...
performance issue.
Reviewed By: Ashesh
Fixes #3415
2018-06-12 10:07:23 +05:30
Victoria Henry
226c872a84
Avoid an exception on GreenPlum when retrieving RE-SQL on a table. Fixes #3409
2018-06-11 16:56:39 +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
Murtuza Zabuawala
f877de6a1f
Fix an issue where a change to any field in server dialog causes the 'tunnel_identity_file' model value to get included unnecessarily in the update request. Fixes #3389
2018-05-31 10:10:43 -04:00
Akshay Joshi
08990cb1de
Handle errors properly if they occur when renaming a database. Fixes #3353
2018-05-28 17:35:33 -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
a4ed9d6976
Allow connections to servers with port numbers < 1024 which may be seen in container environments. Fixes #3307
2018-05-18 11:12:38 +01:00
Akshay Joshi
719938a14c
Fixed issue where 'Identity file' control of SSH Tunnel tab is enabled when database is connected and 'Use SSH tunneling' flag is set to No.
2018-05-17 17:18:00 +05:30
Anthony Emengo
ab27b9d118
Fix template handling in tests for Windows.
2018-05-14 15:47:38 +01:00
Joao De Almeida Pereira
bc4d16eb83
Initial version of the new tree implementation.
...
This is the first version of our Tree implementation. At this point is a
very simple tree without no abstractions and with code that eventually
is not very performant, but this is only the first iteration and we are
trying to follow the 'Last Responsible Moment Principle' [1].
Implemention details:
- Creation of PGBrowser.treeMenu
- Initial version of the Tree Adaptor 'pgadmin/static/js/tree/tree.js'
- TreeFake test double that can replace the Tree for testing purposes
- Tests, As an interesting asside because Fake’s need to behave like
the real object you will noticed that there are tests for this type
of double and they the same as of the real object.
[1] https://medium.com/@aidanjcasey/guiding-principles-for-an-evolutionary-software-architecture-b6dc2cb24680
Patched by: Victoria && Joao
Reviewed by: Khushboo & Ashesh
2018-05-14 18:00:23 +05:30
Dave Page
8937375885
Standardise the error handling for parsing of JSON response messages from the server. Fixes #3238
2018-05-04 16:56:15 +01:00
Akshay Joshi
b7fb01ab04
Add support for SSH tunneled connections. Fixes #1447
2018-05-04 11:27:27 +01:00
Khushboo Vashi
732d8d903d
F5 key should work to refresh Browser tree. Fixes #3284
...
Refactoring by: Joao Pedro De Almeida Pereira
2018-05-02 11:43:42 +05:30
Joao De Almeida Pereira
966279c1b3
Fixed issue where icon for Partitioned tables was the same as Non Partitioned tables for GreenPlum database. Fixes #3308
2018-04-26 17:05:56 +05:30
Joao De Almeida Pereira
2ace6a60f3
Fixed display SQL of table with index for GreenPlum database. Fixes #3306
2018-04-25 12:36:41 +05:30
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
Aditya Toshniwal
d5fdd32971
Fix an error generating SQL for trigger functions. Fixes #3179
2018-04-12 14:10:35 +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
8ec51412c3
Add a (configurable) limit to the number of pgAgent job history rows displayed on the statistics tab. Fixes #3072
2018-04-06 10:00:25 +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
Akshay Joshi
61eb94a23c
Fix index node display on PG 10. Fixes #3180
2018-03-29 15:09:29 +02:00
Khushboo Vashi
413709fc78
Simplify cookie domain/path settings, per discussion. Instead of trying to be smart, just let the user specify them in the config, e.g.
...
COOKIE_DEFAULT_DOMAIN = None
SESSION_COOKIE_DOMAIN = None
2018-03-23 10:14:02 +00:00
Khushboo Vashi
534f1f35fe
Appropriately set the cookie path. Fixes #3197
2018-03-19 17:09:19 +00:00
Murtuza Zabuawala
34f1ebc88e
Ensure the host parameter is correctly pickup up from the service file. Fixes #3200
2018-03-19 12:38:44 +00:00
Dave Page
93d44d5643
Revert "Ensure the cookie domain and path are properly set. Fixes #3197 "
...
This reverts commit 9c4edb4a28
.
Jenkins really doesn't like this.
2018-03-15 14:54:14 -04:00
Khushboo Vashi
9c4edb4a28
Ensure the cookie domain and path are properly set. Fixes #3197
2018-03-15 13:59:29 -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
Victoria Henry
6b03cb78af
Refactor server dialogue validation for better unit testing.
...
Victoria & Joao @ Pivotal.
2018-03-13 14:47:32 -04:00