pgAdmin 4 commit: Clarify when the container will load server definitio

2019-07-25 Thread Dave Page
Clarify when the container will load server definitions.

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=f9356b52805e0e353277002b8d7a49030560c305

Modified Files
--
docs/en_US/container_deployment.rst | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)



pgAdmin 4 commit: Update Japanese translation

2019-07-25 Thread Dave Page
Update Japanese translation

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=3037e7f3e601ef557b3ac0f3cd61ff8981a23ac5
Author: Identifier Anonymous 

Modified Files
--
.../translations/ja/LC_MESSAGES/messages.mo| Bin 163720 -> 164205 bytes
.../translations/ja/LC_MESSAGES/messages.po|  54 ++---
2 files changed, 27 insertions(+), 27 deletions(-)



pgAdmin 4 commit: Ensure popper.js is installed when needed. Fixes #421

2019-07-25 Thread Dave Page
Ensure popper.js is installed when needed. Fixes #4219

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=1a0e2fd5dd326a7388ad3b5897791305cc0750ce

Modified Files
--
docs/en_US/release_notes_4_7.rst | 1 +
web/webpack.config.js| 5 +++--
2 files changed, 4 insertions(+), 2 deletions(-)



pgAdmin 4 commit: Stop using application/x-javascript as a mime type an

2019-07-25 Thread Dave Page
Stop using application/x-javascript as a mime type and use the RFC-compliant 
application/javascript instead. Fixes #4261

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=a61de5ed9d8f0ff0c460078bbb3e8d2bfdf78f7a

Modified Files
--
docs/en_US/release_notes_4_7.rst |  3 ++-
web/pgadmin/browser/__init__.py  | 12 ++--
web/pgadmin/browser/server_groups/servers/__init__.py|  2 +-
.../foreign_data_wrappers/foreign_servers/__init__.py|  2 +-
.../foreign_servers/user_mapping/__init__.py |  2 +-
.../servers/databases/schemas/domains/__init__.py|  2 +-
.../servers/databases/schemas/foreign_tables/__init__.py |  2 +-
.../servers/databases/schemas/fts_configurations/__init__.py |  2 +-
.../servers/databases/schemas/fts_dictionaries/__init__.py   |  2 +-
.../servers/databases/schemas/fts_templates/__init__.py  |  2 +-
.../servers/databases/schemas/functions/__init__.py  |  6 +++---
.../servers/databases/schemas/packages/__init__.py   |  2 +-
.../servers/databases/schemas/packages/edbfuncs/__init__.py  |  4 ++--
.../servers/databases/schemas/packages/edbvars/__init__.py   |  2 +-
.../servers/databases/schemas/sequences/__init__.py  |  2 +-
.../servers/databases/schemas/tables/constraints/__init__.py |  2 +-
.../schemas/tables/constraints/check_constraint/__init__.py  |  2 +-
.../tables/constraints/exclusion_constraint/__init__.py  |  2 +-
.../schemas/tables/constraints/foreign_key/__init__.py   |  2 +-
.../schemas/tables/constraints/index_constraint/__init__.py  |  2 +-
.../servers/databases/schemas/tables/rules/__init__.py   |  2 +-
.../server_groups/servers/resource_groups/__init__.py|  2 +-
.../browser/server_groups/servers/tablespaces/__init__.py|  2 +-
web/pgadmin/browser/utils.py |  2 +-
24 files changed, 33 insertions(+), 32 deletions(-)



pgAdmin 4 commit: Properly assign dropdownParent in Select2 controls. F

2019-07-25 Thread Dave Page
Properly assign dropdownParent in Select2 controls. Fixes #4218

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=eb4c2085bd62644f0a12f09ccf423e1d02d089dc
Author: Neel Patel 

Modified Files
--
docs/en_US/release_notes.rst  |  1 +
docs/en_US/release_notes_4_7.rst  | 17 +
web/pgadmin/static/js/backform.pgadmin.js | 14 +++---
3 files changed, 25 insertions(+), 7 deletions(-)



pgAdmin 4 commit: Ensure the treeview shows all sequences except those

2019-07-25 Thread Dave Page
Ensure the treeview shows all sequences except those used to implement IDENTITY 
columns (which can be edited as part of the column). Show all if Show System 
Objects is enabled. Fixes #4154

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=dafab4e2cc22e5de4a88ec3b85f21b4346a73daf

Modified Files
--
docs/en_US/release_notes_4_6.rst   |  1 +
.../databases/schemas/sequences/__init__.py| 43 --
2 files changed, 33 insertions(+), 11 deletions(-)



pgAdmin 4 commit: Prevent duplicate columns being included in reverse e

2019-07-25 Thread Dave Page
Prevent duplicate columns being included in reverse engineered SQL for tables. 
Fixes #4163

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=2a474bd9b94b222875375c34c190acd696843f97
Author: Akshay Joshi 

Modified Files
--
docs/en_US/release_notes_4_6.rst| 1 +
.../schemas/tables/templates/column/sql/10_plus/properties.sql  | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)



pgAdmin 4 commit: Updated jQuery version as they have fixed some vulner

2019-07-25 Thread Dave Page
Updated jQuery version as they have fixed some vulnerability issue.

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=2ba74f38595abf4ae51fe3b4b5cb2e6637d0fad4
Author: Akshay Joshi 

Modified Files
--
web/package.json |   2 +-
web/yarn.lock| 509 +--
2 files changed, 6 insertions(+), 505 deletions(-)



pgAdmin 4 commit: Remove some unecessary React libraries.

2019-07-25 Thread Dave Page
Remove some unecessary React libraries.

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=ffb12a4628773edaa2aeea7511833a85d45b54d2
Author: Aditya Toshniwal 

Modified Files
--
web/package.json |  1 -
web/yarn.lock| 23 +--
2 files changed, 1 insertion(+), 23 deletions(-)



pgAdmin 4 commit: Fix an issue where 'GRANT UPDATE' sql should be displ

2019-07-25 Thread Dave Page
Fix an issue where 'GRANT UPDATE' sql should be displayed for default sequence 
privileges. Fixes #4087

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=9fba3833f242e21958bf31781798df892079678f
Author: Khushboo Vashi 

Modified Files
--
docs/en_US/release_notes_4_6.rst| 1 +
.../databases/schemas/templates/catalog/pg/9.1_plus/allowed_privs.json  | 2 +-
.../databases/schemas/templates/catalog/pg/9.2_plus/allowed_privs.json  | 2 +-
.../schemas/templates/catalog/ppas/9.1_plus/allowed_privs.json  | 2 +-
.../schemas/templates/catalog/ppas/9.2_plus/allowed_privs.json  | 2 +-
.../databases/schemas/templates/schema/gpdb_5.0_plus/allowed_privs.json | 2 +-
.../databases/schemas/templates/schema/pg/9.2_plus/allowed_privs.json   | 2 +-
.../databases/schemas/templates/schema/pg/default/allowed_privs.json| 2 +-
.../databases/schemas/templates/schema/ppas/9.1_plus/allowed_privs.json | 2 +-
.../databases/schemas/templates/schema/ppas/9.2_plus/allowed_privs.json | 2 +-
.../databases/templates/databases/sql/9.2_plus/allowed_privs.json   | 2 +-
.../databases/templates/databases/sql/default/allowed_privs.json| 2 +-
12 files changed, 12 insertions(+), 11 deletions(-)



pgAdmin 4 commit: Ensure that newly added row in backgrid should be vis

2019-07-25 Thread Dave Page
Ensure that newly added row in backgrid should be visible.

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=587a550f8aa42f0a9078627e9b872f02d0008897
Author: Khushboo Vashi 

Modified Files
--
docs/en_US/release_notes_4_6.rst  |  1 +
web/pgadmin/browser/static/js/node.ui.js  | 22 ++
web/pgadmin/static/js/backform.pgadmin.js |  4 ++--
3 files changed, 25 insertions(+), 2 deletions(-)



pgAdmin 4 commit: Update French translation

2019-07-25 Thread Dave Page
Update French translation

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=fd305e93e72f00560d555befe4aa3a6ee270096b
Author: Fred Escallier 

Modified Files
--
.../translations/fr/LC_MESSAGES/messages.mo|  Bin 159835 -> 170745 bytes
.../translations/fr/LC_MESSAGES/messages.po| 1080 ++--
2 files changed, 518 insertions(+), 562 deletions(-)



pgAdmin 4 commit: Update version for release

2019-07-25 Thread Dave Page
Update version for release

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=e03cd78b5c8acabf90ac021f36c54a8950270164
Author: Akshay Joshi 

Modified Files
--
web/config.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)



pgAdmin 4 commit: Fix regression tests.

2019-07-25 Thread Dave Page
Fix regression tests.

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=bd236a95c6a4305489c520091f7c4e5d7c5e5152

Modified Files
--
web/regression/javascript/history/query_history_spec.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)



pgAdmin 4 commit: Fixed console error when subnode control is used in p

2019-07-25 Thread Dave Page
Fixed console error when subnode control is used in panels. Fixes #4246

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=d044720ea51ef10ef822db7caba4f99503eaed90
Author: Murtuza Zabuawala 

Modified Files
--
docs/en_US/release_notes_4_7.rst  |  3 ++-
web/pgadmin/static/js/backform.pgadmin.js | 14 --
2 files changed, 14 insertions(+), 3 deletions(-)



pgAdmin 4 commit: Fixed 'Increment value cannot be empty' error for exi

2019-07-25 Thread Dave Page
Fixed 'Increment value cannot be empty' error for existing tables. Fixes #4160

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=c52de1b3106adb599e3e252f322a2ea5ec05d19c
Author: Khushboo Vashi 

