Re: pgAdmin 4 debian packaging (?)

2017-09-30 Thread Christoph Berg
Re: Raphaƫl ENRICI 2017-09-22 

> >> >> I just wanted to know if anybody was working on packagind pgAdmin 4 for
> >> >> Debian?
> >> >
> >> > I think Christoph is working on this, if my memory serves well. Added
> >> > him.
> >>
> >> Oh well, that's great ;) You are in good hands
> >
> >
> > Though, if it's not on his immediate radar, I'd love to see this get done,
> > modelled on Devrim's v2.0 RPMs which are looking great. We get far too many
> > people complaining about lack of .debs :-(
> 
> I'll contact Christoph and arrange this with him. I may at least
> provide a first
> version out of debian constraints so that people can move on until something
> is properly pushed to debian in respect with the debian policy.

Hi,

we (credativ) are working on pgadmin4 packages. The web part is mostly
done (which is what we needed for a project), the GUI part needs more
work, though.

The packaging repo is at
https://anonscm.debian.org/cgit/pkg-postgresql/pgadmin4.git/
(might take a few more minutes to appear)

Christoph



pgAdmin 4 commit: Allow to terminate a session from the server, and dat

2017-09-30 Thread Ashesh Vashi
Allow to terminate a session from the server, and database dashboard.

Branch
--
WEBPACK_DEVEL

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

Modified Files
--
web/pgadmin/dashboard/__init__.py  |  26 +
web/pgadmin/dashboard/static/css/dashboard.css |   5 +
web/pgadmin/dashboard/static/js/dashboard.js   | 127 -
3 files changed, 156 insertions(+), 2 deletions(-)



pgAdmin 4 commit: Add missing issue, per Harshal.

2017-09-30 Thread Ashesh Vashi
Add missing issue, per Harshal.

Branch
--
WEBPACK_DEVEL

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=2d729a5cf447003bcf6150bcb378fcdcd891594f
Author: Dave Page 

Modified Files
--
docs/en_US/release_notes_2_0.rst | 1 +
1 file changed, 1 insertion(+)



pgAdmin 4 commit: Resolved the logo issue.

2017-09-30 Thread Ashesh Vashi
Resolved the logo issue.

For some unknown reason, font-mfizz was showing the slonik icon in
italic. Even after upgrading it to the latest version of font-mfizz, the
problem was not resolved.

So - instead of using the vector font, using the PostgreSQL SVG logo as
the application icon, and documentation link on dashboard now.

Branch
--
WEBPACK_DEVEL

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

Modified Files
--
web/config.py  |  2 +-
web/package.json   |  1 -
.../templates/dashboard/welcome_dashboard.html |  2 +-
web/pgadmin/static/css/pgadmin.css | 25 ++
web/yarn.lock  |  4 
5 files changed, 27 insertions(+), 7 deletions(-)



pgAdmin 4 commit: Add the ability to build a basic Docker container.

2017-09-30 Thread Ashesh Vashi
Add the ability to build a basic Docker container.

Branch
--
WEBPACK_DEVEL

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=d99841cbe01e20cdd1c32bb6cb78c11d3681a676
Author: Dave Page 

Modified Files
--
.gitignore   |  1 +
Makefile |  8 +++-
pkg/docker/Dockerfile| 48 
pkg/docker/build.sh  | 98 
pkg/docker/entry.sh  | 15 
pkg/docker/pgadmin4.conf | 22 +++
6 files changed, 191 insertions(+), 1 deletion(-)



pgAdmin 4 commit: Dead code cleanup.

2017-09-30 Thread Ashesh Vashi
Dead code cleanup.

Branch
--
WEBPACK_DEVEL

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=7f0c7c2d8aa21c09ad6ddbdd1a892e0aaef9055f
Author: Dave Page 

Modified Files
--
web/migrations/versions/09d53fca90c7_.py |  7 +++
web/migrations/versions/3c1e4b6eda55_.py | 11 +--
web/migrations/versions/d85a62333272_.py |  2 --
web/migrations/versions/f195f9a4923d_.py |  4 +---
web/migrations/versions/fdc58d9bd449_.py | 11 +--
web/pgadmin/setup/db_version.py  |  9 -
6 files changed, 10 insertions(+), 34 deletions(-)



pgAdmin 4 commit: Clarify how virtual envs can be used in WSGI mode, an

2017-09-30 Thread Ashesh Vashi
Clarify how virtual envs can be used in WSGI mode, and ensure we ship the 
required bits on Windows.

Branch
--
WEBPACK_DEVEL

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=67e34f9546912862e04341f0acf5d2a9f43b2694
Author: Surinder Kumar 

Modified Files
--
docs/en_US/server_deployment.rst | 11 ++-
1 file changed, 6 insertions(+), 5 deletions(-)



pgAdmin 4 commit: Improve icon alignment.

2017-09-30 Thread Ashesh Vashi
Improve icon alignment.

Branch
--
WEBPACK_DEVEL

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=41ea77c2d88d2142f52bf95a9b878252006b4b63
Author: Chethana Kumar 

Modified Files
--
.../servers/databases/casts/static/img/cast.svg   |   2 +-
.../servers/databases/casts/static/img/coll-cast.svg  |   2 +-
.../event_triggers/static/img/coll-event_trigger.svg  |   2 +-
.../databases/event_triggers/static/img/event_trigger.svg |   2 +-
.../databases/event_triggers/static/img/triggerbad.svg|   2 +-
.../databases/extensions/static/img/coll-extension.svg|   2 +-
.../servers/databases/extensions/static/img/extension.svg |   2 +-
.../foreign_servers/static/img/coll-foreign_server.svg|   2 +-
.../foreign_servers/static/img/foreign_server.svg |   2 +-
.../user_mapping/static/img/coll-user_mapping.svg |   2 +-
.../user_mapping/static/img/user_mapping.svg  |   2 +-
.../static/img/coll-foreign_data_wrapper.svg  |   2 +-
.../static/img/foreign_data_wrapper.svg   |   2 +-
.../databases/languages/static/img/coll-language.svg  |   2 +-
.../servers/databases/languages/static/img/language.svg   |   2 +-
.../columns/static/img/catalog_object_column.svg  |   2 +-
.../columns/static/img/coll-catalog_object_column.svg |   2 +-
.../schemas/catalog_objects/static/img/catalog_object.svg |   2 +-
.../catalog_objects/static/img/coll-catalog_object.svg|   2 +-
.../schemas/collations/static/img/coll-collation.svg  |   2 +-
.../databases/schemas/collations/static/img/collation.svg |   2 +-
.../static/img/coll-domain_constraints.svg|   2 +-
.../static/img/domain_constraints-bad.svg |   2 +-
.../domain_constraints/static/img/domain_constraints.svg  |   2 +-
.../databases/schemas/domains/static/img/coll-domain.svg  |   2 +-
.../databases/schemas/domains/static/img/domain.svg   |   2 +-
.../foreign_tables/static/img/coll-foreign_table.svg  |   2 +-
.../schemas/foreign_tables/static/img/foreign_table.svg   |   2 +-
.../static/img/coll-fts_configuration.svg |   2 +-
.../fts_configurations/static/img/fts_configuration.svg   |   2 +-
.../fts_dictionaries/static/img/coll-fts_dictionary.svg   |   2 +-
.../fts_dictionaries/static/img/fts_dictionary.svg|   2 +-
.../schemas/fts_parser/static/img/coll-fts_parser.svg |   2 +-
.../schemas/fts_parser/static/img/fts_parser.svg  |   2 +-
.../fts_templates/static/img/coll-fts_template.svg|   2 +-
.../schemas/fts_templates/static/img/fts_template.svg |   2 +-
.../schemas/functions/static/img/coll-function.svg|   2 +-
.../schemas/functions/static/img/coll-procedure.svg   |   2 +-
.../functions/static/img/coll-trigger_function.svg|   2 +-
.../databases/schemas/functions/static/img/function.svg   |   2 +-
.../databases/schemas/functions/static/img/procedure.svg  |   2 +-
.../schemas/functions/static/img/trigger_function.svg |   2 +-
.../schemas/packages/edbfuncs/static/img/coll-edbfunc.svg |   2 +-
.../schemas/packages/edbfuncs/static/img/coll-edbproc.svg |   2 +-
.../schemas/packages/edbfuncs/static/img/edbfunc.svg  |   2 +-
.../schemas/packages/edbfuncs/static/img/edbproc.svg  |   2 +-
.../schemas/packages/edbvars/static/img/coll-edbvar.svg   |   2 +-
.../schemas/packages/edbvars/static/img/edbvar.svg|   2 +-
.../schemas/packages/static/img/coll-package.svg  |   2 +-
.../databases/schemas/packages/static/img/package.svg |   2 +-
.../schemas/sequences/static/img/coll-sequence.svg|   2 +-
.../databases/schemas/sequences/static/img/sequence.svg   |   2 +-
.../servers/databases/schemas/static/img/catalog.svg  |   2 +-
.../servers/databases/schemas/static/img/coll-catalog.svg |   2 +-
.../servers/databases/schemas/static/img/coll-schema.svg  |   2 +-
.../servers/databases/schemas/static/img/schema.svg   |   2 +-
.../schemas/synonyms/static/img/coll-synonym.svg  |   2 +-
.../databases/schemas/synonyms/static/img/synonym.svg |   2 +-
.../schemas/tables/column/static/img/coll-column.svg  |   2 +-
.../databases/schemas/tables/column/static/img/column.svg |   2 +-
.../check_constraint/static/img/check-constraints-bad.svg |   2 +-
.../check_constraint/static/img/check-constraints.svg |   2 +-
.../static/img/exclusion_constraint.svg   |   2 +-
.../constraints/foreign_key/static/img/foreign_key.svg|   2 +-
.../foreign_key/static/img/foreign_key_no_validate.svg|   2 +-
.../index_constraint/static/img/primary_key.svg   |   2 +-
.../index_constraint/static/img/unique_constraint.svg |   2 +-
.../tables/constraints/static/img/coll-constraints.svg|   2 +-
.../schemas/tables/indexes/static/img/coll-index.svg  |   2 +-
.../databases/schemas/tables/indexes/static/img/index.svg |   2 +-
.../tables/partitions/static/img/coll-partition.svg   |   2 +-
.../schemas/

pgAdmin 4 commit: Upgraded the font-mfizz to latest version (v:2.4.1) t

2017-09-30 Thread Ashesh Vashi
Upgraded the font-mfizz to latest version (v:2.4.1) to resolve an issue,
about showing the PostgreSQL logo in italic in runtime on windows.

Branch
--
WEBPACK_DEVEL

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

Modified Files
--
libraries.txt|   4 +-
web/package.json |   2 +-
web/yarn.lock| 354 ---
3 files changed, 209 insertions(+), 151 deletions(-)



pgAdmin 4 commit: Use the correct lexer in the Apache/Windows docs.

2017-09-30 Thread Ashesh Vashi
Use the correct lexer in the Apache/Windows docs.

Branch
--
WEBPACK_DEVEL

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=c0964c203886e50da4b3dff0996e1e228942084f
Author: Dave Page 

Modified Files
--
docs/en_US/server_deployment.rst | 9 -
1 file changed, 4 insertions(+), 5 deletions(-)



pgAdmin 4 commit: Do not show the terminate session icon in red as per

2017-09-30 Thread Ashesh Vashi
Do not show the terminate session icon in red as per Dave

Branch
--
WEBPACK_DEVEL

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

Modified Files
--
web/pgadmin/dashboard/static/css/dashboard.css | 1 -
1 file changed, 1 deletion(-)



pgAdmin 4 commit: Allow selection of SSL certificates and pgpass files

2017-09-30 Thread Ashesh Vashi
Allow selection of SSL certificates and pgpass files in connection properties. 
Fixes #2649. Fixes #2650

Branch
--
WEBPACK_DEVEL

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=83ca7eb453a459b8cd4ff966034752d8c96acf51
Author: Murtuza Zabuawala 

Modified Files
--
docs/en_US/images/server_advanced.png  | Bin 86133 -> 35463 bytes
docs/en_US/images/server_connection.png| Bin 78869 -> 42649 bytes
docs/en_US/images/server_general.png   | Bin 51272 -> 39091 bytes
docs/en_US/images/server_ssl.png   | Bin 0 -> 40339 bytes
docs/en_US/server_dialog.rst   |  89 
web/migrations/versions/ef590e979b0d_.py   |  46 
.../browser/server_groups/servers/__init__.py  |  98 +++--
.../server_groups/servers/static/js/server.js  | 116 +++--
web/pgadmin/misc/file_manager/__init__.py  |  46 ++--
.../misc/file_manager/static/css/file_manager.css  |   5 +-
web/pgadmin/misc/file_manager/static/js/utility.js |  42 +++-
.../file_manager/js/file_manager_config.json   |   1 +
web/pgadmin/model/__init__.py  |  19 ++--
web/pgadmin/utils/driver/psycopg2/__init__.py  |  35 ++-
14 files changed, 439 insertions(+), 58 deletions(-)



pgAdmin 4 commit: Ensure using an alternate role to connect to a databa

2017-09-30 Thread Ashesh Vashi
Ensure using an alternate role to connect to a database doesn't cause an error 
when checking recovery state. Fixes #2742

Branch
--
WEBPACK_DEVEL

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=a44428266e1ce165a305c51cdf0df1f47e1a18ed
Author: Akshay Joshi 

Modified Files
--
docs/en_US/release_notes_2_0.rst  | 3 ++-
web/pgadmin/browser/server_groups/servers/__init__.py | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)



