stable

Clone or download

Read-only

chore(svn): Remove SVN Core usage of updateSVNAccess

The removed call corresponds to the situation where an action should have kicked the update of .SVNAccessFile of the SVNCore repository. As there are no longer SVNCore repositories created and SVN Plugin takes care of the ones that were migrated, this code is dead. It's also part of the work on svn 1.10+ support because calls to updateSVNaccess must be updated in order to support Repositories instead of the bunch of params. Last, it also fixes a bug on LDAP login update. When a user changed their login, the .SVNAccessFile of the projects they were member of was no longer updated. Part of: request #29976 Remove SVN core Part of: request #31541 svn 1.10+ no longer supports duplicate sections Change-Id: Id560c794700fe6c63680832a8f78e9c648bbc2f9

Modified Files

Name
M plugins/ldap/include/system_event/SystemEvent_PLUGIN_LDAP_UPDATE_LOGIN.class.php +4 −14 Go to diff View file
D plugins/ldap/tests/unit/system_event/SystemEvent_PLUGIN_LDAP_UPDATE_LOGINTest.php +0 −119 Go to diff View file
M plugins/svn/include/SVN/Dao.php +0 −26 Go to diff View file
M plugins/svn/include/SVN/Repository/RepositoryManager.php +0 −11 Go to diff View file
M plugins/svn/include/svnPlugin.php +0 −7 Go to diff View file
M src/common/SVNCore/Event/UpdateProjectAccessFileSystemEvent.php +0 −8 Go to diff View file
D src/common/SVNCore/SvnCoreUsage.php +0 −46 Go to diff View file
M src/common/User/User.class.php +19 −7 Go to diff View file
M src/common/backend/BackendSVN.class.php +0 −148 Go to diff View file
M src/common/system_event/include/SystemEvent_PROJECT_IS_PRIVATE.class.php +0 −12 Go to diff View file
M src/common/system_event/include/SystemEvent_UGROUP_MODIFY.class.php +0 −5 Go to diff View file
M src/common/system_event/include/SystemEvent_USER_RENAME.class.php +9 −5 Go to diff View file
D src/utils/svn/force_refresh_svnaccessfile.php +0 −28 Go to diff View file
M tests/integration/tests/Backend/BackendSVNTest.php +0 −32 Go to diff View file
M tests/lib/Builders/UserTestBuilder.php +11 −0 Go to diff View file
M tests/unit/common/SVNCore/Event/UpdateProjectAccessFileSystemEventTest.php +0 −4 Go to diff View file
D tests/unit/common/SystemEvent/include/SystemEvent_UGROUP_MODIFYRenameTest.php +0 −104 Go to diff View file
M tests/unit/common/SystemEvent/include/SystemEvent_UGROUP_MODIFY_Test.php +0 −5 Go to diff View file
M tests/unit/common/SystemEvent/include/SystemEvent_USER_RENAME_Test.php +5 −62 Go to diff View file