pgAdmin 4 commit: Moved the javascripts of different modules from'temp - Mailing list pgadmin-hackers

From Ashesh Vashi
Subject pgAdmin 4 commit: Moved the javascripts of different modules from'temp
Date
Msg-id E1dahPZ-0003fN-OS@gothos.postgresql.org
Whole thread Raw
List pgadmin-hackers
Moved the javascripts of different modules from 'templates' to 'static' directory.

Moving the javascripts for the following modules:
 - About
 - Browser nodes
 - Dashboard
 - FileManager
 - Vendor/snap.svg
 - Preferences
 - Settings
 - Backup
 - Datagrid
 - Debugger
 - Sqleditor
 - Grant Wizard
 - Import & Export
 - Maintenance
 - Restore and
 - User Management

Branch
------
master

Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=6d5417709cda9af579e067ee91dadef8559d43bf
Author: Surinder Kumar <surinder.kumar@enterprisedb.com>

Modified Files
--------------
web/pgadmin/about/static/js/about.js               |   54 +
web/pgadmin/about/templates/about/about.js         |   54 -
web/pgadmin/browser/server_groups/__init__.py      |    2 +-
.../foreign_servers/__init__.py                    |    8 +
.../foreign_servers/static/js/foreign_server.js    |  184 +
.../foreign_servers/js/foreign_servers.js          |  184 -
.../foreign_servers/user_mapping/__init__.py       |    8 +
.../user_mapping/static/js/user_mapping.js         |  165 +
.../templates/user_mappings/js/user_mappings.js    |  165 -
.../schemas/catalog_objects/columns/__init__.py    |    8 +
.../columns/static/js/catalog_object_column.js     |   71 +
.../js/catalog_object_column.js                    |   71 -
.../databases/schemas/foreign_tables/__init__.py   |    8 +-
.../static/img/coll-foreign_table.png              |  Bin 0 -> 492 bytes
.../foreign_tables/static/img/foreign_table.png    |  Bin 0 -> 563 bytes
.../foreign_tables/static/js/foreign_table.js      |  719 ++
.../foreign_tables/tests/test_foreign_table_add.py |    2 +-
.../tests/test_foreign_table_delete.py             |    2 +-
.../foreign_tables/tests/test_foreign_table_get.py |    2 +-
.../foreign_tables/tests/test_foreign_table_put.py |    2 +-
.../schemas/packages/edbfuncs/__init__.py          |   16 +
.../schemas/packages/edbfuncs/static/js/edbfunc.js |  112 +
.../schemas/packages/edbfuncs/static/js/edbproc.js |   67 +
.../edbfuncs/templates/edbfunc/js/edbfunc.js       |  112 -
.../edbfuncs/templates/edbproc/js/edbproc.js       |   67 -
.../databases/schemas/packages/edbvars/__init__.py |    8 +
.../schemas/packages/edbvars/static/js/edbvar.js   |   70 +
.../packages/edbvars/templates/edbvar/js/edbvar.js |   70 -
.../databases/schemas/tables/column/__init__.py    |    8 +
.../schemas/tables/column/static/js/column.js      |  734 ++
.../tables/column/templates/column/js/column.js    |  734 --
.../schemas/tables/constraints/__init__.py         |    8 +
.../constraints/check_constraint/__init__.py       |   12 +-
.../check_constraint/static/js/check_constraint.js |  235 +
.../check_constraint/js/check_constraint.js        |  235 -
.../tests/test_check_constraint_add.py             |    2 +-
.../tests/test_check_constraint_delete.py          |    2 +-
.../tests/test_check_constraint_get.py             |    2 +-
.../tests/test_check_constraint_put.py             |    2 +-
.../constraints/exclusion_constraint/__init__.py   |    8 +
.../static/js/exclusion_constraint.js              |  951 +++
.../js/exclusion_constraint.js                     |  949 ---
.../tables/constraints/foreign_key/__init__.py     |    8 +
.../foreign_key/static/js/foreign_key.js           | 1102 +++
.../templates/foreign_key/js/foreign_key.js        | 1100 ---
.../constraints/index_constraint/__init__.py       |    8 +
.../index_constraint/js/index_constraint.js        |  569 --
.../tables/constraints/static/js/constraints.js    |   56 +
.../templates/constraints/js/constraints.js        |   56 -
.../databases/schemas/tables/indexes/__init__.py   |    8 +
.../schemas/tables/indexes/static/js/index.js      |  515 ++
.../tables/indexes/templates/index/js/index.js     |  515 --
.../databases/schemas/tables/rules/__init__.py     |    8 +
.../schemas/tables/rules/static/js/rule.js         |  274 +
.../tables/rules/templates/rules/js/rules.js       |  274 -
.../databases/schemas/tables/triggers/__init__.py  |    8 +
.../schemas/tables/triggers/static/js/trigger.js   |  634 ++
.../triggers/templates/trigger/js/trigger.js       |  634 --
.../servers/resource_groups/__init__.py            |    9 +
.../resource_groups/static/js/resource_group.js    |  126 +
.../resource_groups/js/resource_groups.js          |  126 -
.../server_groups/servers/roles/__init__.py        |    8 +
.../server_groups/servers/roles/static/js/role.js  |  564 ++
.../servers/roles/templates/role/js/role.js        |  564 --
.../server_groups/servers/static/js/server.js      |    8 +-
.../server_groups/servers/tablespaces/__init__.py  |    8 +
.../servers/tablespaces/static/js/tablespace.js    |  406 +
.../templates/tablespaces/js/tablespaces.js        |  406 -
.../server_groups/static/img/server_group.png      |  Bin 0 -> 504 bytes
.../server_groups/static/js/server-group.js        |   82 -
.../server_groups/static/js/server_group.js        |   82 +
.../browser/server_groups/tests/test_sg_get.py     |    2 +-
web/pgadmin/browser/static/js/browser.js           | 2004 +++++
web/pgadmin/browser/static/js/collection.js        |  176 +
web/pgadmin/browser/static/js/error.js             |   45 +
web/pgadmin/browser/static/js/node.js              | 1578 ++++
.../browser/templates/browser/js/browser.js        | 2004 -----
.../browser/templates/browser/js/collection.js     |  176 -
web/pgadmin/browser/templates/browser/js/error.js  |   45 -
web/pgadmin/browser/templates/browser/js/node.js   | 1572 ----
web/pgadmin/dashboard/static/js/dashboard.js       | 1120 +++
.../dashboard/templates/dashboard/js/dashboard.js  | 1120 ---
.../misc/file_manager/static/js/file_manager.js    |  680 ++
web/pgadmin/misc/file_manager/static/js/utility.js | 1663 ++++
.../templates/file_manager/js/file_manager.js      |  680 --
.../templates/file_manager/js/utility.js           | 1663 ----
web/pgadmin/misc/static/explain/js/explain.js      |  692 ++
.../static/explain/vendor/snap.svg/snap.svg-min.js |   21 -
.../static/explain/vendor/snap.svg/snap.svg.js     | 8149 --------------------
web/pgadmin/misc/templates/explain/js/explain.js   |  692 --
web/pgadmin/preferences/static/js/preferences.js   |  415 +
.../templates/preferences/preferences.js           |  415 -
web/pgadmin/settings/static/js/settings.js         |   59 +
.../settings/templates/settings/settings.js        |   59 -
web/pgadmin/static/bundle/app.js                   |    4 +-
web/pgadmin/static/bundle/browser.js               |    4 +-
web/pgadmin/static/bundle/codemirror.js            |    2 +-
web/pgadmin/static/js/url_for.js                   |    1 -
web/pgadmin/templates/base.html                    |    1 -
web/pgadmin/tools/backup/static/js/backup.js       |  812 ++
.../tools/backup/templates/backup/js/backup.js     |  812 --
web/pgadmin/tools/datagrid/static/js/datagrid.js   |  536 ++
.../datagrid/templates/datagrid/js/datagrid.js     |  536 --
web/pgadmin/tools/debugger/static/js/debugger.js   |  456 ++
.../tools/debugger/static/js/debugger_ui.js        |  785 ++
web/pgadmin/tools/debugger/static/js/direct.js     | 1699 ++++
.../debugger/templates/debugger/js/debugger.js     |  456 --
.../debugger/templates/debugger/js/debugger_ui.js  |  785 --
.../tools/debugger/templates/debugger/js/direct.js | 1699 ----
.../tools/grant_wizard/static/js/grant_wizard.js   | 1129 +++
.../templates/grant_wizard/js/grant_wizard.js      | 1129 ---
.../tools/import_export/static/js/import_export.js |  542 ++
.../templates/import_export/js/import_export.js    |  542 --
.../tools/maintenance/static/js/maintenance.js     |  434 ++
.../templates/maintenance/js/maintenance.js        |  434 --
web/pgadmin/tools/restore/static/js/restore.js     |  563 ++
.../tools/restore/templates/restore/js/restore.js  |  563 --
web/pgadmin/tools/sqleditor/static/js/sqleditor.js | 3799 +++++++++
.../sqleditor/templates/sqleditor/js/sqleditor.js  | 3797 ---------
.../user_management/static/js/user_management.js   |  642 ++
.../user_management/js/user_management.js          |  642 --
web/webpack.config.js                              |   42 +-
web/webpack.shim.js                                |  195 +-
123 files changed, 27236 insertions(+), 35106 deletions(-)


pgadmin-hackers by date:

Previous
From: Surinder Kumar
Date:
Subject: Re: [pgAdmin4]: Webpacking of static JS/CSS
Next
From: Ashesh Vashi
Date:
Subject: Re: [pgAdmin4]: Webpacking of static JS/CSS