pgAdmin 4 commit: Make the Query Tool history persistent across session

From: Dave Page <dpage(at)pgadmin(dot)org>
To: pgadmin-hackers(at)lists(dot)postgresql(dot)org
Subject: pgAdmin 4 commit: Make the Query Tool history persistent across session
Date: 2019-03-13 13:37:44
Message-ID: E1h444m-0004Gv-C9@gothos.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Make the Query Tool history persistent across sessions. Fixes #4017

Branch
------
master

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

Modified Files
--------------
docs/en_US/query_tool.rst | 6 +
docs/en_US/release_notes_4_4.rst | 1 +
web/config.py | 3 +
web/migrations/versions/ec1cac3399c9_.py | 42 +++++++
.../browser/server_groups/servers/__init__.py | 4 +
.../server_groups/servers/databases/__init__.py | 4 +
web/pgadmin/model/__init__.py | 17 ++-
.../static/js/sqleditor/history/query_history.js | 15 ++-
.../js/sqleditor/history/query_history_details.js | 37 ++++--
.../js/sqleditor/history/query_history_entries.js | 50 ++++----
web/pgadmin/tools/sqleditor/__init__.py | 69 ++++++++++-
web/pgadmin/tools/sqleditor/static/js/sqleditor.js | 97 +++++++++++++--
.../tools/sqleditor/static/scss/_history.scss | 2 +-
.../tools/sqleditor/tests/test_editor_history.py | 105 ++++++++++++++++
web/pgadmin/tools/sqleditor/utils/query_history.py | 137 +++++++++++++++++++++
.../javascript/history/query_history_spec.js | 58 ++++++---
16 files changed, 581 insertions(+), 66 deletions(-)

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2019-03-13 13:41:22 Re: [pgAdmin4][RM4017] Query Tool History persistence
Previous Message Aditya Toshniwal 2019-03-13 11:20:06 Re: [pgAdmin4][RM4017] Query Tool History persistence