stable

Clone or download

Read-only

Choose and save Open in a new tab in edit service modal

story #13567 decide that custom services opens in a new tab/window by default How to test: - As project admin or site admin, when editing a custom service (scope != system), you can choose "Open in a new tab" - "Open in iframe" is now deprecated. It will only be shown when the service already used it. - When the service is opened in iframe, it is mutually exclusive with "Open in a new tab". Choosing "Open in a new tab" will disable "Open in iframe" and show a warning message. Change-Id: Id7ce9e4b197cd30e1814036a9dc6827959b53f8f

Modified Files

Name
M .eslintrc.js +3 −6 Go to diff View file
M site-content/fr_FR/LC_MESSAGES/tuleap-core.po +7 −0 Go to diff View file
M src/common/Project/Service.class.php +5 −0 Go to diff View file
M src/common/Project/Service/EditController.php +1 −1 Go to diff View file
M src/common/Project/Service/ServiceJSONPresenter.php +4 −0 Go to diff View file
M src/common/Project/Service/ServicePOSTData.php +12 −1 Go to diff View file
M src/common/Project/Service/ServicePOSTDataBuilder.php +19 −14 Go to diff View file
M src/common/Project/Service/ServiceUpdator.php +3 −2 Go to diff View file
M src/common/Project/Service/ServicesPresenterBuilder.php +1 −0 Go to diff View file
M src/common/dao/ServiceDao.class.php +13 −3 Go to diff View file
R src/www/scripts/tuleap/ckeditor/karma.conf.js Go to diff View file
A src/www/scripts/karma.vue.js +44 −0 Go to diff View file
M src/www/scripts/package-lock.json +16 −0 Go to diff View file
M src/www/scripts/package.json +6 −3 Go to diff View file
A src/www/scripts/project/admin/services/app.spec.js +24 −0 Go to diff View file
M src/www/scripts/project/admin/services/po/fr.po +19 −0 Go to diff View file
A src/www/scripts/project/admin/services/src/components/BaseProjectAdminEditModal.spec.js +90 −0 Go to diff View file
M src/www/scripts/project/admin/services/src/components/BaseProjectAdminEditModal.vue +2 −2 Go to diff View file
A src/www/scripts/project/admin/services/src/components/BaseSiteAdminEditModal.spec.js +90 −0 Go to diff View file
M src/www/scripts/project/admin/services/src/components/BaseSiteAdminEditModal.vue +2 −2 Go to diff View file
A src/www/scripts/project/admin/services/src/components/Service/ProjectDefinedService.spec.js +104 −0 Go to diff View file
M src/www/scripts/project/admin/services/src/components/Service/ProjectDefinedService.vue +88 −6 Go to diff View file
M src/www/scripts/project/admin/services/src/components/edit-modal-mixin.js +4 −0 Go to diff View file
A src/www/scripts/project/admin/services/src/support/local-vue.js +29 −0 Go to diff View file
M src/www/scripts/webpack.config.js +11 −32 Go to diff View file
R src/www/scripts/tuleap/ckeditor/webpack.config.js Go to diff View file
A src/www/scripts/webpack.vue.js +48 −0 Go to diff View file
M tests/phpunit/common/Project/Service/ServicePOSTDataBuilderTest.php +109 −64 Go to diff View file