Re: pgAdmin 4 commit: Refactor server dialogue validation for betterunit t - Mailing list pgadmin-hackers

From Joao De Almeida Pereira
Subject Re: pgAdmin 4 commit: Refactor server dialogue validation for betterunit t
Date
Msg-id CAE+jja==RKhCxxdRmrZrWtg=X90gQ7ode=bCGRid5N7j0obUqw@mail.gmail.com
Whole thread Raw
In response to Re: pgAdmin 4 commit: Refactor server dialogue validation for better unit t  (Khushboo Vashi <khushboo.vashi@enterprisedb.com>)
Responses Re: pgAdmin 4 commit: Refactor server dialogue validation for betterunit t
List pgadmin-hackers
Hi Khushboo,
Good catch, attached you can find the fix for the problem.

Thanks
Victoria & Joao

On Wed, Mar 14, 2018 at 10:37 AM Khushboo Vashi <khushboo.vashi@enterprisedb.com> wrote:
Hi Joao/Victoria,

I am getting an error while editing the server properties. Please refer the attached screen-shot for the same.

Thanks,
Khushboo

On Wed, Mar 14, 2018 at 12:17 AM, Dave Page <dpage@pgadmin.org> wrote:
Refactor server dialogue validation for better unit testing.

Victoria & Joao @ Pivotal.

Branch
------
master

Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=6b03cb78af607b04c75de44d635bf201babb4c5a
Author: Victoria Henry <vhenry@pivotal.io>

Modified Files
--------------
web/package.json                                   |   3 +-
.../server_groups/servers/static/js/server.js      | 113 ++-------------------
web/pgadmin/static/bundle/browser.js               |   2 +-
web/pgadmin/static/js/browser/index.js             |  10 ++
.../static/js/browser/server_groups/index.js       |  10 ++
.../server_groups/servers/databases/index.js       |  10 ++
.../js/browser/server_groups/servers/index.js      |  11 ++
.../server_groups/servers/model_validation.js      | 104 +++++++++++++++++++
.../server_groups/servers/model_validation_spec.js | 101 ++++++++++++++++++
web/yarn.lock                                      |  46 ++++++++-
10 files changed, 299 insertions(+), 111 deletions(-)


Attachment

pgadmin-hackers by date:

Previous
From: Khushboo Vashi
Date:
Subject: Re: [pgadmin4][Patch]: RM #3122 - Backup not working on certificate(SSL) protected servers
Next
From: Rahul Soshte
Date:
Subject: Rahul Soshte GSOC Draft Proposal