Modified Files
--
docs/en_US/release_notes_4_6.rst |  1 +
.../databases/schemas/tables/columns/static/js/column.js | 12 +++-
2 files changed, 12 insertions(+), 1 deletion(-)



pgAdmin 4 commit: Update Chinese translation.

2019-07-25 Thread Dave Page
Update Chinese translation.

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=291f5296f660f739d5e76eaf574f83a6742d95a9
Author: Ma Yanhong 

Modified Files
--
.../translations/zh/LC_MESSAGES/messages.mo| Bin 138295 -> 138274 bytes
.../translations/zh/LC_MESSAGES/messages.po| 477 +++--
2 files changed, 248 insertions(+), 229 deletions(-)



pgAdmin 4 commit: Improvement for 'beforeunload' event, bind the event

2019-07-25 Thread Dave Page
Improvement for 'beforeunload' event, bind the event only from where it is 
required.

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=37cabc7e62a0b7dfe9840f9b1778aa2eda95f8c3
Author: Aditya Toshniwal 

Modified Files
--
web/pgadmin/browser/static/js/browser.js   | 41 --
web/pgadmin/tools/debugger/static/js/direct.js |  2 ++
web/pgadmin/tools/sqleditor/static/js/sqleditor.js |  2 ++
3 files changed, 26 insertions(+), 19 deletions(-)



pgAdmin 4 commit: Ensure that both columns and partitions can be edited

2019-07-25 Thread Dave Page
Ensure that both columns and partitions can be edited at the same time in the 
table dialog. Fixes #4380

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=4ad3749698485a9319c8bac51101dac0e9ab1b48
Author: Khushboo Vashi 

Modified Files
--
docs/en_US/release_notes_4_9.rst   |  3 +-
.../servers/databases/schemas/tables/utils.py  | 44 +++---
2 files changed, 24 insertions(+), 23 deletions(-)



pgAdmin 4 commit: Fix help links for backup globals and backup server.

2019-07-25 Thread Dave Page
Fix help links for backup globals and backup server. Fixes #4365

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=dc2c101a596db72ea1114acc2e469c945af8bd83
Author: Akshay Joshi 

Modified Files
--
docs/en_US/release_notes_4_9.rst|  4 +++-
web/pgadmin/tools/backup/static/js/backup_dialog_wrapper.js | 10 +-
2 files changed, 12 insertions(+), 2 deletions(-)



pgAdmin 4 commit: Ensure the browser close confirmation is only shown w

2019-07-25 Thread Dave Page
Ensure the browser close confirmation is only shown when closing a Query Tool 
which is running in a separate browser tab. Fixes #4403

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=f5371232af226045500d84e9006c3e494296f826
Author: Aditya Toshniwal 

Modified Files
--
docs/en_US/release_notes_4_10.rst  | 2 ++
web/pgadmin/tools/sqleditor/static/js/sqleditor.js | 3 +--
2 files changed, 3 insertions(+), 2 deletions(-)



pgAdmin 4 commit: Don't try to install Chromedriver using the chromedri

2019-07-25 Thread Dave Page
Don't try to install Chromedriver using the chromedriver_installer module as it 
no longer works and doesn't seem to be supported.

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=d1ba62c410f687a1486b075b5da0676085a9b54d

Modified Files
--
web/regression/requirements.txt | 3 ---
1 file changed, 3 deletions(-)



pgAdmin 4 commit: Update version for release.

2019-07-25 Thread Dave Page
Update version for release.

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=44b15e6a06feec7e9593885d0686cc3c3b7fba89
Author: Akshay Joshi 

Modified Files
--
web/config.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)



pgAdmin 4 commit: Update message catalogs

2019-07-25 Thread Dave Page
Update message catalogs

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=2049d6e567ac31a123e38f5fb1e22d416d04898f
Author: Akshay Joshi 

Modified Files
--
web/pgadmin/messages.pot   | 1149 +-
.../translations/de/LC_MESSAGES/messages.mo|  Bin 149878 -> 150140 bytes
.../translations/de/LC_MESSAGES/messages.po| 1165 ++-
.../translations/es/LC_MESSAGES/messages.mo|  Bin 154530 -> 154783 bytes
.../translations/es/LC_MESSAGES/messages.po| 1167 ++-
.../translations/fr/LC_MESSAGES/messages.mo|  Bin 159592 -> 159835 bytes
.../translations/fr/LC_MESSAGES/messages.po| 2199 ++--
.../translations/ja/LC_MESSAGES/messages.mo|  Bin 166115 -> 166261 bytes
.../translations/ja/LC_MESSAGES/messages.po| 1169 ++-
.../translations/ko/LC_MESSAGES/messages.mo|  Bin 152230 -> 152447 bytes
.../translations/ko/LC_MESSAGES/messages.po| 1167 ++-
.../translations/pl/LC_MESSAGES/messages.mo|  Bin 149921 -> 150167 bytes
.../translations/pl/LC_MESSAGES/messages.po| 1167 ++-
.../translations/ru/LC_MESSAGES/messages.mo|  Bin 186156 -> 186363 bytes
.../translations/ru/LC_MESSAGES/messages.po| 1167 ++-
.../translations/zh/LC_MESSAGES/messages.mo|  Bin 138026 -> 138295 bytes
.../translations/zh/LC_MESSAGES/messages.po| 1623 ---
17 files changed, 6143 insertions(+), 5830 deletions(-)



pgAdmin 4 commit: Add a script for installing the required Chromedriver

2019-07-25 Thread Dave Page
Add a script for installing the required Chromedriver version.

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=807010071e6fdbd1c995f7167b98635663d8c138

Modified Files
--
tools/get_chromedriver.py | 204 ++
1 file changed, 204 insertions(+)



pgAdmin 4 commit: Ensure Python escaping matched JS escaping and fix a

2019-07-25 Thread Dave Page
Ensure Python escaping matched JS escaping and fix a minor XSS issue in the 
Query Tool that required superuser access to trigger. Fixes #4378

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=3b7806c7ca721fe4ae5f9b90842e046a07ec6ea0
Author: Aditya Toshniwal 

Modified Files
--
docs/en_US/release_notes_4_9.rst |  1 +
web/pgadmin/browser/utils.py | 25 
web/pgadmin/tools/datagrid/__init__.py   |  4 +++-
web/pgadmin/tools/datagrid/static/js/datagrid.js |  2 +-
4 files changed, 30 insertions(+), 2 deletions(-)



pgAdmin 4 commit: Add Reverse Engineered SQL tests for FTS Parsers. Fix

2019-07-25 Thread Dave Page
Add Reverse Engineered SQL tests for FTS Parsers. Fixes #4471

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=12922206dbe7615cdee6b8dc424f69bba3f58eec
Author: Shubham Agarwal 

Modified Files
--
docs/en_US/release_notes_4_11.rst  |  2 ++
.../fts_parsers/tests/default/alter_fts_parser.sql | 13 +++
.../tests/default/create_fts_parser.sql| 13 +++
.../schemas/fts_parsers/tests/default/test.json| 40 ++
web/regression/re_sql/tests/test_resql.py  | 12 +--
5 files changed, 77 insertions(+), 3 deletions(-)



pgAdmin 4 commit: Fix typo

2019-07-25 Thread Dave Page
Fix typo

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=931e5ecfdb5abf6d2ae13ff1893f44a9eda61ff0

Modified Files
--
web/pgadmin/setup/data_directory.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



pgAdmin 4 commit: Remove additional "SETOF" included when generating CR

2019-07-25 Thread Dave Page
Remove additional "SETOF" included when generating CREATE scripts for trigger 
functions. Fixes #4362

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=ac7b71281a4aa33c7f9e61dcec014bee77a6c435

Modified Files
--
docs/en_US/release_notes_4_9.rst   | 1 +
.../functions/templates/trigger_functions/pg/sql/11_plus/create.sql| 3 ++-
.../functions/templates/trigger_functions/pg/sql/9.2_plus/create.sql   | 3 ++-
.../functions/templates/trigger_functions/pg/sql/9.5_plus/create.sql   | 3 ++-
.../functions/templates/trigger_functions/pg/sql/default/create.sql| 3 ++-
.../functions/templates/trigger_functions/ppas/sql/9.2_plus/create.sql | 3 ++-
.../functions/templates/trigger_functions/ppas/sql/9.5_plus/create.sql | 3 ++-
.../functions/templates/trigger_functions/ppas/sql/default/create.sql  | 3 ++-
8 files changed, 15 insertions(+), 7 deletions(-)



pgAdmin 4 commit: Correct the issue number and sequence in release note

2019-07-25 Thread Dave Page
Correct the issue number and sequence in release note.

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=048f3fc6e79bc4156a7da4c89321c1a99a0b6bd6
Author: Akshay Joshi 

Modified Files
--
docs/en_US/release_notes_4_11.rst | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)



pgAdmin 4 commit: Capitalize the word 'export' used in Import/Export mo

2019-07-25 Thread Dave Page
Capitalize the word 'export' used in Import/Export module. Fixes #4345

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=fc60dd053874b48dae20c5cb681dcf7297fa7646
Author: Akshay Joshi 

Modified Files
--
docs/en_US/release_notes_4_9.rst   | 1 +
web/pgadmin/tools/import_export/static/js/import_export.js | 6 +++---
2 files changed, 4 insertions(+), 3 deletions(-)



pgAdmin 4 commit: Fix SSH tunnel password decryption. Fixes #4320

