pgAdmin 4 commit: 1) Added support for advanced table fields like the f

2021-10-11 Thread Akshay Joshi
1) Added support for advanced table fields like the foreign key, primary key in 
the ERD tool. Fixes #6081
2) Added index creation when generating SQL in the ERD tool. Fixes #6529

Branch
--
master

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

Modified Files
--
docs/en_US/release_notes_6_1.rst   |   2 +
web/package.json   |   2 +-
.../schemas/tables/columns/static/js/column.ui.js  |  31 +-
.../foreign_key/static/js/foreign_key.ui.js|  14 +-
.../databases/schemas/tables/static/js/table.ui.js |  89 ++-
.../servers/databases/schemas/tables/utils.py  |   4 +-
web/pgadmin/static/js/SchemaView/FormView.jsx  |  12 +-
web/pgadmin/static/js/SchemaView/index.jsx |  67 +-
web/pgadmin/static/js/Theme/index.jsx  |  29 +-
web/pgadmin/static/scss/_alertify.overrides.scss   |   2 +-
web/pgadmin/tools/erd/__init__.py  |  41 +-
.../tools/erd/static/js/erd_tool/ERDCore.js| 263 +--
.../static/js/erd_tool/dialogs/DialogWrapper.js| 164 ++---
.../static/js/erd_tool/dialogs/ManyToManyDialog.js | 152 ++--
.../static/js/erd_tool/dialogs/OneToManyDialog.js  | 152 ++--
.../erd/static/js/erd_tool/dialogs/TableDialog.js  | 778 +++--
.../tools/erd/static/js/erd_tool/dialogs/index.js  |  11 +-
web/pgadmin/tools/erd/static/js/erd_tool/index.js  |   3 +-
.../erd/static/js/erd_tool/nodes/TableNode.jsx |   2 +-
.../js/erd_tool/ui_components/BodyWidget.jsx   | 103 +--
web/pgadmin/tools/erd/static/scss/_erd.scss|  11 +
web/regression/javascript/erd/erd_core_spec.js |  93 +--
web/regression/javascript/erd/fake_item.js |  42 ++
.../erd/ui_components/body_widget_spec.js  | 171 ++---
.../javascript/schema_ui_files/column.ui.spec.js   |   4 +-
web/yarn.lock  |  88 +--
26 files changed, 907 insertions(+), 1423 deletions(-)



Re: [pgAdmin][RM6081] Advanced table fields in ERD

2021-10-11 Thread Akshay Joshi
Thanks, the patch applied.

On Mon, Oct 11, 2021 at 5:14 PM Aditya Toshniwal <
aditya.toshni...@enterprisedb.com> wrote:

> Hi Hackers,
>
> Attached patch will port Backbone based dialogs in ERD to React based
> using the schema view UI framework. This allows us to use the existing
> table UI, remove repeated code and enable advanced fields. I have hidden
> fields from the existing table UI for ERD.
> Please note, this also fixes #6529.
>
> Please review.
>
> --
> Thanks,
> Aditya Toshniwal
> pgAdmin Hacker | Software Architect | *edbpostgres.com*
> 
> "Don't Complain about Heat, Plant a TREE"
>


-- 
*Thanks & Regards*
*Akshay Joshi*
*pgAdmin Hacker | Principal Software Architect*
*EDB Postgres *

*Mobile: +91 976-788-8246*


pgAdmin 4 commit: Fixed PEP8.

2021-10-11 Thread Akshay Joshi
Fixed PEP8.

Branch
--
master

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

Modified Files
--
web/pgadmin/tools/erd/__init__.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)



[pgAdmin][RM6794]: Provide functionality to disable/enable rules

2021-10-11 Thread Pradip Parkale
Hi Hackers,

Please find the updated patch for #6794 Provide functionality to
disable/enable rules.

This patch also includes the fix for #6870 Unable to delete server group if
first server group has shared server.

-- 
Thanks & Regards,
Pradip Parkale
Software Engineer | EnterpriseDB Corporation


RM6794.patch
Description: Binary data


[pgAdmin4][Patch] - RM 6657 - Support for REMOTE_USER as Authentication.

2021-10-11 Thread Khushboo Vashi
Hi,

Please find the attached patch for #6657 - Support for REMOTE_USER as
Authentication.

The initial patch was provided by *Tom Schreiber,* I have made the
necessary changes to work with pgAdmin and also added test cases and
documentation.
Please commit the patch on *Tom Schreiber's *name.

This patch also includes the fix for the RM #6719 - OAuth2 integration
redirect issue


Thanks,
Khushboo


RM_6657.patch
Description: Binary data


Re: [pgAdmin][RM6081] Advanced table fields in ERD

2021-10-11 Thread Aditya Toshniwal
Hi,

Please review the attached patch to fix failing API test case.

On Mon, Oct 11, 2021 at 5:44 PM Akshay Joshi 
wrote:

> Thanks, the patch applied.
>
> On Mon, Oct 11, 2021 at 5:14 PM Aditya Toshniwal <
> aditya.toshni...@enterprisedb.com> wrote:
>
>> Hi Hackers,
>>
>> Attached patch will port Backbone based dialogs in ERD to React based
>> using the schema view UI framework. This allows us to use the existing
>> table UI, remove repeated code and enable advanced fields. I have hidden
>> fields from the existing table UI for ERD.
>> Please note, this also fixes #6529.
>>
>> Please review.
>>
>> --
>> Thanks,
>> Aditya Toshniwal
>> pgAdmin Hacker | Software Architect | *edbpostgres.com*
>> 
>> "Don't Complain about Heat, Plant a TREE"
>>
>
>
> --
> *Thanks & Regards*
> *Akshay Joshi*
> *pgAdmin Hacker | Principal Software Architect*
> *EDB Postgres *
>
> *Mobile: +91 976-788-8246*
>


-- 
Thanks,
Aditya Toshniwal
pgAdmin Hacker | Software Architect | *edbpostgres.com*

"Don't Complain about Heat, Plant a TREE"


RM6081.api.patch
Description: Binary data


[pgAdmin][Patch] - Bug #6776 - Label 'Inherits Tables?' is misleading in properties panel.

2021-10-11 Thread Yogesh Mahajan
Hi Team,

Please find the attached patch to change the label for table properties
panel.

Thanks,
Yogesh Mahajan
EnterpriseDB


RM_6776_patch.v1
Description: Binary data