From 845025db8fff229b3e96ca1961b8b534b7068f31 Mon Sep 17 00:00:00 2001 From: Ashesh Vashi Date: Wed, 9 Aug 2017 08:32:16 +0530 Subject: [PATCH] Some cosmetic changes. - Loading 'pgadmin' as 'sources/pgadmin', as found under the 'sources' reference directory to be consistent with other files. - Removed the 'pgadmin' reference from the base.html template. - Renamed 'pgadmin.slickgrid.editors.js', and 'pgadmin.slickgrid.formatters.js' as 'editors.js', and 'formatters.js' respectively, as they're already in the 'pgadmin/static/js/slickgrid' directory. - Removed the duplicate entry of 'translations' from the webpack.shim.js --- web/pgadmin/about/static/js/about.js | 2 +- .../servers/databases/casts/static/js/cast.js | 2 +- .../databases/event_triggers/static/js/event_trigger.js | 2 +- .../servers/databases/extensions/static/js/extension.js | 2 +- .../foreign_servers/static/js/foreign_server.js | 2 +- .../user_mapping/static/js/user_mapping.js | 2 +- .../static/js/foreign_data_wrapper.js | 2 +- .../servers/databases/languages/static/js/language.js | 2 +- .../columns/static/js/catalog_object_column.js | 2 +- .../schemas/catalog_objects/static/js/catalog_object.js | 2 +- .../databases/schemas/collations/static/js/collation.js | 2 +- .../domain_constraints/static/js/domain_constraints.js | 2 +- .../servers/databases/schemas/domains/static/js/domain.js | 2 +- .../schemas/foreign_tables/static/js/foreign-table.js | 2 +- .../schemas/foreign_tables/static/js/foreign_table.js | 2 +- .../fts_configurations/static/js/fts_configuration.js | 2 +- .../schemas/fts_dictionaries/static/js/fts_dictionary.js | 2 +- .../databases/schemas/fts_parser/static/js/fts_parser.js | 2 +- .../schemas/fts_templates/static/js/fts_template.js | 2 +- .../databases/schemas/functions/static/js/function.js | 2 +- .../databases/schemas/functions/static/js/procedure.js | 2 +- .../schemas/functions/static/js/trigger_function.js | 2 +- .../schemas/packages/edbfuncs/static/js/edbfunc.js | 2 +- .../schemas/packages/edbfuncs/static/js/edbproc.js | 2 +- .../schemas/packages/edbvars/static/js/edbvar.js | 2 +- .../databases/schemas/packages/static/js/package.js | 2 +- .../databases/schemas/sequences/static/js/sequence.js | 2 +- .../servers/databases/schemas/static/js/catalog.js | 2 +- .../servers/databases/schemas/static/js/schema.js | 2 +- .../databases/schemas/synonyms/static/js/synonym.js | 2 +- .../databases/schemas/tables/column/static/js/column.js | 2 +- .../check_constraint/static/js/check_constraint.js | 2 +- .../static/js/exclusion_constraint.js | 2 +- .../constraints/foreign_key/static/js/foreign_key.js | 2 +- .../constraints/index_constraint/static/js/primary_key.js | 2 +- .../index_constraint/static/js/unique_constraint.js | 2 +- .../schemas/tables/constraints/static/js/constraints.js | 2 +- .../databases/schemas/tables/indexes/static/js/index.js | 2 +- .../schemas/tables/partitions/static/js/partition.js | 2 +- .../databases/schemas/tables/rules/static/js/rule.js | 2 +- .../servers/databases/schemas/tables/static/js/table.js | 2 +- .../schemas/tables/triggers/static/js/trigger.js | 2 +- .../servers/databases/schemas/types/static/js/type.js | 2 +- .../servers/databases/schemas/views/static/js/mview.js | 2 +- .../servers/databases/schemas/views/static/js/view.js | 2 +- .../server_groups/servers/databases/static/js/database.js | 2 +- .../servers/pgagent/schedules/static/js/pga_schedule.js | 2 +- .../server_groups/servers/pgagent/static/js/pga_job.js | 2 +- .../servers/pgagent/steps/static/js/pga_jobstep.js | 2 +- .../browser/server_groups/servers/roles/static/js/role.js | 2 +- .../browser/server_groups/servers/static/js/server.js | 2 +- .../browser/server_groups/servers/static/js/variable.js | 2 +- .../servers/tablespaces/static/js/tablespace.js | 2 +- .../browser/server_groups/static/js/server_group.js | 2 +- web/pgadmin/browser/static/js/browser.js | 5 +++-- web/pgadmin/browser/static/js/collection.js | 2 +- web/pgadmin/browser/static/js/datamodel.js | 2 +- web/pgadmin/browser/static/js/error.js | 2 +- web/pgadmin/browser/static/js/frame.js | 2 +- web/pgadmin/browser/static/js/menu.js | 2 +- web/pgadmin/browser/static/js/node.js | 2 +- web/pgadmin/browser/static/js/node.ui.js | 2 +- web/pgadmin/browser/static/js/panel.js | 2 +- web/pgadmin/browser/static/js/wizard.js | 2 +- web/pgadmin/browser/templates/browser/js/messages.js | 2 +- web/pgadmin/browser/templates/browser/js/utils.js | 4 ++-- web/pgadmin/dashboard/static/js/dashboard.js | 2 +- web/pgadmin/misc/bgprocess/static/js/bgprocess.js | 2 +- web/pgadmin/misc/static/explain/js/explain.js | 2 +- web/pgadmin/preferences/static/js/preferences.js | 2 +- web/pgadmin/settings/static/js/settings.js | 2 +- web/pgadmin/static/bundle/app.js | 2 +- .../js/slickgrid/{slick.pgadmin.editors.js => editors.js} | 0 .../{slick.pgadmin.formatters.js => formatters.js} | 0 web/pgadmin/templates/base.html | 1 - web/pgadmin/tools/datagrid/static/js/datagrid.js | 2 +- web/pgadmin/tools/debugger/static/js/debugger.js | 2 +- web/pgadmin/tools/debugger/static/js/debugger_ui.js | 2 +- web/pgadmin/tools/debugger/static/js/direct.js | 2 +- .../tools/import_export/static/js/import_export.js | 2 +- web/pgadmin/tools/maintenance/static/js/maintenance.js | 2 +- web/pgadmin/tools/sqleditor/static/js/sqleditor.js | 2 +- web/webpack.shim.js | 8 ++++---- 83 files changed, 86 insertions(+), 86 deletions(-) rename web/pgadmin/static/js/slickgrid/{slick.pgadmin.editors.js => editors.js} (100%) rename web/pgadmin/static/js/slickgrid/{slick.pgadmin.formatters.js => formatters.js} (100%) diff --git a/web/pgadmin/about/static/js/about.js b/web/pgadmin/about/static/js/about.js index a746d0f5c..c692ae1cd 100644 --- a/web/pgadmin/about/static/js/about.js +++ b/web/pgadmin/about/static/js/about.js @@ -1,5 +1,5 @@ define( - ['jquery', 'alertify', 'pgadmin', 'underscore.string', 'sources/gettext', + ['jquery', 'alertify', 'sources/pgadmin', 'underscore.string', 'sources/gettext', 'sources/url_for' ], function($, alertify, pgAdmin, S, gettext, url_for) { diff --git a/web/pgadmin/browser/server_groups/servers/databases/casts/static/js/cast.js b/web/pgadmin/browser/server_groups/servers/databases/casts/static/js/cast.js index 057c0cf21..09868dc2b 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/casts/static/js/cast.js +++ b/web/pgadmin/browser/server_groups/servers/databases/casts/static/js/cast.js @@ -1,5 +1,5 @@ define('pgadmin.node.cast', [ - 'sources/gettext', 'sources/url_for', 'jquery', 'underscore', 'underscore.string', 'pgadmin', + 'sources/gettext', 'sources/url_for', 'jquery', 'underscore', 'underscore.string', 'sources/pgadmin', 'pgadmin.browser', 'pgadmin.alertifyjs', 'pgadmin.browser.collection' ], function(gettext, url_for, $, _, S, pgAdmin, pgBrowser, alertify) { // Extend the collection class for cast diff --git a/web/pgadmin/browser/server_groups/servers/databases/event_triggers/static/js/event_trigger.js b/web/pgadmin/browser/server_groups/servers/databases/event_triggers/static/js/event_trigger.js index 7ceee0370..5decd4350 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/event_triggers/static/js/event_trigger.js +++ b/web/pgadmin/browser/server_groups/servers/databases/event_triggers/static/js/event_trigger.js @@ -1,6 +1,6 @@ define('pgadmin.node.event_trigger', [ 'sources/gettext', 'sources/url_for', 'jquery', 'underscore', - 'underscore.string', 'pgadmin', 'pgadmin.browser', 'alertify', + 'underscore.string', 'sources/pgadmin', 'pgadmin.browser', 'alertify', 'pgadmin.browser.collection' ], function(gettext, url_for, $, _, S, pgAdmin, pgBrowser, alertify) { diff --git a/web/pgadmin/browser/server_groups/servers/databases/extensions/static/js/extension.js b/web/pgadmin/browser/server_groups/servers/databases/extensions/static/js/extension.js index 7b3d6b957..1d222280f 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/extensions/static/js/extension.js +++ b/web/pgadmin/browser/server_groups/servers/databases/extensions/static/js/extension.js @@ -1,6 +1,6 @@ define('pgadmin.node.extension', [ 'sources/gettext', 'sources/url_for', 'jquery', 'underscore', - 'underscore.string', 'pgadmin', 'pgadmin.browser', + 'underscore.string', 'sources/pgadmin', 'pgadmin.browser', 'pgadmin.browser.collection' ], function(gettext, url_for, $, _, S, pgAdmin, pgBrowser) { diff --git a/web/pgadmin/browser/server_groups/servers/databases/foreign_data_wrappers/foreign_servers/static/js/foreign_server.js b/web/pgadmin/browser/server_groups/servers/databases/foreign_data_wrappers/foreign_servers/static/js/foreign_server.js index 52cf4e906..594b8f891 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/foreign_data_wrappers/foreign_servers/static/js/foreign_server.js +++ b/web/pgadmin/browser/server_groups/servers/databases/foreign_data_wrappers/foreign_servers/static/js/foreign_server.js @@ -1,5 +1,5 @@ define('pgadmin.node.foreign_server', [ - 'sources/gettext', 'jquery', 'underscore', 'underscore.string', 'pgadmin', + 'sources/gettext', 'jquery', 'underscore', 'underscore.string', 'sources/pgadmin', 'pgadmin.browser', 'alertify', 'pgadmin.browser.collection', 'pgadmin.browser.server.privilege' ], function(gettext, $, _, S, pgAdmin, pgBrowser, alertify) { diff --git a/web/pgadmin/browser/server_groups/servers/databases/foreign_data_wrappers/foreign_servers/user_mapping/static/js/user_mapping.js b/web/pgadmin/browser/server_groups/servers/databases/foreign_data_wrappers/foreign_servers/user_mapping/static/js/user_mapping.js index 7895ce17d..bbfeb84b6 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/foreign_data_wrappers/foreign_servers/user_mapping/static/js/user_mapping.js +++ b/web/pgadmin/browser/server_groups/servers/databases/foreign_data_wrappers/foreign_servers/user_mapping/static/js/user_mapping.js @@ -1,5 +1,5 @@ define('pgadmin.node.user_mapping', [ - 'sources/gettext', 'sources/url_for', 'jquery', 'underscore', 'underscore.string', 'pgadmin', + 'sources/gettext', 'sources/url_for', 'jquery', 'underscore', 'underscore.string', 'sources/pgadmin', 'pgadmin.browser', 'alertify', 'pgadmin.browser.collection' ], function(gettext, url_for, $, _, S, pgAdmin, pgBrowser, alertify) { diff --git a/web/pgadmin/browser/server_groups/servers/databases/foreign_data_wrappers/static/js/foreign_data_wrapper.js b/web/pgadmin/browser/server_groups/servers/databases/foreign_data_wrappers/static/js/foreign_data_wrapper.js index 981c0b2e4..35fb7bcda 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/foreign_data_wrappers/static/js/foreign_data_wrapper.js +++ b/web/pgadmin/browser/server_groups/servers/databases/foreign_data_wrappers/static/js/foreign_data_wrapper.js @@ -1,6 +1,6 @@ define('pgadmin.node.foreign_data_wrapper', [ 'sources/gettext', 'sources/url_for', 'jquery', 'underscore', - 'underscore.string', 'pgadmin', 'pgadmin.browser', 'alertify', + 'underscore.string', 'sources/pgadmin', 'pgadmin.browser', 'alertify', 'pgadmin.browser.collection', 'pgadmin.browser.server.privilege' ], function(gettext, url_for, $, _, S, pgAdmin, pgBrowser, alertify) { diff --git a/web/pgadmin/browser/server_groups/servers/databases/languages/static/js/language.js b/web/pgadmin/browser/server_groups/servers/databases/languages/static/js/language.js index 835d7498d..b31b712dc 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/languages/static/js/language.js +++ b/web/pgadmin/browser/server_groups/servers/databases/languages/static/js/language.js @@ -1,6 +1,6 @@ define('pgadmin.node.language', [ 'sources/gettext', 'sources/url_for', 'jquery', 'underscore', - 'underscore.string', 'pgadmin', 'pgadmin.browser', 'alertify', + 'underscore.string', 'sources/pgadmin', 'pgadmin.browser', 'alertify', 'pgadmin.browser.collection', 'pgadmin.browser.server.privilege' ], function(gettext, url_for, $, _, S, pgAdmin, pgBrowser, alertify) { diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/catalog_objects/columns/static/js/catalog_object_column.js b/web/pgadmin/browser/server_groups/servers/databases/schemas/catalog_objects/columns/static/js/catalog_object_column.js index b51385761..4518505d2 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/catalog_objects/columns/static/js/catalog_object_column.js +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/catalog_objects/columns/static/js/catalog_object_column.js @@ -1,5 +1,5 @@ define('pgadmin.node.catalog_object_column', [ - 'sources/gettext', 'jquery', 'underscore', 'underscore.string', 'pgadmin', + 'sources/gettext', 'jquery', 'underscore', 'underscore.string', 'sources/pgadmin', 'pgadmin.browser', 'alertify', 'pgadmin.browser.collection' ], function(gettext, $, _, S, pgAdmin, pgBrowser, alertify) { diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/catalog_objects/static/js/catalog_object.js b/web/pgadmin/browser/server_groups/servers/databases/schemas/catalog_objects/static/js/catalog_object.js index d9e49feb5..dd94fffda 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/catalog_objects/static/js/catalog_object.js +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/catalog_objects/static/js/catalog_object.js @@ -1,5 +1,5 @@ define('pgadmin.node.catalog_object', [ - 'sources/gettext', 'jquery', 'underscore', 'underscore.string', 'pgadmin', + 'sources/gettext', 'jquery', 'underscore', 'underscore.string', 'sources/pgadmin', 'pgadmin.browser', 'alertify', 'pgadmin.browser.collection' ], function(gettext, $, _, S, pgAdmin, pgBrowser, alertify) { diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/collations/static/js/collation.js b/web/pgadmin/browser/server_groups/servers/databases/schemas/collations/static/js/collation.js index d0784ba72..fb05cbc31 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/collations/static/js/collation.js +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/collations/static/js/collation.js @@ -1,6 +1,6 @@ define('pgadmin.node.collation', [ 'sources/gettext', 'sources/url_for', 'jquery', 'underscore', - 'underscore.string', 'pgadmin', 'pgadmin.browser', 'alertify', + 'underscore.string', 'sources/pgadmin', 'pgadmin.browser', 'alertify', 'pgadmin.browser.collection' ], function(gettext, url_for, $, _, S, pgAdmin, pgBrowser, alertify) { diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/domains/domain_constraints/static/js/domain_constraints.js b/web/pgadmin/browser/server_groups/servers/databases/schemas/domains/domain_constraints/static/js/domain_constraints.js index 61d0553f0..932b7bc2f 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/domains/domain_constraints/static/js/domain_constraints.js +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/domains/domain_constraints/static/js/domain_constraints.js @@ -1,7 +1,7 @@ // Domain Constraint Module: Collection and Node define('pgadmin.node.domain_constraints', [ 'sources/gettext', 'sources/url_for', 'jquery', 'underscore', - 'underscore.string', 'pgadmin', 'pgadmin.browser', 'alertify', + 'underscore.string', 'sources/pgadmin', 'pgadmin.browser', 'alertify', 'pgadmin.browser.collection' ], function(gettext, url_for, $, _, S, pgAdmin, pgBrowser, alertify) { diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/domains/static/js/domain.js b/web/pgadmin/browser/server_groups/servers/databases/schemas/domains/static/js/domain.js index b3b092a62..ca12b5131 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/domains/static/js/domain.js +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/domains/static/js/domain.js @@ -1,6 +1,6 @@ // Domain Module: Collection and Node. define('pgadmin.node.domain', [ - 'sources/gettext', 'sources/url_for', 'jquery', 'underscore', 'underscore.string', 'pgadmin', + 'sources/gettext', 'sources/url_for', 'jquery', 'underscore', 'underscore.string', 'sources/pgadmin', 'pgadmin.browser', 'alertify', 'pgadmin.browser.collection' ], function(gettext, url_for, $, _, S, pgAdmin, pgBrowser, alertify) { diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/foreign_tables/static/js/foreign-table.js b/web/pgadmin/browser/server_groups/servers/databases/schemas/foreign_tables/static/js/foreign-table.js index 8796c7810..1c366830c 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/foreign_tables/static/js/foreign-table.js +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/foreign_tables/static/js/foreign-table.js @@ -1,7 +1,7 @@ /* Create and Register Foreign Table Collection and Node. */ define('pgadmin.node.foreign-table', [ 'sources/gettext', 'sources/url_for', 'jquery', 'underscore', - 'underscore.string', 'pgadmin', 'pgadmin.browser', 'alertify', + 'underscore.string', 'sources/pgadmin', 'pgadmin.browser', 'alertify', 'pgadmin.browser.collection' ], function(gettext, url_for, $, _, S, pgAdmin, pgBrowser, alertify) { diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/foreign_tables/static/js/foreign_table.js b/web/pgadmin/browser/server_groups/servers/databases/schemas/foreign_tables/static/js/foreign_table.js index 32d5072c7..6daa210bc 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/foreign_tables/static/js/foreign_table.js +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/foreign_tables/static/js/foreign_table.js @@ -1,7 +1,7 @@ /* Create and Register Foreign Table Collection and Node. */ define('pgadmin.node.foreign_table', [ 'sources/gettext', 'sources/url_for', 'jquery', 'underscore', - 'underscore.string', 'pgadmin', 'pgadmin.browser', 'alertify', + 'underscore.string', 'sources/pgadmin', 'pgadmin.browser', 'alertify', 'pgadmin.browser.collection' ], function(gettext, url_for, $, _, S, pgAdmin, pgBrowser, alertify) { diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/fts_configurations/static/js/fts_configuration.js b/web/pgadmin/browser/server_groups/servers/databases/schemas/fts_configurations/static/js/fts_configuration.js index a7d36f427..911fc2ef5 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/fts_configurations/static/js/fts_configuration.js +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/fts_configurations/static/js/fts_configuration.js @@ -1,6 +1,6 @@ define('pgadmin.node.fts_configuration', [ 'sources/gettext', 'sources/url_for', 'jquery', 'underscore', - 'underscore.string', 'pgadmin', 'pgadmin.browser', 'alertify', + 'underscore.string', 'sources/pgadmin', 'pgadmin.browser', 'alertify', 'pgadmin.browser.collection' ], function(gettext, url_for, $, _, S, pgAdmin, pgBrowser, alertify) { diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/fts_dictionaries/static/js/fts_dictionary.js b/web/pgadmin/browser/server_groups/servers/databases/schemas/fts_dictionaries/static/js/fts_dictionary.js index 9f799dd4f..04649bc65 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/fts_dictionaries/static/js/fts_dictionary.js +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/fts_dictionaries/static/js/fts_dictionary.js @@ -1,6 +1,6 @@ define('pgadmin.node.fts_dictionary', [ 'sources/gettext', 'sources/url_for', 'jquery', 'underscore', - 'underscore.string', 'pgadmin', 'pgadmin.browser', 'alertify', + 'underscore.string', 'sources/pgadmin', 'pgadmin.browser', 'alertify', 'pgadmin.browser.collection' ], function(gettext, url_for, $, _, S, pgAdmin, pgBrowser, alertify) { diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/fts_parser/static/js/fts_parser.js b/web/pgadmin/browser/server_groups/servers/databases/schemas/fts_parser/static/js/fts_parser.js index d16140278..0f1d787ff 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/fts_parser/static/js/fts_parser.js +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/fts_parser/static/js/fts_parser.js @@ -1,6 +1,6 @@ define('pgadmin.node.fts_parser', [ 'sources/gettext', 'sources/url_for', 'jquery', 'underscore', - 'underscore.string', 'pgadmin', 'pgadmin.browser', 'alertify', + 'underscore.string', 'sources/pgadmin', 'pgadmin.browser', 'alertify', 'pgadmin.browser.collection' ], function(gettext, url_for, $, _, S, pgAdmin, pgBrowser, alertify) { diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/fts_templates/static/js/fts_template.js b/web/pgadmin/browser/server_groups/servers/databases/schemas/fts_templates/static/js/fts_template.js index b97a4db2a..853b99243 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/fts_templates/static/js/fts_template.js +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/fts_templates/static/js/fts_template.js @@ -1,6 +1,6 @@ define('pgadmin.node.fts_template', [ 'sources/gettext', 'sources/url_for', 'jquery', 'underscore', - 'underscore.string', 'pgadmin', 'pgadmin.browser', 'alertify', + 'underscore.string', 'sources/pgadmin', 'pgadmin.browser', 'alertify', 'pgadmin.browser.collection' ], function(gettext, url_for, $, _, S, pgAdmin, pgBrowser, alertify) { diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/functions/static/js/function.js b/web/pgadmin/browser/server_groups/servers/databases/schemas/functions/static/js/function.js index 416504ae3..a1e2d22a9 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/functions/static/js/function.js +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/functions/static/js/function.js @@ -1,7 +1,7 @@ /* Create and Register Function Collection and Node. */ define('pgadmin.node.function', [ 'sources/gettext', 'sources/url_for', 'jquery', 'underscore', - 'underscore.string', 'pgadmin', 'pgadmin.browser', 'alertify', + 'underscore.string', 'sources/pgadmin', 'pgadmin.browser', 'alertify', 'pgadmin.browser.collection', 'pgadmin.browser.server.privilege' ], function(gettext, url_for, $, _, S, pgAdmin, pgBrowser, alertify) { diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/functions/static/js/procedure.js b/web/pgadmin/browser/server_groups/servers/databases/schemas/functions/static/js/procedure.js index 89a1fe310..17801de25 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/functions/static/js/procedure.js +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/functions/static/js/procedure.js @@ -1,7 +1,7 @@ /* Create and Register Procedure Collection and Node. */ define('pgadmin.node.procedure', [ 'sources/gettext', 'sources/url_for', 'jquery', 'underscore', - 'underscore.string', 'pgadmin', 'pgadmin.browser', 'alertify', + 'underscore.string', 'sources/pgadmin', 'pgadmin.browser', 'alertify', 'pgadmin.node.function', 'pgadmin.browser.collection', 'pgadmin.browser.server.privilege' ], function(gettext, url_for, $, _, S, pgAdmin, pgBrowser, alertify, Function) { diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/functions/static/js/trigger_function.js b/web/pgadmin/browser/server_groups/servers/databases/schemas/functions/static/js/trigger_function.js index c6c9d2f9b..9a9f68f53 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/functions/static/js/trigger_function.js +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/functions/static/js/trigger_function.js @@ -1,7 +1,7 @@ /* Create and Register Function Collection and Node. */ define('pgadmin.node.trigger_function', [ 'sources/gettext', 'sources/url_for', 'jquery', 'underscore', - 'underscore.string', 'pgadmin', 'pgadmin.browser', 'alertify', + 'underscore.string', 'sources/pgadmin', 'pgadmin.browser', 'alertify', 'pgadmin.browser.collection', 'pgadmin.browser.server.privilege' ], function(gettext, url_for, $, _, S, pgAdmin, pgBrowser, alertify) { diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/packages/edbfuncs/static/js/edbfunc.js b/web/pgadmin/browser/server_groups/servers/databases/schemas/packages/edbfuncs/static/js/edbfunc.js index 7ea2b3978..c9b20b89d 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/packages/edbfuncs/static/js/edbfunc.js +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/packages/edbfuncs/static/js/edbfunc.js @@ -1,7 +1,7 @@ /* Create and Register Function Collection and Node. */ define('pgadmin.node.edbfunc', [ 'sources/gettext', 'sources/url_for', 'jquery', 'underscore', - 'underscore.string', 'pgadmin', 'pgadmin.browser', 'alertify', + 'underscore.string', 'sources/pgadmin', 'pgadmin.browser', 'alertify', 'pgadmin.browser.collection', 'pgadmin.browser.server.privilege' ], function(gettext, url_for, $, _, S, pgAdmin, pgBrowser, alertify) { diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/packages/edbfuncs/static/js/edbproc.js b/web/pgadmin/browser/server_groups/servers/databases/schemas/packages/edbfuncs/static/js/edbproc.js index c13b92671..cb37acff3 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/packages/edbfuncs/static/js/edbproc.js +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/packages/edbfuncs/static/js/edbproc.js @@ -1,7 +1,7 @@ /* Create and Register Procedure Collection and Node. */ define('pgadmin.node.edbproc', [ 'sources/gettext', 'sources/url_for', 'jquery', 'underscore', - 'underscore.string', 'pgadmin', 'pgadmin.browser', 'alertify', + 'underscore.string', 'sources/pgadmin', 'pgadmin.browser', 'alertify', 'pgadmin.node.edbfunc', 'pgadmin.browser.collection', 'pgadmin.browser.server.privilege' ], function( diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/packages/edbvars/static/js/edbvar.js b/web/pgadmin/browser/server_groups/servers/databases/schemas/packages/edbvars/static/js/edbvar.js index 1933326d5..fb77a2cee 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/packages/edbvars/static/js/edbvar.js +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/packages/edbvars/static/js/edbvar.js @@ -1,7 +1,7 @@ /* Create and Register Function Collection and Node. */ define('pgadmin.node.edbvar', [ 'sources/gettext', 'sources/url_for', 'jquery', 'underscore', - 'underscore.string', 'pgadmin', 'pgadmin.browser', 'alertify', + 'underscore.string', 'sources/pgadmin', 'pgadmin.browser', 'alertify', 'pgadmin.browser.collection', 'pgadmin.browser.server.privilege' ], function(gettext, url_for, $, _, S, pgAdmin, pgBrowser, alertify) { diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/packages/static/js/package.js b/web/pgadmin/browser/server_groups/servers/databases/schemas/packages/static/js/package.js index 0e055f603..ba7930957 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/packages/static/js/package.js +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/packages/static/js/package.js @@ -1,6 +1,6 @@ define('pgadmin.node.package', [ 'sources/gettext', 'sources/url_for', 'jquery', 'underscore', - 'underscore.string', 'pgadmin', 'pgadmin.browser', 'alertify', + 'underscore.string', 'sources/pgadmin', 'pgadmin.browser', 'alertify', 'pgadmin.browser.collection' ], function(gettext, url_for, $, _, S, pgAdmin, pgBrowser, alertify) { diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/sequences/static/js/sequence.js b/web/pgadmin/browser/server_groups/servers/databases/schemas/sequences/static/js/sequence.js index 361116100..65e73e969 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/sequences/static/js/sequence.js +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/sequences/static/js/sequence.js @@ -1,6 +1,6 @@ define('pgadmin.node.sequence', [ 'sources/gettext', 'sources/url_for', 'jquery', 'underscore', - 'underscore.string', 'pgadmin', 'pgadmin.browser', 'alertify', + 'underscore.string', 'sources/pgadmin', 'pgadmin.browser', 'alertify', 'pgadmin.browser.collection' ], function(gettext, url_for, $, _, S, pgAdmin, pgBrowser, alertify) { diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/static/js/catalog.js b/web/pgadmin/browser/server_groups/servers/databases/schemas/static/js/catalog.js index bc72c6bc7..ec771e251 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/static/js/catalog.js +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/static/js/catalog.js @@ -1,5 +1,5 @@ define('pgadmin.node.catalog', [ - 'sources/gettext', 'jquery', 'underscore', 'underscore.string', 'pgadmin', + 'sources/gettext', 'jquery', 'underscore', 'underscore.string', 'sources/pgadmin', 'pgadmin.browser', 'backform', 'alertify', 'pgadmin.browser.collection' ], function(gettext, $, _, S, pgAdmin, pgBrowser, Backform, alertify) { diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/static/js/schema.js b/web/pgadmin/browser/server_groups/servers/databases/schemas/static/js/schema.js index 07d97a225..f2f4d5a74 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/static/js/schema.js +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/static/js/schema.js @@ -1,6 +1,6 @@ define('pgadmin.node.schema', [ 'sources/gettext', 'sources/url_for', 'jquery', 'underscore', - 'underscore.string', 'pgadmin', 'pgadmin.browser', 'backform', 'alertify', + 'underscore.string', 'sources/pgadmin', 'pgadmin.browser', 'backform', 'alertify', 'pgadmin.browser.collection', 'pgadmin.browser.server.privilege' ], function(gettext, url_for, $, _, S, pgAdmin, pgBrowser, Backform, alertify) { diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/synonyms/static/js/synonym.js b/web/pgadmin/browser/server_groups/servers/databases/schemas/synonyms/static/js/synonym.js index 2e1984ad4..b4cdb6f0a 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/synonyms/static/js/synonym.js +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/synonyms/static/js/synonym.js @@ -1,6 +1,6 @@ define('pgadmin.node.synonym', [ 'sources/gettext', 'sources/url_for', 'jquery', 'underscore', - 'underscore.string', 'pgadmin', 'pgadmin.browser', 'pgadmin.alertifyjs', + 'underscore.string', 'sources/pgadmin', 'pgadmin.browser', 'pgadmin.alertifyjs', 'pgadmin.browser.collection' ], function(gettext, url_for, $, _, S, pgAdmin, pgBrowser, alertify) { diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/column/static/js/column.js b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/column/static/js/column.js index 10737e0a2..236b143e9 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/column/static/js/column.js +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/column/static/js/column.js @@ -1,6 +1,6 @@ define('pgadmin.node.column', [ 'sources/gettext', 'sources/url_for', 'jquery', 'underscore', - 'underscore.string', 'pgadmin', 'pgadmin.browser', 'backform', 'alertify', + 'underscore.string', 'sources/pgadmin', 'pgadmin.browser', 'backform', 'alertify', 'pgadmin.browser.collection' ], function(gettext, url_for, $, _, S, pgAdmin, pgBrowser, Backform, alertify) { diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/constraints/check_constraint/static/js/check_constraint.js b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/constraints/check_constraint/static/js/check_constraint.js index 0bd9e2cd3..fe56aa28c 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/constraints/check_constraint/static/js/check_constraint.js +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/constraints/check_constraint/static/js/check_constraint.js @@ -1,7 +1,7 @@ // Check Constraint Module: Node define('pgadmin.node.check_constraint', [ 'sources/gettext', 'sources/url_for', 'jquery', 'underscore', - 'underscore.string', 'pgadmin', 'pgadmin.browser', 'pgadmin.alertifyjs', + 'underscore.string', 'sources/pgadmin', 'pgadmin.browser', 'pgadmin.alertifyjs', 'pgadmin.browser.collection' ], function(gettext, url_for, $, _, S, pgAdmin, pgBrowser, alertify) { diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/constraints/exclusion_constraint/static/js/exclusion_constraint.js b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/constraints/exclusion_constraint/static/js/exclusion_constraint.js index 065b6096d..16294466e 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/constraints/exclusion_constraint/static/js/exclusion_constraint.js +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/constraints/exclusion_constraint/static/js/exclusion_constraint.js @@ -1,6 +1,6 @@ define('pgadmin.node.exclusion_constraint', [ 'sources/gettext', 'sources/url_for', 'jquery', 'underscore', - 'underscore.string', 'pgadmin', 'pgadmin.browser', 'alertify', + 'underscore.string', 'sources/pgadmin', 'pgadmin.browser', 'alertify', 'pgadmin.browser.collection' ], function(gettext, url_for, $, _, S, pgAdmin, pgBrowser, Alertify) { diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/constraints/foreign_key/static/js/foreign_key.js b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/constraints/foreign_key/static/js/foreign_key.js index ae75d5e8f..fc56c47d6 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/constraints/foreign_key/static/js/foreign_key.js +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/constraints/foreign_key/static/js/foreign_key.js @@ -1,6 +1,6 @@ define('pgadmin.node.foreign_key', [ 'sources/gettext', 'sources/url_for', 'jquery', 'underscore', - 'underscore.string', 'pgadmin', 'pgadmin.browser', 'pgadmin.alertifyjs', + 'underscore.string', 'sources/pgadmin', 'pgadmin.browser', 'pgadmin.alertifyjs', 'pgadmin.browser.collection' ], function(gettext, url_for, $, _, S, pgAdmin, pgBrowser, alertify) { diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/constraints/index_constraint/static/js/primary_key.js b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/constraints/index_constraint/static/js/primary_key.js index 8bac41a77..a212d8eca 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/constraints/index_constraint/static/js/primary_key.js +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/constraints/index_constraint/static/js/primary_key.js @@ -1,6 +1,6 @@ define('pgadmin.node.primary_key', [ 'sources/gettext', 'sources/url_for', 'jquery', 'underscore', - 'underscore.string', 'pgadmin', 'pgadmin.browser', 'alertify', + 'underscore.string', 'sources/pgadmin', 'pgadmin.browser', 'alertify', 'pgadmin.browser.collection' ], function(gettext, url_for, $, _, S, pgAdmin, pgBrowser, alertify) { diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/constraints/index_constraint/static/js/unique_constraint.js b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/constraints/index_constraint/static/js/unique_constraint.js index b5c94ed47..0413f2dfc 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/constraints/index_constraint/static/js/unique_constraint.js +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/constraints/index_constraint/static/js/unique_constraint.js @@ -1,6 +1,6 @@ define('pgadmin.node.unique_constraint', [ 'sources/gettext', 'sources/url_for', 'jquery', 'underscore', - 'underscore.string', 'pgadmin', 'pgadmin.browser', 'alertify', + 'underscore.string', 'sources/pgadmin', 'pgadmin.browser', 'alertify', 'pgadmin.browser.collection' ], function(gettext, url_for, $, _, S, pgAdmin, pgBrowser, alertify) { diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/constraints/static/js/constraints.js b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/constraints/static/js/constraints.js index dc38bbae0..eaf7e9a64 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/constraints/static/js/constraints.js +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/constraints/static/js/constraints.js @@ -1,5 +1,5 @@ define('pgadmin.node.constraints', [ - 'sources/gettext', 'jquery', 'underscore', 'underscore.string', 'pgadmin', + 'sources/gettext', 'jquery', 'underscore', 'underscore.string', 'sources/pgadmin', 'pgadmin.browser', 'pgadmin.browser.collection', 'pgadmin.node.unique_constraint', 'pgadmin.node.check_constraint', 'pgadmin.node.foreign_key', 'pgadmin.node.exclusion_constraint', 'pgadmin.node.primary_key' diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/indexes/static/js/index.js b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/indexes/static/js/index.js index 0bb2d40fa..41d8a70d6 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/indexes/static/js/index.js +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/indexes/static/js/index.js @@ -1,6 +1,6 @@ define('pgadmin.node.index', [ 'sources/gettext', 'sources/url_for', 'jquery', 'underscore', - 'underscore.string', 'pgadmin', 'pgadmin.browser', 'backform', 'alertify', + 'underscore.string', 'sources/pgadmin', 'pgadmin.browser', 'backform', 'alertify', 'pgadmin.browser.collection' ], function(gettext, url_for, $, _, S, pgAdmin, pgBrowser, Backform, alertify) { diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/partitions/static/js/partition.js b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/partitions/static/js/partition.js index 50e8f0be3..747582ed2 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/partitions/static/js/partition.js +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/partitions/static/js/partition.js @@ -1,6 +1,6 @@ define([ 'sources/gettext', 'sources/url_for', 'jquery', 'underscore', - 'underscore.string', 'pgadmin', 'pgadmin.browser', 'backform', 'pgadmin.alertifyjs', + 'underscore.string', 'sources/pgadmin', 'pgadmin.browser', 'backform', 'pgadmin.alertifyjs', 'pgadmin.browser.collection', 'pgadmin.browser.table.partition.utils' ], function(gettext, url_for, $, _, S, pgAdmin, pgBrowser, Backform, alertify) { diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/rules/static/js/rule.js b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/rules/static/js/rule.js index 19fcad2e6..0ad895761 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/rules/static/js/rule.js +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/rules/static/js/rule.js @@ -1,6 +1,6 @@ define('pgadmin.node.rule', [ 'sources/gettext', 'sources/url_for', 'jquery', 'underscore', - 'underscore.string', 'pgadmin', 'pgadmin.browser', 'codemirror' + 'underscore.string', 'sources/pgadmin', 'pgadmin.browser', 'codemirror' ], function(gettext, url_for, $, _, S, pgAdmin, pgBrowser, CodeMirror) { /** diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/static/js/table.js b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/static/js/table.js index 75e0de608..eefb2f061 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/static/js/table.js +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/static/js/table.js @@ -1,6 +1,6 @@ define('pgadmin.node.table', [ 'sources/gettext', 'sources/url_for', 'jquery', 'underscore', - 'underscore.string', 'pgadmin', 'pgadmin.browser', 'pgadmin.alertifyjs', + 'underscore.string', 'sources/pgadmin', 'pgadmin.browser', 'pgadmin.alertifyjs', 'pgadmin.browser.collection', 'pgadmin.node.column', 'pgadmin.node.constraints', 'pgadmin.browser.table.partition.utils' ], function( diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/triggers/static/js/trigger.js b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/triggers/static/js/trigger.js index 188578a45..4fa8e5a43 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/triggers/static/js/trigger.js +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/triggers/static/js/trigger.js @@ -1,6 +1,6 @@ define('pgadmin.node.trigger', [ 'sources/gettext', 'sources/url_for', 'jquery', 'underscore', - 'underscore.string', 'pgadmin', 'pgadmin.browser', 'backform', 'pgadmin.alertifyjs', + 'underscore.string', 'sources/pgadmin', 'pgadmin.browser', 'backform', 'pgadmin.alertifyjs', 'pgadmin.browser.collection' ], function(gettext, url_for, $, _, S, pgAdmin, pgBrowser, Backform, alertify) { diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/types/static/js/type.js b/web/pgadmin/browser/server_groups/servers/databases/schemas/types/static/js/type.js index 0a0491a98..aac5b6346 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/types/static/js/type.js +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/types/static/js/type.js @@ -1,6 +1,6 @@ define('pgadmin.node.type', [ 'sources/gettext', 'sources/url_for', 'jquery', 'underscore', - 'underscore.string', 'pgadmin', 'pgadmin.browser', 'alertify', 'backgrid', + 'underscore.string', 'sources/pgadmin', 'pgadmin.browser', 'alertify', 'backgrid', 'pgadmin.backgrid', 'pgadmin.browser.collection' ], function(gettext, url_for, $, _, S, pgAdmin, pgBrowser, alertify, Backgrid) { diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/views/static/js/mview.js b/web/pgadmin/browser/server_groups/servers/databases/schemas/views/static/js/mview.js index f3439e0b3..9cbc01107 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/views/static/js/mview.js +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/views/static/js/mview.js @@ -1,6 +1,6 @@ define('pgadmin.node.mview', [ 'sources/gettext', 'sources/url_for', 'jquery', 'underscore', - 'underscore.string', 'pgadmin', 'pgadmin.alertifyjs', 'pgadmin.browser', 'codemirror', + 'underscore.string', 'sources/pgadmin', 'pgadmin.alertifyjs', 'pgadmin.browser', 'codemirror', 'pgadmin.browser.server.privilege' ], function(gettext, url_for, $, _, S, pgAdmin, alertify, pgBrowser, CodeMirror) { diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/views/static/js/view.js b/web/pgadmin/browser/server_groups/servers/databases/schemas/views/static/js/view.js index d6c794e67..c1885318f 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/views/static/js/view.js +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/views/static/js/view.js @@ -1,6 +1,6 @@ define('pgadmin.node.view', [ 'sources/gettext', - 'sources/url_for', 'jquery', 'underscore', 'underscore.string', 'pgadmin', + 'sources/url_for', 'jquery', 'underscore', 'underscore.string', 'sources/pgadmin', 'pgadmin.browser', 'codemirror', 'pgadmin.browser.server.privilege', 'pgadmin.node.rule' ], function(gettext, url_for, $, _, S, pgAdmin, pgBrowser, CodeMirror) { diff --git a/web/pgadmin/browser/server_groups/servers/databases/static/js/database.js b/web/pgadmin/browser/server_groups/servers/databases/static/js/database.js index e8fe62c11..a1bf689dc 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/static/js/database.js +++ b/web/pgadmin/browser/server_groups/servers/databases/static/js/database.js @@ -1,6 +1,6 @@ define('pgadmin.node.database', [ 'sources/gettext', 'sources/url_for', 'jquery', 'underscore', - 'underscore.string', 'pgadmin', 'pgadmin.browser.utils', 'pgadmin.alertifyjs', + 'underscore.string', 'sources/pgadmin', 'pgadmin.browser.utils', 'pgadmin.alertifyjs', 'pgadmin.browser.collection', 'pgadmin.browser.server.privilege', 'pgadmin.browser.server.variable' ], function(gettext, url_for, $, _, S, pgAdmin, pgBrowser, Alertify) { diff --git a/web/pgadmin/browser/server_groups/servers/pgagent/schedules/static/js/pga_schedule.js b/web/pgadmin/browser/server_groups/servers/pgagent/schedules/static/js/pga_schedule.js index 60cf5003d..c045ec557 100644 --- a/web/pgadmin/browser/server_groups/servers/pgagent/schedules/static/js/pga_schedule.js +++ b/web/pgadmin/browser/server_groups/servers/pgagent/schedules/static/js/pga_schedule.js @@ -1,6 +1,6 @@ define('pgadmin.node.pga_schedule', [ 'sources/gettext', 'sources/url_for', 'jquery', 'underscore', - 'underscore.string', 'pgadmin', 'moment', 'pgadmin.browser', 'alertify', + 'underscore.string', 'sources/pgadmin', 'moment', 'pgadmin.browser', 'alertify', 'backform', 'pgadmin.backform' ], function(gettext, url_for, $, _, S, pgAdmin, moment, pgBrowser, Alertify, Backform) { diff --git a/web/pgadmin/browser/server_groups/servers/pgagent/static/js/pga_job.js b/web/pgadmin/browser/server_groups/servers/pgagent/static/js/pga_job.js index 9bb6b37f1..e11e6ab96 100644 --- a/web/pgadmin/browser/server_groups/servers/pgagent/static/js/pga_job.js +++ b/web/pgadmin/browser/server_groups/servers/pgagent/static/js/pga_job.js @@ -1,6 +1,6 @@ define('pgadmin.node.pga_job', [ 'sources/gettext', 'sources/url_for', 'jquery', 'underscore', - 'underscore.string', 'pgadmin', 'pgadmin.browser', 'pgadmin.alertifyjs', + 'underscore.string', 'sources/pgadmin', 'pgadmin.browser', 'pgadmin.alertifyjs', 'pgadmin.node.pga_jobstep', 'pgadmin.node.pga_schedule' ], function(gettext, url_for, $, _, S, pgAdmin, pgBrowser, alertify) { diff --git a/web/pgadmin/browser/server_groups/servers/pgagent/steps/static/js/pga_jobstep.js b/web/pgadmin/browser/server_groups/servers/pgagent/steps/static/js/pga_jobstep.js index baabda68a..1a9653d63 100644 --- a/web/pgadmin/browser/server_groups/servers/pgagent/steps/static/js/pga_jobstep.js +++ b/web/pgadmin/browser/server_groups/servers/pgagent/steps/static/js/pga_jobstep.js @@ -1,6 +1,6 @@ define('pgadmin.node.pga_jobstep', [ 'sources/gettext', 'sources/url_for', 'jquery', 'underscore', - 'underscore.string', 'pgadmin', 'pgadmin.browser', 'alertify', 'backform', + 'underscore.string', 'sources/pgadmin', 'pgadmin.browser', 'alertify', 'backform', 'pgadmin.backform' ], function(gettext, url_for, $, _, S, pgAdmin, pgBrowser, Alertify, Backform) { diff --git a/web/pgadmin/browser/server_groups/servers/roles/static/js/role.js b/web/pgadmin/browser/server_groups/servers/roles/static/js/role.js index fd3f85fe5..86c62c099 100644 --- a/web/pgadmin/browser/server_groups/servers/roles/static/js/role.js +++ b/web/pgadmin/browser/server_groups/servers/roles/static/js/role.js @@ -1,6 +1,6 @@ define('pgadmin.node.role', [ 'sources/gettext', 'sources/url_for', 'jquery', 'underscore', - 'underscore.string', 'pgadmin', 'pgadmin.browser', 'alertify', + 'underscore.string', 'sources/pgadmin', 'pgadmin.browser', 'alertify', 'pgadmin.backform', 'select2', 'pgadmin.browser.collection', 'pgadmin.browser.node.ui', 'pgadmin.browser.server.variable' ], function(gettext, url_for, $, _, S, pgAdmin, pgBrowser, alertify, Backform) { diff --git a/web/pgadmin/browser/server_groups/servers/static/js/server.js b/web/pgadmin/browser/server_groups/servers/static/js/server.js index 2d62d2f55..ea25ab866 100644 --- a/web/pgadmin/browser/server_groups/servers/static/js/server.js +++ b/web/pgadmin/browser/server_groups/servers/static/js/server.js @@ -1,6 +1,6 @@ define('pgadmin.node.server', [ 'sources/gettext', 'sources/url_for', 'jquery', 'underscore', - 'underscore.string', 'pgadmin', 'pgadmin.browser', + 'underscore.string', 'sources/pgadmin', 'pgadmin.browser', 'pgadmin.server.supported_servers', 'pgadmin.user_management.current_user', 'pgadmin.alertifyjs', 'pgadmin.browser.server.privilege' diff --git a/web/pgadmin/browser/server_groups/servers/static/js/variable.js b/web/pgadmin/browser/server_groups/servers/static/js/variable.js index a02ba62a0..28d490d3a 100644 --- a/web/pgadmin/browser/server_groups/servers/static/js/variable.js +++ b/web/pgadmin/browser/server_groups/servers/static/js/variable.js @@ -1,6 +1,6 @@ define([ 'underscore', 'jquery', 'backbone', 'backform', 'backgrid', 'alertify', - 'pgadmin', 'pgadmin.browser.node', 'pgadmin.browser.node.ui' + 'sources/pgadmin', 'pgadmin.browser.node', 'pgadmin.browser.node.ui' ], function(_, $, Backbone, Backform, Backgrid, Alertify, pgAdmin, pgNode) { diff --git a/web/pgadmin/browser/server_groups/servers/tablespaces/static/js/tablespace.js b/web/pgadmin/browser/server_groups/servers/tablespaces/static/js/tablespace.js index c8fb5328d..e08568ed9 100644 --- a/web/pgadmin/browser/server_groups/servers/tablespaces/static/js/tablespace.js +++ b/web/pgadmin/browser/server_groups/servers/tablespaces/static/js/tablespace.js @@ -1,6 +1,6 @@ define('pgadmin.node.tablespace', [ 'sources/gettext', 'sources/url_for', 'jquery', 'underscore', - 'underscore.string', 'pgadmin', 'pgadmin.browser', 'pgadmin.alertifyjs', + 'underscore.string', 'sources/pgadmin', 'pgadmin.browser', 'pgadmin.alertifyjs', 'pgadmin.browser.collection', 'pgadmin.browser.node.ui', 'pgadmin.browser.server.privilege' ], function(gettext, url_for, $, _, S, pgAdmin, pgBrowser, alertify) { diff --git a/web/pgadmin/browser/server_groups/static/js/server_group.js b/web/pgadmin/browser/server_groups/static/js/server_group.js index d09908427..0ef9b35ea 100644 --- a/web/pgadmin/browser/server_groups/static/js/server_group.js +++ b/web/pgadmin/browser/server_groups/static/js/server_group.js @@ -1,5 +1,5 @@ define('pgadmin.node.server_group', [ - 'sources/gettext', 'sources/url_for', 'jquery', 'underscore', 'pgadmin', + 'sources/gettext', 'sources/url_for', 'jquery', 'underscore', 'sources/pgadmin', 'backbone', 'pgadmin.browser', 'pgadmin.browser.node' ], function(gettext, url_for, $, _, pgAdmin, Backbone) { diff --git a/web/pgadmin/browser/static/js/browser.js b/web/pgadmin/browser/static/js/browser.js index 45939b001..69a0e512a 100644 --- a/web/pgadmin/browser/static/js/browser.js +++ b/web/pgadmin/browser/static/js/browser.js @@ -1,13 +1,14 @@ define( 'pgadmin.browser', [ 'sources/gettext', 'sources/url_for', 'require', 'jquery', 'underscore', 'underscore.string', - 'bootstrap', 'pgadmin', 'pgadmin.alertifyjs', 'bundled_codemirror', + 'bootstrap', 'sources/pgadmin', 'pgadmin.alertifyjs', 'bundled_codemirror', 'sources/check_node_visibility', 'pgadmin.browser.utils', 'wcdocker', 'jquery.contextmenu', 'jquery.aciplugin', 'jquery.acitree', 'pgadmin.browser.messages', 'pgadmin.browser.menu', 'pgadmin.browser.panel', 'pgadmin.browser.error', 'pgadmin.browser.frame', - 'pgadmin.browser.node', 'pgadmin.browser.collection' + 'pgadmin.browser.node', 'pgadmin.browser.collection', + 'sources/codemirror/addon/fold/pgadmin-sqlfoldcode' ], function( gettext, url_for, require, $, _, S, Bootstrap, pgAdmin, Alertify, codemirror, checkNodeVisibility diff --git a/web/pgadmin/browser/static/js/collection.js b/web/pgadmin/browser/static/js/collection.js index 72570c75e..f97edcc02 100644 --- a/web/pgadmin/browser/static/js/collection.js +++ b/web/pgadmin/browser/static/js/collection.js @@ -1,5 +1,5 @@ define([ - 'sources/gettext', 'jquery', 'underscore', 'underscore.string', 'pgadmin', + 'sources/gettext', 'jquery', 'underscore', 'underscore.string', 'sources/pgadmin', 'backbone', 'alertify', 'backform', 'backgrid', 'pgadmin.backform', 'pgadmin.backgrid', 'pgadmin.browser.node' ], function(gettext, $, _, S, pgAdmin, Backbone, Alertify, Backform, Backgrid) { diff --git a/web/pgadmin/browser/static/js/datamodel.js b/web/pgadmin/browser/static/js/datamodel.js index e47ce95b0..c7c5dd63b 100644 --- a/web/pgadmin/browser/static/js/datamodel.js +++ b/web/pgadmin/browser/static/js/datamodel.js @@ -1,5 +1,5 @@ define( - ['underscore', 'underscore.string', 'pgadmin', 'jquery', 'backbone'], + ['underscore', 'underscore.string', 'sources/pgadmin', 'jquery', 'backbone'], function(_, S, pgAdmin, $, Backbone) { var pgBrowser = pgAdmin.Browser = pgAdmin.Browser || {}; diff --git a/web/pgadmin/browser/static/js/error.js b/web/pgadmin/browser/static/js/error.js index 7f845af67..ed29590dc 100644 --- a/web/pgadmin/browser/static/js/error.js +++ b/web/pgadmin/browser/static/js/error.js @@ -1,5 +1,5 @@ define( - ['sources/gettext', 'underscore', 'alertify', 'pgadmin'], + ['sources/gettext', 'underscore', 'alertify', 'sources/pgadmin'], function(gettext, _, alertify, pgAdmin) { pgAdmin.Browser = pgAdmin.Browser || {}; diff --git a/web/pgadmin/browser/static/js/frame.js b/web/pgadmin/browser/static/js/frame.js index e658cd910..1431033df 100644 --- a/web/pgadmin/browser/static/js/frame.js +++ b/web/pgadmin/browser/static/js/frame.js @@ -1,5 +1,5 @@ define( - ['underscore', 'pgadmin', 'wcdocker'], + ['underscore', 'sources/pgadmin', 'wcdocker'], function(_, pgAdmin) { var pgBrowser = pgAdmin.Browser = pgAdmin.Browser || {}; diff --git a/web/pgadmin/browser/static/js/menu.js b/web/pgadmin/browser/static/js/menu.js index 5c248c0c2..d51e8b6c2 100644 --- a/web/pgadmin/browser/static/js/menu.js +++ b/web/pgadmin/browser/static/js/menu.js @@ -1,5 +1,5 @@ define( - ['underscore', 'underscore.string', 'pgadmin', 'jquery'], + ['underscore', 'underscore.string', 'sources/pgadmin', 'jquery'], function(_, S, pgAdmin, $) { 'use strict'; diff --git a/web/pgadmin/browser/static/js/node.js b/web/pgadmin/browser/static/js/node.js index 9db85332f..f501d020a 100644 --- a/web/pgadmin/browser/static/js/node.js +++ b/web/pgadmin/browser/static/js/node.js @@ -1,6 +1,6 @@ define( 'pgadmin.browser.node', [ - 'sources/gettext', 'jquery', 'underscore', 'underscore.string', 'pgadmin', + 'sources/gettext', 'jquery', 'underscore', 'underscore.string', 'sources/pgadmin', 'pgadmin.browser.menu', 'backbone', 'pgadmin.alertifyjs', 'pgadmin.browser.datamodel', 'backform', 'pgadmin.browser.utils', 'pgadmin.backform' ], function(gettext, $, _, S, pgAdmin, Menu, Backbone, Alertify, pgBrowser, Backform) { diff --git a/web/pgadmin/browser/static/js/node.ui.js b/web/pgadmin/browser/static/js/node.ui.js index 0831c1b98..a1dbf18b0 100644 --- a/web/pgadmin/browser/static/js/node.ui.js +++ b/web/pgadmin/browser/static/js/node.ui.js @@ -1,5 +1,5 @@ define([ - 'sources/gettext', 'jquery', 'underscore', 'pgadmin', 'backbone', 'backform', + 'sources/gettext', 'jquery', 'underscore', 'sources/pgadmin', 'backbone', 'backform', 'alertify', 'backgrid', 'select2', 'pgadmin.browser.node' ], function(gettext, $, _, pgAdmin, Backbone, Backform, Alertify, Backgrid) { diff --git a/web/pgadmin/browser/static/js/panel.js b/web/pgadmin/browser/static/js/panel.js index 20f865db0..3a9f22d47 100644 --- a/web/pgadmin/browser/static/js/panel.js +++ b/web/pgadmin/browser/static/js/panel.js @@ -1,5 +1,5 @@ define( - ['underscore', 'pgadmin', 'wcdocker'], + ['underscore', 'sources/pgadmin', 'wcdocker'], function(_, pgAdmin) { var pgBrowser = pgAdmin.Browser = pgAdmin.Browser || {}; diff --git a/web/pgadmin/browser/static/js/wizard.js b/web/pgadmin/browser/static/js/wizard.js index 0becb2d55..f1b805f2c 100644 --- a/web/pgadmin/browser/static/js/wizard.js +++ b/web/pgadmin/browser/static/js/wizard.js @@ -1,5 +1,5 @@ define( - ['underscore', 'backbone', 'pgadmin', 'pgadmin.browser'], + ['underscore', 'backbone', 'sources/pgadmin', 'pgadmin.browser'], function(_, Backbone, pgAdmin, pgBrowser) { pgBrowser = pgBrowser || pgAdmin.Browser || {}; diff --git a/web/pgadmin/browser/templates/browser/js/messages.js b/web/pgadmin/browser/templates/browser/js/messages.js index ab501873f..8d8affbaf 100644 --- a/web/pgadmin/browser/templates/browser/js/messages.js +++ b/web/pgadmin/browser/templates/browser/js/messages.js @@ -1,6 +1,6 @@ define( 'pgadmin.browser.messages', - ['sources/gettext', 'pgadmin'], + ['sources/gettext', 'sources/pgadmin'], function(gettext, pgAdmin) { var pgBrowser = pgAdmin.Browser = pgAdmin.Browser || {}; diff --git a/web/pgadmin/browser/templates/browser/js/utils.js b/web/pgadmin/browser/templates/browser/js/utils.js index 2e595125d..06e6ef358 100644 --- a/web/pgadmin/browser/templates/browser/js/utils.js +++ b/web/pgadmin/browser/templates/browser/js/utils.js @@ -1,5 +1,5 @@ define('pgadmin.browser.utils', - ['pgadmin'], function(pgAdmin) { + ['sources/pgadmin'], function(pgAdmin) { var pgBrowser = pgAdmin.Browser = pgAdmin.Browser || {}; @@ -85,4 +85,4 @@ define('pgadmin.browser.utils', } }; return pgBrowser; -}); \ No newline at end of file +}); diff --git a/web/pgadmin/dashboard/static/js/dashboard.js b/web/pgadmin/dashboard/static/js/dashboard.js index 86ebe38a8..25be024c8 100644 --- a/web/pgadmin/dashboard/static/js/dashboard.js +++ b/web/pgadmin/dashboard/static/js/dashboard.js @@ -1,6 +1,6 @@ define('pgadmin.dashboard', [ 'sources/url_for', 'sources/gettext', 'require', 'jquery', 'underscore', - 'pgadmin', 'backbone', 'backgrid', 'flotr2', + 'sources/pgadmin', 'backbone', 'backgrid', 'flotr2', 'pgadmin.alertifyjs', 'backgrid.filter', 'pgadmin.browser', 'bootstrap', 'wcdocker' ], diff --git a/web/pgadmin/misc/bgprocess/static/js/bgprocess.js b/web/pgadmin/misc/bgprocess/static/js/bgprocess.js index 12271fbd1..a4506b518 100644 --- a/web/pgadmin/misc/bgprocess/static/js/bgprocess.js +++ b/web/pgadmin/misc/bgprocess/static/js/bgprocess.js @@ -1,5 +1,5 @@ define('misc.bgprocess', [ - 'pgadmin', 'sources/gettext', 'sources/url_for', 'underscore', + 'sources/pgadmin', 'sources/gettext', 'sources/url_for', 'underscore', 'underscore.string', 'jquery', 'pgadmin.browser', 'alertify', 'pgadmin.browser.messages' ], function( diff --git a/web/pgadmin/misc/static/explain/js/explain.js b/web/pgadmin/misc/static/explain/js/explain.js index 76acb8bdf..e7754f7c2 100644 --- a/web/pgadmin/misc/static/explain/js/explain.js +++ b/web/pgadmin/misc/static/explain/js/explain.js @@ -1,6 +1,6 @@ define ( 'pgadmin.misc.explain', - ['sources/url_for', 'jquery', 'underscore', 'underscore.string', 'pgadmin', 'backbone', 'snapsvg'], + ['sources/url_for', 'jquery', 'underscore', 'underscore.string', 'sources/pgadmin', 'backbone', 'snapsvg'], function(url_for, $, _, S, pgAdmin, Backbone, Snap) { pgAdmin = pgAdmin || window.pgAdmin || {}; diff --git a/web/pgadmin/preferences/static/js/preferences.js b/web/pgadmin/preferences/static/js/preferences.js index c785fbb5c..d9c1d237c 100644 --- a/web/pgadmin/preferences/static/js/preferences.js +++ b/web/pgadmin/preferences/static/js/preferences.js @@ -1,6 +1,6 @@ define('pgadmin.preferences', [ 'sources/gettext', 'sources/url_for', 'jquery', 'underscore', 'alertify', - 'pgadmin', 'backform', 'pgadmin.browser', 'pgadmin.backform' + 'sources/pgadmin', 'backform', 'pgadmin.browser', 'pgadmin.backform' ], function(gettext, url_for, $, _, alertify, pgAdmin, Backform, pgBrowser) { // This defines the Preference/Options Dialog for pgAdmin IV. pgAdmin = pgAdmin || window.pgAdmin || {}; diff --git a/web/pgadmin/settings/static/js/settings.js b/web/pgadmin/settings/static/js/settings.js index 989de7f80..2194955cc 100644 --- a/web/pgadmin/settings/static/js/settings.js +++ b/web/pgadmin/settings/static/js/settings.js @@ -1,6 +1,6 @@ define('pgadmin.settings', [ - 'jquery', 'alertify', 'pgadmin', 'underscore', 'backform', + 'jquery', 'alertify', 'sources/pgadmin', 'underscore', 'backform', 'sources/gettext', 'sources/url_for', 'pgadmin.backform' ], // This defines the Preference/Options Dialog for pgAdmin IV. diff --git a/web/pgadmin/static/bundle/app.js b/web/pgadmin/static/bundle/app.js index a8c9e07d3..9df103bee 100644 --- a/web/pgadmin/static/bundle/app.js +++ b/web/pgadmin/static/bundle/app.js @@ -1,5 +1,5 @@ define('app', [ - 'babel-polyfill', 'pgadmin', 'bundled_browser', 'pgadmin.datagrid' + 'babel-polyfill', 'sources/pgadmin', 'bundled_browser', 'pgadmin.datagrid' ], function() { var initializeModules = function(Object) { for (var key in Object) { diff --git a/web/pgadmin/static/js/slickgrid/slick.pgadmin.editors.js b/web/pgadmin/static/js/slickgrid/editors.js similarity index 100% rename from web/pgadmin/static/js/slickgrid/slick.pgadmin.editors.js rename to web/pgadmin/static/js/slickgrid/editors.js diff --git a/web/pgadmin/static/js/slickgrid/slick.pgadmin.formatters.js b/web/pgadmin/static/js/slickgrid/formatters.js similarity index 100% rename from web/pgadmin/static/js/slickgrid/slick.pgadmin.formatters.js rename to web/pgadmin/static/js/slickgrid/formatters.js diff --git a/web/pgadmin/templates/base.html b/web/pgadmin/templates/base.html index 142ab0bab..c7a61742b 100755 --- a/web/pgadmin/templates/base.html +++ b/web/pgadmin/templates/base.html @@ -36,7 +36,6 @@ waitSeconds: 0, shim: {}, paths: { - pgadmin: "{{ url_for('static', filename='js/pgadmin') }}", sources: "{{ url_for('static', filename='js') }}", slickgrid: "{{ url_for('static', filename='js/generated/slickgrid') }}", codemirror: "{{ url_for('static', filename='js/generated/codemirror') }}", diff --git a/web/pgadmin/tools/datagrid/static/js/datagrid.js b/web/pgadmin/tools/datagrid/static/js/datagrid.js index ff7171748..bd2ed345c 100644 --- a/web/pgadmin/tools/datagrid/static/js/datagrid.js +++ b/web/pgadmin/tools/datagrid/static/js/datagrid.js @@ -1,5 +1,5 @@ define('pgadmin.datagrid', [ - 'sources/gettext', 'sources/url_for', 'jquery', 'underscore', 'alertify', 'pgadmin', + 'sources/gettext', 'sources/url_for', 'jquery', 'underscore', 'alertify', 'sources/pgadmin', 'bundled_codemirror', 'sources/sqleditor_utils', 'wcdocker' ], function(gettext, url_for, $, _, alertify, pgAdmin, CodeMirror, sqlEditorUtils) { diff --git a/web/pgadmin/tools/debugger/static/js/debugger.js b/web/pgadmin/tools/debugger/static/js/debugger.js index b791b2ccf..f087f8816 100644 --- a/web/pgadmin/tools/debugger/static/js/debugger.js +++ b/web/pgadmin/tools/debugger/static/js/debugger.js @@ -1,6 +1,6 @@ define([ 'sources/gettext', 'sources/url_for', 'jquery', 'underscore', 'underscore.string', 'alertify', - 'pgadmin', 'pgadmin.browser', 'backbone', 'backgrid', 'codemirror', + 'sources/pgadmin', 'pgadmin.browser', 'backbone', 'backgrid', 'codemirror', 'backform', 'pgadmin.tools.debugger.ui', 'wcdocker', 'pgadmin.backform', 'pgadmin.backgrid', 'pgadmin.browser.frame' ], function(gettext, url_for, $, _, S, Alertify, pgAdmin, pgBrowser, Backbone, Backgrid, CodeMirror, Backform, get_function_arguments) { diff --git a/web/pgadmin/tools/debugger/static/js/debugger_ui.js b/web/pgadmin/tools/debugger/static/js/debugger_ui.js index 8c7076c5f..dffdd55f6 100644 --- a/web/pgadmin/tools/debugger/static/js/debugger_ui.js +++ b/web/pgadmin/tools/debugger/static/js/debugger_ui.js @@ -1,6 +1,6 @@ define([ 'sources/gettext', 'sources/url_for', 'jquery', 'underscore', 'underscore.string', 'alertify', - 'pgadmin', 'pgadmin.browser', 'backbone', 'backgrid', 'codemirror', + 'sources/pgadmin', 'pgadmin.browser', 'backbone', 'backgrid', 'codemirror', 'backform', 'wcdocker', 'pgadmin.backform', 'pgadmin.backgrid', 'pgadmin.browser.panel' ], function(gettext, url_for, $, _, S, Alertify, pgAdmin, pgBrowser, Backbone, Backgrid, CodeMirror, Backform ) { diff --git a/web/pgadmin/tools/debugger/static/js/direct.js b/web/pgadmin/tools/debugger/static/js/direct.js index dfd2cd17e..6906d0993 100644 --- a/web/pgadmin/tools/debugger/static/js/direct.js +++ b/web/pgadmin/tools/debugger/static/js/direct.js @@ -1,6 +1,6 @@ define([ 'sources/gettext', 'sources/url_for' ,'jquery', 'underscore', 'underscore.string', 'pgadmin.alertifyjs', - 'pgadmin','pgadmin.browser', 'backbone', 'backgrid', 'sources/../bundle/codemirror', 'backform', + 'sources/pgadmin','pgadmin.browser', 'backbone', 'backgrid', 'sources/../bundle/codemirror', 'backform', 'pgadmin.tools.debugger.ui', 'wcdocker', 'pgadmin.backform', 'pgadmin.backgrid' diff --git a/web/pgadmin/tools/import_export/static/js/import_export.js b/web/pgadmin/tools/import_export/static/js/import_export.js index 003bcd6bd..87973e42f 100644 --- a/web/pgadmin/tools/import_export/static/js/import_export.js +++ b/web/pgadmin/tools/import_export/static/js/import_export.js @@ -1,6 +1,6 @@ define([ 'sources/gettext', 'sources/url_for', 'jquery', 'underscore', 'underscore.string', 'pgadmin.alertifyjs', - 'pgadmin', 'pgadmin.browser', 'backbone', 'backgrid', 'backform', + 'sources/pgadmin', 'pgadmin.browser', 'backbone', 'backgrid', 'backform', 'pgadmin.backform', 'pgadmin.backgrid', 'pgadmin.browser.node.ui' ], function( gettext, url_for, $, _, S, Alertify, pgAdmin, pgBrowser, Backbone, Backgrid, Backform diff --git a/web/pgadmin/tools/maintenance/static/js/maintenance.js b/web/pgadmin/tools/maintenance/static/js/maintenance.js index 4b4c69e9a..982c595ae 100644 --- a/web/pgadmin/tools/maintenance/static/js/maintenance.js +++ b/web/pgadmin/tools/maintenance/static/js/maintenance.js @@ -1,6 +1,6 @@ define([ 'sources/gettext', 'sources/url_for', 'jquery', 'underscore', - 'underscore.string', 'pgadmin.alertifyjs', 'pgadmin', 'pgadmin.browser', 'backbone', + 'underscore.string', 'pgadmin.alertifyjs', 'sources/pgadmin', 'pgadmin.browser', 'backbone', 'backgrid', 'backform', 'pgadmin.backform', 'pgadmin.backgrid', 'pgadmin.browser.node.ui' diff --git a/web/pgadmin/tools/sqleditor/static/js/sqleditor.js b/web/pgadmin/tools/sqleditor/static/js/sqleditor.js index 3e61f1043..d34f3f680 100644 --- a/web/pgadmin/tools/sqleditor/static/js/sqleditor.js +++ b/web/pgadmin/tools/sqleditor/static/js/sqleditor.js @@ -1,7 +1,7 @@ define('tools.querytool', [ 'babel-polyfill', 'sources/gettext','sources/url_for', 'jquery', 'underscore', 'underscore.string', 'pgadmin.alertifyjs', - 'pgadmin', 'backbone', 'sources/../bundle/codemirror', + 'sources/pgadmin', 'backbone', 'sources/../bundle/codemirror', 'pgadmin.misc.explain', 'sources/selection/grid_selector', 'sources/selection/active_cell_capture', diff --git a/web/webpack.shim.js b/web/webpack.shim.js index e96216135..f116570d6 100644 --- a/web/webpack.shim.js +++ b/web/webpack.shim.js @@ -120,7 +120,7 @@ var webpackShimConfig = { 'bundled_browser': path.join(__dirname, './pgadmin/static/bundle/browser'), 'sources': path.join(__dirname, './pgadmin/static/js'), 'pgadmin': path.join(__dirname, './pgadmin/static/js/pgadmin'), - 'tools.translations': path.join(__dirname, './pgadmin/tools/templates/js/translations'), + 'translations': path.join(__dirname, './pgadmin/tools/templates/js/translations'), 'sources/gettext': path.join(__dirname, './pgadmin/static/js/gettext'), 'babel-polyfill': path.join(__dirname, './node_modules/babel-polyfill/dist/polyfill'), @@ -137,6 +137,7 @@ var webpackShimConfig = { 'jquery.contextmenu': path.join(__dirname, './node_modules/jquery-contextmenu/dist/jquery.contextMenu'), 'dropzone': path.join(__dirname, './node_modules/dropzone/dist/dropzone'), 'bignumber': path.join(__dirname, './node_modules/bignumber.js/bignumber'), + 'snap.svg': path.join(__dirname, './node_modules/snapsvg/dist/snap.svg'), // AciTree 'jquery.acitree': path.join(__dirname, './node_modules/acitree/js/jquery.aciTree.min'), @@ -175,7 +176,6 @@ var webpackShimConfig = { 'pgadmin.node.catalog': path.join(__dirname, './pgadmin/browser/server_groups/servers/databases/schemas/static/js/catalog'), 'pgadmin.node.role': path.join(__dirname, './pgadmin/browser/server_groups/servers/roles/static/js/role'), 'pgadmin.node.check_constraint': path.join(__dirname, './pgadmin/browser/server_groups/servers/databases/schemas/tables/constraints/check_constraint/static/js/check_constraint'), - 'translations': '/tools/translations', 'pgadmin.node.user_mapping': path.join(__dirname, './pgadmin/browser/server_groups/servers/databases/foreign_data_wrappers/foreign_servers/user_mapping/static/js/user_mapping'), 'pgadmin.browser.messages': '/browser/js/messages', 'pgadmin.node.collation': path.join(__dirname, './pgadmin/browser/server_groups/servers/databases/schemas/collations/static/js/collation'), @@ -202,7 +202,7 @@ var webpackShimConfig = { 'pgadmin.browser.object_sql': path.join(__dirname, './pgadmin/misc/sql/static/js/sql'), 'pgadmin.preferences': path.join(__dirname, './pgadmin/preferences/static/js/preferences'), 'pgadmin.node.domain_constraints': path.join(__dirname, './pgadmin/browser/server_groups/servers/databases/schemas/domains/domain_constraints/static/js/domain_constraints'), - 'slick.pgadmin.formatters': path.join(__dirname, './pgadmin/tools/../static/js/slickgrid/slick.pgadmin.formatters'), + 'slick.pgadmin.formatters': path.join(__dirname, './pgadmin/tools/../static/js/slickgrid/formatters'), 'pgadmin.node.catalog_object': path.join(__dirname, './pgadmin/browser/server_groups/servers/databases/schemas/catalog_objects/static/js/catalog_object'), 'pgadmin.dashboard': path.join(__dirname, './pgadmin/dashboard/static/js/dashboard'), 'pgadmin.node.foreign_data_wrapper': path.join(__dirname, './pgadmin/browser/server_groups/servers/databases/foreign_data_wrappers/static/js/foreign_data_wrapper'), @@ -243,7 +243,7 @@ var webpackShimConfig = { 'pgadmin.node.fts_parser': path.join(__dirname, './pgadmin/browser/server_groups/servers/databases/schemas/fts_parser/static/js/fts_parser'), 'pgadmin.browser.utils': '/browser/js/utils', 'pgadmin.about': path.join(__dirname, './pgadmin/about/static/js/about'), - 'slick.pgadmin.editors': path.join(__dirname, './pgadmin/tools/../static/js/slickgrid/slick.pgadmin.editors'), + 'slick.pgadmin.editors': path.join(__dirname, './pgadmin/tools/../static/js/slickgrid/editors'), 'pgadmin.node.column': path.join(__dirname, './pgadmin/browser/server_groups/servers/databases/schemas/tables/column/static/js/column'), 'pgadmin.node.foreign_table': path.join(__dirname, './pgadmin/browser/server_groups/servers/databases/schemas/foreign_tables/static/js/foreign_table'), 'pgadmin.node.fts_dictionary': path.join(__dirname, './pgadmin/browser/server_groups/servers/databases/schemas/fts_dictionaries/static/js/fts_dictionary'),