2019-07-25 Thread Dave Page
Fix SSH tunnel password decryption. Fixes #4320

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=72f0ae5d3b676edebf8110a72cd542ea9aa47c36
Author: Aditya Toshniwal 

Modified Files
--
web/pgadmin/utils/driver/psycopg2/server_manager.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)



pgAdmin 4 commit: Fix regression tests.

2019-07-25 Thread Dave Page
Fix regression tests.

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=7ac884f9eb518f630c961c94647f5b0927544199
Author: Aditya Toshniwal 

Modified Files
--
web/pgadmin/tools/sqleditor/tests/test_view_data_templates.py | 5 +
1 file changed, 5 insertions(+)



pgAdmin 4 commit: Fix an XSS issue when username contains XSS vulnerabl

2019-07-25 Thread Dave Page
Fix an XSS issue when username contains XSS vulnerable text. Fixes #4386

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=10674368dbcd0e9915a3dd9a263b7004e34e02e5
Author: Aditya Toshniwal 

Modified Files
--
docs/en_US/release_notes_4_9.rst   |  3 ++-
web/pgadmin/tools/datagrid/static/js/datagrid.js   | 23 --
...{get_panel_title.js => datagrid_panel_title.js} | 22 +
web/pgadmin/tools/datagrid/static/js/show_data.js  |  2 +-
.../tools/datagrid/static/js/show_query_tool.js|  2 +-
web/pgadmin/tools/sqleditor/static/js/sqleditor.js | 10 --
.../javascript/datagrid/get_panel_title_spec.js|  2 +-
7 files changed, 35 insertions(+), 29 deletions(-)



pgAdmin 4 commit: Change icons for table inheritance (icons by Chethana

2019-07-25 Thread Dave Page
Change icons for table inheritance (icons by Chethana Kumar) Fixes #3174

Along with this, I have also fixed few other issues/icons found on the way:
1) Dependencies tab for inherited tables/foreign keys shows partial text (Fixes 
##3994).
2) Dependencies tab for child partition table shows parent partition table as 
Function.
3) Dependencies tab for triggers shows trigger functions as plain functions.
4) Dependents tab for partitioned table shows the child partition tables as 
normal table instead for partitioned tables.

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=9a384b93d4f0c86b0263715ffb469b54a426cbbe
Author: Aditya Toshniwal 

Modified Files
--
docs/en_US/release_notes_4_9.rst   |  2 +
.../servers/databases/schemas/tables/__init__.py   | 58 ++
.../schemas/tables/base_partition_table.py |  4 +-
.../schemas/tables/static/img/table-inherited.svg  |  1 +
.../schemas/tables/static/img/table-inherits.svg   |  1 +
.../tables/static/img/table-multi-inherit.svg  |  1 +
.../tables/templates/tables/sql/10_plus/nodes.sql  |  4 +-
.../tables/templates/tables/sql/9.1_plus/nodes.sql |  4 +-
.../tables/templates/tables/sql/default/nodes.sql  |  4 +-
.../templates/tables/sql/gpdb_5.0_plus/nodes.sql   |  4 +-
.../templates/depends/sql/12_plus/dependencies.sql | 12 +++--
.../templates/depends/sql/12_plus/dependents.sql   | 12 +++--
.../depends/sql/9.1_plus/dependencies.sql  | 14 --
.../templates/depends/sql/9.1_plus/dependents.sql  | 12 +++--
.../templates/depends/sql/default/dependencies.sql | 14 --
.../templates/depends/sql/default/dependents.sql   | 12 +++--
web/pgadmin/browser/templates/browser/css/node.css | 11 ++--
web/pgadmin/browser/utils.py   | 27 +-
.../misc/dependencies/static/js/dependencies.js| 10 ++--
.../misc/dependents/static/js/dependents.js| 10 ++--
20 files changed, 177 insertions(+), 40 deletions(-)



pgAdmin 4 commit: Update version for release

2019-07-25 Thread Dave Page
Update version for release

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=6fa53d7dd4e7411b69fb5d79b0c84d693c0d1d5b
Author: Akshay Joshi 

Modified Files
--
web/config.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)



pgAdmin 4 commit: Fix sequence reverse engineered SQL generation with q

2019-07-25 Thread Dave Page
Fix sequence reverse engineered SQL generation with quoted names on PG/EPAS 
10+. Fixes #4470

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=9f346d011434d2cbc3a4441886700b72e305a3b5
Author: Aditya Toshniwal 

Modified Files
--
docs/en_US/release_notes_4_11.rst  | 3 ++-
.../schemas/sequences/templates/sequences/sql/10_plus/get_def.sql  | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)



pgAdmin 4 commit: Add support for editing of resultsets in the Query To

2019-07-25 Thread Dave Page
Add support for editing of resultsets in the Query Tool, if the data can be 
identified as updatable. Fixes #1760

When a query is run in the Query Tool, check if the source of the columns
can be identified as being from a single table, and that we have all
columns that make up the primary key. If so, consider the resultset to
be editable and allow the user to edit data and add/remove rows in the
grid. Changes to data are saved using SAVEPOINTs as part of any
transaction that's in progress, and rolled back if there are integrity
violations, without otherwise affecting the ongoing transaction.

Implemented by Yosry Muhammad as a Google Summer of Code project.

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=581cf7b2f36e4b71b69c5369c23a09f51662abf8
Author: Yosry Muhammad 

Modified Files
--
docs/en_US/editgrid.rst|   8 +-
docs/en_US/images/query_output_data.png| Bin 83700 -> 50204 bytes
docs/en_US/images/query_tool.png   | Bin 85347 -> 50204 bytes
docs/en_US/images/query_toolbar.png| Bin 20230 -> 7820 bytes
docs/en_US/keyboard_shortcuts.rst  |   2 +
docs/en_US/preferences.rst |   4 +
docs/en_US/query_tool.rst  |  28 +-
docs/en_US/query_tool_toolbar.rst  |   9 +-
docs/en_US/release_notes_4_11.rst  |   1 +
web/pgadmin/feature_tests/file_manager_test.py |   3 +-
web/pgadmin/feature_tests/locators.py  |   2 +-
.../feature_tests/query_tool_journey_test.py   |  75 ++
web/pgadmin/feature_tests/view_data_dml_queries.py |   2 +-
web/pgadmin/static/js/keyboard_shortcuts.js|   4 +
.../static/js/sqleditor/call_render_after_poll.js  |   3 +-
web/pgadmin/static/js/sqleditor/execute_query.js   |  12 +
.../static/js/sqleditor/query_tool_actions.js  |   5 +
.../static/js/sqleditor/query_tool_preferences.js  |   6 +-
web/pgadmin/static/scss/_alertify.overrides.scss   |   2 +-
.../tools/datagrid/templates/datagrid/index.html   |  10 +-
web/pgadmin/tools/sqleditor/__init__.py|  80 ++-
web/pgadmin/tools/sqleditor/command.py | 364 +++---
.../tools/sqleditor/static/css/sqleditor.css   |   6 +-
.../sqleditor/static/img/save_data_changes.svg |  12 +
web/pgadmin/tools/sqleditor/static/js/sqleditor.js | 759 +
.../tools/sqleditor/static/scss/_sqleditor.scss|   7 +
.../sqleditor/sql/11_plus/primary_keys.sql |   2 +-
.../sqleditor/sql/default/primary_keys.sql |   4 +-
.../tools/sqleditor/tests/execute_query_utils.py   |  41 ++
.../tests/test_is_query_resultset_updatable.py | 125 
.../sqleditor/tests/test_save_changed_data.py  | 347 ++
.../utils/is_query_resultset_updatable.py  | 120 
.../sqleditor/utils/query_tool_preferences.py  |  29 +
.../tools/sqleditor/utils/save_changed_data.py | 310 +
.../tools/sqleditor/utils/start_running_query.py   |   3 +
.../sqleditor/call_render_after_poll_spec.js   |  25 +-
.../sqleditor/keyboard_shortcuts_spec.js   |  46 ++
web/regression/runtests.py |   1 +
38 files changed, 1860 insertions(+), 597 deletions(-)



pgAdmin 4 commit: Update message catalogs.

2019-07-25 Thread Dave Page
Update message catalogs.

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=d605054021633d8d0533b693353d75a71edd2434
Author: Akshay Joshi 

Modified Files
--
web/pgadmin/messages.pot   |  820 -
.../translations/de/LC_MESSAGES/messages.mo|  Bin 148249 -> 148260 bytes
.../translations/de/LC_MESSAGES/messages.po|  875 +-
.../translations/es/LC_MESSAGES/messages.mo|  Bin 153061 -> 152912 bytes
.../translations/es/LC_MESSAGES/messages.po|  923 +-
.../translations/fr/LC_MESSAGES/messages.mo|  Bin 157512 -> 157203 bytes
.../translations/fr/LC_MESSAGES/messages.po| 1828 +++-
.../translations/ja/LC_MESSAGES/messages.mo|  Bin 164009 -> 163720 bytes
.../translations/ja/LC_MESSAGES/messages.po|  897 +-
.../translations/ko/LC_MESSAGES/messages.mo|  Bin 150711 -> 150612 bytes
.../translations/ko/LC_MESSAGES/messages.po|  896 +-
.../translations/pl/LC_MESSAGES/messages.mo|  Bin 148386 -> 148303 bytes
.../translations/pl/LC_MESSAGES/messages.po|  916 +-
.../translations/ru/LC_MESSAGES/messages.mo|  Bin 185443 -> 184538 bytes
.../translations/ru/LC_MESSAGES/messages.po|  918 +-
.../translations/zh/LC_MESSAGES/messages.mo|  Bin 127651 -> 127717 bytes
.../translations/zh/LC_MESSAGES/messages.po|  875 +-
17 files changed, 4830 insertions(+), 4118 deletions(-)



