[pgAdmin] : Patch fixing Feature Test failures.

2020-07-19 Thread Yogesh Mahajan
Hi,

Please find a patch to fix feature tests.


Thanks,
Yogesh Mahajan
QA - Team
EnterpriseDB Corporation

Phone: +91-9741705709


fix_selenium_grid_failures_v4.0.patch
Description: Binary data


pgAdmin 4 commit: Added High Contrast theme support. Fixes #5653

2020-07-19 Thread Akshay Joshi
Added High Contrast theme support. Fixes #5653
Fixed text color issue in explain analyze for the Dark theme. Fixes #5677

Branch
--
master

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=7edcca9b0797068d26c5b1b2cf31f74ad47a6594
Author: Nikhil Mohite 

Modified Files
--
docs/en_US/enabling_ldap_authentication.rst|  10 +
docs/en_US/preferences.rst |   1 +
docs/en_US/release_notes_4_24.rst  |   6 +-
.../static/js/fts_configuration.js |   2 +-
.../static/js/exclusion_constraint.js  |   2 +-
.../foreign_key/static/js/foreign_key.js   |   2 +-
.../server_groups/servers/static/js/variable.js|   2 +-
.../servers/tablespaces/static/js/tablespace.js|   2 +-
web/pgadmin/browser/static/js/browser.js   |   2 +-
web/pgadmin/browser/static/js/collection.js|   4 +-
web/pgadmin/browser/static/js/node.js  |   6 +-
web/pgadmin/browser/static/js/toolbar.js   |   8 +-
web/pgadmin/browser/static/js/wizard.js|   2 +-
web/pgadmin/browser/static/scss/_wizard.scss   |   4 +-
.../templates/dashboard/database_dashboard.html|   2 +-
.../templates/dashboard/server_dashboard.html  |   2 +-
web/pgadmin/misc/bgprocess/static/js/bgprocess.js  |   6 +-
web/pgadmin/misc/file_manager/static/js/utility.js |   2 +-
.../file_manager/static/scss/_file_manager.scss|  13 +-
.../file_manager/templates/file_manager/index.html |  22 +--
web/pgadmin/misc/static/explain/js/explain.js  |  10 +-
web/pgadmin/misc/static/explain/scss/_explain.scss |   1 +
web/pgadmin/preferences/static/js/preferences.js   |   2 +-
web/pgadmin/static/js/alertify.pgadmin.defaults.js |   6 +-
web/pgadmin/static/js/backform.pgadmin.js  |   6 +-
web/pgadmin/static/js/sqleditor/filter_dialog.js   |   2 +-
web/pgadmin/static/scss/_aci_tree.overrides.scss   |  20 +-
web/pgadmin/static/scss/_alert.scss|   2 +-
web/pgadmin/static/scss/_alertify.overrides.scss   |  17 +-
web/pgadmin/static/scss/_backgrid.overrides.scss   |   6 +
web/pgadmin/static/scss/_bootstrap.overrides.scss  |  84 -
web/pgadmin/static/scss/_codemirror.overrides.scss |   6 +-
web/pgadmin/static/scss/_pgadmin.style.scss|   4 +-
web/pgadmin/static/scss/_select2.overrides.scss|  10 +-
web/pgadmin/static/scss/_webcabin.pgadmin.scss |   4 +-
.../static/scss/resources/_default.style.scss  |   6 +-
.../static/scss/resources/_default.variables.scss  | 122 ++---
.../scss/resources/dark/_theme.variables.scss  |  26 +++
.../resources/high_contrast/_theme.variables.scss  | 201 +
.../high_contrast/high_contrast_preview.png| Bin 0 -> 57572 bytes
.../backup/static/js/backup_dialog_wrapper.js  |   4 +-
web/pgadmin/tools/datagrid/static/js/show_data.js  |   2 +-
.../tools/datagrid/templates/datagrid/index.html   |  42 ++---
.../tools/maintenance/static/js/maintenance.js |   4 +-
.../restore/static/js/restore_dialog_wrapper.js|   4 +-
.../schema_diff/static/js/schema_diff.backform.js  |   6 +-
.../schema_diff/static/scss/_schema_diff.scss  |  14 +-
.../static/js/search_objects_dialog_wrapper.js |   2 +-
.../tools/sqleditor/static/scss/_history.scss  |   2 +-
.../tools/sqleditor/static/scss/_sqleditor.scss|   3 +-
.../user_management/static/js/user_management.js   |   4 +-
web/webpack.config.js  |   9 +-
52 files changed, 586 insertions(+), 145 deletions(-)



pgAdmin 4 commit: Fixed feature tests

2020-07-19 Thread Akshay Joshi
Fixed feature tests

Branch
--
master

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=225c3e8f7ee792113eace0a6907bbf72bae33e5e
Author: Yogesh Mahajan 

Modified Files
--
.../xss_checks_panels_and_query_tool_test.py   |  7 +-
web/regression/feature_utils/pgadmin_page.py   |  5 +-
web/regression/python_test_utils/test_utils.py | 85 ++
web/regression/runtests.py |  3 +-
4 files changed, 95 insertions(+), 5 deletions(-)



pgAdmin 4 commit: Update Japanese translation.

2020-07-19 Thread Akshay Joshi
Update Japanese translation.

Branch
--
master

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

Modified Files
--
.../translations/ja/LC_MESSAGES/messages.mo| Bin 196459 -> 200849 bytes
.../translations/ja/LC_MESSAGES/messages.po|  45 -
2 files changed, 34 insertions(+), 11 deletions(-)



