pgAdmin 4 commit: Fixed code smell reported by SonarQube.

From: Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>
To: pgadmin-hackers(at)lists(dot)postgresql(dot)org
Subject: pgAdmin 4 commit: Fixed code smell reported by SonarQube.
Date: 2022-01-20 11:28:43
Message-ID: E1nAVcR-0003tf-8y@gothos.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Fixed code smell reported by SonarQube.

Branch
------
master

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

Modified Files
--------------
web/pgadmin/authenticate/ldap.py | 13 +++++++------
.../browser/server_groups/servers/__init__.py | 8 ++++----
.../databases/languages/static/js/language.ui.js | 7 ++-----
.../schemas/synonyms/static/js/synonym.ui.js | 6 +-----
.../schemas/tables/columns/static/js/column.ui.js | 4 ++--
.../static/js/exclusion_constraint.ui.js | 6 +-----
.../foreign_key/static/js/foreign_key.ui.js | 12 ++----------
.../schemas/tables/indexes/static/js/index.ui.js | 5 ++---
.../schemas/tables/static/js/partition.utils.ui.js | 6 ++++--
.../servers/databases/schemas/tables/utils.py | 8 ++++----
.../databases/schemas/types/static/js/type.ui.js | 4 +---
.../server_groups/servers/static/js/server.ui.js | 2 +-
web/pgadmin/browser/static/js/layout.js | 4 +---
web/pgadmin/browser/static/js/panel.js | 3 ---
web/pgadmin/model/__init__.py | 7 ++++---
web/pgadmin/static/js/SchemaView/MappedControl.jsx | 4 ++--
web/pgadmin/static/js/SchemaView/index.jsx | 8 ++------
web/pgadmin/static/js/backform.pgadmin.js | 3 +--
web/pgadmin/static/js/backgrid.pgadmin.js | 5 +++--
web/pgadmin/static/js/csrf.js | 2 +-
web/pgadmin/static/js/dialog_tab_navigator.js | 3 +--
web/pgadmin/static/js/helpers/Notifier.jsx | 2 +-
web/pgadmin/static/js/tree/tree_init.tsx | 16 +++++++++-------
web/pgadmin/static/js/tree/tree_nodes.ts | 12 ++++++------
web/pgadmin/static/scss/_jsoneditor.overrides.scss | 2 +-
web/pgadmin/static/scss/_webcabin.pgadmin.scss | 3 ---
web/pgadmin/static/vendor/backform/backform.js | 6 +++---
web/pgadmin/tools/backup/static/js/backup.ui.js | 2 +-
web/pgadmin/tools/erd/static/js/erd_tool/ERDCore.js | 3 +--
.../tools/grant_wizard/static/js/GrantWizard.jsx | 6 +-----
.../static/js/ImportExportServers.jsx | 7 +------
web/pgadmin/tools/restore/static/js/restore.ui.js | 2 +-
web/pgadmin/utils/driver/psycopg2/connection.py | 21 ++++++++++-----------
web/regression/javascript/dashboard/graphs_spec.js | 5 ++---
.../javascript/schema_ui_files/domain.ui.spec.js | 3 +--
.../schema_ui_files/pga_schedule.ui.spec.js | 3 +--
.../search_objects_dialog_wrapper_spec.js | 2 +-
.../table/enable_disable_triggers_spec.js | 8 ++------
web/regression/javascript/tree/tree_spec.js | 8 ++------
39 files changed, 90 insertions(+), 141 deletions(-)

Browse pgadmin-hackers by date

  From Date Subject
Next Message Ilaria Battiston 2022-01-20 19:49:04 GSoC 2022 [-projects]
Previous Message Yogesh Mahajan 2022-01-20 09:12:13 Re: [pgAdmin][Patch] - Housekeeping #7017- [React] Port Import Export dialog to React.