From: | Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com> |
---|---|
To: | pgadmin-hackers(at)postgresql(dot)org |
Subject: | pgAdmin 4 commit: 1) Splits the SQL query used to retrieve the Dependen |
Date: | 2017-05-15 05:13:24 |
Message-ID: | E1dA8Jw-0004zx-BT@gothos.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)pivotal(dot)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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Akshay Joshi | 2017-05-15 05:14:58 | Re: [patch] Dependents and Dependencies in GreenPlum |
Previous Message | Matthew Kleiman | 2017-05-15 00:49:04 | Re: [patch] Dependents and Dependencies in GreenPlum |