stable

Clone or download

Read-only

Display modal and suppression

This is a part of story #9253 delete a svn repository You can delete a SVN repository with the interface. A new system event is created (Tuleap\Svn\EventRepository\SystemEvent_SVN_DELETE_REPOSITORY) Once the system event is passed, the repository is not displayed in the interface, a dump file of repository is created on file system Change-Id: Id9dd4dcb6bfd92fb366617e70249e1cb02db0612

Modified Files

Name
M plugins/hudson_svn/include/hudson_svnPlugin.class.php +25 −2 Go to diff View file
M plugins/hudson_svn/tests/Job/LauncherTest.php +1 −1 Go to diff View file
M plugins/referencealias_svn/include/referencealias_svnPlugin.class.php +24 −1 Go to diff View file
M plugins/svn/bin/pre-revprop-change.php +9 −1 Go to diff View file
M plugins/svn/bin/svn_post_commit.php +11 −4 Go to diff View file
M plugins/svn/bin/svn_pre_commit.php +9 −2 Go to diff View file
M plugins/svn/db/install.sql +2 −0 Go to diff View file
A plugins/svn/db/mysql/updates/2016/201607181149_add_deletetion_date_in_svn_repository.php +43 −0 Go to diff View file
M plugins/svn/include/Svn/Admin/AdminController.class.php +80 −6 Go to diff View file
R plugins/svn/include/Svn/Admin/RepositoryDeletePresenter.php Go to diff View file
M plugins/svn/include/Svn/Dao.class.php +25 −6 Go to diff View file
M plugins/svn/include/Svn/Explorer/ExplorerController.class.php +6 −5 Go to diff View file
A plugins/svn/include/Svn/Repository/CannotDeleteRepositoryException.php +27 −0 Go to diff View file
M plugins/svn/include/Svn/Repository/Repository.class.php +40 −5 Go to diff View file
M plugins/svn/include/Svn/Repository/RepositoryManager.class.php +86 −9 Go to diff View file
A plugins/svn/include/Svn/SvnAdmin.php +76 −0 Go to diff View file
M plugins/svn/include/Svn/SvnRouter.class.php +4 −0 Go to diff View file
M plugins/svn/include/Svn/XMLRepositoryImporter.class.php +1 −1 Go to diff View file
M plugins/svn/include/autoload.php +6 −3 Go to diff View file
A plugins/svn/include/events/SystemEvent_SVN_DELETE_REPOSITORY.class.php +106 −0 Go to diff View file
M plugins/svn/include/svnPlugin.class.php +47 −10 Go to diff View file
M plugins/svn/site-content/en_US/svn.tab +13 −2 Go to diff View file
M plugins/svn/site-content/fr_FR/svn.tab +13 −2 Go to diff View file
A plugins/svn/templates/admin/modal_repository_delete.mustache +21 −0 Go to diff View file
M plugins/svn/templates/admin/repository_delete.mustache +7 −3 Go to diff View file
M plugins/svn/tests/Svn/Repository/RepositoryManagerTest.php +37 −16 Go to diff View file
M plugins/svn/tests/Svn/XMLImporterTest.php +22 −15 Go to diff View file