stable

Clone or download

Read-only

story #8089: forbid svn tags modifications (part 2)

Now support immutable tags in modules as well as at root. Change-Id: I5fe95fe5350d2e9f19834e6019fba7ac6fc03b43

Modified Files

Name
M site-content/en_US/svn/svn.tab +12 −2 Go to diff View file
M site-content/fr_FR/svn/svn.tab +14 −2 Go to diff View file
M src/common/autoload.php +5 −2 Go to diff View file
M src/common/project/Project.class.php +37 −35 Go to diff View file
A src/common/svn/SVN_CommitToTagDeniedException.php +22 −0 Go to diff View file
M src/common/svn/general-settings/SVN_GeneralSettingsPresenter.php +68 −8 Go to diff View file
M src/common/svn/hook/PreCommit.class.php +91 −12 Go to diff View file
A src/common/svn/immutable_tags/SVN_Immutable_Tags_DAO.php +41 −0 Go to diff View file
A src/common/svn/immutable_tags/SVN_Immutable_Tags_Handler.php +57 −0 Go to diff View file
M src/db/mysql/database_structure.sql +6 −0 Go to diff View file
A src/db/mysql/updates/2015/201506031610_add_svn_immutable_tags_whitelist_table.php +40 −0 Go to diff View file
A src/db/mysql/updates/2015/201506031658_enlarge_your_tinyint.php +37 −0 Go to diff View file
M src/templates/svn/general-settings.mustache +108 −7 Go to diff View file
M src/utils/svn/codendi_svn_pre_commit.php +6 −4 Go to diff View file
M src/www/scripts/tuleap/svn.js +15 −1 Go to diff View file
M src/www/svn/admin/general_settings.php +22 −5 Go to diff View file
M src/www/themes/common/css/utils/svn.less +16 −0 Go to diff View file
M tests/simpletest/common/svn/PreCommitTest.php +215 −19 Go to diff View file