stable

Clone or download

Read-only

Delete OAuth2 App

Part of story #14541 have OAuth2 project admin How to test: - build plugin assets - Go in project administration - "Delete" buttons on each OAuth2 app are no longer disabled. They open a confirmation modal. - When you confirm the modal, the app is deleted. Note: Access token revocation and other backend operations will be added at a later time. Change-Id: I449bd0903821706c7424d1653ed10b61a1e5d2a1

Modified Files

Name
M plugins/oauth2_server/build-manifest.json +7 −1 Go to diff View file
M plugins/oauth2_server/include/App/AppDao.php +14 −6 Go to diff View file
A plugins/oauth2_server/include/App/AppFactory.php +49 −0 Go to diff View file
A plugins/oauth2_server/include/App/OAuth2App.php +59 −0 Go to diff View file
M plugins/oauth2_server/include/ProjectAdmin/AddAppController.php +2 −5 Go to diff View file
M plugins/oauth2_server/include/ProjectAdmin/AppPresenter.php +4 −1 Go to diff View file
A plugins/oauth2_server/include/ProjectAdmin/DeleteAppController.php +100 −0 Go to diff View file
M plugins/oauth2_server/include/ProjectAdmin/ProjectAdminPresenter.php +3 −0 Go to diff View file
M plugins/oauth2_server/include/ProjectAdmin/ProjectAdminPresenterBuilder.php +11 −10 Go to diff View file
M plugins/oauth2_server/include/oauth2_serverPlugin.php +9 −0 Go to diff View file
R plugins/oauth2_server/scripts/project-administration.ts Go to diff View file
M plugins/oauth2_server/package-lock.json +15 −1 Go to diff View file
M plugins/oauth2_server/package.json +8 −1 Go to diff View file
A plugins/oauth2_server/phpunit/App/AppFactoryTest.php +66 −0 Go to diff View file
M plugins/oauth2_server/phpunit/ProjectAdmin/AddAppControllerTest.php +16 −48 Go to diff View file
A plugins/oauth2_server/phpunit/ProjectAdmin/DeleteAppControllerTest.php +134 −0 Go to diff View file
M plugins/oauth2_server/phpunit/ProjectAdmin/ListAppsControllerTest.php +7 −7 Go to diff View file
M plugins/oauth2_server/phpunit/ProjectAdmin/ProjectAdminPresenterBuilderTest.php +17 −14 Go to diff View file
A plugins/oauth2_server/scripts/po/fr_FR.po +17 −0 Go to diff View file
A plugins/oauth2_server/scripts/src/modals.test.ts +195 −0 Go to diff View file
A plugins/oauth2_server/scripts/src/modals.ts +96 −0 Go to diff View file
A plugins/oauth2_server/scripts/src/project-administration.ts +34 −0 Go to diff View file
M plugins/oauth2_server/site-content/fr_FR/LC_MESSAGES/tuleap-oauth2_server.po +9 −0 Go to diff View file
A plugins/oauth2_server/templates/app-delete-modal.mustache +34 −0 Go to diff View file
M plugins/oauth2_server/templates/project-admin.mustache +6 −1 Go to diff View file
M plugins/oauth2_server/tsconfig.json +4 −1 Go to diff View file
M plugins/oauth2_server/webpack.common.js +8 −3 Go to diff View file
M src/www/scripts/tuleap/gettext/gettext-init.d.ts +1 −0 Go to diff View file
M tests/lib/Builders/TestLayout.php +4 −0 Go to diff View file