stable
Clone or download
request #11224 Migrate site-admin scripts to webpack
All scripts under src/ww/scripts/admin have been migrated to webpack in order to remove progressively the usage of globals on the whole plateform (for instance window.tuleap). Scripts relative to charts have been intentionally left ignored because it requires too much changes. Those will be made in a next commit. How to test: - Please check the following pages: + Administration (main page) + Permission delegation + Project list (all projects) + Project history (all projects > details > change history) + User details (all users > details) + All projects + Projects configuration + System events > events + System events > notifications + Mass emailing + Pending trackers removal (need to have pending tv3 removal for this one, js adds a modal for each one, not for TV5) - For each page you have to test that: --> No js error in console --> No 404 not found at scripts loading --> modals can mod --> date pickers can pick dates --> dropdown can drop --> autocomplete users can autocomplete users --> autocomplete projects can autocomplete projects --> select2 can select 2 (and have boxes that can actually box) --> inline filters can filter inline --> And so on Change-Id: I81dbd95400bc871bf3a00a372352aa14035969c2
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/agiledashboard/www/js/kanban/package-lock.json | +2 | −2 | Go to diff View file |
M | src/common/admin/PermissionDelegationController.php | +6 | −1 | Go to diff View file |
M | src/common/admin/PermissionDelegationIndexPresenter.php | +4 | −1 | Go to diff View file |
M | src/templates/admin/permission_delegation/index.mustache | +1 | −3 | Go to diff View file |
M | src/www/admin/approve_pending_users.php | +6 | −1 | Go to diff View file |
M | src/www/admin/grouplist.php | +7 | −1 | Go to diff View file |
M | src/www/admin/index.php | +8 | −2 | Go to diff View file |
M | src/www/admin/lastlogins.php | +8 | −2 | Go to diff View file |
M | src/www/admin/massmail.php | +7 | −2 | Go to diff View file |
M | src/www/admin/project-configuration.php | +8 | −2 | Go to diff View file |
M | src/www/admin/projecthistory.php | +8 | −2 | Go to diff View file |
M | src/www/admin/system_events/index.php | +10 | −2 | Go to diff View file |
M | src/www/admin/system_events/notifications.php | +9 | −2 | Go to diff View file |
M | src/www/admin/usergroup.php | +8 | −2 | Go to diff View file |
M | src/www/scripts/admin/massmail.js | +11 | −5 | Go to diff View file |
M | src/www/scripts/admin/most-recent-logins.js | +10 | −4 | Go to diff View file |
M | src/www/scripts/admin/pending-users.js | +8 | −6 | Go to diff View file |
M | src/www/scripts/admin/permission-delegation.js | +40 | −31 | Go to diff View file |
M | src/www/scripts/admin/project-configuration.js | +9 | −6 | Go to diff View file |
M | src/www/scripts/admin/project-history.js | +20 | −16 | Go to diff View file |
M | src/www/scripts/admin/project-list.js | +7 | −5 | Go to diff View file |
M | src/www/scripts/admin/system-events-admin-homepage.js | +10 | −8 | Go to diff View file |
M | src/www/scripts/admin/system-events-notifications.js | +14 | −10 | Go to diff View file |
M | src/www/scripts/admin/system-events.js | +17 | −14 | Go to diff View file |
M | src/www/scripts/admin/trackers-pending-removal.js | +9 | −7 | Go to diff View file |
M | src/www/scripts/admin/userdetails.js | +9 | −8 | Go to diff View file |
M | src/www/scripts/webpack.config.js | +15 | −3 | Go to diff View file |
M | src/www/tracker/admin/restore.php | +8 | −2 | Go to diff View file |