pgAdmin 4 commit: Ship with pre-configured paths that can work in both

From: Dave Page <dpage(at)pgadmin(dot)org>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: pgAdmin 4 commit: Ship with pre-configured paths that can work in both
Date: 2017-08-25 09:54:31
Message-ID: E1dlBJv-00013n-DS@gothos.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Ship with pre-configured paths that can work in both Server and Desktop modes out of the box. Fixes #2662

Ship the web code using server mode with appropriate paths by default and enable the runtime to override the mode, and force into desktop changing the appropriate paths to user-specific ones.

Note that this change will likely cause more advanced users to have to tweak configs.

RPMs will also need changes to create /var/lib/pgadmin and /var/log/pgadmin, owned by the webserver account.

Branch
------
master

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

Modified Files
--------------
runtime/Server.cpp | 3 +-
web/config.py | 106 +++++++++++++++++++++++++++------------------
web/pgAdmin4.py | 11 +++++
web/regression/runtests.py | 11 +++++
4 files changed, 89 insertions(+), 42 deletions(-)

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2017-08-25 09:59:41 Re: pgAdmin 4 commit: Ship with pre-configured paths that can work in both
Previous Message Surinder Kumar 2017-08-25 09:25:25 Re: Next release