pgAdmin 4 commit: Fix filtering of system schemas so pg_* is hidden but

2017-09-18 Thread Ashesh Vashi
Fix filtering of system schemas so pg_* is hidden but pg* is not. Fixes #2709 Branch -- WEBPACK_DEVEL Details --- https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=ca1dd9d15fbd04dde153c1c5221386a13e0f8d9a Author: Murtuza Zabuawala

pgAdmin 4 commit: Support React v15.5 and later where the code fails to

2017-09-18 Thread Ashesh Vashi
Support React v15.5 and later where the code fails to run because React's PropTypes is no more part of React Module. Branch -- WEBPACK_DEVEL Details --- https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=4035fab6e7d1bcbd84115a963072b3de5be25485 Author: Surinder Kumar

pgAdmin 4 commit: Fix menu left-hand margin.

2017-09-18 Thread Ashesh Vashi
Fix menu left-hand margin. Branch -- WEBPACK_DEVEL Details --- https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=3485f5b607d11188c83d0b4d2841b93808da50a6 Author: Murtuza Zabuawala Modified Files --

pgAdmin 4 commit: Fix tablespace move prompt message. Fixes #2708

2017-09-18 Thread Dave Page
Fix tablespace move prompt message. Fixes #2708 Branch -- master Details --- https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=e64c52a4467af24a20512e849756f89947ed6084 Author: Murtuza Zabuawala Modified Files --

Re: [pgAdmin4][Patch]: Properly handle builtins.SERVER_MODE variable when SERVER_MODE is not set

2017-09-18 Thread Dave Page
On Mon, Sep 18, 2017 at 7:18 AM, Harshal Dhumal wrote: > I think this is similar issue.. > https://redmine.postgresql.org/issues/2134 > > I don't think that's relevant any more - it's certainly working for me. Can you check please? -- Dave Page Blog:

Re: [pgAdmin4][Patch]: Properly handle builtins.SERVER_MODE variable when SERVER_MODE is not set

2017-09-18 Thread Dave Page
Hi I'd already sent a suggested fix for this to Ashesh. I've just pushed that (it updates the WSGI file, not the config file). On Mon, Sep 18, 2017 at 6:46 AM, Surinder Kumar < surinder.ku...@enterprisedb.com> wrote: > Hi > > While configuring pgAdmin4 with Apache mod_wsgi, it fails to run

pgAdmin 4 commit: Fix disable trigger menu option. Fixes #2707

2017-09-18 Thread Dave Page
Fix disable trigger menu option. Fixes #2707 Branch -- master Details --- https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=8bededa859041ee6384a6dff22b93c67dbeeedc8 Author: Murtuza Zabuawala Modified Files --

pgAdmin 4 commit: Ensure builtins.SERVER_MODE is set in the WSGI wrappe

2017-09-18 Thread Dave Page
Ensure builtins.SERVER_MODE is set in the WSGI wrapper. Branch -- master Details --- https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=a317df1351f1f9c1cd2adc38e002a54fd837cf58 Modified Files -- web/pgAdmin4.wsgi | 8 1 file changed, 8 insertions(+)

[pgAdmin4][Patch]: Fix the logic to extract the error in Query tool

2017-09-18 Thread Murtuza Zabuawala
Hi, PFA minor patch to fix the issue where logic to extract the error using RegEX from error message was incorrect in Query tool(History tab). RM#2700 Another minor issue which I observed on login page is that close button on alert is little misaligned(screenshot attached). -- Regards, Murtuza

Re: [pgAdmin4][Patch]: Properly handle builtins.SERVER_MODE variable when SERVER_MODE is not set

2017-09-18 Thread Surinder Kumar
Hi On Mon, Sep 18, 2017 at 3:05 PM, Dave Page wrote: > Hi > > I'd already sent a suggested fix for this to Ashesh. I've just pushed that > (it updates the WSGI file, not the config file). > ​Yes, It's a proper fix.​ ​I have tested with latest git pull and it works.​ > > On

[pgAdmin4][Patch]: Fix the Enabale/Disbale trigger functionality

2017-09-18 Thread Murtuza Zabuawala
Hi, PFA minor patch which fixes, 1) To fix the Enable/Disable trigger functionality. RM#2707 2) Corrected the typo in gettext string causing malformed string in TableSpace module. RM#2708 -- Regards, Murtuza Zabuawala EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company

Re: [pgAdmin4][Patch]: Fix the logic to extract the error in Query tool

