stable

Clone or download

Read-only

story #8308 generic tag path specification

We removed the 3 options for SVN immutable tags. We replace it by a textarea where SVN admins can specify all the immutables paths (one path per line) Whitelist is now implemented for the whole SVN. The admin should provide the full path of whitelisted elements. Example: Immutable paths Global Whitelist ------------------------------- ------------------------------ | /tags | | /tags/moduleA | | /*/tags | | /*/moduleB/ | | /repository/projects/tags | | | ------------------------------- ------------------------------ Change-Id: I5f0b3fb4170364894567587c2304b024d93d7dc9

Modified Files

Name
M site-content/en_US/svn/svn.tab +4 −10 Go to diff View file
M site-content/fr_FR/svn/svn.tab +3 −9 Go to diff View file
M src/common/project/Project.class.php +0 −16 Go to diff View file
M src/common/svn/general-settings/SVN_GeneralSettingsPresenter.php +9 −45 Go to diff View file
M src/common/svn/hook/PreCommit.class.php +40 −26 Go to diff View file
M src/common/svn/immutable_tags/SVN_Immutable_Tags_DAO.php +17 −6 Go to diff View file
M src/common/svn/immutable_tags/SVN_Immutable_Tags_Handler.php +20 −3 Go to diff View file
M src/db/mysql/database_structure.sql +14 −12 Go to diff View file
A src/db/mysql/updates/2015/201508171048_add_svn_immutable_tags_table.php +118 −0 Go to diff View file
M src/templates/svn/general-settings.mustache +20 −105 Go to diff View file
M src/www/svn/admin/general_settings.php +15 −8 Go to diff View file
M src/www/svn/svn_data.php +1 −2 Go to diff View file
M src/www/themes/common/css/utils/svn.less +12 −10 Go to diff View file
M tests/simpletest/common/svn/PreCommitTest.php +63 −8 Go to diff View file