pgAdmin 4 commit: Fixed resql test cases for Extensions specific to dat

2019-07-25 Thread Dave Page
Fixed resql test cases for Extensions specific to database servers.

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=4477f0018a910083394fc57dccc87e9d8638df34
Author: Nagesh Dhope 

Modified Files
--
.../tests/9.4_plus/alter_extension_schema.sql  |  7 +++
.../tests/9.4_plus/alter_extension_version.sql |  7 +++
.../9.4_plus/create_extension_with_all_options.sql |  7 +++
.../create_extension_with_default_schema.sql   |  7 +++
.../databases/extensions/tests/9.4_plus/tests.json | 59 ++
.../tests/9.5_plus/alter_extension_schema.sql  |  7 +++
.../9.5_plus/create_extension_with_all_options.sql |  7 +++
.../databases/extensions/tests/9.5_plus/tests.json | 32 
.../alter_extension_schema.sql |  0
.../alter_extension_version.sql|  0
.../create_extension_with_all_options.sql  |  0
.../create_extension_with_default_schema.sql   |  0
.../tests/{default => 9.6_plus}/tests.json |  4 +-
13 files changed, 135 insertions(+), 2 deletions(-)



pgAdmin 4 commit: Fix file browser path issue which occurs when client

2019-07-25 Thread Dave Page
Fix file browser path issue which occurs when client is on Windows and server 
is on Mac/Linux. Fixes #4164

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=4c453810cfacc4ce465fd6716da4df0547605bc7
Author: Aditya Toshniwal 

Modified Files
--
docs/en_US/release_notes_4_7.rst |  1 +
web/pgadmin/misc/file_manager/static/js/create_dialogue.js   |  2 +-
web/pgadmin/misc/file_manager/static/js/utility.js   | 12 +++-
.../templates/file_manager/js/file_manager_config.json   |  1 +
4 files changed, 10 insertions(+), 6 deletions(-)



pgAdmin 4 commit: Improve error output for the RE-SQL tests.

2019-07-25 Thread Dave Page
Improve error output for the RE-SQL tests.

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=a0ef2e8166c568869bd258954128cde63565ab78

Modified Files
--
web/regression/re_sql/tests/test_resql.py | 11 ++-
1 file changed, 6 insertions(+), 5 deletions(-)



pgAdmin 4 commit: PEP-8 fixes.

2019-07-25 Thread Dave Page
PEP-8 fixes.

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=24a030317f59f6ed12e4a6a6498d7885c20a0d00

Modified Files
--
.../server_groups/servers/databases/schemas/tables/utils.py  | 12 +++-
1 file changed, 7 insertions(+), 5 deletions(-)



pgAdmin 4 commit: Update French translation.

2019-07-25 Thread Dave Page
Update French translation.

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=06ec992628dbdde95c9a2c0daa1c9f9d9bf3fe3f
Author: Fred Escallier 

Modified Files
--
.../translations/fr/LC_MESSAGES/messages.mo|  Bin 157203 -> 168448 bytes
.../translations/fr/LC_MESSAGES/messages.po|  ++--
2 files changed, 538 insertions(+), 573 deletions(-)



pgAdmin 4 commit: Add support for pre-condition SQL in RE-SQL testsuite

2019-07-25 Thread Dave Page
Add support for pre-condition SQL in RE-SQL testsuite,
and use it to ensure that the right extensions are installed for the
extension tests.

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=8c41296d2dbe4133c42e96538606e5a2100e1613
Author: Nagesh Dhope 

Modified Files
--
.../databases/extensions/tests/9.4_plus/tests.json | 18 ++--
.../databases/extensions/tests/9.5_plus/tests.json |  9 +---
.../databases/extensions/tests/9.6_plus/tests.json | 18 ++--
web/regression/re_sql/tests/test_resql.py  | 25 ++
4 files changed, 55 insertions(+), 15 deletions(-)



pgAdmin 4 commit: Update Japanese translation

2019-07-25 Thread Dave Page
Update Japanese translation

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=268403dbf20ae2deef47bed9ea3b319ba68278c7
Author: Identifier Anonymous 

Modified Files
--
.../translations/ja/LC_MESSAGES/messages.mo| Bin 166261 -> 166501 bytes
.../translations/ja/LC_MESSAGES/messages.po|  56 ++---
2 files changed, 28 insertions(+), 28 deletions(-)



pgAdmin 4 commit: Added re_sql test cases for privileges in Foreign Dat

2019-07-25 Thread Dave Page
Added re_sql test cases for privileges in Foreign Data Wrappers

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=e708f34af1b9a7cb555891cac11cc532e6f158b6
Author: Akshay Joshi 

Modified Files
--
.../foreign_data_wrappers/sql/9.3_plus/acl.sql |  1 +
.../foreign_data_wrappers/sql/default/acl.sql  |  1 +
.../tests/default/alter_fdw_rename.sql | 13 --
.../{ => pg}/9.3_plus/alter_fdw_change_opt2.sql|  0
.../tests/{ => pg}/9.3_plus/alter_fdw_comment.sql  |  0
.../tests/{ => pg}/9.3_plus/alter_fdw_opt1.sql |  0
.../tests/{ => pg}/9.3_plus/alter_fdw_opt2.sql |  0
.../tests/pg/9.3_plus/alter_fdw_privileges.sql | 16 +
.../tests/{ => pg}/9.3_plus/alter_fdw_rename.sql   |  0
.../{ => pg}/9.3_plus/alter_fdw_validator.sql  |  0
.../tests/{ => pg}/9.3_plus/create_fdw.sql |  0
.../tests/{ => pg}/9.3_plus/test.json  | 28 ++
.../9.3_plus}/alter_fdw_change_opt2.sql|  0
.../9.3_plus}/alter_fdw_comment.sql|  0
.../{default => ppas/9.3_plus}/alter_fdw_opt1.sql  |  0
.../{default => ppas/9.3_plus}/alter_fdw_opt2.sql  |  0
.../tests/ppas/9.3_plus/alter_fdw_privileges.sql   | 16 +
.../tests/ppas/9.3_plus/alter_fdw_rename.sql   | 13 ++
.../9.3_plus}/alter_fdw_validator.sql  |  0
.../{default => ppas/9.3_plus}/create_fdw.sql  |  0
.../tests/{default => ppas/9.3_plus}/test.json | 28 ++
21 files changed, 103 insertions(+), 13 deletions(-)



pgAdmin 4 commit: Add Reverse Engineered SQL tests for Sequences. Fixes

2019-07-25 Thread Dave Page
Add Reverse Engineered SQL tests for Sequences. Fixes #4469

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=20d0c8fe924f350ccbc29ad3845cacca780af9b9
Author: Aditya Toshniwal 

Modified Files
--
docs/en_US/release_notes_4_11.rst  |  2 +-
.../tests/pg/10_plus/alter_seq_comment.sql | 16 +++
.../sequences/tests/pg/10_plus/alter_seq_props.sql | 17 
.../sequences/tests/pg/10_plus/create_sequence.sql | 13 ++
.../schemas/sequences/tests/pg/10_plus/test.json   | 49 ++
.../tests/pg/default/alter_seq_comment.sql | 16 +++
.../sequences/tests/pg/default/alter_seq_props.sql | 17 
.../sequences/tests/pg/default/create_sequence.sql | 13 ++
.../schemas/sequences/tests/pg/default/test.json   | 49 ++
9 files changed, 191 insertions(+), 1 deletion(-)



pgAdmin 4 commit: Add Reverse Engineered SQL tests for Constraints. Fix

2019-07-25 Thread Dave Page
Add Reverse Engineered SQL tests for Constraints. Fixes #4475

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=5e4fb7f72c4f8e2532a01b4e74ae916d09e023ed
Author: Khushboo Vashi 

Modified Files
--
docs/en_US/release_notes_4_11.rst  |  1 +
.../tests/Default/alter_check_constraint.sql   |  9 
.../tests/Default/create_check_constraint.sql  | 10 
.../tests/Default/msql_check_constraint.sql|  6 +++
.../check_constraint/tests/Default/test.json   | 56 ++
web/regression/re_sql/tests/test_resql.py  |  8 
6 files changed, 90 insertions(+)



pgAdmin 4 commit: Allow editing of data where a primary key column incl

2019-07-25 Thread Dave Page
Allow editing of data where a primary key column includes a % sign in the 
value. Fixes #4036
Fix an XSS issue seen in View/Edit data mode if a column name includes HTML. 
Fixes #4367

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=53d7b747000e3fbe8c35e0b18750c1e99f6b8d29
Author: Aditya Toshniwal 

Modified Files
--
docs/en_US/release_notes_4_9.rst   |  4 +-
.../xss_checks_panels_and_query_tool_test.py   | 28 -
web/pgadmin/tools/sqleditor/__init__.py|  7 +++-
web/pgadmin/tools/sqleditor/command.py | 46 --
web/pgadmin/tools/sqleditor/static/js/sqleditor.js |  4 +-
.../templates/sqleditor/sql/default/insert.sql |  2 +-
.../templates/sqleditor/sql/default/update.sql |  2 +-
web/pgadmin/utils/driver/psycopg2/cursor.py|  3 ++
web/regression/feature_utils/pgadmin_page.py   | 22 +++
web/regression/python_test_utils/test_utils.py | 17 +---
10 files changed, 112 insertions(+), 23 deletions(-)



pgAdmin 4 commit: Added missing __init__.py file in debugger utils whic