2017-09-18 Thread Dave Page
Hi On Mon, Sep 18, 2017 at 10:54 AM, Murtuza Zabuawala < murtuza.zabuaw...@enterprisedb.com> wrote: > Hi, > > PFA minor patch to fix the issue where logic to extract the error using > RegEX from error message was incorrect in Query tool(History tab). > RM#2700 > Thanks - applied, but -

pgAdmin 4 commit: Support React v15.5 and later where the code fails to

2017-09-18 Thread Dave Page
Support React v15.5 and later where the code fails to run because React's PropTypes is no more part of React Module. Branch -- master Details --- https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=026ef7b8b7effe001ccfe2eabb562bcae0ca716b Author: Surinder Kumar

Re: [pgAdmin4][Patch]: Use standalone modules prop-types as React.PropTypes has moved into a different package since React v15.5

2017-09-18 Thread Dave Page
Thanks, applied. On Mon, Sep 18, 2017 at 6:28 AM, Surinder Kumar < surinder.ku...@enterprisedb.com> wrote: > Hi > > While looking into a React bug, I tried running pgAdmin4 code with > Reactv15.5 or with Reactv16-RC-3, the code fails to run. > Because React's PropTypes is no more part of React

pgAdmin 4 commit: Correct alignment of the X button on dismissable aler

2017-09-18 Thread Dave Page
Correct alignment of the X button on dismissable alerts. Branch -- master Details --- https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=5ebfd88f11048bfde586d2caeaef63f51745b2bf Author: Murtuza Zabuawala Modified Files --

pgAdmin 4 commit: Changed array representation and formatting for the d

2017-09-18 Thread Ashesh Vashi
Changed array representation and formatting for the data types in Query Tool and View Data. Fixes #2671 Branch -- WEBPACK_DEVEL Details --- https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=79e6e11668e7762f1f2759091eb109cbfa9f4932 Author: Harshal Dhumal

pgAdmin 4 commit: Replace the "Roboto" font family with "Open Sans" for

2017-09-18 Thread Ashesh Vashi
Replace the "Roboto" font family with "Open Sans" for alertify dialogs. Branch -- WEBPACK_DEVEL Details --- https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=0b5b684652293ba85138f0d9d02f9cab5d8e37f6 Author: Atul Sharma Modified Files

pgAdmin 4 commit: Support Flask-Security 3.0

2017-09-18 Thread Dave Page
Support Flask-Security 3.0 Branch -- master Details --- https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=765e1303363a03e64dd6b440b0d7429ab1df3b05 Author: Harshal Dhumal Modified Files -- web/pgadmin/__init__.py | 2 +- 1 file

pgAdmin 4 commit: Ensure builtins.SERVER_MODE is set in the WSGI wrappe

2017-09-18 Thread Ashesh Vashi
Ensure builtins.SERVER_MODE is set in the WSGI wrapper. Branch -- WEBPACK_DEVEL Details --- https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=9c1a28121da2012b80dabea4457a9d7b75c2218c Author: Dave Page Modified Files -- web/pgAdmin4.wsgi | 8

Re: [PATCH] Work with newer Flask-Security.

2017-09-18 Thread Dave Page
Thanks, applied. On Wed, Aug 9, 2017 at 3:19 PM, Harshal Dhumal < harshal.dhu...@enterprisedb.com> wrote: > Hi, > > I tested this change with Flask-Security 3.0.0 and 1.7.5 (we ship pgAdmin4 > with 1.7.5) and with 2.7 and 3.0+. > This is working as expected. > > Apart from this I also found some

Re: [pgAdmin4][Patch]: Fix the Enabale/Disbale trigger functionality

2017-09-18 Thread Dave Page
Thanks, applied. On Mon, Sep 18, 2017 at 11:43 AM, Murtuza Zabuawala < murtuza.zabuaw...@enterprisedb.com> wrote: > Hi, > > PFA minor patch which fixes, > > 1) To fix the Enable/Disable trigger functionality. > RM#2707 > > 2) Corrected the typo in gettext string causing malformed string in >

pgAdmin 4 commit: Remove unused import that was causing a hard error on

2017-09-18 Thread Dave Page
Remove unused import that was causing a hard error on Windows Branch -- master Details --- https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=62d7a1044e58fd2f5a65ac41c70bd0cd8df55464 Modified Files -- web/pgadmin/static/jsx/react_shapes.jsx | 1 - 1 file changed,

pgAdmin 4 commit: Bump version for RC2 release.

2017-09-18 Thread Dave Page
Bump version for RC2 release. Branch -- master Details --- https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=5ae681f2baffdef551c9a0c4359657066c7c8743 Modified Files -- web/config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

