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
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
Dave Page
0137cfaee3
Update message catalogs:
...
1455 of 1984 messages (73%) translated in pgadmin/translations/de/LC_MESSAGES/messages.po
1910 of 1984 messages (96%) translated in pgadmin/translations/fr/LC_MESSAGES/messages.po
1941 of 1984 messages (97%) translated in pgadmin/translations/ja/LC_MESSAGES/messages.po
1789 of 1984 messages (90%) translated in pgadmin/translations/ko/LC_MESSAGES/messages.po
1785 of 1984 messages (89%) translated in pgadmin/translations/pl/LC_MESSAGES/messages.po
1787 of 1984 messages (90%) translated in pgadmin/translations/ru/LC_MESSAGES/messages.po
1411 of 1984 messages (71%) translated in pgadmin/translations/zh/LC_MESSAGES/messages.po
2018-07-12 10:04:07 +01:00
Ioseph Kim
c7325bea93
Add a Korean translation.
2018-07-12 10:02:54 +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
d1784137a5
Ensure text is visible in the SQL Filter dialogue. Fixes #3478
2018-07-09 14:08:41 +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
Khushboo Vashi
81312d17e2
Add feature tests for Backup/Restore and Maintenance. Fixes #3206
2018-07-09 11:27:25 +01:00
Akshay Joshi
2b20b387e2
Add support for Trigger and JIT stats in the graphical query plan viewer. Fixes #3397
2018-07-06 13:13:14 +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
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
Dave Page
ce8fb28b34
Message catalog updates:
...
1459 of 2000 messages (72%) translated in pgadmin/translations/de/LC_MESSAGES/messages.po
1930 of 2000 messages (96%) translated in pgadmin/translations/fr/LC_MESSAGES/messages.po
1961 of 2000 messages (98%) translated in pgadmin/translations/ja/LC_MESSAGES/messages.po
1796 of 2000 messages (89%) translated in pgadmin/translations/pl/LC_MESSAGES/messages.po
1798 of 2000 messages (89%) translated in pgadmin/translations/ru/LC_MESSAGES/messages.po
1415 of 2000 messages (70%) translated in pgadmin/translations/zh/LC_MESSAGES/messages.po
2018-06-27 11:48:33 +01:00
Identifier Anonymous
6ca07528ff
Japanese translation fixes.
2018-06-27 11:46:39 +01:00
Khushboo Vashi
8136b72364
Fix a French translation error that could prevent the server starting up. Fixes #3411
2018-06-27 11:42:23 +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
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
1f5ca1b540
Allow sorting in the file dialogue. Fixes #3273
2018-06-25 14:41:07 +01:00
Dave Page
4ba0e1a6f3
Fix Python 2.6 support for SQL_ASCII data in the query tool.
2018-06-21 17:06:28 -04:00
Akshay Joshi
560e5f225a
Allow dropping of Procedures in PG 11. Fixes #3423
2018-06-21 16:36:10 -04:00
Akshay Joshi
83f9d8a547
Minor fix to handle auto-discovery of servers with no port recorded.
2018-06-21 16:34:33 -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
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
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
Khushboo Vashi
ba8829b64f
Further Python 2.6 fixes.
2018-06-15 15:03:53 +01:00
Khushboo Vashi
ab54a6d39a
Fix external utilities to run with Python 2.6.
2018-06-15 12:38:31 +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
766b389001
Include the schema name on RE-SQL for packages. Fixes #3356
2018-06-15 10:40:14 +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
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
Akshay Joshi
88a2309a26
Fix auto-complete. Fixes #3374
2018-06-13 15:53:21 +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
Murtuza Zabuawala
e2b0cf6727
Fix labels and popups on EXPLAIN plan that were broken by the jQuery 3 update. Fixes #3404
2018-06-11 17:03:21 +01:00
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
Anthony DeBarros
a6ee27cf25
s/shutdown/shut down/
2018-06-08 08:45:02 +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
Aditya Toshniwal
20ea8a69f5
Fix constraint on servers table in SQLite to allow ports < 1024. Fixes #3307
2018-06-05 10:47:03 +01:00
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
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
Akshay Joshi
17977d5d0e
Fix dropping of databases over SSH tunneled connections. Fixes #3357
2018-05-28 17:37:24 -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
6492dacbb2
Ensure the debugger container has focus when loaded. Fixes #3295 - this time on Firefox too!
2018-05-18 11:33:42 +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
Akshay Joshi
ccf58570b1
Support running feature tests against Firefox. Fixes #3270
2018-05-15 15:10:11 +01:00
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
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
3ac3e73daf
Fixed layout of the alertify error message in the query tool. Fixes #3310
2018-05-07 16:04:47 +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
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
Anthony Emengo
3ff56b2d49
Scroll cells into the viewport if needed during the CheckForViewData feature test.
2018-05-04 10:15:02 +01:00
Anthony Emengo
56658a9f8e
Fix the template loader to work reliably under Windows (fixing external tables under Greenplum). Fixes #3324
2018-05-03 15:54:15 +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 Pedro De Almeida Pereira
201f6d359f
Cleanup some old code that was failing CI.
2018-04-26 16:21:46 +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
Dave Page
eb35629712
Another attempt at making the JA translation work properly. Gettext really doesn't seem to like percentage signs. Fixes #3303
2018-04-20 09:46:50 +01:00
Taiki Terauchi
51cc7c1e33
Fix an error in the Japanese translation that caused a startup failure. Fixes #3303
2018-04-20 09:12:03 +01:00
Identifier Anonymous
0493b86d4d
Update Japanese translation.
2018-04-16 15:38:39 +01:00
Aditya Toshniwal
d5fdd32971
Fix an error generating SQL for trigger functions. Fixes #3179
2018-04-12 14:10:35 +01:00
Murtuza Zabuawala
c08adb5567
Catch errors when trying to EXPLAIN an invalid query. Fixes #3257
2018-04-12 10:50:57 +01:00
Murtuza Zabuawala
79edf40141
Fix password encryption/decryption on Python 3.
2018-04-11 13:45:59 +01:00
Dave Page
163cadc279
Revert "Fix non-ASCII password decryption/encryption under Python 3"
...
This reverts commit d0a640442c
.
Seems to anger Python 2.7
2018-04-10 17:12:14 +01:00
Murtuza Zabuawala
d0a640442c
Fix non-ASCII password decryption/encryption under Python 3
2018-04-10 16:50:43 +01:00
Murtuza Zabuawala
f5e474e4ec
Ensure the query tool will open properly under MS Edge.
2018-04-10 11:09:59 +01:00
Dave Page
9b115c5e46
Message catalog update
2018-04-06 14:59:51 +01:00
Murtuza Zabuawala
78c3db6fc9
Update filter dialogue Javascript to use ES6.
2018-04-06 10:38:04 +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
fa1854bd85
Allow sorting when viewing/editing data. Fixes #1894
2018-04-05 16:25:17 +01:00
Neel Patel
659390493d
Ensure Alertify dialogues are modal to prevent them being closed by mis-click. Fixes #3248
2018-04-05 11:28:18 +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
61eb94a23c
Fix index node display on PG 10. Fixes #3180
2018-03-29 15:09:29 +02:00
Akshay Joshi
1baddd5e9a
Decode the severity field in database exception objects properly. Fixes #3090
2018-03-26 13:59:49 +01: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
Aditya Toshniwal
1f84285d99
Move the field error indicators in front of the affected fields so they don't obscure spinners or drop downs etc. Fixes #3226
2018-03-23 09:57:37 +00:00
Akshay Joshi
637f3b9d1a
Fix a number of broken connection detection scenarios.
2018-03-21 08:38:18 +00:00
Dave Page
c8b456d464
PEP8 fixes
2018-03-20 14:02:56 +00:00
Khushboo Vashi
4942c938ac
Fix an error on exit caused by the cookie path patch.
2018-03-20 13:55:06 +00:00
Khushboo Vashi
534f1f35fe
Appropriately set the cookie path. Fixes #3197
2018-03-19 17:09:19 +00:00
Murtuza Zabuawala
2abff8f5d4
Use a common function for sever setup in the testsuite.
2018-03-19 13:23:29 +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
Fred Escallier
60893bcdd1
French translation update.
2018-03-19 11:22:47 +00:00
Murtuza Zabuawala
c312b03f6f
Pass the service name to external processes. Fixes #3195
2018-03-19 11:01:04 +00:00
Murtuza Zabuawala
9ea118ca57
Ensure the file manager properly escapes file & directory names. Fixes #3196
2018-03-19 10:58:12 +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
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
010ee626bc
Update message catalogs. Current status:
...
1469 of 1956 messages (75%) translated in pgadmin/translations/de/LC_MESSAGES/messages.po
1842 of 1956 messages (94%) translated in pgadmin/translations/fr/LC_MESSAGES/messages.po
1679 of 1956 messages (85%) translated in pgadmin/translations/ja/LC_MESSAGES/messages.po
1812 of 1956 messages (92%) translated in pgadmin/translations/pl/LC_MESSAGES/messages.po
1814 of 1956 messages (92%) translated in pgadmin/translations/ru/LC_MESSAGES/messages.po
1424 of 1956 messages (72%) translated in pgadmin/translations/zh/LC_MESSAGES/messages.po
2018-03-15 07:01:34 -04:00
Fred Escallier
6c59563afa
Add a French translation. Fixes #3184
2018-03-15 06:58:39 -04:00
Murtuza Zabuawala
faf243db71
Fixed PEP8 issue
2018-03-15 16:13:11 +05:30
Maxim Zakharov
54b1a79cb6
Sporadically crashes on Windows when exit. Fixes #3177
...
1) Shutdown the python server properly.
2) Disabled "Shutdown server" menu till server is not successfully started.
Initial patch sent by Maxim, modified by Akshay Joshi.
2018-03-15 13:26:24 +05:30
Joao Pedro De Almeida Pereira
3c4359270e
Fix trim function which was causing some JS errors during Server Properties validation. Victoria & Joao
2018-03-14 17:58:01 -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
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
Dave Page
9365ab62fe
Revert "Fix template path generation for Windows. Fixes #3139 "
...
This reverts commit 695d4e648c
.
It's borked!
2018-03-13 08:49:34 -04:00
Murtuza Zabuawala
695d4e648c
Fix template path generation for Windows. Fixes #3139
2018-03-13 07:55:37 -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
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
Joao Pedro De Almeida Pereira
3a6994f719
Final PEP-8 fixes
2018-03-08 09:33:43 +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
Murtuza Zabuawala
abf0b1a7ae
Allow admins to disable the use of Gravatar if they choose. Fixes #3037
2018-03-07 16:35:33 +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
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
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
Khushboo Vashi
905cdafe90
PEP8 changes for the FDW modules.
2018-03-02 14:46:13 +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
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
Khushboo Vashi
a4124c2496
PEP8 fixes.
2018-03-02 09:37:11 +00:00
Murtuza Zabuawala
cca6504d54
PEP8 fixes. Fixes #3156
2018-02-27 15:38:50 +00:00
Murtuza Zabuawala
f5afd5fdb4
Fix block indent/outdent with configurable width. Fixes #3002
2018-02-27 15:20:30 +00:00
Murtuza Zabuawala
a9de043fef
Add keyboard shortcuts for the Query Tool. Fixes #2900
2018-02-27 14:32:03 +00:00
Harshal Dhumal
055f7abc9e
PEP8 fixes for the server and server group modules.
2018-02-27 11:22:14 +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
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
Dave Page
bcdb8eb275
Revert "Ensure we pick up the messages from the current query and not a previous one. Fixes #3094 "
...
This reverts commit 08b3ccc01a
.
It was found that this fix inadvertently re-introduces #1523
2018-02-26 16:32:53 +00:00
Harshal Dhumal
43d3e0ca64
PEP8 fixes.
2018-02-26 15:58:48 +00:00
Khushboo Vashi
08b3ccc01a
Ensure we pick up the messages from the current query and not a previous one. Fixes #3094
2018-02-26 14:19:43 +00:00
Murtuza Zabuawala
fa9aebadbd
PEP8 fixes.
2018-02-26 13:54:58 +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
801a2084e9
Allow dashboard tables and charts to be enabled/disabled. Fixes #2951
2018-02-26 09:20:04 +00:00
Murtuza Zabuawala
54dd6aae83
Add a test for sequence validation.
2018-02-23 12:02:57 +00:00
Joao Pedro De Almeida Pereira
2332630af8
PEP8 fixes for the tools module.
2018-02-23 11:57:44 +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
Joao Pedro De Almeida Pereira
bcb6f37d6f
Clarify which shortcut is being tested in the shortcut test.
2018-02-20 17:32:37 +00:00
Harshal Dhumal
05e91044c7
Fix intermittent specified_version_number ValueError issue on restart. Fixes #2983
...
Now we try to restore server details like server version number at restart so template paths can be resolved.
2018-02-20 17:31:13 +00:00
Harshal Dhumal
c91a597df9
Fix alignment issues in keyboard shortcut options. Fixes #3080
2018-02-20 16:49:59 +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
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
4dc9fb146a
Add a marker (/*pga4dash*/) to the dashboard queries to allow them to be more easily filtered from server logs. Fixes #2950
2018-02-19 11:17:42 +00:00
Murtuza Zabuawala
7301e30ff3
Fix PEP8 issues in various modules. Fixes #3121
2018-02-19 11:12:35 +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
0677ad254a
Un-vendorise React, now that it contains bug fixes we need.
2018-02-19 10:53:54 +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
9c382e4d23
Fix tests for Python 3.x
2018-02-09 14:39:39 +00:00
Murtuza Zabuawala
6f25f4d175
Fix PEP-8 issues in feature_tests, dashboard, about and misc module's python code. Fixes #3082
2018-02-09 12:57:37 +00:00
Murtuza Zabuawala
942ac733a4
Configurable shortcuts in the Debugger. Fixes #2901
2018-02-09 12:43:27 +00:00
Khushboo Vashi
258b064963
Add configurable shortcut keys for various common options in the main window. Fixes #2899
2018-02-09 12:07:57 +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
Murtuza Zabuawala
25647c16ba
Ensure we capture notices raised by queries. Fixes #3027
2018-02-02 15:23:33 +01: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
Khushboo Vashi
262d01bf01
Add keyboard navigation options for the main browser windows. Fixes #2895
2018-02-02 14:28:37 +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
Murtuza Zabuawala
6ad44cb51e
Fix on-click handling of treeview nodes that wasn't refreshing SQL/Dependencies/Dependents in some circumstances. Fixes #3058
2018-02-01 14:44:12 +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
c3ddb7df38
PEP8 fixes for the utils module. Fixes #3076
2018-01-31 13:58:55 +00: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
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
Murtuza Zabuawala
abcb8c36a3
Fix connection status indicator on IE/FF. Fixes #3046
2018-01-25 13:30:13 +00:00
Harshal Dhumal
66341e6947
Add infrastructure for managing configurable keyboard shortcuts.
2018-01-25 12:49:06 +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
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
Chethana Kumar
5cea5f8485
Update scan and index scan EXPLAIN icons for greater clarity. Fixes #3021
2018-01-24 15:39:59 +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
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
Khushboo Vashi
8df006343b
Fix feature tests following button tooltip changes.
2018-01-23 10:01:20 +00:00
Dave Page
2b1c887945
Add missing comma to appease the linter
2018-01-22 11:28:04 +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
Ashesh Vashi
404f1cc8ef
Fixing the javascript file after running pga_eslint.js script
2018-01-17 13:24:25 +05:30
Dave Page
55c2ab0b24
Fix typo in string.
2018-01-16 16:41:43 +05:30
Murtuza Zabuawala
ad46d61bd3
Fix a minor UI issue on dashboard while displaying subnode control in Backgrid. Fixes #3013
2018-01-15 22:31:39 +05:30
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
Khushboo Vashi
def2df9028
Fix view data for views/mat views. Fixes #2993
2018-01-10 09:32:42 +00:00
Murtuza Zabuawala
aec86970f2
Add ALT tags to images for accessibility. Fixes #2902
2018-01-08 12:43:36 +00:00
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
Murtuza Zabuawala
c15d814268
Clear the messages tab when running EXPLAIN/EXPLAIN ANALYZE. Fixes #2974
2018-01-03 15:19:56 +00:00
Murtuza Zabuawala
e21f1e3291
Prevent multiple connections to new slow-to-respond servers being initiated in error. Fixes #2928
2018-01-03 14:49:08 +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
90629da524
Close user language preference drop down when it loses focus. Fixes #2956
2018-01-03 13:36:49 +00:00
Murtuza Zabuawala
1dd1c10255
Do not decrypt the password when the password is 'None'. Fixes #2765
...
This should avoid the common but harmless exception "ValueError: IV must be 16 bytes long while decrypting the password."
2018-01-03 13:19:58 +00:00
Khushboo Vashi
e64bc2a821
Show complete SQL for FTS dictionaries. Fixes #2949
2018-01-03 13:16:11 +00:00
Harshal Dhumal
88bcd3b512
Make the query tool datatype test easily configurable and extendable and add support for multi-dimensional arrays and enums.
2017-12-18 15:10:47 +00:00
Begina Felicysym
ebd096f5cc
Updated Polish translation from Begina. Extract/update/compile as well for completeness. Current status:
...
1480 of 1857 messages (79%) translated in pgadmin/translations/de/LC_MESSAGES/messages.po
1692 of 1857 messages (91%) translated in pgadmin/translations/ja/LC_MESSAGES/messages.po
1827 of 1857 messages (98%) translated in pgadmin/translations/pl/LC_MESSAGES/messages.po
1829 of 1857 messages (98%) translated in pgadmin/translations/ru/LC_MESSAGES/messages.po
1435 of 1857 messages (77%) translated in pgadmin/translations/zh/LC_MESSAGES/messages.po
2017-12-18 10:08:03 +00:00
Murtuza Zabuawala
3fe655e944
Allow selection of validation error text. Fixes #2954
2017-12-18 10:03:39 +00:00
Murtuza Zabuawala
eae6f05b7c
Allow files to be opened by double clicking on them. Fixes #2810
2017-12-18 09:48:14 +00:00
Murtuza Zabuawala
36d779df5d
Add tab indexes for debugger controls.
2017-12-18 09:23:11 +00:00
Murtuza Zabuawala
bceb6aef3c
Don't try to render security URLs in desktop mode. Fixes #2952 . Fixes #2922
2017-12-18 09:15:36 +00:00
Murtuza Zabuawala
937984f2dc
Don't un-comment code with alt+. in the query tool. It's only supposed to respond to ctrl/cmd+. Fixes #2769
2017-12-13 15:58:00 +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
96a2987ef6
Prevent attempts to select directories as files in the file dialogue. Fixes #2937
2017-12-13 15:35:08 +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
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
Dave Page
4bcec932a3
Correct names for the Japanese translators:
...
Junichi Tado
Kosuke Kida
Nozomi Anzai
2017-12-07 21:31:46 +09:00
Murtuza Zabuawala
22c38e4562
Fix a reference before assignment error in the file dialogue. Fixes #2934
2017-12-06 13:42:05 +09: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
Chethana Kumar
c74b348bac
Update EXPLAIN icons. Fixes #2936
2017-12-06 11:45:02 +09:00
Murtuza Zabuawala
7fab041623
Prevent the user pressing the select button in the file manager when it is supposed to be disabled. Fixes #2923
2017-12-05 13:43:02 +09: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
Harshal Dhumal
1a4e21e6dd
Fix regression tests for password reset in server mode
2017-11-30 13:16:59 +00:00
Harshal Dhumal
f3256aef71
Don't login the user with every request in desktop mode. Just do it once. Fixes #2922
2017-11-30 12:02:41 +00:00
Harshal Dhumal
35a5cf22d5
Refuse password changes (and tell the user) if the notification email cannot be sent. Fixes #2892
2017-11-30 11:16:38 +00:00
Murtuza Zabuawala
2995d6e9c5
Fix the width of Role dialogue so tabs don't wrap.
2017-11-30 10:58:27 +00:00
Murtuza Zabuawala
389cf01af7
Cleanup the layout of the filter data dialogue. Fixes #2924
2017-11-30 10:53:48 +00:00
Ashesh Vashi
d54c35d74f
Fixing the lint error messages in javascript using 'eslint --fix'
...
command.
2017-11-30 13:01:41 +05:30
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
Murtuza Zabuawala
362bd15c8e
Format JSON/JSONB nicely when displaying it in the grid editor pop-up. Fixes #2748
2017-11-28 14:21:31 +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
Navnath Gadakh
035c134fed
Cleanup properly after running the Foreign Table test cases.
2017-11-28 09:44:28 +00:00
Harshal Dhumal
7db7da5b0e
Display process output as it happens. Fixes #2811
2017-11-27 13:00:47 +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
fe7cfa35df
Attempt to decode database errors based on lc_messages. Fixes #2806 . Fixes #2821
2017-11-27 11:53:25 +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
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
Murtuza Zabuawala
fdb4fa454a
Honour whitespace properly in the data grid. Fixes #2880
2017-11-22 16:48:36 +00:00
Murtuza Zabuawala
1bc318f091
Ensure newly added rows cannot be editted until we have key values. Fixes #RM2886
2017-11-22 16:38:18 +00:00
Murtuza Zabuawala
f0db93cefd
Improve clarity of the boolean checkbox.
2017-11-22 16:28:08 +00:00
Murtuza Zabuawala
930dd8af1f
Some browsers don't properly support tri-state checkboxes, so create our own control to handle true/false/null. Fixes #2848
2017-11-21 17:22:25 +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
Harshal Dhumal
9212699936
When selecting an SSL cert or key, update only the expected path in the UI, not all of them. Fixes #2760 . Fixes #2867
2017-11-21 15:59:44 +00:00
Murtuza Zabuawala
dd8e2fe8a6
Quote the owner name when creating types. Fixes #2787
2017-11-21 11:32:27 +00:00
Murtuza Zabuawala
a85538a1fc
Remove the artificial limit of 4000 characters from text areas. Fixes #2877
2017-11-21 11:02:21 +00:00
Neel Patel
5b5363e2c4
_blank is the correct HTML target for anchors, not _new. Fixes #2679 .
2017-11-21 10:19:11 +00:00
Khushboo Vashi
4568fe22f7
Decode the field separator and quote char if needed.
2017-11-20 16:28:13 +00:00
Khushboo Vashi
0c566f132e
Allow configuration of CSV and clipboard formatting of query results. Fixes #2781
2017-11-20 13:50:47 +00:00
Murtuza Zabuawala
2579458091
Fix support for time without timezone. Fixes #2881
2017-11-20 13:36:50 +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
Murtuza Zabuawala
537f6f0ab1
Display long names appropriately in dialogue headers. Fixes #2278
2017-11-16 11:56:05 +00:00
Murtuza Zabuawala
af2722faa3
Focus on the filter textarea when opening filter options in the query tool.
2017-11-16 11:01:40 +00:00
Alexander Lakhin
8f070f6095
Fix utility output capture encoding. Fixes #2854
2017-11-09 08:51:56 -05:00
Alexander Lakhin
3e1caa61e1
Russian translation update.
2017-11-09 08:45:56 -05:00
Dave Page
35b57477de
Remove data grid icon for consistency with other menu options.
2017-11-07 21:20:01 -05:00
Murtuza Zabuawala
be0e637718
Prevent error messages covering the last row in a grid. Fixes #2850
2017-11-07 21:07:30 -05: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
Murtuza Zabuawala
8b543a58fe
Fix a number of graphical explain rendering issues. Fixes #2824 . Fixes #2842 . Fixes #2843 .
2017-11-06 19:59:01 -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
Begina Felicysym
62e70f3c4f
Update Polish translation.
...
1748 of 1750 messages (99%) translated in pgadmin/translations/pl/LC_MESSAGES/messages.po
2017-11-05 08:36:24 -05:00
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
2dcd2cc77f
Update Russian translation.
2017-11-01 20:23:59 +00:00
Dave Page
70d31be496
Another message catalog update. Stats:
...
1481 of 1750 messages (84%) translated in pgadmin/translations/de/LC_MESSAGES/messages.po
1694 of 1750 messages (96%) translated in pgadmin/translations/ja/LC_MESSAGES/messages.po
1472 of 1750 messages (84%) translated in pgadmin/translations/pl/LC_MESSAGES/messages.po
1706 of 1750 messages (97%) translated in pgadmin/translations/ru/LC_MESSAGES/messages.po
1436 of 1750 messages (82%) translated in pgadmin/translations/zh/LC_MESSAGES/messages.po
2017-11-01 15:19:19 +00:00
Alexander Lakhin
23d431fb54
Remove more exclamation marks from error messages.
2017-11-01 15:18:07 +00:00
Dave Page
635d944e03
Message catalog update. Current stats look like:
...
1503 of 1756 messages (85%) translated in pgadmin/translations/de/LC_MESSAGES/messages.po
1716 of 1756 messages (97%) translated in pgadmin/translations/ja/LC_MESSAGES/messages.po
1494 of 1756 messages (85%) translated in pgadmin/translations/pl/LC_MESSAGES/messages.po
1728 of 1756 messages (98%) translated in pgadmin/translations/ru/LC_MESSAGES/messages.po
1458 of 1756 messages (83%) translated in pgadmin/translations/zh/LC_MESSAGES/messages.po
2017-11-01 13:01:02 +00:00
Alexander Lakhin
9be1364d1a
Various string improvements and fixes.
2017-11-01 12:58:19 +00:00
Dave Page
6a5ac730a0
Update translations
2017-10-31 09:10:17 +00:00
Alexander Lakhin
706ef38e95
Add a Russian translation
2017-10-31 09:10:00 +00:00
Alexander Lakhin
8860bc3c3e
Saved user language was not being picked up in case of non-server mode.
...
Because - the get_locale(...) function was being executed before any
request, and user login after first request. Hence - the values for
the labels in the Preferences are not being translated properly.
Fetch the raw value of user_language from configuration in case of
runtime/non-server mode to fix the issue.
2017-10-30 18:20:41 +05:30
Dave Page
bc0320d21e
Add a Japanese translation created by:
...
Junichi Tado
Nozomi Amzai
Kouske Kida
2017-10-27 14:00:09 +02:00
Dave Page
61e809b636
Update message catalogs.
2017-10-27 13:59:03 +02:00
Alexander Lakhin
0a1cf30abb
Return the translations, and not empty array from the
...
'translations.js'.
It was regression of the commit-id:
4a91bcde30
2017-10-24 18:50:26 +05:30
Ashesh Vashi
c53c6d2f48
Using 'categroy_id' instead of 'cid' in the preferences Backbone.Model,
...
as it is used by the Backbone.Collection to get the object by id.
2017-10-24 18:47:36 +05:30
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
Murtuza Zabuawala
0cb57848f8
Ensure auto-indent honours the spaces/tabs config setting. Fixes #2780
2017-10-16 15:37:03 +01:00
Murtuza Zabuawala
ce5f5015b3
Use HTTPS for accessing help docs.
2017-10-16 09:21:02 +01:00
Neel Patel
56e1fd85f4
Ensure line numbers form CodeMirror don't appear on top of menus. Fixes #2738
2017-10-12 10:07:18 +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
Murtuza Zabuawala
63103c7a48
Remove panels for www.pgadmin.org and www.postgresql.org as they won't work with X-Frame-Options: SAMEORIGIN which is used now.
2017-10-10 09:16:23 +01:00
Khushboo Vashi
91406d2879
Ensure HTMLMIN is only used with Python 2.7+
2017-10-10 09:14:23 +01:00
Murtuza Zabuawala
f2929046fa
Refactor to remove duplicate code for the cancel/terminate buttons in the dashboard.
2017-10-09 09:18:46 +01:00
Ashesh Vashi
5860de838a
Changed the wording for 'Terminated session successfully'
2017-09-29 20:20:27 +05:30
Ashesh Vashi
4b2b08174c
Do not show the terminate session icon in red as per Dave
2017-09-29 20:17:51 +05:30
Ashesh Vashi
2b64834179
Allow to terminate a session from the server, and database dashboard.
2017-09-29 20:10:33 +05:30
Ashesh Vashi
0d754fc39f
Remove the reference of font-mfizz completely.
2017-09-29 11:26:45 +05:30
Ashesh Vashi
9c6c32e936
Resolved the logo issue.
...
For some unknown reason, font-mfizz was showing the slonik icon in
italic. Even after upgrading it to the latest version of font-mfizz, the
problem was not resolved.
So - instead of using the vector font, using the PostgreSQL SVG logo as
the application icon, and documentation link on dashboard now.
2017-09-29 11:07:26 +05:30
Surinder Kumar
bcce574e83
Using the correct path for the font-mfizz stylesheet.
...
Reported by: Neel Patel
2017-09-29 09:17:39 +05:30
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
Dave Page
8ea85221f0
Update message catalogs.
2017-09-28 10:29:46 +01:00
Dave Page
739d8e2f1f
Dead code cleanup.
2017-09-28 10:16: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
Dave Page
354679e69b
Fix an issue where we were executing SELECT statements in transactions in query tool which probably is not required because SELECT statements are already protected from dirty reads. Fixes #2683
2017-09-20 11:59:37 +01:00
Murtuza Zabuawala
64159d11ce
Fix font on alertify dialogues
2017-09-20 11:42:16 +01:00
Akshay Joshi
13665f68d8
Fix validation message styling on thegrant wizard. Fixes #2673
2017-09-20 11:34:01 +01:00
Murtuza Zabuawala
2ddbddba33
Improve display of error messages in the query tool. Fixes #2700
2017-09-20 11:29:24 +01:00
Akshay Joshi
fe757c384b
Filtered Rows dialog not opened from the context menu. Fixes #2699
2017-09-19 11:46:51 +05:30
Dave Page
62d7a1044e
Remove unused import that was causing a hard error on Windows
2017-09-18 16:54:43 +01:00
Harshal Dhumal
f0ad26ba7a
Fix for Exception when the server is restarted. Fixes #2713
...
This issue was caused because we recently added session_write_delay in session.
So session won't be written/updated to disk from memory until specified seconds are elapsed.
However we must forcefully write/update session to disk if user loges in or out irrespective of session_write_delay to keep sessions from memory and disk in sync as user logged in status is kept in session.
2017-09-18 14:39:43 +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
5ebfd88f11
Correct alignment of the X button on dismissable alerts.
2017-09-18 11:57:44 +01:00
Murtuza Zabuawala
bc5a5a5b45
Fix error message regexp in the query tool that could fail in some cases. Fixes #2700
2017-09-18 11:55:04 +01:00
Harshal Dhumal
da40573f0b
Fix user manager role handling. Fixes #2641
2017-09-18 11:45:57 +01:00
Harshal Dhumal
765e130336
Support Flask-Security 3.0
2017-09-18 11:40:09 +01:00
Surinder Kumar
026ef7b8b7
Support React v15.5 and later where the code fails to run because React's PropTypes is no more part of React Module.
2017-09-18 10:08:12 +01:00
Harshal Dhumal
30e7016077
Changed array representation and formatting for the data types in Query Tool and View Data. Fixes #2671
2017-09-18 12:07:15 +05:30
Murtuza Zabuawala
8150f93c06
Fix menu left-hand margin.
2017-09-15 14:45:02 +01:00
Atul Sharma
c3ea3b7bdf
Replace the "Roboto" font family with "Open Sans" for alertify dialogs.
2017-09-15 14:08:29 +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
Ashesh Vashi
55e14e4d78
Handle the executor nodes, which are unknown to the Explain module,
...
gracefully by showing the 'ex_unknown.png' for such nodes.
Reported by: Murtuza
Refs #2706
2017-09-15 10:51:37 +05:30
Atul Sharma
788f7f3a69
Bundle fonts with pgAdmin so we have a standard set for all platforms.
...
Research by Shirley at Pivotal.
2017-09-13 16:01:14 +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
Teng Zhang
512afd6618
Highlighting greenplum keywords in sql editor
2017-09-11 19:39:50 +05:30
Chethana Kumar
f79b7f26b1
Using the svg icons for domain constraint, and server browser nodes.
2017-09-11 18:24:04 +05:30
Ashesh Vashi
3bbd1a8a48
Remove icons from the menus to de-clutter the UI and make it more consistent with most OSs.
2017-09-11 09:51:26 +01:00
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
Murtuza Zabuawala
d5f60e1a47
Fix layout of password prompt dialogue. Fixes #2684
2017-09-07 16:27:02 +01:00
Harshal Dhumal
263aa42725
Reset query tool options before running tests. Fixes #2681
2017-09-05 16:25:15 +01:00
Surinder Kumar
c4393a7795
Fix Copy so it still works after query results have been copied. Fixes #2637
2017-08-31 14:50:39 +01:00
Akshay Joshi
47cf874460
1) Fixed error in alertify.pgNotifier when server connection is lost.
...
2) Change styling of alertify.pgNotifier as we did for success, error and info.
2017-08-31 18:02:03 +05:30
Dave Cramer
eae6f0427c
Fix display of types in GPDB.
2017-08-31 09:57:27 +01:00
Harshal Dhumal
dbf760c6e7
Improve datamodel validations for default Validator if user (developer) do not implement validate function in datamodel. Fixes #2670
2017-08-31 09:54:31 +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
048205ead5
Rename the debugger XSS test function to 'a_test_function' to ensure it appears near the top of the tree and not off-screen.
...
This should not be a permanent fix (the test should be able to scroll the treeview), but works for now to stop tests failing.
2017-08-30 11:12:27 +01:00
Surinder Kumar
7835da267b
Allow pgAdmin to run with config database versions from the future. Fixes #2664
2017-08-29 15:03:02 +01:00
Harshal Dhumal
ceb9438000
Cleanup feature tests. Fixes #2586
2017-08-29 14:57:56 +01:00
Murtuza Zabuawala
401e13ca65
Fixed issue where 'backend_type' column is exist for database server version greater than 10.
...
Issue is regression of RM #2597 .
2017-08-28 16:18:05 +05:30
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
Murtuza Zabuawala
74db837417
Allow queries to be cancelled from the dashboard, and display additional info in the subnode control. Fixes #2597
2017-08-25 16:57:33 +01:00
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
Wenlin Zhang
5dd375dd20
Fix the feature tests failuers.
2017-08-25 17:16:36 +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
Surinder Kumar
cb9a05a7e7
Datetimepicker will expand from bottom instead of Top, because of that user won't be able to select start and end time properly. Fixes #2656
2017-08-23 11:26:24 +05:30
Sarah McAlear
b585063a26
Refactor keyboard shortcut functions in the query tool. Fix some incorrect keycodes and update docs.
...
Initial work by Sarah & Violet @ Pivotal, with additional tweaks by Murtuza @ EDB.
2017-08-21 15:27:29 +01:00
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
Violet Cheng
d527769bf8
Extract the generate_url(..) function from node.js, and collection.js
2017-08-17 21:43:07 +05:30
Murtuza Zabuawala
e9b80dae9c
User can not add New Server through Quick links. Fixes #2634
2017-08-17 18:14:06 +05:30
Sarah McAlear
dee5186f65
Fixed alertify notification messages where checkmark box disconnected from frame. Fixes #2644
2017-08-17 17:54:12 +05:30
Surinder Kumar
c7686dee05
Unset compression ratio if it is an empty string in Backup module. Fixes #2582
2017-08-17 16:35:42 +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
Hao Wang
5141debae7
UX improvements of the history in the query tool.
...
- Added copy button for query text.
- Historical queries are binned/grouped by day.
Patch By: Hao Wang, Sarah McAlear
2017-08-09 16:52:43 +05:30