2019-07-25 Thread Dave Page
Added missing __init__.py file in debugger utils which is required for Python 
2.7

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=62b5957244e4dbcde33dd07254abae6528649db9
Author: Aditya Toshniwal 

Modified Files
--
web/pgadmin/tools/debugger/utils/__init__.py | 0
1 file changed, 0 insertions(+), 0 deletions(-)



pgAdmin 4 commit: 1) Fix an error while retrieving json data from the t

2019-07-25 Thread Dave Page
1) Fix an error while retrieving json data from the table. Fixes #4427
2) Fix an issue where Explain and Explain Analyze are not working, it's 
regression of #1760. Fixes #4484
3) Fix an issue where Filter toolbar button is not working in view/edit data, 
it's regression of keyboard navigation. Fixes #4485

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=57cc30ebddd8987bf00ef222e67ef93b954c8574
Author: Khushboo Vashi 

Modified Files
--
docs/en_US/release_notes_4_11.rst  |  5 +-
web/pgadmin/static/js/backform.pgadmin.js  | 38 ++---
.../static/js/sqleditor/call_render_after_poll.js  |  5 +-
web/pgadmin/tools/sqleditor/__init__.py|  2 +
web/pgadmin/tools/sqleditor/static/js/sqleditor.js | 14 ++--
.../sqleditor/tests/test_save_changed_data.py  |  2 +-
.../tools/sqleditor/tests/test_view_data.py| 98 ++
7 files changed, 144 insertions(+), 20 deletions(-)



pgAdmin 4 commit: Add Reverse Engineered SQL tests for Domains. Fixes #

2019-07-25 Thread Dave Page
Add Reverse Engineered SQL tests for Domains. Fixes #4463

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=841674c47e93ffa62c9350fbf9616cd86be7a0e3
Author: Neel Patel 

Modified Files
--
docs/en_US/release_notes_4_11.rst  |  1 +
.../domains/tests/default/alter_domain_comment.sql | 16 +
.../default/alter_domain_default_expression.sql| 15 +
.../domains/tests/default/alter_domain_name.sql| 15 +
.../tests/default/alter_domain_null_type.sql   | 15 +
.../domains/tests/default/create_domain.sql| 16 +
.../schemas/domains/tests/default/test.json| 69 ++
7 files changed, 147 insertions(+)



pgAdmin 4 commit: Randomise table names for tests.

2019-07-25 Thread Dave Page
Randomise table names for tests.

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=65b932be3c88bdd5e83d79659c1fcf499d538c4d
Author: Yosry Muhammad 

Modified Files
--
.../tests/test_is_query_resultset_updatable.py | 28 
.../sqleditor/tests/test_save_changed_data.py  | 30 ++
2 files changed, 36 insertions(+), 22 deletions(-)



pgAdmin 4 commit: Ensure Selenium is started only when it's needed.

2019-07-25 Thread Dave Page
Ensure Selenium is started only when it's needed.

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=2828ba690e02fb24a2f55b57dfa5fe2ef395b11f
Author: Akshay Joshi 

Modified Files
--
web/regression/runtests.py | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)



pgAdmin 4 commit: pgAgent fixes:

2019-07-25 Thread Dave Page
pgAgent fixes:

"malformed array literal error when updating pgagent job". Fixes #4428
"Error when updating connection string in pgagent Jobs.". Fixes #4448
When user create a schedule using Create->Schedule dialog browser tree is not 
showing newly created node.
Properties tab showing same properties for all the created schedule.
Added validation in "pga_jobstep.js", throws error on browser when we modify 
step from the pgagent dialog and select the same node.

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=9312b34c721baafe6c286f9c526d23a93e90908e
Author: Akshay Joshi 

Modified Files
--
docs/en_US/release_notes_4_11.rst  |  2 +
.../server_groups/servers/pgagent/__init__.py  | 52 ++
.../servers/pgagent/schedules/__init__.py  | 56 ++-
.../pgagent/schedules/static/js/pga_schedule.js|  3 +-
.../servers/pgagent/steps/static/js/pga_jobstep.js | 11 +--
.../templates/pga_job/sql/pre3.4/update.sql| 12 +++-
.../templates/pga_schedule/sql/pre3.4/create.sql   |  4 +-
.../pga_schedule/sql/pre3.4/properties.sql |  2 +-
.../servers/pgagent/tests/test_pgagent_add.py  |  3 +-
.../servers/pgagent/tests/test_pgagent_put.py  | 79 --
.../browser/server_groups/servers/pgagent/utils.py | 46 +
11 files changed, 204 insertions(+), 66 deletions(-)



pgAdmin 4 commit: Use ROLE consistently when generating RE-SQL for role

2019-07-25 Thread Dave Page
Use ROLE consistently when generating RE-SQL for roles, not USER. Fixes #4446

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=7fd580ac04ec77a8c0d69783006fa10e1c4b0d99
Author: Murtuza Zabuawala 

Modified Files
--
docs/en_US/release_notes_4_11.rst  |  1 +
.../roles/templates/roles/sql/9.1_plus/create.sql  |  2 +-
.../servers/roles/templates/roles/sql/9.1_plus/sql.sql |  9 -
.../roles/templates/roles/sql/9.1_plus/update.sql  |  4 ++--
.../roles/templates/roles/sql/9.4_plus/create.sql  |  2 +-
.../servers/roles/templates/roles/sql/9.4_plus/sql.sql |  9 -
.../roles/templates/roles/sql/9.4_plus/update.sql  |  4 ++--
...escription.sql => alter_login_role_description.sql} |  6 +++---
.../{alter_user_name.sql => alter_login_role_name.sql} |  6 +++---
...r_user_options.sql => alter_login_role_options.sql} |  6 +++---
.../{create_user.sql => create_login_role.sql} |  6 +++---
.../servers/roles/tests/9.1_plus/test.json | 18 +-
...escription.sql => alter_login_role_description.sql} |  6 +++---
.../{alter_user_name.sql => alter_login_role_name.sql} |  6 +++---
...r_user_options.sql => alter_login_role_options.sql} |  6 +++---
.../servers/roles/tests/9.4_plus/create_login_role.sql | 10 ++
.../servers/roles/tests/9.4_plus/create_user.sql   | 10 --
.../servers/roles/tests/9.4_plus/test.json | 18 +-
18 files changed, 64 insertions(+), 65 deletions(-)



pgAdmin 4 commit: Apply previous electron changes.

2019-07-25 Thread Dave Page
Apply previous electron changes.

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=f8baa9e5620e250329ce0ff45fcff802f31a1bbd

Modified Files
--
electron/assets/icons/{ => darwin}/pgAdmin4.icns |   Bin
electron/assets/icons/{ => linux}/pgAdmin4.png   |   Bin
electron/assets/icons/{ => windows}/pgAdmin4.ico |   Bin
electron/index.html  |19 +
electron/package-lock.json   | 14878 +
electron/package.json| 8 +-
electron/src/index.html  |10 +
electron/src/index.js|   336 +-
electron/src/logger.js   | 8 +-
electron/test/index.js   |40 +
electron/yarn.lock   |14 +-
11 files changed, 194 insertions(+), 15119 deletions(-)



pgAdmin 4 commit: Fix an issue where the dropdown becomes misaligned/di

2019-07-25 Thread Dave Page
Fix an issue where the dropdown becomes misaligned/displaced. Fixes #4138

(cherry picked from commit 6016a5ee989a8f3f56c4a03994eb57989c3c0717)

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=7bea83d4aa0fc23c63e26bb0d13f5029ed3947a2
Author: Murtuza Zabuawala 

Modified Files
--
web/pgadmin/static/js/backform.pgadmin.js | 7 +++
1 file changed, 7 insertions(+)



pgAdmin 4 commit: Add RE-SQL tests for Extensions. Fixes #4453

2019-07-25 Thread Dave Page
Add RE-SQL tests for Extensions. Fixes #4453

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=fc94b47f4ad4b3abdc927581b91dde5028719544
Author: Nagesh Dhope 

Modified Files
--
docs/en_US/release_notes_4_11.rst  |  1 +
.../tests/default/alter_extension_schema.sql   |  7 +++
.../tests/default/alter_extension_version.sql  |  7 +++
.../default/create_extension_with_all_options.sql  |  7 +++
.../create_extension_with_default_schema.sql   |  7 +++
.../databases/extensions/tests/default/tests.json  | 59 ++
6 files changed, 88 insertions(+)



pgAdmin 4 commit: Allow keyboard navigation of all controls on subnode

2019-07-25 Thread Dave Page
Allow keyboard navigation of all controls on subnode grids. Partially fixes 
#3919

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=47447a709acf812680c6ef2c27597c6887e4fed4
Author: Ganesh Jaybhay 

Modified Files
--
docs/en_US/keyboard_shortcuts.rst  |  23 +++
docs/en_US/release_notes_4_11.rst  |   1 +
.../browser/register_browser_preferences.py|  15 ++
web/pgadmin/browser/static/js/keyboard.js  |   8 +
web/pgadmin/static/js/backform.pgadmin.js  |  19 +-
web/pgadmin/static/js/backgrid.pgadmin.js  | 226 +++--
web/pgadmin/static/js/dialog_tab_navigator.js  |  23 ++-
web/pgadmin/static/scss/_backgrid.overrides.scss   |   4 +
web/pgadmin/static/scss/_pgadmin.style.scss|   9 +-
9 files changed, 296 insertions(+), 32 deletions(-)



pgAdmin 4 commit: Add Reverse Engineered SQL tests for FTS Dictionaries

