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

From: Dave Page <dpage(at)pgadmin(dot)org>
To: pgadmin-hackers <pgadmin-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: pgAdmin 4 commit: Make the Query Tool history persistent across session
Date: 2019-03-13 13:43:00
Message-ID: CA+OCxoz39KRcg5oFNS2dNFxL2SirBzKyFiNxXVWJDiQPBURDww@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

I forgot to set the Author on this commit (and cannot do so now), so for
the record, it was Aditya Toshniwal.

Apologies Aditya.

On Wed, Mar 13, 2019 at 1:37 PM Dave Page <dpage(at)pgadmin(dot)org> wrote:

> 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(-)
>
>

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2019-03-13 16:04:30 pgAdmin 4 commit: Change the CodeMirror active line background colour t
Previous Message Dave Page 2019-03-13 13:41:22 Re: [pgAdmin4][RM4017] Query Tool History persistence