Branch: refs/heads/master Home: https://github.com/phpmyadmin/phpmyadmin Commit: 6f54621b418a68abbed1295cd9f40f4c970c373c https://github.com/phpmyadmin/phpmyadmin/commit/6f54621b418a68abbed1295cd9f4... Author: Maurício Meneghini Fauth mauricio@fauth.dev Date: 2022-11-24 (Thu, 11 November 2022) -03:00
Changed paths: M js/src/ajax.js M js/src/common.js M js/src/functions.js M js/src/main.js M js/src/navigation.js M libraries/classes/Header.php M libraries/classes/Scripts.php M test/classes/HeaderTest.php M webpack.config.cjs
Log Message: ----------- Create a shared.js file for common JS dependencies
Instead of using the Webpack's dependOn setting, uses the splitChunks setting to automatically generate the shared.js file.
As the contents of these shared dependencies are being moved to the shared.js file, the generated file for each dependency is now empty.
Is probably safe to not generate them, but some adjustments are needed for that first. For example, the AJAX's onload and teardown functions expects that some of these files exists.
For now, only dependencies that are loaded for all pages should be added in this shared.js file.
This will facilitate the refactoring of the JS files, but the trade off, at least for now, is that will be a single large file instead of a few medium ones.
Signed-off-by: Maurício Meneghini Fauth mauricio@fauth.dev
Commit: 3ce84326f2faaf8fe39349d43aa202002f8d33d6 https://github.com/phpmyadmin/phpmyadmin/commit/3ce84326f2faaf8fe39349d43aa2... Author: Maurício Meneghini Fauth mauricio@fauth.dev Date: 2022-11-24 (Thu, 11 November 2022) -03:00
Changed paths: M .eslintrc.json M js/src/ajax.js M js/src/config.js M js/src/database/central_columns.js M js/src/database/events.js M js/src/database/multi_table_query.js M js/src/database/operations.js M js/src/database/qbe.js M js/src/database/query_generator.js M js/src/database/routines.js M js/src/database/search.js M js/src/database/structure.js M js/src/database/tracking.js M js/src/database/triggers.js M js/src/designer/database.js M js/src/designer/history.js M js/src/designer/move.js M js/src/designer/page.js M js/src/drag_drop_import.js M js/src/error_report.js M js/src/export.js M js/src/gis_data_editor.js M js/src/import.js M js/src/indexes.js M js/src/main.js M js/src/makegrid.js M js/src/menu_resizer.js M js/src/modules/console.js M js/src/modules/console/config.js M js/src/modules/git-info.js M js/src/multi_column_sort.js M js/src/normalization.js M js/src/page_settings.js M js/src/replication.js M js/src/server/databases.js M js/src/server/privileges.js M js/src/server/status/monitor.js M js/src/server/status/processes.js M js/src/server/status/queries.js M js/src/server/user_groups.js M js/src/server/variables.js M js/src/sql.js M js/src/table/change.js M js/src/table/chart.js M js/src/table/find_replace.js M js/src/table/gis_visualization.js M js/src/table/operations.js M js/src/table/relation.js M js/src/table/select.js M js/src/table/structure.js M js/src/table/tracking.js M js/src/table/zoom_plot_jqplot.js M js/src/transformations/sql_editor.js M js/src/u2f.js M libraries/classes/Header.php M libraries/classes/Plugins/Transformations/Output/Text_Plain_Sql.php M test/classes/HeaderTest.php M webpack.config.cjs
Log Message: ----------- Import the Functions object where possible
Instead of using from the Window global object.
Signed-off-by: Maurício Meneghini Fauth mauricio@fauth.dev
Commit: b2971d618f760fe2019a7098e5a990a946f6799c https://github.com/phpmyadmin/phpmyadmin/commit/b2971d618f760fe2019a7098e5a9... Author: Maurício Meneghini Fauth mauricio@fauth.dev Date: 2022-11-24 (Thu, 11 November 2022) -03:00
Changed paths: M js/src/database/central_columns.js M js/src/database/events.js M js/src/database/multi_table_query.js M js/src/database/operations.js M js/src/database/qbe.js M js/src/database/routines.js M js/src/database/search.js M js/src/database/structure.js M js/src/database/tracking.js M js/src/database/triggers.js M js/src/designer/history.js M js/src/designer/init.js M js/src/designer/move.js M js/src/drag_drop_import.js M js/src/error_report.js M js/src/export.js M js/src/export_output.js M js/src/gis_data_editor.js M js/src/home.js M js/src/import.js M js/src/indexes.js M js/src/makegrid.js M js/src/modules/console.js M js/src/multi_column_sort.js M js/src/normalization.js M js/src/replication.js M js/src/server/databases.js M js/src/server/plugins.js M js/src/server/privileges.js M js/src/server/status/monitor.js M js/src/server/status/processes.js M js/src/server/status/queries.js M js/src/server/status/variables.js M js/src/server/user_groups.js M js/src/server/variables.js M js/src/sql.js M js/src/table/change.js M js/src/table/chart.js M js/src/table/find_replace.js M js/src/table/gis_visualization.js M js/src/table/operations.js M js/src/table/relation.js M js/src/table/select.js M js/src/table/structure.js M js/src/table/tracking.js M js/src/table/zoom_plot_jqplot.js M js/src/transformations/image_upload.js M js/src/transformations/json.js M js/src/transformations/json_editor.js M js/src/transformations/sql_editor.js M js/src/transformations/xml.js M js/src/transformations/xml_editor.js M js/src/u2f.js M libraries/classes/Header.php M libraries/classes/Scripts.php M test/classes/HeaderTest.php M webpack.config.cjs
Log Message: ----------- Import the AJAX object where possible
Signed-off-by: Maurício Meneghini Fauth mauricio@fauth.dev
Commit: 363a353ea7d19de82db0e647262a9de0ec49820f https://github.com/phpmyadmin/phpmyadmin/commit/363a353ea7d19de82db0e647262a... Author: Maurício Meneghini Fauth mauricio@fauth.dev Date: 2022-11-24 (Thu, 11 November 2022) -03:00
Changed paths: M .eslintrc.json M js/src/ajax.js M js/src/common.js M js/src/config.js M js/src/database/central_columns.js M js/src/database/events.js M js/src/database/multi_table_query.js M js/src/database/operations.js M js/src/database/qbe.js M js/src/database/query_generator.js M js/src/database/routines.js M js/src/database/search.js M js/src/database/structure.js M js/src/database/tracking.js M js/src/database/triggers.js M js/src/designer/database.js M js/src/designer/history.js M js/src/designer/init.js M js/src/designer/move.js M js/src/designer/page.js M js/src/drag_drop_import.js M js/src/error_report.js M js/src/export.js M js/src/export_output.js M js/src/functions.js M js/src/gis_data_editor.js M js/src/home.js M js/src/import.js M js/src/indexes.js M js/src/main.js M js/src/makegrid.js M js/src/menu_resizer.js M js/src/modules/console.js M js/src/modules/console/config.js M js/src/modules/git-info.js M js/src/multi_column_sort.js M js/src/navigation.js M js/src/normalization.js M js/src/page_settings.js M js/src/replication.js M js/src/server/databases.js M js/src/server/plugins.js M js/src/server/privileges.js M js/src/server/status/monitor.js M js/src/server/status/processes.js M js/src/server/status/queries.js M js/src/server/status/variables.js M js/src/server/user_groups.js M js/src/server/variables.js M js/src/sql.js M js/src/table/change.js M js/src/table/chart.js M js/src/table/find_replace.js M js/src/table/gis_visualization.js M js/src/table/operations.js M js/src/table/relation.js M js/src/table/select.js M js/src/table/structure.js M js/src/table/tracking.js M js/src/table/zoom_plot_jqplot.js M js/src/transformations/image_upload.js M js/src/transformations/json.js M js/src/transformations/json_editor.js M js/src/transformations/sql_editor.js M js/src/transformations/xml.js M js/src/transformations/xml_editor.js M js/src/u2f.js M libraries/classes/Header.php M libraries/classes/Plugins/Transformations/Output/Text_Plain_Sql.php M libraries/classes/Scripts.php M test/classes/HeaderTest.php M webpack.config.cjs
Log Message: ----------- Merge pull request #17919 from MauricioFauth/js-split-chunks
Create a `shared.js` file for common JS dependencies