v2.0 RC2 test builds

2017-09-18 Thread Dave Page
I've put v2.0-rc2 test builds at https://developer.pgadmin.org/~dpage/2.0-rc2/ for anyone who needs them. Please report any show-stopper issues ASAP! Devrim; these includes the WSGI fix needed for the problem I ran into when testing the RPMs in web mode. Thanks. -- Dave Page Blog:

Re: Fix for Exception when the server is restarted [RM2713][pgAdmin4]

2017-09-18 Thread Dave Page
Thanks, applied. On Mon, Sep 18, 2017 at 2:12 PM, Harshal Dhumal < harshal.dhu...@enterprisedb.com> wrote: > Hi, > > This issue was caused because we recently added session_write_delay in > session. > So session won't be written/updated to disk from memory until specified > seconds are elapsed.

Re: [pgAdmin4][Patch]: Fix the logic to extract the error in Query tool

2017-09-18 Thread Murtuza Zabuawala
Hi Dave, Please disregard my previous patch and instead attaching updated patch. In my previous patch I used `let` keyword instead of `var` for defining variable, for consistency & backward compatibility I have used `var` in my latest patch. -- Regards, Murtuza Zabuawala EnterpriseDB:

Re: [pgAdmin4][Patch]: Fix the logic to extract the error in Query tool

2017-09-18 Thread Dave Page
Hi On Mon, Sep 18, 2017 at 3:08 PM, Murtuza Zabuawala < murtuza.zabuaw...@enterprisedb.com> wrote: > Hi Dave, > > Sorry my bad, I didn't check the backend code, I assumed that it is coming > from psycopg2 and so I was focusing it to remove from client side :( > > PFA updated patch. > I think it

[pgAdmin4][Patch] RM 2691 View data option is missing from pgAdmin4 2.0 version

2017-09-18 Thread Akshay Joshi
Hi Attached is the patch file to fix RM 2691 View data option is missing from pgAdmin4 2.0 version. Apart from the RM this patch includes following fixes: 1) Fixed issue in foreign_table where variable is not declare so it throws an error. 2) Columns and Constraints tab are empty, remove

Re: [pgAdmin4][Patch]: Fix the logic to extract the error in Query tool

2017-09-18 Thread Murtuza Zabuawala
Hi Dave, Sorry my bad, I didn't check the backend code, I assumed that it is coming from psycopg2 and so I was focusing it to remove from client side :( PFA updated patch. -- Regards, Murtuza Zabuawala EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company On Mon, Sep 18,

Re: [pgAdmin4][Patch]: Fix the logic to extract the error in Query tool

2017-09-18 Thread Murtuza Zabuawala
Hi Dave, PFA patch. On Mon, Sep 18, 2017 at 4:34 PM, Dave Page wrote: > Hi > > On Mon, Sep 18, 2017 at 10:54 AM, Murtuza Zabuawala enterprisedb.com> wrote: > >> Hi, >> >> PFA minor patch to fix the issue where logic to extract the error using >> RegEX

Fix for Exception when the server is restarted [RM2713][pgAdmin4]

2017-09-18 Thread Harshal Dhumal
Hi, This issue was caused because we recently added session_write_delay in session. So session won't be written/updated to disk from memory until specified seconds are elapsed. However we must forcefully write/update session to disk if user loges in or out irrespective of session_write_delay to

Re: [pgAdmin4][Patch] RM 2691 View data option is missing from pgAdmin4 2.0 version

2017-09-18 Thread Dave Page
Thanks, applied. On Mon, Sep 18, 2017 at 1:52 PM, Akshay Joshi wrote: > Hi > > Attached is the patch file to fix RM 2691 View data option is missing from > pgAdmin4 2.0 version. Apart from the RM this patch includes following fixes: > > 1) Fixed issue in

pgAdmin 4 commit: Fix View Data option and column config for Foreign Ta

2017-09-18 Thread Dave Page
Fix View Data option and column config for Foreign Tables. Fixes #2691 Branch -- master Details --- https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=bdc08d94c494301c20135371c59356fac5c40f1c Author: Akshay Joshi Modified Files --

pgAdmin 4 commit: Support Flask-Security 3.0

2017-09-18 Thread Ashesh Vashi
Support Flask-Security 3.0 Branch -- WEBPACK_DEVEL Details --- https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=4853f25c1433196c3c99925429754083c17941ed Author: Harshal Dhumal Modified Files -- web/pgadmin/__init__.py | 2 +- 1

