[pgadmin-hackers] pgAdmin 4 commit: 1) Splits the SQL query used to retrieve theDependen - Mailing list pgadmin-hackers

From Akshay Joshi
Subject [pgadmin-hackers] pgAdmin 4 commit: 1) Splits the SQL query used to retrieve theDependen
Date
Msg-id E1dA8Jw-0004zx-BT@gothos.postgresql.org
Whole thread Raw
List pgadmin-hackers
1) Splits the SQL query used to retrieve the Dependents, Dependencies, and Roles SQL file into multiple versioned
files.
2) Add Unit Tests for each file.
3) Add ORDER BY into Copy Selection Feature test to ensure the results are retrieved always in the same order
4) Renamed the Scenario of the xss_checks_pgadmin_debugger_test and skip it for versions less than 9.1
5) Deleted unused __init__.py files.

Branch
------
master

Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=3bf17d9df42f2fd2c9a4588487655e4078974104
Author: Joao Pedro De Almeida Pereira <jdealmeidapereira@pivotal.io>

Modified Files
--------------
.../databases/schemas/tables/templates/__init__.py |  0
.../schemas/tables/templates/column/__init__.py    |  0
.../templates/column/sql/9.2_plus/__init__.py      |  0
.../templates/column/sql/default/__init__.py       |  0
.../templates/column/sql/tests/test_column_acl.py  | 47 ------------
.../column/sql/tests/test_column_properties.py     | 56 --------------
.../schemas/tables/templates/table/__init__.py     |  0
.../schemas/tables/templates/table/sql/__init__.py |  0
.../tables/templates/table/sql/tests/__init__.py   |  0
.../templates/table/sql/tests/test_tables_acl.py   | 66 -----------------
.../templates/table/sql/tests/test_tables_node.py  | 74 -------------------
.../table/sql/tests/test_tables_properties.py      | 77 --------------------
.../templates/trigger/sql/9.1_plus/__init__.py     |  0
.../tables/templates/trigger/sql/__init__.py       |  0
.../templates/trigger/sql/default/__init__.py      |  0
.../tables/templates/trigger/sql/tests/__init__.py |  0
.../trigger/sql/tests/test_trigger_get_oid.py      | 60 ---------------
.../trigger/sql/tests/test_trigger_nodes.py        | 51 -------------
.../schemas/tables/tests/test_column_acl_sql.py    | 51 +++++++++++++
.../tables/tests/test_column_properties_sql.py     | 52 +++++++++++++
.../schemas/tables/tests/test_tables_acl_sql.py    | 54 ++++++++++++++
.../schemas/tables/tests/test_tables_node_sql.py   | 55 ++++++++++++++
.../tables/tests/test_tables_properties_sql.py     | 72 ++++++++++++++++++
.../tables/tests/test_trigger_get_oid_sql.py       | 52 +++++++++++++
.../schemas/tables/tests/test_trigger_nodes_sql.py | 43 +++++++++++
.../depends/sql/9.1_plus/dependencies.sql          | 45 ++++++++++++
.../templates/depends/sql/9.1_plus/dependents.sql  | 44 +++++++++++
.../templates/depends/sql/default/dependencies.sql | 42 +++++++++++
.../templates/depends/sql/default/dependents.sql   | 66 +----------------
.../depends/sql/default/role_dependencies.sql      |  4 +
.../servers/tests/test_dependencies_sql.py         | 51 +++++++++++++
.../servers/tests/test_dependents_sql.py           | 51 +++++++++++++
.../servers/tests/test_role_dependencies_sql.py    | 85 ++++++++++++++++++++++
web/pgadmin/browser/utils.py                       | 10 +--
.../copy_selected_query_results_feature_test.py    | 11 ++-
.../xss_checks_pgadmin_debugger_test.py            |  6 +-
.../python_test_utils/sql_template_test_base.py    | 59 +++++++++++++++
37 files changed, 783 insertions(+), 501 deletions(-)


pgadmin-hackers by date:

Previous
From: Matthew Kleiman
Date:
Subject: Re: [pgadmin-hackers][patch] Dependents and Dependencies in GreenPlum
Next
From: Akshay Joshi
Date:
Subject: Re: [pgadmin-hackers][patch] Dependents and Dependencies in GreenPlum