pgAdmin 4 commit: Update release notes.

2017-09-30 Thread Ashesh Vashi
Update release notes.

Branch
--
WEBPACK_DEVEL

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=9e33a18b3aea0cb6c09bcc69ebeff691282a562e
Author: Dave Page 

Modified Files
--
docs/en_US/release_notes_2_0.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)



pgAdmin 4 commit: Update release notes.

2017-09-30 Thread Ashesh Vashi
Update release notes.

Branch
--
WEBPACK_DEVEL

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=a7466e925a843fbda2aa7f17f1989dd2ff87b233
Author: Dave Page 

Modified Files
--
docs/en_US/release_notes_2_0.rst | 13 -
1 file changed, 12 insertions(+), 1 deletion(-)



pgAdmin 4 commit: Update message catalogs.

2017-09-30 Thread Ashesh Vashi
Update message catalogs.

Branch
--
WEBPACK_DEVEL

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=8dd9e28c8c4f979ec0a2c049da1353a9e29e2f12
Author: Dave Page 

Modified Files
--
web/pgadmin/messages.pot   | 8037 +
.../translations/de/LC_MESSAGES/messages.mo|  Bin 113740 -> 126937 bytes
.../translations/de/LC_MESSAGES/messages.po| 8996 
.../translations/pl/LC_MESSAGES/messages.mo|  Bin 112948 -> 126007 bytes
.../translations/pl/LC_MESSAGES/messages.po| 8651 +++
.../translations/zh/LC_MESSAGES/messages.mo|  Bin 86541 -> 101468 bytes
.../translations/zh/LC_MESSAGES/messages.po| 8630 +++
7 files changed, 19634 insertions(+), 14680 deletions(-)



pgAdmin 4 commit: Changed the wording for 'Terminated session successfu

2017-09-30 Thread Ashesh Vashi
Changed the wording for 'Terminated session successfully'

Branch
--
WEBPACK_DEVEL

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

Modified Files
--
web/pgadmin/dashboard/static/js/dashboard.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)