stable

Clone or download

Read-only

Implement lock delete

This change is part of story #12323 This feature is secured by a feature flag in Forge Config: feature_gitlfs_lock_api It can be tested by using the git lfs client with `git lfs unlock` Change-Id: I9688407977f4d280d13a3e7e9785d328ebb9d236

Modified Files

Name
A plugins/gitlfs/include/Lock/Controller/LFSLockDeleteController.php +187 −0 Go to diff View file
M plugins/gitlfs/include/Lock/LockDao.php +8 −0 Go to diff View file
A plugins/gitlfs/include/Lock/LockDestructionNotAuthorizedException.php +26 −0 Go to diff View file
A plugins/gitlfs/include/Lock/LockDestructor.php +61 −0 Go to diff View file
M plugins/gitlfs/include/Lock/LockRetriever.php +1 −1 Go to diff View file
A plugins/gitlfs/include/Lock/Request/LockDeleteRequest.php +101 −0 Go to diff View file
M plugins/gitlfs/include/Lock/Response/LockResponseBuilder.php +12 −0 Go to diff View file
A plugins/gitlfs/include/Lock/Response/LockResponseErrorRepresentation.php +44 −0 Go to diff View file
A plugins/gitlfs/include/Lock/Response/LockResponseSuccessfulDestructionRepresentation.php +44 −0 Go to diff View file
M plugins/gitlfs/include/gitlfsPlugin.class.php +23 −0 Go to diff View file
A plugins/gitlfs/phpunit/Lock/LockDestructorTest.php +103 −0 Go to diff View file
A plugins/gitlfs/phpunit/Lock/Request/LockDeleteRequestTest.php +58 −0 Go to diff View file
M plugins/gitlfs/phpunit/Lock/Response/LockResponseBuilderTest.php +31 −0 Go to diff View file