pgAdmin 4 commit: Fix tablespace move prompt message. Fixes #2708

2017-09-18 Thread Ashesh Vashi
Fix tablespace move prompt message. Fixes #2708 Branch -- WEBPACK_DEVEL Details --- https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=28f97f957f0062245cb462d0c042217d34ddb734 Author: Murtuza Zabuawala Modified Files --

pgAdmin 4 commit: Fix error message regexp in the query tool that could

2017-09-18 Thread Ashesh Vashi
Fix error message regexp in the query tool that could fail in some cases. Fixes #2700 Branch -- WEBPACK_DEVEL Details --- https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=5cc068f2bf6d0cf5f5aec1a18f8eed6b44145ea7 Author: Murtuza Zabuawala

pgAdmin 4 commit: Remove unused import that was causing a hard error on

2017-09-18 Thread Ashesh Vashi
Remove unused import that was causing a hard error on Windows Branch -- WEBPACK_DEVEL Details --- https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=c4855abd4ff586c4136ed750f2249a45011fa585 Author: Dave Page Modified Files --

pgAdmin 4 commit: Correct alignment of the X button on dismissable aler

2017-09-18 Thread Ashesh Vashi
Correct alignment of the X button on dismissable alerts. Branch -- WEBPACK_DEVEL Details --- https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=64be708b8d281216194d1cf0869953d1ded0eb44 Author: Murtuza Zabuawala Modified Files

pgAdmin 4 commit: Bump version for RC2 release.

2017-09-18 Thread Ashesh Vashi
Bump version for RC2 release. Branch -- WEBPACK_DEVEL Details --- https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=af3b11533fa5dd82ae16ae58721bef8bff873f9a Author: Dave Page Modified Files -- web/config.py | 4 ++-- 1 file changed, 2

pgAdmin 4 commit: Fix user manager role handling. Fixes #2641

2017-09-18 Thread Ashesh Vashi
Fix user manager role handling. Fixes #2641 Branch -- WEBPACK_DEVEL Details --- https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=6fbaaf3d06ec3a8d4fc83fd7691f02aac8e9d78d Author: Harshal Dhumal Modified Files --

pgAdmin 4 commit: Fixed the jasmine tests regression due to changes in

2017-09-18 Thread Ashesh Vashi
Fixed the jasmine tests regression due to changes in the webpacking implementation. Branch -- WEBPACK_DEVEL Details --- https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=0eb01384aaeeedc63edfbfc2e897684c914d58e0 Modified Files -- web/karma.conf.js

pgAdmin 4 commit: Add capability to print the javascript console errors

2017-09-18 Thread Ashesh Vashi
Add capability to print the javascript console errors, and warnings on stderr (standard error) for the feature tests. Branch -- WEBPACK_DEVEL Details --- https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=3c259043df8007866ba1aa5f1a6b053d2809c38d Modified Files

pgAdmin 4 commit: Updating the packing, and ci test scripts as per chan

2017-09-18 Thread Ashesh Vashi
Updating the packing, and ci test scripts as per changes in the webpack implementation. Branch -- WEBPACK_DEVEL Details --- https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=2ce6b5e87113d8418e74cacadff910bcd8758782 Modified Files -- Make-MinGW.bat | 2

Re: [pgAdmin4][Patch]: Properly handle builtins.SERVER_MODE variable when SERVER_MODE is not set

2017-09-18 Thread Harshal Dhumal
I think this is similar issue.. https://redmine.postgresql.org/issues/2134 On Mon, Sep 18, 2017 at 11:16 AM, Surinder Kumar < surinder.ku...@enterprisedb.com> wrote: > Hi > > While configuring pgAdmin4 with Apache mod_wsgi, it fails to run apache > server due to python error. > > [mod_wsgi

Re: Array representation and save array data from datagrid [RM2671][pgAdmin4]

2017-09-18 Thread Akshay Joshi
Thanks patch applied. On Fri, Sep 15, 2017 at 6:16 PM, Harshal Dhumal < harshal.dhu...@enterprisedb.com> wrote: > Hi Akshay, > > It's not issue; Try without quotes. As char data type stores only one > character so it's storing only leading quote (') and > truncating remaining characters (a'). >

pgAdmin 4 commit: Changed array representation and formatting for the d

2017-09-18 Thread Akshay Joshi
Changed array representation and formatting for the data types in Query Tool and View Data. Fixes #2671 Branch -- master Details --- https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=30e701607713edc1ba43173556c911c98fc09eb5 Author: Harshal Dhumal