pgAdmin 4 commit: Update French translation.

2020-07-19 Thread Akshay Joshi
Update French translation.

Branch
--
master

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

Modified Files
--
.../translations/fr/LC_MESSAGES/messages.mo|  Bin 184386 -> 204299 bytes
.../translations/fr/LC_MESSAGES/messages.po| 1719 ++--
2 files changed, 816 insertions(+), 903 deletions(-)



pgAdmin 4 commit: Update Italian translation.

2020-07-19 Thread Akshay Joshi
Update Italian translation.

Branch
--
master

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=b75c09d7c0fc1a0b00cf50de190632e425104afb
Author: Domenico Sgarbossa 

Modified Files
--
.../translations/it/LC_MESSAGES/messages.mo|  Bin 182647 -> 199708 bytes
.../translations/it/LC_MESSAGES/messages.po| 1374 +---
2 files changed, 631 insertions(+), 743 deletions(-)



Re: [pgAdmin] : Patch fixing Feature Test failures.

2020-07-19 Thread Akshay Joshi
Thanks, patch applied.

On Sun, Jul 19, 2020 at 8:02 PM Yogesh Mahajan <
yogesh.maha...@enterprisedb.com> wrote:

> Hi,
>
> Please find a patch to fix feature tests.
>
>
> Thanks,
> Yogesh Mahajan
> QA - Team
> EnterpriseDB Corporation
>
> Phone: +91-9741705709
>


-- 
*Thanks & Regards*
*Akshay Joshi*

*Sr. Software Architect*
*EnterpriseDB Software India Private Limited*
*Mobile: +91 976-788-8246*


Re: Translators: Release next week

2020-07-19 Thread Akshay Joshi
Thanks, patch applied.

On Sat, Jul 18, 2020 at 11:20 AM  wrote:

> hello
> french translation for upcoming release
> Fred
>
>
> --
> *De: *"Akshay Joshi" 
> *À: *"pgadmin-hackers" 
> *Envoyé: *Vendredi 17 Juillet 2020 14:36:10
> *Objet: *Translators: Release next week
>
> Hi Translators,
>
> We will have a release next week, so updates to translations before
> release would be helpful. The template and catalogs have been updated in
> git.
>
> --
> *Thanks & Regards*
> *Akshay Joshi*
>
> *Sr. Software Architect*
> *EnterpriseDB Software India Private Limited*
> *Mobile: +91 976-788-8246*
>
>

-- 
*Thanks & Regards*
*Akshay Joshi*

*Sr. Software Architect*
*EnterpriseDB Software India Private Limited*
*Mobile: +91 976-788-8246*


Re: Translators: Release next week

2020-07-19 Thread Akshay Joshi
Thanks, patch applied.

On Fri, Jul 17, 2020 at 7:02 PM Domenico Sgarbossa  wrote:

> Hi,
> here italian translation files
> Bye
>
> Il venerdì 17 luglio 2020, 14:36:26 CEST, Akshay Joshi <
> akshay.jo...@enterprisedb.com> ha scritto:
>
>
> Hi Translators,
>
> We will have a release next week, so updates to translations before
> release would be helpful. The template and catalogs have been updated in
> git.
>
> --
> *Thanks & Regards*
> *Akshay Joshi*
>
> *Sr. Software Architect*
> *EnterpriseDB Software India Private Limited*
> *Mobile: +91 976-788-8246*
>


-- 
*Thanks & Regards*
*Akshay Joshi*

*Sr. Software Architect*
*EnterpriseDB Software India Private Limited*
*Mobile: +91 976-788-8246*


Re: Translators: Release next week

2020-07-19 Thread Akshay Joshi
Thanks, patch applied.

On Sat, Jul 18, 2020 at 12:55 PM fn ln  wrote:

> Hello.
> Here's an updated Japanese translation for upcoming version 4.24 release.
> (messages.pot revision; 2bfb7c20c8)
>
> 2020年7月17日(金) 21:36 Akshay Joshi :
>
>> Hi Translators,
>>
>> We will have a release next week, so updates to translations before
>> release would be helpful. The template and catalogs have been updated in
>> git.
>>
>> --
>> *Thanks & Regards*
>> *Akshay Joshi*
>>
>> *Sr. Software Architect*
>> *EnterpriseDB Software India Private Limited*
>> *Mobile: +91 976-788-8246*
>>
>

-- 
*Thanks & Regards*
*Akshay Joshi*

*Sr. Software Architect*
*EnterpriseDB Software India Private Limited*
*Mobile: +91 976-788-8246*


[pgAdmin][SonarQube] Reduce cognitive complexity of functions

2020-07-19 Thread Aditya Toshniwal
Hi Hackers,

Attached is the patch to reduce cognitive complexity of functions:
1) web/.../exclusion_constraint/__init__.py > create > from 25 to 15
2) web/.../exclusion_constraint/__init__.py > sql > from 19 to 15
3) web/.../databases/schemas/utils.py > parse_vacuum_data > from 18 to 15
4) web/.../tools/debugger/__init__.py > initialize_target > from 37 to 15
5) web/.../tools/debugger/__init__.py > execute_debugger_query > from 22 to
15
6) web/.../tools/debugger/__init__.py > messages > from 16 to 15
Please review.

-- 
Regards,
Aditya Toshniwal
pgAdmin hacker | Sr. Software Engineer | *edbpostgres.com*

"Don't Complain about Heat, Plant a TREE"


sonarqube.cognitive.patch
Description: Binary data