Re: [pgAdmin][RM5017] Use cheroot as default production server

2019-12-19 Thread Akshay Joshi
Thanks, patch applied.

On Tue, Dec 17, 2019 at 3:16 PM Aditya Toshniwal <
aditya.toshni...@enterprisedb.com> wrote:

> Hi Hackers,
>
> Attached is the patch to use https://pypi.org/project/cheroot/ instead of
> current flask dev server. cheroot is a stable production ready server.
> Plus, flask dev server is not recommended for production.
> Code is changed to use cheroot only when DEBUG is False, otherwise you the
> default flask server.
>
> Kindly review.
>
> --
> Thanks and Regards,
> Aditya Toshniwal
> Sr. Software Engineer | EnterpriseDB India | Pune
> "Don't Complain about Heat, Plant a TREE"
>


-- 
*Thanks & Regards*
*Akshay Joshi*

*Sr. Software Architect*
*EnterpriseDB Software India Private Limited*
*Mobile: +91 976-788-8246*


pgAdmin 4 commit: Use cheroot as default production server for pgAdmin4

2019-12-19 Thread Akshay Joshi
Use cheroot as default production server for pgAdmin4. Fixes #5017

If DEBUG is true then we used the default flask server.

Branch
--
master

Details
---
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=15c518f0f1a299b93676ea4e5d9d9de8a62c32c2
Author: Aditya Toshniwal 

Modified Files
--
docs/en_US/release_notes_4_17.rst |  1 +
requirements.txt  |  1 +
web/pgAdmin4.py   | 35 +--
3 files changed, 27 insertions(+), 10 deletions(-)



pgAdmin 4 commit: Optimized edit types and properties SQL for table/col

2019-12-19 Thread Akshay Joshi
Optimized edit types and properties SQL for table/columns. It is part of #4988.

Branch
--
master

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

Modified Files
--
.../templates/columns/sql/10_plus/properties.sql   | 28 -
.../templates/columns/sql/12_plus/properties.sql   | 28 -
.../templates/columns/sql/9.2_plus/properties.sql  | 29 --
.../columns/sql/default/edit_mode_types.sql| 16 ++--
4 files changed, 37 insertions(+), 64 deletions(-)