Aditya Toshniwal
f779378e8a
Add right border on selected tree item.
2019-01-17 13:27:07 +05:30
Akshay Joshi
c1aba3e055
1) Proper SQL should be generated when creating/changing column with custom type argument. Fixes #3838
...
2) Proper SQL should be generated when create procedure with custom type arguments. Fixes #3846
2019-01-17 13:13:15 +05:30
Aditya Toshniwal
6bbcaf6b27
Fixed SQL for when clause while creating Trigger. Fixes #3837
2019-01-16 14:46:34 +05:30
Aditya Toshniwal
d7b0508305
Fixed SQL for foreign table options. Fixes #3453
2019-01-16 12:34:16 +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
Akshay Joshi
252e05ef29
Fix SQL generated for tables with inherited columns. Fixes #3505
2019-01-11 21:50:02 +05:30
Akshay Joshi
01b87d4834
Don't show system catalogs in the schemas property list unless show system objects is enabled. Fixes #3842
2019-01-10 11:41:09 +05:30
Akshay Joshi
4e27bf989f
Display event trigger functions correctly on EPAS. Fixes #3549
2019-01-04 13:06:45 +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
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
Aditya Toshniwal
ffae65bdbe
Ensure table definitions include WHERE clauses on EXCLUDE constraints. Fixes #3726
2018-12-20 10:19:54 +00:00
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
dfbb2212c0
Prevent attempts to bulk-drop schema objects. Fixes #3797
2018-12-13 11:03: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
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
0565f8dd78
Update to use Bootstrap 3 instead of Bootstrap 4. Fixes #3562
2018-10-10 12:43:26 +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
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
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
Akshay Joshi
c8c5f83dfe
Add support to save and clear SSH Tunnel password. Fixes #3511
2018-08-06 15:56:46 +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
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
41a8333145
Replace deprecated success, error callbacks in $.ajax call with new functions .done and .fail.
2018-07-09 13:54:00 +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
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
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
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
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
Akshay Joshi
61eb94a23c
Fix index node display on PG 10. Fixes #3180
2018-03-29 15:09:29 +02: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
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
Dave Page
156b308fd3
Fix template paths for Windows. Fixes #3139
...
Joint work from Joao and Murtuza.
2018-03-13 12:45:14 -04:00
Murtuza Zabuawala
03b772bf64
Add support for connecting using pg_service.conf files. Fixes #3140
2018-03-12 16:45:56 -04:00
Murtuza Zabuawala
985a004766
Fix SQL generated when dropping NOT NULL from a "char" column. Fixes #2989
2018-03-09 15:23:49 +00:00
Joao Pedro De Almeida Pereira
3a6994f719
Final PEP-8 fixes
2018-03-08 09:33:43 +00:00
Joao Pedro De Almeida Pereira
d1ab47c10c
Disable function statistics on Greenplum. Fixes #3176
2018-03-07 11:52:02 +00:00
Murtuza Zabuawala
06ff05762e
PEP8 fixes. Fixes #3175
2018-03-07 11:47:01 +00:00
Joao Pedro De Almeida Pereira
427314cfdf
Support for external tables in GPDB. Fixes #3168
2018-03-02 16:49:25 +00:00
Khushboo Vashi
905cdafe90
PEP8 changes for the FDW modules.
2018-03-02 14:46:13 +00:00
Murtuza Zabuawala
8964e511bf
PEP8 fixes for the Casts, Event triggers, Extensions and Languages modules. Fixes #3161
2018-03-02 11:59:11 +00:00
Harshal Dhumal
7cdb489a47
Fix handling of tie/datetime array types when adding columns to a table. Fixes #3079
2018-03-02 11:51:53 +00:00
Murtuza Zabuawala
78e2ff4f56
Ensure the pgAgent job start/end time grid fields synchronise with the subnode control and validate correctly. Fixes #3073
2018-03-02 11:11:26 +00:00
Murtuza Zabuawala
cca6504d54
PEP8 fixes. Fixes #3156
2018-02-27 15:38:50 +00:00
Harshal Dhumal
055f7abc9e
PEP8 fixes for the server and server group modules.
2018-02-27 11:22:14 +00:00
Joao Pedro De Almeida Pereira
3be22383b8
Fix function reserve SQL for GPDB. Fixes #3150
2018-02-27 11:05:15 +00:00
Murtuza Zabuawala
6753cd7334
PEP8 fixes for the pgAgent and Tables nodes (and subnodes). Fixes #3148
2018-02-26 19:24:17 +00:00
Joao Pedro De Almeida Pereira
5ebd9ee8d3
Fix table statistics for Greenplum. Fixes #3059
2018-02-26 09:38:00 +00:00
Murtuza Zabuawala
54dd6aae83
Add a test for sequence validation.
2018-02-23 12:02:57 +00:00
Murtuza Zabuawala
55875f0cfa
PEP8 cleanups for the sequences module.
2018-02-21 17:37:34 +00:00
Murtuza Zabuawala
51cc04b5b0
Fix tablespace tests for Python 3.x. Fixes #3138
2018-02-21 17:34:18 +00:00
Murtuza Zabuawala
f8771d5585
Fix validation of sequence parameters. Fixes #3014
2018-02-21 17:32:04 +00:00
Khushboo Vashi
b49d625c2d
Don't depend on standards_conforming_strings being enabled. Fixes #3077
2018-02-21 17:18:00 +00:00
Joao Pedro De Almeida Pereira
ba70634e5f
Hide tablespace node on GPDB. Fixes #3107
2018-02-20 17:40:56 +00:00
Khushboo Vashi
9a498c2877
Ensure column names on indexes on views are properly quoted in RE-SQL. Fixes #3066
2018-02-20 16:47:33 +00:00
Khushboo Vashi
c85e14dc25
Add missing reverse-engineered SQL header and drop statement for sequences. Fixes #3081
2018-02-19 11:41:19 +00:00
Joao Pedro De Almeida Pereira
15862e903a
Fix creation of tables and columns in GPDB. Fixes #3099
2018-02-19 10:40:10 +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
Navnath Gadakh
db92907fe9
Fix quoting of function names in RE-SQL. Fixes #3060
2018-02-09 10:15:41 +00:00
Dave Page
4d69764869
Don't quote variable values used by SET. It's usually going to be wrong. Fixes #3027
2018-02-02 14:58:29 +01:00
Harshal Dhumal
2042f89ce0
Don't include sizes on primitive datatypes that shouldn't have them when modifying columns. Fixes #3052
2018-02-01 16:27:36 +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
Joao Pedro De Almeida Pereira
de1c767e88
Update the regression tests to fix issues with Python 3.5 and PG 9.2. Fixes #3057
2018-01-26 16:45:09 +00:00
Joao Pedro De Almeida Pereira
7c985695b7
Correct display of RE-SQL for partitioned tables in Greenplum. Fixes #3050
2018-01-25 12:37:17 +00:00
Joao Pedro De Almeida Pereira
65337daeba
Display functions in Greenplum. Fixes #3044
2018-01-23 11:10:46 +00:00
Joao Pedro De Almeida Pereira
678699c408
Display partitions in Greenplum. Fixes #3036
2018-01-23 10:41:36 +00:00
Joao Pedro De Almeida Pereira
284adbbb90
Correctly display SQL of multiple objects on the SQL tab in GPDB.
2018-01-22 11:04:49 +00:00
Khushboo Vashi
ca80cfa04a
Ensure clickable images/buttons have appropriate tooltips for screen readers. Fixes #2904
2018-01-22 10:37:56 +00:00
Joao Pedro De Almeida Pereira
56e922f5ab
Support Properties on Greenplum databases. Fixes #3015
2018-01-15 14:44:40 +05:30
Murtuza Zabuawala
8520871bc6
Monitor connection and transaction status in the query tool. Fixes #2475
2018-01-12 14:34:39 +00:00
Joao Pedro De Almeida Pereira
ed3e374df6
Support server and database statistics on Greenplum. Fixes #3004
2018-01-12 10:02:46 +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
Dave Page
89821c0d19
Update copyright notices for 2018.
2018-01-05 10:42:50 +00:00
Khushboo Vashi
711fbd5144
Allow use of transition tables in PG 10 triggers. Fixes #2933
2018-01-03 16:25:03 +00:00
Murtuza Zabuawala
0810c681c3
Ensure the switch animation is consistent on the table dialogue and avoid displaying an error incorrectly. Fixes #2624
2018-01-03 15:32:44 +00:00
Khushboo Vashi
49dfd6fe31
Ensure invalid options can't be selected on triggers on views. Fixes #2945
2018-01-03 14:32:00 +00:00
Khushboo Vashi
e64bc2a821
Show complete SQL for FTS dictionaries. Fixes #2949
2018-01-03 13:16:11 +00:00
Khushboo Vashi
107795db10
Ensure column collation isn't lost when changing field size. Fixes #2779
2017-12-13 15:44:10 +00:00
Murtuza Zabuawala
c5d1fc8189
Ensure the datatype cache is updated when a domain is added. Fixes #2778
2017-12-13 15:17:17 +00:00
Dave Page
b2e844c0ad
Fix label inconsistency spotted by Susan.
2017-12-13 14:59:15 +00:00
Murtuza Zabuawala
4246a3b22f
Ensure password changes are successful if authenticating using a pgpass file. Fixes #2720
2017-12-13 13:28:07 +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
f5718b9d56
Misc fixes for the pgAgent module:
...
1) User was allowed to enter start date ahead of end date while scheduling a job. Fixes #2921
2) Datetime picker was not displaying in the grid (sub-node collection control). Fixes #1749
3) Fixed UI issue where validation error was not displaying properly for Datetime control.
2017-12-06 12:25:45 +09:00
Murtuza Zabuawala
2995d6e9c5
Fix the width of Role dialogue so tabs don't wrap.
2017-11-30 10:58:27 +00:00
Navnath Gadakh
035c134fed
Cleanup properly after running the Foreign Table test cases.
2017-11-28 09:44:28 +00:00
Navnath Gadakh
80c4a3fb1a
Use sufficiently long random strings in test objects to avoid conflicts.
2017-11-27 12:01:50 +00:00
Murtuza Zabuawala
d614c88ada
Ensure we don't show the full path on the server when using virtual filesystem roots in server mode for SSL certs. Fixes #2866
2017-11-27 11:25:50 +00:00
Murtuza Zabuawala
b284572afe
Allow connections to be coloured in the treeview and query tool. Fixes #1383 . Fixes #2802
2017-11-21 16:28:01 +00:00
Murtuza Zabuawala
dd8e2fe8a6
Quote the owner name when creating types. Fixes #2787
2017-11-21 11:32:27 +00:00
Murtuza Zabuawala
5fd3a7dd3d
Display relevant error messages when access is denied creating a schema. Fixes #2094
2017-11-20 13:31:03 +00:00
Harshal Dhumal
051788d040
Fix a referenced before assignment bug in connection management. Fixes #2868
2017-11-16 12:40:00 +00:00
Khushboo Vashi
88cd68c2b9
Add an option to manually count rows in tables to render the properties. Fixes #2846
2017-11-07 20:27:10 -05:00
Alexander Lakhin
187ab22d90
Further missing translation fixes. Stats now:
...
1481 of 1831 messages (80%) translated in pgadmin/translations/de/LC_MESSAGES/messages.po
1694 of 1831 messages (92%) translated in pgadmin/translations/ja/LC_MESSAGES/messages.po
1748 of 1831 messages (95%) translated in pgadmin/translations/pl/LC_MESSAGES/messages.po
1750 of 1831 messages (95%) translated in pgadmin/translations/ru/LC_MESSAGES/messages.po
1436 of 1831 messages (78%) translated in pgadmin/translations/zh/LC_MESSAGES/messages.po
2017-11-06 19:49:20 -05:00
Chethana Kumar
2be418706d
Updated colours of tree view icons, which is to be more comfortable in identifying.
2017-11-06 13:03:03 +05:30
Alexander Lakhin
f15f46592a
Tag some translations that were not, well, tagged. Current stats:
...
1481 of 1777 messages (83%) translated in pgadmin/translations/de/LC_MESSAGES/messages.po
1694 of 1777 messages (95%) translated in pgadmin/translations/ja/LC_MESSAGES/messages.po
1472 of 1777 messages (82%) translated in pgadmin/translations/pl/LC_MESSAGES/messages.po
1750 of 1777 messages (98%) translated in pgadmin/translations/ru/LC_MESSAGES/messages.po
1436 of 1777 messages (80%) translated in pgadmin/translations/zh/LC_MESSAGES/messages.po
2017-11-05 08:32:26 -05:00
Dave Page
b2186db562
Revert "Fix a number of cases where strings were not properly marked for translation."
...
This reverts commit 1f23838a4c
due to unintended side
effects it caused - specifically, expanding Databases on the treeview displayed
Servers again
2017-11-03 16:45:20 +00:00
Alexander Lakhin
1f23838a4c
Fix a number of cases where strings were not properly marked for translation.
2017-11-03 13:10:42 +00:00
Khushboo Vashi
f73ce2dfc3
Ensure estimated rows are included correctly in CREATE script for functions. Fixes #2651
2017-11-02 09:47:31 +00:00
Murtuza Zabuawala
897bf4857a
Fix counted rows display in table properties. Fixes #2836
2017-11-02 09:35:44 +00:00
Alexander Lakhin
23d431fb54
Remove more exclamation marks from error messages.
2017-11-01 15:18:07 +00:00
Alexander Lakhin
9be1364d1a
Various string improvements and fixes.
2017-11-01 12:58:19 +00:00
Dave Page
890fece73a
Fix check constraint regression tests.
2017-10-16 16:01:07 +01:00
Murtuza Zabuawala
784f3f59d8
Fix name of 'check-constraints' to follow the usual singular convention.
2017-10-16 15:40:15 +01:00
Harshal Dhumal
04beec1309
Fix various issues that could cause an exception on startup. Fixes #2713
2017-10-10 09:50:47 +01:00
Murtuza Zabuawala
2f5a2b2392
Only allow specification of a pgpass file if libpq >= 10. Fixes #2768
2017-10-10 09:31:27 +01:00
Akshay Joshi
5a132a547f
Ensure using an alternate role to connect to a database doesn't cause an error when checking recovery state. Fixes #2742
2017-09-28 15:09:49 +01:00
Murtuza Zabuawala
f855ed88ce
Allow selection of SSL certificates and pgpass files in connection properties. Fixes #2649 . Fixes #2650
2017-09-28 10:02:33 +01:00
Chethana Kumar
62c9376546
Improve icon alignment.
2017-09-22 14:29:34 +01:00
Akshay Joshi
bdc08d94c4
Fix View Data option and column config for Foreign Tables. Fixes #2691
2017-09-18 14:32:17 +01:00
Murtuza Zabuawala
8bededa859
Fix disable trigger menu option. Fixes #2707
2017-09-18 12:37:59 +01:00
Murtuza Zabuawala
e64c52a446
Fix tablespace move prompt message. Fixes #2708
2017-09-18 12:36:04 +01:00
Murtuza Zabuawala
9cfb2f3cbe
Fix filtering of system schemas so pg_* is hidden but pg* is not. Fixes #2709
2017-09-15 13:50:06 +01:00
Chethana Kumar
ff79dfc186
Update cast icons with improved design.
2017-09-13 10:43:39 +01:00
Chethana Kumar
3779c36d0f
Update server and database icons with a clearer design.
2017-09-13 09:59:07 +01:00
Murtuza Zabuawala
80ce889c3d
Fix an issue in User mapping module where users were not listed. Fixes #2693
2017-09-13 09:53:25 +01:00
Murtuza Zabuawala
5891bda06a
Fix an issue where base types are not displaying in the create/edit domain dialog, also corrected the condition to show hidden system types. Fixes #2692
2017-09-13 09:52:16 +01:00
Chethana Kumar
f79b7f26b1
Using the svg icons for domain constraint, and server browser nodes.
2017-09-11 18:24:04 +05:30
Ashesh Vashi
ac2512799e
Rename the SecurityGroupUnderSchema to SecurityGroupSchema, and
...
redefined in the database (instead of schema) javascript module, as it
is also used by the foreign-server node too.
Reported by: Neel Patel
2017-09-11 13:13:40 +05:30
Ashesh Vashi
8c8c0e78ca
Miscellaneous fixes for icon sizing issue, missing tree nodes to be
...
webpacked, etc.
- Fixed the background-size for the svg icons to 20x20 px such that it
does not adjust it's size when a context menu height is different due
to length of the node label, also - it allows us to fix the issue of
icons sizes in the Grant Wizard.
- Added two missing browser tree nodes in the webpack configuration
i.e. Foreign Server, and User Mapping
- Removed a redundant javascript file foreign-server.js
- Fixed the missing context menu icons for Foreign Table, and Tablespace
nodes.
Thanks EDB development team to find the regression added after the icon
changes in quick time.
2017-09-11 12:55:42 +05:30
Ashesh Vashi
4018562bc7
Changes in the stylesheets to support the svg icons for the browser
...
tree nodes.
2017-09-11 11:22:55 +05:30
Chethana Kumar
23a00f9614
Replacing existing browser tree node png icons with the svg icons. Made
...
it compatible with the pgAdmin 4 color combination.
TODO::
Icons for the following nodes are in PNG format.
- Domain Constraint (Only the invalid icon)
- pgAgent Job Steps
- Green Plum database server
- Server (Only server.png, which is used in the create/edit dialog)
2017-09-11 11:17:31 +05:30
Murtuza Zabuawala
8d248dab4c
Fix quoting of index column names on tables. Fixes #2619
2017-09-07 16:36:35 +01:00
Dave Cramer
eae6f0427c
Fix display of types in GPDB.
2017-08-31 09:57:27 +01:00
Murtuza Zabuawala
52840d68a8
Fix RE-SQL for triggers with a single arg. Fixes #2668
2017-08-31 09:39:09 +01:00
Teng Zhang
821442ed8f
GPDB compatibility fixes:
...
When connected to a Greenplum database server
- Hide items that not work with GPDB, such as Triggers, FDW, FTS_*, etc
- Tables/Views/Catalogs/Language node can expand correctly
- Views/Languages/Catalogs can show properties dialog with correct information
- Show a greenplum icon at the server node
Teng Zhang & Hao Wang
2017-08-30 11:18:14 +01:00
Harshal Dhumal
b1ad89fb4a
Using the proper python syntax to fetch the default binary path for
...
different servers types.
2017-08-26 09:59:57 +05:30
Ashesh Vashi
6b727c43b9
Define the utility path lable, and help message for the Greenplum
...
database server, shown in the preferences dialog.
Also, fixed the issue, when server type is not defined in the
DEFAULT_BINARY_PATHS, in the configuration.
2017-08-25 21:35:57 +05:30
Teng Zhang
46c5df4e7b
Greenplum specific DDL and Dashboard display changes.
...
Initial patch by Sarah McAlear<smcalear@pivotal.io>.
2017-08-25 17:53:03 +05:30
Murtuza Zabuawala
d3babd78aa
Fixes #2560 - View is not fully qualified in Trigger definition.
2017-08-25 17:45:20 +05:30
Navnath Gadakh
bd04cfaaa8
Properly cleanup after running the FTS test cases.
2017-08-25 09:32:46 +01:00
Akshay Joshi
fe6e4686a2
Unable to add/update variables for columns of a table. Fixes #2659
2017-08-23 17:11:30 +05:30
Surinder Kumar
ee20a10e94
Syntax error while saving changes for start/end time, weekdays, monthdays, month, hours, minutes while updating the pgAgent Job. Fixes #2657 .
2017-08-23 14:05:54 +05:30
Murtuza Zabuawala
2e2ca26020
Ensure role names are escaped in the membership control. Fixes #2606
2017-08-21 14:00:33 +01:00
Murtuza Zabuawala
d757d8698d
Fix connection string validation for pgAgent jobs. Fixes #2655
2017-08-21 13:20:07 +01:00
Surinder Kumar
6d7b54eb62
Update datetime picker. Fixes #2654
2017-08-21 13:17:35 +01:00
Atul Sharma
e6223c9a49
Fixes #2567 - Use the proper database connection to fetch the default
...
prileges in the properties tab of the database.
Reviewed by: Murtuza Zabuawala
2017-08-18 09:15:57 +05:30
Murtuza Zabuawala
e9b80dae9c
User can not add New Server through Quick links. Fixes #2634
2017-08-17 18:14:06 +05:30
Surinder Kumar
bff48e0b2d
Fixed the path reference of load-node.gif which was referencing to vendor directory. Fixes #2646
2017-08-17 15:27:09 +05:30
Murtuza Zabuawala
2df4625ce0
1) Connection Type cell was not honouring to 'Kind' option in Subnode control.
...
2) Kind option was not saved properly
3) User was not be able to update Kind option in edit mode.
Fixes #2633
2017-08-17 15:00:08 +05:30
Murtuza Zabuawala
2c6c4a16ce
Use dict based data instead of 2d-array in Type module as we are adding keys on the fly.
...
Reviewed By: Harshal Dhumal
2017-08-17 13:07:39 +05:30
Khushboo Vashi
c4ca781ce2
Fixed some UX issue with the Import/Export tool.
...
- Couldn't click on the filename control once gets an error.
- Encoding is not in alphabetical order.
2017-08-09 16:52:43 +05:30
Ashesh Vashi
845025db8f
Some cosmetic changes.
...
- Loading 'pgadmin' as 'sources/pgadmin', as found under the 'sources'
reference directory to be consistent with other files.
- Removed the 'pgadmin' reference from the base.html template.
- Renamed 'pgadmin.slickgrid.editors.js', and
'pgadmin.slickgrid.formatters.js' as 'editors.js', and 'formatters.js'
respectively, as they're already in the 'pgadmin/static/js/slickgrid'
directory.
- Removed the duplicate entry of 'translations' from the webpack.shim.js
2017-08-09 16:52:12 +05:30
Akshay Joshi
e418cb8387
Changed the mapping of cell from 'numeric' to 'integer' for integer control as numeric cell has been removed from the code. Fixes #2631
2017-08-07 14:02:59 +05:30
Akshay Joshi
801a05891e
Set the database name to blank('') when job type is set to batch, while creating pgAgent job. Fixes #2620
2017-08-04 19:31:17 +05:30
Murtuza Zabuawala
bebfc62721
Fixed collation tests on Windows, replace use of default 'POSIX' collation with 'C' collation for testing. Fixes #2501
2017-08-03 16:46:20 +05:30
Murtuza Zabuawala
6717aff8f5
Domain create dialog do not open and Font size issue in Security label control. Fixes #2616
2017-08-01 16:37:17 +05:30
Akshay Joshi
e506fa1dbe
Improved alertify notification logic. Remove AlertifyWrapper class and extend notification methods in alertify itself.
2017-07-31 18:59:44 +05:30
Akshay Joshi
a7f58e2b92
1) Added partition module in webpack config.
...
2) Fixed missing logic of partition from primary_key.js and unique_constraint.js as this two files are newly created for webpack.
3) Changed the node name from 'check_constraint' to 'check_constraints'. Also changed the same in test case url.
2017-07-31 18:25:04 +05:30
Surinder Kumar
6d5417709c
Moved the javascripts of different modules from 'templates' to 'static' directory.
...
Moving the javascripts for the following modules:
- About
- Browser nodes
- Dashboard
- FileManager
- Vendor/snap.svg
- Preferences
- Settings
- Backup
- Datagrid
- Debugger
- Sqleditor
- Grant Wizard
- Import & Export
- Maintenance
- Restore and
- User Management
2017-07-27 17:25:08 +05:30
Khushboo Vashi
d1e7254fbd
Handle control visibility properly in javascript strict mode.
2017-07-26 12:55:46 +01:00
Atul Sharma
70418144cf
Add a field to the Server Dialogue allowing users to specify a subset of databases they'd like to see in the treeview. Fixes #1918
2017-07-21 12:44:57 +01:00
Murtuza Zabuawala
acaa79cf6b
Fix disconnection of new databases. Fixes #2594
2017-07-21 11:11:03 +01:00
Akshay Joshi
4d4da67247
Fix regressions introduced by PG10's partitioning code. Fixes #2043 . Fixes #2324 .
2017-07-20 12:49:40 +01:00
Surinder Kumar
dfa877262d
Webpacking cleanups
2017-07-19 15:03:21 +01:00
Murtuza Zabuawala
bab3da24e6
Support SSL in the regression tests. Fixes #2170
2017-07-18 15:23:11 +01:00
Surinder Kumar
6396b8ce18
Add missing new files from the previous commit. Ooops.
2017-07-18 15:14:59 +01:00
Surinder Kumar
4a91bcde30
Webpack all the things! Fixes #2135
...
This significantly speeds up loading of the application; in an average of 3 tests, v1.6
loaded in 11.5s in the runtime on a Mac, whilst the webpacked version of the code
loaded in 5.53s.
2017-07-18 15:13:17 +01:00
Harshal Dhumal
3942461c50
Correct for malformed query generated when using custom type. Fixes #2544
2017-07-17 11:14:34 +01:00
Harshal Dhumal
07aa74eaf5
Show tablespace on partitions. Fixes #2551
2017-07-17 09:50:18 +01:00
Ashesh Vashi
4eefc52748
[PostgreSQL 10] Fixed the Pause/Resume Replay of WAL files for PostgreSQL 10. Fixes #2566
2017-07-14 18:39:19 +05:30
Murtuza Zabuawala
822e62c238
Fix privileges control on IE 10/11. Fixes #1166
2017-07-14 12:45:09 +01:00
Akshay Joshi
f06c3578f6
Fix drop/drop cascade for partitioned tables. Fixes #2550
2017-07-10 16:02:32 +01:00
Akshay Joshi
ed3cb7df41
Handle partitioned tables created "OF TYPE". Fixes #2545
2017-07-10 14:16:30 +01:00
Harshal Dhumal
d151bdb4cd
Fix handling of CREATE TABLE OF <type>. Fixes #2534
2017-07-07 16:34:33 +01:00
Joao Pedro De Almeida Pereira
815c4b4c45
Improve spacing around delete icons in backform tables.
2017-07-07 16:06:51 +01:00
Murtuza Zabuawala
acd3568f06
Fix the formatting of the ROWS option for functions etc. Fixes #2537
2017-07-07 15:57:43 +01:00
Akshay Joshi
e793413d76
Fixed issue by adding extra check for 'relkind' column
2017-07-07 12:33:58 +05:30
Akshay Joshi
c2fb0394bf
Added support of Declarative Partitioning (Range, List) for PostgreSQL 10.
...
This allows the user to create partitioned table and it's partitions.
- Edit partitions, Create/Listing of constraints, rules, triggers under partitions. (Implemented by Harshal)
- Updating browser tree node when create/attach/detach partitions from table dialog.(Implemented by Ashesh)
2017-07-07 11:55:55 +05:30
Murtuza Zabuawala
ca7fe9a520
Ensure the save password option is enabled when creating a server. Fixes #2540
2017-07-06 13:33:46 +01:00
Khushboo Vashi
66b101fe4c
Resolve a number of issues with domains and domain constraints. Fixes #2529
2017-07-04 11:52:58 +01:00
Murtuza Zabuawala
0aa763b706
Remove unnecessary whitespace from stored procedure SQL. Fixes #2146
2017-07-03 16:32:19 +01:00
Murtuza Zabuawala
5c7dcaba81
Allow debugging of functions in packages. Fixes #1948
2017-07-03 16:30:12 +01:00
Joao Pedro De Almeida Pereira
2a30a86e7d
Update alertify alerts to use the styling defined in the styleguide.
2017-06-30 10:21:05 +01:00
Atul Sharma
15cb9fc35b
Add support for the hostaddr connection parameter. This helps us play nicely with Kerberos/SSPI and friends. Fixes #2191
2017-06-26 15:48:59 -04:00
Khushboo Vashi
27bc5c803f
Ensure saved passwords are effective immediately, not just following a restart when first saved. Fixes #1920
2017-06-26 07:55:34 -04:00
Khushboo Vashi
d4e77deda4
Ensure revoked public privileges are displayed in the RE-SQL for functions. Fixes #2507
2017-06-26 07:50:39 -04:00
Murtuza Zabuawala
7a4945ff9e
Fix removal of sizes from column definitions. Fixes #2155
2017-06-23 09:42:46 +01:00
Murtuza Zabuawala
137bae1b04
Ensure default values are honoured when adding/editing columns. Fixes #1860
2017-06-22 12:11:02 +01:00
Ashesh Vashi
d26337a1ba
Moved the javascripts of the following browser node modules to the
...
'static' directory from 'templates' in the respective module directory:
- Server Group
- Server
- Database
- Schema
- Cast
- Event trigger
- Extension
- Foreign data wrapper
- Language
- Catalog Object
- Collation
- Domain Constraint
- Domain
- Foreign server
- FTS Configuration
- FTS Dictionary
- FTS Parser
- FTS Template
- Function
- Procedure
- Trigger Function
- Package
- Sequence
- Catalog
- Schema
- Synonym
- Table
- Type
- Materialized View
- View
- pgAgent Modules
+ Job (pga_job)
+ Schedule (pga_schedule)
+ Steps (pga_jobstep)
Added new dynanic modules for listing the supported server types, and
current user information.
NOTE: We've not yet moved the javascripts for the children of the table
module.
2017-06-22 15:58:32 +05:30
Murtuza Zabuawala
b9f6fb9545
Update MatView and pgAgent modules to work with recent integer/numeric changes. Fixes #2504
2017-06-21 17:03:43 +01:00
Murtuza Zabuawala
b9736cbd74
Handle missing/dropped synonyms gracefully. Fixes #2503
2017-06-21 16:59:43 +01:00
Dave Page
9829d74a04
Correct the v10 template path.
2017-06-20 12:04:13 +01:00
Khushboo Vashi
16a15bf934
Fix the fix for RM2324.
2017-06-13 09:18:44 +01:00
Surinder Kumar
af43ccfc07
Teach dialogues about Escape to cancel, Enter to Save/OK, and F1 for help. Fixes #1535
2017-06-12 16:43:29 +01:00
Murtuza Zabuawala
ec5bc23dfd
Allow editing of the WITH ADMIN option of role membership. Fixes #2086
2017-06-12 13:58:51 +01:00
Murtuza Zabuawala
c435d48885
Properly handle trigger functions with parameters. Fixes #2043
2017-06-12 13:19:49 +01:00
Atul Sharma
49cd578816
Fix error on the stats tab with PG10. Also, rename the 10.0_plus template directory to 10_plus to match the new versioning. Fixes #2450
2017-06-12 12:53:09 +01:00
Khushboo Vashi
8bd8ae001b
Fix the PostGIS Datatypes in SQL tab, Create / Update dialogues for Table, Column, Foreign Table and Type node. Fixes #2324
...
Note that this doesn't add full support for PostGIS types to the table/column dialogues, which still can't handle the typmod usage. It does bring support to parity with pgAdmin 3 though.
2017-06-12 12:49:17 +01:00
Ashesh Vashi
fd3ddbeafb
Implementation of the client side 'url_for(...)' function.
...
Created a url_for function module to be used by different javascript
modules to use the same functionality of flask at client side.
A python module can expose the list of endpoints, used by its
javascripts, by overriding the 'get_exposed_url_endpoints(self)'
function.
In this patch, we have modified all the browser modules to use this
function. It will allow us to move the majority of the javascript
modules of browser nodes from templates directory to the static
directory.
TODO::
- Move these javascripts modules to the static directory.
- Use this function in all the applicable javascript modules.
e.g. tools, miscellaneous modules
2017-06-12 12:01:25 +05:30
Harshal Dhumal
aa400cbc12
Fix integer/numeric validation on various dialogues. Fixes #2421
2017-06-08 14:59:26 +01:00
Sarah McAlear
01bfa88309
Improvements to the Query Results grid:
...
- Improve the UI
- Allow copy/paste from sets of rows, columns or arbitrary blocks of cells
Patch by Matt, Shruti, Joao and Sarah @ Pivotal
Fixes #2476
2017-06-08 13:31:36 +01:00
Murtuza Zabuawala
b149fe371e
Fix various issues with pgAgent job steps and schedules:
...
1) Error on clicking SQL panel when Schedule OR Step node is selected in browser. Fixes #1888
2) Error while dropping Schedule OR Step node. Fixes #1889
3) Newly created Schedule/Step node was not displaying in browser. Fixes #1890
2017-06-08 12:30:00 +01:00
Surinder Kumar
63c093248d
Allow users to remove default values from columns properly. Fixes #2461
2017-06-07 14:33:28 +01:00
Murtuza Zabuawala
495a3cedb0
List packages in PPAS 9.2-9.4 when creating synonyms. Fixes #1813
2017-06-07 13:44:36 +01:00
Khushboo Vashi
b134ae2cb4
Fix the RE-SQL for for views to properly qualify trigger function names. Fixes #2381
2017-06-07 13:40:11 +01:00
Ashesh Vashi
ae80976689
Using the client-side translation using the client-side 'gettext'
...
implementation.
This is the first step towards 'Avoid creating the javascript modules
using Jinja templates'.
2017-06-07 15:53:05 +05:30
Murtuza Zabuawala
9803468a77
Properly display security labels on EPAS 9.2+. Fixes #1575
2017-06-06 11:46:49 +01:00
Murtuza Zabuawala
cd3484d936
Make $ quoting consistent. Fixes #1525
2017-06-06 11:40:25 +01:00
Murtuza Zabuawala
bf06d82870
Fix validation for external and range types. Fixes #1795
2017-06-06 11:24:10 +01:00
Murtuza Zabuawala
e6aa3e1494
Fix default values and SQL formatting for event triggers. Fixes #1229
2017-06-06 11:19:40 +01:00
Dave Page
4c2004d479
Correct the validation logic when modifying indexes/exclusion constraints. Fixes #2113
2017-06-06 11:15:51 +01:00
Murtuza Zabuawala
4b74a5ff35
Enable dialogue help buttons on Language and Foreign Table dialogues. Fixes #2116
2017-06-06 09:52:44 +01:00
Murtuza Zabuawala
0bc9997a95
Properly refresh the parent node when renaming children. Fixes #2355
2017-06-06 09:50:05 +01:00
Dave Page
9e98ded06c
Display and allow toggling of trigger enable/disable status from the trigger dialogue. Fixes #2386
2017-06-05 17:11:21 +01:00
Murtuza Zabuawala
3f150f3f4e
Handle procedure flags (IMMUTABLE STRICT SECURITY DEFINER PARALLEL RESTRICTED) properly in RE-SQL on EPAS. Fixes #2280
2017-06-05 17:04:55 +01:00
Murtuza Zabuawala
2c9af4784e
Allow creation of ENUM types with no members. Fixes #2426
2017-05-26 12:21:23 -04:00
Murtuza Zabuawala
45d423c0ce
Ensure the last placeholder is included when generating UPDATE scripts for tables. Fixes #2436
2017-05-26 10:59:09 -04:00
Murtuza Zabuawala
a45bb905f5
Pass the database ID to the query tool when using the Script options. Fixes #2435
2017-05-26 10:57:31 -04:00
Dave Page
2f097cd016
Fix typo in freshly added check.
2017-05-25 17:10:41 -04:00
Murtuza Zabuawala
e9da157cc7
Add numerous missing checks to ensure objects really exist when we think they do. Fixes #2427
2017-05-25 16:28:04 -04:00
Dave Page
04ce72a6ae
Fix RE-SQL for rules which got the table name wrong in the header and DROP statement. Fixes #2422
2017-05-19 12:21:29 +01:00
Dave Page
17de7db70b
Fix server stats display for EPAS 9.2, where inet needs casting to text for concatenation. Fixes #1831
2017-05-17 15:53:13 +01:00
Murtuza Zabuawala
a3226b1eb5
Reverse engineer SQL for table-returning functions correctly. Fixes #1851
2017-05-17 15:49:56 +01:00
Murtuza Zabuawala
655d5888a6
Various FTS dictionary cleanups. Fixes #1126
2017-05-17 14:13:05 +01:00
Murtuza Zabuawala
2ad14b379e
Validate table presence in SQL and Properties route handles. Fixes #2395
2017-05-15 10:15:09 +01:00
Joao Pedro De Almeida Pereira
3bf17d9df4
1) Splits the SQL query used to retrieve the Dependents, Dependencies, and Roles SQL file into multiple versioned files.
...
2) Add Unit Tests for each file.
3) Add ORDER BY into Copy Selection Feature test to ensure the results are retrieved always in the same order
4) Renamed the Scenario of the xss_checks_pgadmin_debugger_test and skip it for versions less than 9.1
5) Deleted unused __init__.py files.
2017-05-15 10:40:46 +05:30
Surinder Kumar
4f9628ed43
Improve handling of nulls and default values in the data editor. Fixes #2257
2017-05-12 10:53:57 +01:00
Murtuza Zabuawala
94cbd70370
Don't change the trigger icon back to "enabled" when the trigger is updated when it's disabled. Fixes #2271
2017-05-10 09:48:21 +01:00
Murtuza Zabuawala
9452e0699e
Allow creation of tables with pure numeric names. Fixes #2284
2017-05-10 09:40:32 +01:00
Khushboo Vashi
94b7fc483a
Fix sorting of sizes on the statistics views by sorting raw values and prettifying on the client side. Includes Jasmine tests for the prettyfying function. Fixes #2315
2017-05-08 11:29:13 +01:00
Murtuza Zabuawala
95f763463f
Fix an issue in NodeAjaxControl caching with cache-node field and add cache-node field in Trigger & Event trigger node so that whenever the user creates new Trigger Function we get new data from server in NodeAjaxControl. . Fixes #2242
2017-05-04 16:02:28 +01:00
Murtuza Zabuawala
6790bfd0c0
Fixed handling of default parameters ordering in functions. Fixes #2350
2017-04-25 18:40:44 +05:30
Murtuza Zabuawala
1ce1f216ca
Fixed handling of nested privileges. Fixes #2335
2017-04-25 12:39:46 +05:30
Akshay Joshi
a449be784e
Initial support for PG 10.0, per #2214 (missed some files)
2017-04-24 13:56:01 +01:00
Akshay Joshi
59834fba31
Initial support for PG 10.0, per #2214
2017-04-24 13:55:29 +01:00
Khushboo Vashi
8d6add13c0
Order foreign table columns correctly. Fixes #2318
2017-04-18 14:37:30 +01:00
Khushboo Vashi
a3007b7335
Ensure database driver names and description strings can be translated. Fixes #2190
2017-04-18 13:33:27 +01:00
Akshay Joshi
0d566a6f3a
Changed switch label from True/False to Show/Hide for 'Package Functions' and 'Package Procedures' node in Preferences dialog.
2017-04-14 14:57:38 +05:30
Surinder Kumar
9bbc05051c
Remove some unused events.
2017-04-12 15:46:31 +01:00
Navnath Gadakh
62716c4193
Include passed test results in the JSON output from the regression tests.
2017-04-12 13:11:53 +01:00
RAJASEKAR G
024b97479d
Recover properly if a database is renamed externally. Fixes #2077
2017-04-10 11:09:01 +01:00
RAJASEKAR G
14f3a57d82
Ensure menus are updated after disconnecting a server. Fixes #2281
2017-04-10 09:35:21 +01:00
RAJASEKAR G
3880bc7eb8
Fix validation on the table dialogue so the Save button isn't enabled if the name is removed and autovac custom settings are enabled. Fixes #2105
2017-04-06 09:56:52 +01:00
Jonas Thelemann
b8566a0127
Un-split some strings for translateability. And so begins the battle between gettext and pep8...
2017-04-05 15:05:11 +01:00
Jonas Thelemann
ddfa934357
Unified usage of "definition incomplete".
2017-04-05 13:55:00 +01:00
Jonas Thelemann
37120bf199
(De)Capitalized strings to fit the common/usual format, corrected spelling, removed unnecessary characters.
2017-04-05 13:50:49 +01:00
Jonas Thelemann
65f21a8cd7
Replace all occurrences of "can not" with "cannot".
2017-04-05 13:38:14 +01:00
Ashesh Vashi
4d55e8abe8
Resolved a typo in the previous commit.
2017-04-03 19:00:06 +05:30
Ashesh Vashi
02a3919b06
As per Murtuza, we will have the '__module__', when running as a WSGI
...
application, but - it will not have the '__file__' attribute.
2017-04-03 18:55:24 +05:30
Ashesh Vashi
b756407c3c
When running pgAdmin as a WSGI application, we will not be able to find
...
the '__main__' module under 'sys.modules'.
2017-04-03 18:44:53 +05:30
Murtuza Zabuawala
74655e60a0
Replace the '$DIR' only when found in the binary directory string.
2017-04-03 18:32:50 +05:30
Aravindraja Thinakaran
bb0bd8acc5
Properly handle truncated table names (> NAMEDATALEN). Fixes #2277
2017-04-01 02:57:48 -04:00
Akshay Joshi
6a861f7a91
Add the config option ALLOW_SAVE_PASSWORD to allow admins to disable saving of passwords. Fixes #2232
2017-03-31 20:14:37 -04:00
Khushboo Vashi
633d2ad28c
Fix the bin path preferences.
2017-03-27 12:25:59 -04:00
Jonas Thelemann
c391696054
Remove some unnecessary line breaks causing problems with translations.
2017-03-26 20:26:58 -04:00
Dave Page
6152d73f13
Fix some code inspection complaints
2017-03-25 22:04:52 -04:00
Khushboo Vashi
0eda6033df
Allow users to select UI language at login or from Preferences rather than unpredictable behaviour from browsers. Fixes #2190
2017-03-24 14:20:10 +00:00
Dave Page
6cb9ece6fd
Decode error messages before trying to use them.
2017-03-24 14:11:31 +00:00
Dave Page
d205550b53
Fix Python 3 compatibility.
2017-03-23 13:43:24 +00:00
Atira Odhner
10920404e1
Re-organised the regression directory now we have multiple test suites: move test_utils.py into python_test_utils/
2017-03-23 11:59:31 +00:00
Atira Odhner
77007996ed
Support generation of DDL for tables in Greenplum DB. Fixes #2261
2017-03-23 11:40:06 +00:00
Atira Odhner
0ba0b25290
Move foreign key templates into a default directory.
2017-03-23 11:13:06 +00:00
Murtuza Zabuawala
145983d544
Add miissing braces to reverse engineered SQL header block for Functions. Fixes #2246
2017-03-17 12:48:58 +00:00
Atira Odhner
4464be6f43
Fix a typo and remove an unnecessary copy of the column properties template.
2017-03-17 10:02:52 +00:00
Dave Page
b2a74ad26d
Fix a bunch of file headers.
2017-03-16 14:27:55 +00:00
Dave Page
18d465e7bc
Fix some messages and update the Polish translation from Begina Felicysym
2017-03-09 09:23:19 +00:00
Dave Page
fb44ffffa0
Fix a couple of translation issues, and remove the test French translation files.
2017-03-08 10:13:15 +00:00
Jonas Thelemann
c34f5fd2d4
Use "could not" consistently, instead of "couldn't" which was used in some places.
2017-03-07 10:29:54 +00:00
Neel Patel
278c64c361
Add missing "Run Now" option for pgAdmin jobs. Fixes #1796
2017-03-06 10:24:43 +00:00
Harshal Dhumal
ffa8d94e76
Better handling the non-ascii characters for different database objects.
...
Using 'psycopg2.extensions.UNICODE' (for Python < 3) in the psycopg2
driver for proper conversation of unicode characters. Also - adjusted
the string typecaster to take care of different character types (char,
character, text, name, character varying, and their array types).
Reviewed by: Dave Page, Murtuza Zabuawala & Akshay Joshi
2017-03-02 15:09:28 +05:30
Dave Page
59c6be534d
Typo fixes.
2017-03-01 12:49:15 +00:00
Khushboo Vashi
ddb8bad201
Fix Sequence ACL SQL for PG 9.3/9.2.
2017-03-01 12:46:58 +00:00
Murtuza Zabuawala
e2e000a371
Remove a debug message.
2017-02-28 14:44:58 +00:00
Navnath Gadakh
1f935d699e
Testsuite fixes for 9.3 and 9.2 support.
2017-02-28 14:22:10 +00:00
Sarah McAlear
a0a31e55ae
Move 3rd party client code into vendor/ directories for ease of maintenance.
2017-02-24 17:01:21 +00:00
Harshal Dhumal
b961b2d929
Fix function arguments when generating create SQL. Fixes #2198
2017-02-24 12:42:25 +00:00
Khushboo Vashi
0ba9b7db43
Add PARALLEL SAFE|UNSAFE|RESTRICTED support. Fixes #2089
2017-02-24 12:21:05 +00:00
Harshal Dhumal
1c09b57a1a
Fix casting issue with dependents queries.
2017-02-24 10:48:46 +00:00
Harshal Dhumal
685b1ea12f
Fix renaming of check constraints when the table name is changed at the same time. Fixes #2201
2017-02-24 10:44:43 +00:00
Harshal Dhumal
5e33fe4e95
Properly handle event trigger functions in different schemas. Fixes #2200
2017-02-24 10:40:11 +00:00
George Gelashvili
03a161cc0a
Don't try to decode connection error strings that are null.
2017-02-16 16:42:19 +00:00
Dave Page
03f292ce51
Tidy up the regression test output a little.
2017-02-16 11:40:54 +00:00
Murtuza Zabuawala
9ad1316990
Various encoding fixes. Fixes #2160
2017-02-16 11:00:40 +00:00
Surinder Kumar
833629d438
Fix exclusion constraint reverse engineered SQL. Fixes #2115
2017-02-16 10:54:21 +00:00
Surinder Kumar
cbaad81f00
Correct node labels in Preferences for EDB functions and procedures. Fixes #2126
2017-02-16 10:47:28 +00:00
Dave Page
ae10da4371
Another Python 3.x compatibility fix.
2017-02-13 10:27:16 +00:00
Dave Page
14f181d2ba
Fix Python 3 compatibility.
2017-02-13 10:07:38 +00:00
Atira Odhner
ec9e8b79a3
Basic support for viewing tables in Greenplum. Patch from George & Tira @ Pivotal.
2017-02-13 10:02:20 +00:00
Murtuza Zabuawala
6887920295
Ensure FTS parsers and templates are removed prior to creating them when testing.
2017-02-09 12:05:55 +00:00
Murtuza Zabuawala
c34fdaf37d
Fix the issue with Jinja conditions in Foreign Data Wrappers, Foreign Servers, User Mapping.
...
I also did some re-formatting & re-factoring to code to remove all the duplicate code.
2017-02-09 12:05:09 +00:00
Murtuza Zabuawala
c96da34c28
Fix handling of "char" columns. Fixes #2152
2017-02-06 10:59:03 +00:00
Murtuza Zabuawala
3ea8a7b211
Fix column addition regression test.
2017-02-06 09:46:34 +00:00
Murtuza Zabuawala
bf8c3c4180
Handle sized time/timestamp columns correctly. Fixes #2076
2017-02-03 14:51:58 +01:00
Khushboo Vashi
f2ac6fc6a7
1) Wrong tablespace displayed in table properties. Fixes #2069
...
2) Message (Connection to the server has been lost.) displayed with Materialized view and view under sql tab. Fixes #2139
2017-02-03 16:13:07 +05:30
Murtuza Zabuawala
2d442da9ff
Properly handle setting comments and other options on databases with allowconn = False. Fixes #2024
2017-02-01 10:23:45 +00:00
George Gelashvili
6d05302ca1
Rename the 9.1_plus templates to "default" to more appropriately support Greenplum which is based on 8.3.
2017-02-01 09:57:49 +00:00
Atira Odhner
c6b67fc66a
Bypass recovery checks with older servers. This is required for Greenplum which is based on PG 8.3 at present.
2017-01-30 17:02:55 +00:00
Murtuza Zabuawala
e8f0cf6d94
Resolve various trigger issues. Fixes #2015
...
- Allow changing of row/statement flag
- When user update any of the parameter - trigger gets disappear from browser tree. To make it visible user has to do refresh.
- Edit Mode - 'Row level' trigger was not allowed to edit for "inline edb-spl" trigger function, even though "Row Trigger" is enabled.
- SQL was not generated properly when user change 'Row Trigger', Fires and events.
- Edit Mode - Fires and Events should be allowed to edit for "inline edb-spl" function mentioned with Code in description.
- Edit Mode - For trigger, if user edit parameters like Fires, Events, Code, Row trigger etc. then new OID is getting generated so we should fetch and return new OID in response rather then old trigger OID.
2017-01-30 13:05:15 +00:00
George Gelashvili
19be3529f8
Create a template loader for SQL templates.
...
This will automatically find the correct version of a template for the server version, and allows us to remove templates that were previously duplicated for different server versions.
Patch by George & Tira at Pivotal. Review by me and Murtuza from EDB.
Discussion: https://www.postgresql.org/message-id/flat/CAHowoHaU9_pkCt%2B1g8dpY3hsXXZmsJZiJH-3-_Hd%2BC1MxiGhtA%40mail.gmail.com#CAHowoHaU9_pkCt+1g8dpY3hsXXZmsJZiJH-3-_Hd+C1MxiGhtA@mail.gmail.com
2017-01-30 11:25:03 +00:00
Surinder Kumar
e01cf748ea
Enable/disable NULLs and ASC/DESC options for index columns and exclusion constraints appropriately. Fixes #2061 . Fixes #1840 .
2017-01-25 13:21:39 +00:00
Murtuza Zabuawala
29a6f2e124
Fix Reset Statistics operation for which the popup messages weren't displaying correctly. Fixes #2091
2017-01-24 10:19:33 +00:00
Dave Page
801c7688a3
A little message cleanup.
2017-01-24 10:18:30 +00:00
Dave Page
ac4178233b
Revert "Handle comments on databases with datallowconn=False correctly. Fixes #2024 "
...
This reverts commit e431eb9d8e
.
2017-01-20 13:21:05 +00:00
Murtuza Zabuawala
6557433061
Fix display of enum GUCs on users/databases etc. Fixes #2067
2017-01-17 10:45:01 +00:00
Murtuza Zabuawala
28621999f2
Improve display of columns of exclusion contraints and foreign keys in the properties lists. Fixes #2065
2017-01-17 10:25:26 +00:00
Murtuza Zabuawala
e431eb9d8e
Handle comments on databases with datallowconn=False correctly. Fixes #2024
2017-01-16 15:42:25 +00:00
Khushboo Vashi
024b664c21
Improve the display of role membership on both the properties panel and role dialogue. Fixes #1730
2017-01-16 14:48:25 +00:00
Dave Page
a85861ca57
Remove some comments that don't fit with our normal presentation of generated SQL.
2017-01-16 14:46:44 +00:00
Murtuza Zabuawala
4c19f93b3b
Use the correct OID for retrieving properties of freshly created exclusion constraints. Fixes #1896
2017-01-09 15:05:22 +05:30
Surinder Kumar
b14f8239d2
Fix a SQL error when reverse-engineering ROLE SQL on EPAS servers. Fixes #1830
2017-01-09 08:14:34 +05:30
Khushboo Vashi
01b2288d57
Ensure columns with types that are not in pg_catalog are handled properly in the table dialog.
2017-01-09 08:05:51 +05:30
Navnath Gadakh
1325b30e0b
Various improvements to the regression tests, notably avoiding use of signals unavailable on Windows.
2017-01-08 18:48:04 +05:30
Murtuza Zabuawala
bdf9761472
Improve consistency of dialogue controls offered. Fixes #1364
2017-01-08 16:05:34 +05:30
Neel Patel
2787c5c207
Reset the column list properly if the access method is changed on an index to ensure error handling works correctly. Fixes #2009
2017-01-08 15:27:58 +05:30