2019-07-25 Thread Dave Page
Add Reverse Engineered SQL tests for FTS Dictionaries. Fixes #4460

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=9cb02f0638bdf116927df20f6ad1a5e018d25cd2
Author: Nagesh Dhope 

Modified Files
--
docs/en_US/release_notes_4_11.rst  |  1 +
.../alter_fts_dictionary_delete_options.sql| 10 
.../tests/default/alter_fts_dictionary_options.sql | 11 
.../tests/default/create_fts_dictionary.sql|  7 +++
.../fts_dictionaries/tests/default/tests.json  | 62 ++
5 files changed, 91 insertions(+)



pgAdmin 4 commit: Fix some minor UI issues on IE11. Fixes #4462

2019-07-25 Thread Dave Page
Fix some minor UI issues on IE11. Fixes #4462

Includes some Jasmine test case fixes from Ganesh.

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=70a198fb785bafb69768272aceb57b76f74c713d
Author: Murtuza Zabuawala 

Modified Files
--
docs/en_US/release_notes_4_11.rst  |  3 ++-
web/pgadmin/static/js/backgrid.pgadmin.js  |  5 +
web/pgadmin/static/scss/_pgadmin.style.scss| 11 +++
.../javascript/dialog_tab_navigator_spec.js| 23 ++
4 files changed, 33 insertions(+), 9 deletions(-)



pgAdmin 4 commit: Stabilise ordering of ACLs in Type RE-SQL tests to pr

2019-07-25 Thread Dave Page
Stabilise ordering of ACLs in Type RE-SQL tests to prevent random failures.

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=13130a9a625ae51fd4a01ed9be239ae9a3977314
Author: Murtuza Zabuawala 

Modified Files
--
.../databases/schemas/types/templates/types/sql/default/acl.sql   | 1 +
.../types/tests/default/alter_composite_type_acl_description.sql  | 4 ++--
.../schemas/types/tests/default/alter_enum_type_acl_description.sql   | 4 ++--
.../schemas/types/tests/default/alter_range_type_acl_description.sql  | 4 ++--
4 files changed, 7 insertions(+), 6 deletions(-)



pgAdmin 4 commit: Update French translation

2019-07-25 Thread Dave Page
Update French translation

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=9c6bb4486112bb3de9315ed3d90601f934c67734
Author: Fred Escallier 

Modified Files
--
.../translations/fr/LC_MESSAGES/messages.mo|  Bin 160764 -> 172056 bytes
.../translations/fr/LC_MESSAGES/messages.po| 1095 ++--
2 files changed, 529 insertions(+), 566 deletions(-)



pgAdmin 4 commit: Fix formatting change which inadvertently broke the f

2019-07-25 Thread Dave Page
Fix formatting change which inadvertently broke the feature tests.

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=b120ff5d7869f04ac23307b48316ec478e275b35

Modified Files
--
web/pgadmin/static/js/sqleditor/history/query_history_details.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



pgAdmin 4 commit: Fix external utility tests to run on Windows

2019-07-25 Thread Dave Page
Fix external utility tests to run on Windows

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=f571d349b5947d16d495dd11f170e6c6320504ab

Modified Files
--
web/pgadmin/tools/backup/tests/test_backup_create_job_unit_test.py| 4 
web/pgadmin/tools/backup/tests/test_create_backup_job.py  | 4 
web/pgadmin/tools/maintenance/tests/test_create_maintenance_job.py| 4 
.../tools/maintenance/tests/test_maintenance_create_job_unit_test.py  | 4 
web/pgadmin/tools/restore/tests/test_create_restore_job.py| 4 
web/pgadmin/tools/restore/tests/test_restore_create_job_unit_test.py  | 4 
6 files changed, 24 insertions(+)



pgAdmin 4 commit: Cleanup wording.

2019-07-25 Thread Dave Page
Cleanup wording.

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=75b659235394fcdb2fd7c484d432fbeba40c29b3

Modified Files
--
web/regression/re_sql/tests/test_resql.py | 8 
1 file changed, 4 insertions(+), 4 deletions(-)



pgAdmin 4 commit: Rename horribly named function.

2019-07-25 Thread Dave Page
Rename horribly named function.

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=798e5e174211fbeb05c160be82453fcfdad3a32d

Modified Files
--
web/pgadmin/tools/backup/__init__.py| 6 +++---
web/pgadmin/tools/backup/tests/test_backup_create_job_unit_test.py  | 4 ++--
.../tools/backup/tests/test_check_utility_exists_route_backup.py| 6 +++---
web/pgadmin/tools/backup/tests/test_create_backup_job.py| 4 ++--
web/pgadmin/tools/import_export/__init__.py | 6 +++---
.../tests/test_check_utility_exists_route_import_export.py  | 6 +++---
web/pgadmin/tools/maintenance/__init__.py   | 6 +++---
.../tests/test_check_utility_exists_route_maintenance.py| 6 +++---
web/pgadmin/tools/maintenance/tests/test_create_maintenance_job.py  | 4 ++--
.../maintenance/tests/test_maintenance_create_job_unit_test.py  | 4 ++--
web/pgadmin/tools/restore/__init__.py   | 6 +++---
.../tools/restore/tests/test_check_utility_exists_route_restore.py  | 6 +++---
web/pgadmin/tools/restore/tests/test_create_restore_job.py  | 4 ++--
.../tools/restore/tests/test_restore_create_job_unit_test.py| 4 ++--
web/pgadmin/utils/__init__.py   | 2 +-
web/regression/python_test_utils/test_utils.py  | 4 ++--
16 files changed, 39 insertions(+), 39 deletions(-)



pgAdmin 4 commit: Fix re-sql tests for packages on EPAS 9.4-9.6.

2019-07-25 Thread Dave Page
Fix re-sql tests for packages on EPAS 9.4-9.6.

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=12aed167bcdc67b375881103b69b04b32faf8de3
Author: Navnath Gadakh 

Modified Files
--
.../tests/ppas/10_plus/alter_package_headers_and_comment.sql   | 10 +-
.../tests/ppas/10_plus/create_package_with_all_options.sql |  5 -
.../databases/schemas/packages/tests/ppas/10_plus/test.json|  7 ---
.../tests/ppas/9.2_plus/alter_package_headers_and_comment.sql  | 10 +-
.../tests/ppas/9.2_plus/create_package_with_all_options.sql|  5 -
.../databases/schemas/packages/tests/ppas/9.2_plus/test.json   |  8 
web/regression/re_sql/tests/test_resql.py  |  1 -
7 files changed, 34 insertions(+), 12 deletions(-)



pgAdmin 4 commit: Fix wording.

2019-07-25 Thread Dave Page
Fix wording.

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=b64e2a19814e8f063367188c56b01002242c3c65

Modified Files
--
.../maintenance/tests/test_maintenance_create_job_unit_test.py  | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)



pgAdmin 4 commit: Update message catalogs.

2019-07-25 Thread Dave Page
Update message catalogs.

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=44d06eb657a51c1540d228b6306add263a6227c8
Author: Akshay Joshi 

Modified Files
--
web/pgadmin/messages.pot   | 1137 ++-
.../translations/de/LC_MESSAGES/messages.mo|  Bin 150172 -> 151201 bytes
.../translations/de/LC_MESSAGES/messages.po| 1164 ++-
.../translations/es/LC_MESSAGES/messages.mo|  Bin 154815 -> 155843 bytes
.../translations/es/LC_MESSAGES/messages.po| 1148 ++-
.../translations/fr/LC_MESSAGES/messages.mo|  Bin 159753 -> 160764 bytes
.../translations/fr/LC_MESSAGES/messages.po| 1171 +++-
.../translations/ja/LC_MESSAGES/messages.mo|  Bin 166533 -> 167523 bytes
.../translations/ja/LC_MESSAGES/messages.po| 1168 ++-
.../translations/ko/LC_MESSAGES/messages.mo|  Bin 152479 -> 153507 bytes
.../translations/ko/LC_MESSAGES/messages.po| 1166 ++-
.../translations/pl/LC_MESSAGES/messages.mo|  Bin 150199 -> 151230 bytes
.../translations/pl/LC_MESSAGES/messages.po| 1166 ++-
.../translations/ru/LC_MESSAGES/messages.mo|  Bin 186395 -> 187352 bytes
.../translations/ru/LC_MESSAGES/messages.po| 1166 ++-
.../translations/zh/LC_MESSAGES/messages.mo|  Bin 138306 -> 139372 bytes
.../translations/zh/LC_MESSAGES/messages.po| 1168 ++-
17 files changed, 5529 insertions(+), 4925 deletions(-)



pgAdmin 4 commit: Remove duplicated blank message entry which is illega

2019-07-25 Thread Dave Page
Remove duplicated blank message entry which is illegal.

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=1e83879a6dc8e1f6bd22efa4e0b960b9889f969c

Modified Files
--
web/pgadmin/translations/ja/LC_MESSAGES/messages.po | 3 ---
1 file changed, 3 deletions(-)



pgAdmin 4 commit: Update Japanese translation

2019-07-25 Thread Dave Page
Update Japanese translation

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=6ab2c543ef522d8467cf151bb090417a637532d8
Author: Identifier Anonymous 

Modified Files
--
.../translations/ja/LC_MESSAGES/messages.mo| Bin 167523 -> 167950 bytes
.../translations/ja/LC_MESSAGES/messages.po|  76 +++--
2 files changed, 39 insertions(+), 37 deletions(-)



pgAdmin 4 commit: Add Reverse Engineered SQL tests for Packages. Fixes

