pgAdmin 4 commit: Allow user to change the database connection from an

From: Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>
To: pgadmin-hackers(at)lists(dot)postgresql(dot)org
Subject: pgAdmin 4 commit: Allow user to change the database connection from an
Date: 2020-10-01 08:00:14
Message-ID: E1kNtVe-0002Y4-Ju@gothos.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Allow user to change the database connection from an open query tool tab. Fixes #3794

Branch
------
master

Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=be7bb81a194aef84b3c685f41290659ef1d85af6
Author: Nikhil Mohite <nikhil(dot)mohite(at)enterprisedb(dot)com>

Modified Files
--------------
docs/en_US/images/new_connection_dialog.png | Bin 0 -> 49691 bytes
docs/en_US/images/new_connection_options.png | Bin 0 -> 45739 bytes
docs/en_US/query_tool.rst | 21 ++
docs/en_US/release_notes_4_27.rst | 1 +
.../browser/server_groups/servers/__init__.py | 10 +-
.../server_groups/servers/roles/tests/utils.py | 35 +++
web/pgadmin/model/__init__.py | 47 +++
.../static/js/sqleditor/new_connection_dialog.js | 262 ++++++++++++++++
.../js/sqleditor/new_connection_dialog_model.js | 339 +++++++++++++++++++++
web/pgadmin/static/scss/_alert.scss | 1 +
web/pgadmin/tools/datagrid/__init__.py | 146 ++++++++-
.../tools/datagrid/templates/datagrid/index.html | 14 +-
web/pgadmin/tools/datagrid/tests/__init__.py | 0
.../tools/datagrid/tests/datagrid_test_data.json | 134 ++++++++
.../tests/test_data_grid_init_query_tool.py | 73 +++++
.../tools/datagrid/tests/test_data_grid_panel.py | 90 ++++++
.../tests/test_data_grid_query_tool_close.py | 78 +++++
.../tests/test_data_grid_update_connection.py | 121 ++++++++
.../tests/test_data_grid_validate_filter.py | 92 ++++++
.../datagrid/tests/test_initialize_data_grid.py | 109 +++++++
web/pgadmin/tools/datagrid/tests/utils.py | 33 ++
web/pgadmin/tools/sqleditor/__init__.py | 334 ++++++++++++++++++--
.../tools/sqleditor/static/css/sqleditor.css | 9 +-
web/pgadmin/tools/sqleditor/static/js/sqleditor.js | 154 +++++++++-
.../tools/sqleditor/static/scss/_sqleditor.scss | 13 +
.../tests/test_new_connection_database.py | 100 ++++++
.../sqleditor/tests/test_new_connection_dialog.py | 50 +++
.../sqleditor/tests/test_new_connection_user.py | 100 ++++++
web/pgadmin/utils/constants.py | 2 +
web/pgadmin/utils/driver/psycopg2/connection.py | 113 ++++---
30 files changed, 2393 insertions(+), 88 deletions(-)

Browse pgadmin-hackers by date

  From Date Subject
Next Message Akshay Joshi 2020-10-01 08:01:23 Re: [pgAdmin4][Patch] - Fix for Sqlalchemy Operational error
Previous Message Nikhil Mohite 2020-10-01 05:12:23 Re: [pgAdmin][RM3794]:Allow User to Change Database Connection from an Open Query Tool Tab