2019-07-25 Thread Dave Page
Add Reverse Engineered SQL tests for Packages. Fixes #4456

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=e94e2cae38dc55760b88ffbd98d52fc6b9a9e440
Author: Navnath Gadakh 

Modified Files
--
docs/en_US/release_notes_4_11.rst  |  1 +
.../10_plus/alter_package_headers_and_comment.sql  | 12 ++
.../10_plus/create_package_with_all_options.sql| 17 +
.../schemas/packages/tests/ppas/10_plus/test.json  | 43 +
.../9.2_plus/alter_package_headers_and_comment.sql | 12 ++
.../9.2_plus/create_package_with_all_options.sql   | 17 +
.../schemas/packages/tests/ppas/9.2_plus/test.json | 44 ++
7 files changed, 146 insertions(+)



pgAdmin 4 commit: Add an example Traefik configuration.

2019-07-25 Thread Dave Page
Add an example Traefik configuration.

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=a9a87d801d41cd56757daab0fcd1747d51723f91

Modified Files
--
docs/en_US/container_deployment.rst | 33 -
1 file changed, 32 insertions(+), 1 deletion(-)



pgAdmin 4 commit: Add Reverse Engineered SQL tests for Types. Fixes #44

2019-07-25 Thread Dave Page
Add Reverse Engineered SQL tests for Types. Fixes #4468

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=b43320660ecf9cadd988832e2021d8156a260638
Author: Murtuza Zabuawala 

Modified Files
--
docs/en_US/release_notes_4_11.rst  |   1 +
.../types/templates/types/sql/default/update.sql   |   4 +-
.../alter_composite_type_acl_description.sql   |  20 +++
.../default/alter_composite_type_add_member.sql|  14 ++
.../default/alter_composite_type_remove_member.sql |  13 ++
.../default/alter_enum_type_acl_description.sql|  16 ++
.../types/tests/default/alter_enum_type_label.sql  |   9 +
.../default/alter_range_type_acl_description.sql   |  19 +++
.../default/alter_shell_type_acl_description.sql   |  11 ++
.../types/tests/default/create_composite_type.sql  |  13 ++
.../types/tests/default/create_enum_type.sql   |   9 +
.../types/tests/default/create_range_type.sql  |  12 ++
.../types/tests/default/create_shell_type.sql  |   8 +
.../schemas/types/tests/default/tests.json | 185 +
web/regression/re_sql/tests/test_resql.py  |  10 +-
15 files changed, 341 insertions(+), 3 deletions(-)



pgAdmin 4 commit: Added logic to provide custom schema name in re_sql t

2019-07-25 Thread Dave Page
Added logic to provide custom schema name in re_sql test framework.

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=e5154f4323ced80fe45df7fd502d92e9267601a5
Author: Khushboo Vashi 

Modified Files
--
web/regression/re_sql/tests/test_resql.py | 30 +-
1 file changed, 29 insertions(+), 1 deletion(-)



pgAdmin 4 commit: Ensure drag/drop from the treeview works as expected

2019-07-25 Thread Dave Page
Ensure drag/drop from the treeview works as expected on Firefox. Fixes #4429

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=b87762cdcca9c7825c4ad2fecac8ff3397cc3f08
Author: Aditya Toshniwal 

Modified Files
--
docs/en_US/release_notes_4_11.rst  | 1 +
web/pgadmin/static/js/tree/tree.js | 4 
web/pgadmin/tools/sqleditor/static/js/sqleditor.js | 8 +++-
3 files changed, 12 insertions(+), 1 deletion(-)



pgAdmin 4 commit: Set the mouse cursor appropriately based on the layou

2019-07-25 Thread Dave Page
Set the mouse cursor appropriately based on the layout lock state. Fixes #4318

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=4581c5b87a324ecc7d62056f9cc6dfd2a46599cd
Author: Aditya Toshniwal 

Modified Files
--
docs/en_US/release_notes_4_11.rst | 2 +-
web/package.json  | 2 +-
web/yarn.lock | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)



pgAdmin 4 commit: Add examples of reverse proxying with nginx.

2019-07-25 Thread Dave Page
Add examples of reverse proxying with nginx.

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=fa4eb6af9115f2fbadc0ac690d4de58ee5428425

Modified Files
--
docs/en_US/container_deployment.rst | 56 -
1 file changed, 55 insertions(+), 1 deletion(-)



pgAdmin 4 commit: Fix typo

2019-07-25 Thread Dave Page
Fix typo

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=877f262ccb38121c21c8cfd85967bbc89df6d5ca

Modified Files
--
docs/en_US/server_deployment.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



pgAdmin 4 commit: Modified the creation logic of custom schema and adde

2019-07-25 Thread Dave Page
Modified the creation logic of custom schema and added support for schema id in 
re_sql test framework.

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=800967d1ea87b41f960614306de17408d1c45ec5
Author: Khushboo Vashi 

Modified Files
--
web/regression/re_sql/tests/test_resql.py | 72 ---
1 file changed, 47 insertions(+), 25 deletions(-)



pgAdmin 4 commit: Add Reverse Engineered SQL tests for FTS Configuratio

2019-07-25 Thread Dave Page
Add Reverse Engineered SQL tests for FTS Configurations. Fixes #4454

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=9531498baa2bde8c7a26fed2cb2ba0d0cdec1674
Author: Ganesh Jaybhay 

Modified Files
--
docs/en_US/release_notes_4_11.rst  |  1 +
.../tests/default/alter_fts_conf_add_comment.sql   |  9 ++
.../tests/default/alter_fts_conf_add_token.sql | 10 +++
.../tests/default/alter_fts_conf_remove_token.sql  | 25 ++
.../tests/default/alter_fts_conf_rename.sql| 10 +++
.../tests/default/create_fts_conf.sql  |  7 ++
.../tests/default/create_fts_conf_def1.sql |  7 ++
.../tests/default/create_fts_conf_def2.sql | 26 ++
.../fts_configurations/tests/default/test.json | 99 ++
9 files changed, 194 insertions(+)



pgAdmin 4 commit: Add Reverse Engineered SQL tests for Languages. Fixes

2019-07-25 Thread Dave Page
Add Reverse Engineered SQL tests for Languages. Fixes #4452

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=9d79ab75aeeaa3f4c4bfa70ba108164f74468de6
Author: Akshay Joshi 

Modified Files
--
docs/en_US/release_notes_4_11.rst  |  1 +
.../servers/databases/languages/__init__.py|  7 ++
.../templates/languages/sql/9.3_plus/acl.sql   |  1 +
.../templates/languages/sql/9.3_plus/sqlpane.sql   |  8 +-
.../templates/languages/sql/default/acl.sql|  1 +
.../templates/languages/sql/default/sqlpane.sql|  8 +-
.../tests/pg/9.4_plus/alter_comment_privileges.sql | 18 +
.../tests/pg/9.4_plus/alter_trusted_lan_name.sql   | 11 +++
.../tests/pg/9.4_plus/create_trusted_language.sql  | 11 +++
.../pg/9.4_plus/create_untrusted_language.sql  | 11 +++
.../languages/tests/pg/9.4_plus/test.json  | 86 ++
.../ppas/9.4_plus/alter_comment_privileges.sql | 18 +
.../tests/ppas/9.4_plus/alter_trusted_lan_name.sql | 11 +++
.../ppas/9.4_plus/create_trusted_language.sql  | 11 +++
.../ppas/9.4_plus/create_untrusted_language.sql| 11 +++
.../languages/tests/ppas/9.4_plus/test.json| 85 +
16 files changed, 291 insertions(+), 8 deletions(-)



pgAdmin 4 commit: Fix dropping of pgAgent schedules through the Job pro

2019-07-25 Thread Dave Page
Fix dropping of pgAgent schedules through the Job properties. Fixes #3996

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=ff02392665495f44cca0d911416a2a80e90d3a5c
Author: Akshay Joshi 

Modified Files
--
docs/en_US/release_notes_4_11.rst  |  1 +
.../servers/pgagent/schedules/__init__.py  | 26 ++
.../pgagent/schedules/static/js/pga_schedule.js|  1 +
.../servers/pgagent/steps/__init__.py  | 26 ++
.../servers/pgagent/steps/static/js/pga_jobstep.js |  1 +
.../pgagent/tests/test_pgagent_delete_multiple.py  | 47 ++
.../tests_pgagent_delete_multiple_schedules.py | 56 ++
.../tests/tests_pgagent_delete_multiple_steps.py   | 54 +
8 files changed, 194 insertions(+), 18 deletions(-)



pgAdmin 4 commit: Fix an error that could be seen when editing column p

2019-07-25 Thread Dave Page
Fix an error that could be seen when editing column privileges. Fixes #4389

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=b4bd0384ef0c401d549202823a9ee312d068eb60
Author: Akshay Joshi 

Modified Files
--
docs/en_US/release_notes_4_11.rst  |  1 +
.../servers/databases/schemas/tables/__init__.py   | 16 +++-
.../templates/columns/sql/10_plus/update.sql   | 16 ++--
.../templates/columns/sql/9.2_plus/update.sql  | 16 ++--
.../tables/templates/tables/sql/10_plus/create.sql |  2 +-
.../tables/templates/tables/sql/12_plus/create.sql |  2 +-
.../tables/tests/test_column_privileges_put.py | 96 ++
.../servers/databases/schemas/tables/utils.py  |  7 --
8 files changed, 127 insertions(+), 29 deletions(-)



pgAdmin 4 commit: Properly escape dragged node text. Fixes #4139

2019-07-25 Thread Dave Page
Properly escape dragged node text. Fixes #4139

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=616c827ab6664577809082cb333cd3155c31e6e9
Author: Aditya Toshniwal 

Modified Files
--
web/pgadmin/static/js/tree/tree.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



pgAdmin 4 commit: Remove some files committed in error.

2019-07-25 Thread Dave Page
Remove some files committed in error.

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=cc61da878ee79b43212e6e2c82935fbd3f8c7490

Modified Files
--
.../sqleditor/static/img/save_data_changes.svg |  12 -
.../tools/sqleditor/tests/execute_query_utils.py   |  41 ---
.../tests/test_is_query_resultset_updatable.py | 125 
.../sqleditor/tests/test_save_changed_data.py  | 347 -
.../utils/is_query_resultset_updatable.py  | 120 ---
.../tools/sqleditor/utils/save_changed_data.py | 317 ---
6 files changed, 962 deletions(-)



pgAdmin 4 commit: Ensure parameter values are quoted when needed when e

2019-07-25 Thread Dave Page
Ensure parameter values are quoted when needed when editing roles. Fixes #4393

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=b8d692efda6d22d873ad830e24bfde803f9379aa
Author: Akshay Joshi 

Modified Files
--
docs/en_US/release_notes_4_11.rst  |  1 +
.../templates/columns/sql/default/get_position.sql |  2 +-
.../servers/templates/macros/variable.macros   |  2 +-
web/pgadmin/utils/driver/psycopg2/__init__.py  | 24 ++
4 files changed, 23 insertions(+), 6 deletions(-)



pgAdmin 4 commit: Prevent an error that may occur when editing data wit

2019-07-25 Thread Dave Page
Prevent an error that may occur when editing data with an integer primary key. 
Fixes #4404

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=05ad8e11c08ed360a90ac9bfe41dac15e4f35ca2
Author: Aditya Toshniwal 

Modified Files
--
docs/en_US/release_notes_4_10.rst  | 3 ++-
web/pgadmin/tools/sqleditor/command.py | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)



pgAdmin 4 commit: Make the RE-SQL test output a little more consistent

2019-07-25 Thread Dave Page
Make the RE-SQL test output a little more consistent with other tests.

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=ee4552fd3dfd911bbe530379aa89baac0df1155c

Modified Files
--
web/regression/re_sql/tests/test_resql.py | 17 +
1 file changed, 9 insertions(+), 8 deletions(-)



pgAdmin 4 commit: Use our own doc theme.

2019-07-25 Thread Dave Page
Use our own doc theme.

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=abc4eb5f6426a8d9842c7f6af825d75b6cff5851

Modified Files
--
docs/en_US/conf.py   |  40 +-
docs/en_US/theme/pgadmin4/layout.html|   4 +
docs/en_US/theme/pgadmin4/static/favicon.ico | Bin 0 -> 78998 bytes
docs/en_US/theme/pgadmin4/static/style.css   | 526 +++
docs/en_US/theme/pgadmin4/theme.conf |  11 +
5 files changed, 561 insertions(+), 20 deletions(-)



pgAdmin 4 commit: Allow the path to /pgadmin4/servers.json to be overri

2019-07-25 Thread Dave Page
Allow the path to /pgadmin4/servers.json to be overridden in the container 
distribution. Fixes #4400

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=b9b46a49e38558a1645381000ecdc3c62696e2ec
Author: Andrew Coleman 

Modified Files
--
docs/en_US/container_deployment.rst | 7 +++
docs/en_US/release_notes_4_10.rst   | 1 +
pkg/docker/entrypoint.sh| 5 +++--
3 files changed, 11 insertions(+), 2 deletions(-)



pgAdmin 4 commit: Add Reverse Engineered SQL tests for Collations. Fixe

2019-07-25 Thread Dave Page
Add Reverse Engineered SQL tests for Collations. Fixes #4464

This also adds the ability to test the msql output in ALTER steps.

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=b581b8ef8eee9cbec158b6971746527e37e39b10
Author: Khushboo Vashi 

Modified Files
--
docs/en_US/release_notes_4_11.rst  |  1 +
.../databases/schemas/collations/__init__.py   | 29 
.../templates/collations/sql/default/delete.sql|  2 +-
.../templates/collations/sql/default/get_name.sql  |  2 +-
.../collations/tests/default/alter_collation.sql   | 12 
.../collations/tests/default/create_collation.sql  | 12 
.../collations/tests/default/msql_collation.sql|  5 ++
.../schemas/collations/tests/default/test.json | 37 +++
web/regression/re_sql/tests/test_resql.py  | 77 ++
9 files changed, 160 insertions(+), 17 deletions(-)



pgAdmin 4 commit: Fix small issue which is required to support the cust

2019-07-25 Thread Dave Page
Fix small issue which is required to support the custom schema in re_sql test 
cases.

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=b5b77b11c809d9b628d1f6c8c67495c4077b2bb2
Author: Khushboo Vashi 

Modified Files
--
.../browser/server_groups/servers/databases/schemas/tests/utils.py  | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



pgAdmin 4 commit: Fix a quoting issue that caused a blank UI to be disp

2019-07-25 Thread Dave Page
Fix a quoting issue that caused a blank UI to be displayed when running in 
French. Fixes #4407

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=9321ddfdff3ccd8794485b06d9e7cd3e7727bd85

Modified Files
--
docs/en_US/release_notes_4_10.rst | 3 ++-
web/pgadmin/browser/templates/browser/js/utils.js | 6 +++---
2 files changed, 5 insertions(+), 4 deletions(-)



pgAdmin 4 commit: 1) Ensure re_sql tests should not abort at the first

2019-07-25 Thread Dave Page
1) Ensure re_sql tests should not abort at the first failure, it should run all 
the test cases.
2) Added place holder for owner, so we won't need to create separate pg/ppas 
folder just because of change in the owner name.

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=478406a865b16e3d5eba006348f047be2a480206
Author: Akshay Joshi 

Modified Files
--
.../{pg => }/9.3_plus/alter_fdw_change_opt2.sql|   2 +-
.../tests/{pg => }/9.3_plus/alter_fdw_comment.sql  |   2 +-
.../{pg/default => 9.3_plus}/alter_fdw_opt1.sql|   2 +-
.../{pg/default => 9.3_plus}/alter_fdw_opt2.sql|   2 +-
.../tests/{pg => }/9.3_plus/alter_fdw_rename.sql   |   2 +-
.../{pg => }/9.3_plus/alter_fdw_validator.sql  |   2 +-
.../tests/{pg => }/9.3_plus/create_fdw.sql |   2 +-
.../tests/{pg => }/9.3_plus/test.json  |   1 -
.../{pg => }/default/alter_fdw_change_opt2.sql |   2 +-
.../tests/{pg => }/default/alter_fdw_comment.sql   |   2 +-
.../{pg/9.3_plus => default}/alter_fdw_opt1.sql|   2 +-
.../{pg/9.3_plus => default}/alter_fdw_opt2.sql|   2 +-
.../tests/{pg => }/default/alter_fdw_rename.sql|   2 +-
.../tests/{pg => }/default/alter_fdw_validator.sql |   2 +-
.../tests/{pg => }/default/create_fdw.sql  |   2 +-
.../tests/{pg => }/default/test.json   |   1 -
.../tests/9.3_plus/create_trusted_language.sql |  11 +++
.../tests/9.3_plus/create_untrusted_language.sql   |  11 +++
.../databases/languages/tests/9.3_plus/test.json   |  43 +
web/regression/re_sql/tests/test_resql.py  | 105 ++---
20 files changed, 170 insertions(+), 30 deletions(-)



pgAdmin 4 commit: Add documentation on using Traefik with pgAdmin mount

2019-07-25 Thread Dave Page
Add documentation on using Traefik with pgAdmin mounted under a subdirectory, 
and tidy up the reverse proxying docs a little.

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=6d3f76982e8350aee5bfd0830cffe6b8d9dee34e

Modified Files
--
docs/en_US/container_deployment.rst | 54 -
1 file changed, 47 insertions(+), 7 deletions(-)



pgAdmin 4 commit: Add Reverse Engineered SQL tests for FDWs. Fixes #444

2019-07-25 Thread Dave Page
Add Reverse Engineered SQL tests for FDWs. Fixes #4441

Branch
--
electron2

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=66e8f257d270998745cfda2061dbdbbec239ce5a
Author: Aditya Toshniwal 

Modified Files
--
docs/en_US/release_notes_4_11.rst  |   1 +
.../tests/9.3_plus/alter_fdw_change_opt2.sql   |  12 +++
.../tests/9.3_plus/alter_fdw_comment.sql   |  11 +++
.../tests/9.3_plus/alter_fdw_opt1.sql  |  12 +++
.../tests/9.3_plus/alter_fdw_opt2.sql  |  12 +++
.../tests/9.3_plus/alter_fdw_rename.sql|  13 +++
.../tests/9.3_plus/alter_fdw_validator.sql |  13 +++
.../tests/9.3_plus/create_fdw.sql  |   8 ++
.../foreign_data_wrappers/tests/9.3_plus/test.json | 104 +
.../tests/default/alter_fdw_change_opt2.sql|  12 +++
.../tests/default/alter_fdw_comment.sql|  11 +++
.../tests/default/alter_fdw_opt1.sql   |  12 +++
.../tests/default/alter_fdw_opt2.sql   |  12 +++
.../tests/default/alter_fdw_rename.sql |  13 +++
.../tests/default/alter_fdw_validator.sql  |  13 +++
.../tests/default/create_fdw.sql   |   8 ++
.../foreign_data_wrappers/tests/default/test.json  | 104 +
17 files changed, 371 insertions(+)



  1   2   3   >