Commit Graph

30 Commits (master)

Author SHA1 Message Date
provokateurin 9836e9b164
chore(deps): Update nextcloud/coding-standard to v1.3.1 1 year ago
Andy Scherzinger dae7c159f7
chore: Add SPDX header 2 years ago
Faraz Samapoor 40d9349a2d Refactors lib/private/Lock. 2 years ago
Carl Schwan fcae6a68c3 Cleanup lock related code 4 years ago
Côme Chilliet 6be7aa112f
Migrate from ILogger to LoggerInterface in lib/private 4 years ago
John Molakvoæ (skjnldsv) 215aef3cbd
Update php licenses 5 years ago
Christoph Wurst 8b64e92b92
Bump doctrine/dbal from 2.12.0 to 3.0.0 5 years ago
Christoph Wurst d89a75be0b
Update all license headers for Nextcloud 21 5 years ago
Morris Jobke 99c9423766
Remove @suppress SqlInjectionChecker 5 years ago
Robin Appelman da2d425044
add proper paths to locking exceptions 6 years ago
Christoph Wurst cb057829f7
Update license headers for 19 6 years ago
Christoph Wurst 14c996d982
Use elseif instead of else if 6 years ago
Christoph Wurst 74936c49ea
Remove unused imports 6 years ago
Christoph Wurst 5bf3d1bb38
Update license headers 6 years ago
Ole Ostergaard 0d778fcc4e Code cleanup. 7 years ago
Ole Ostergaard a48ea8cffa Add insertIgnoreConflict to Adapter and use it for for executing the file locking. 7 years ago
Morris Jobke f7e3cf2085
Fix UniqueConstraintViolationException while insert into oc_file_locks 7 years ago
Joas Schilling bb352fb667
Use the defined func()->count() instead of manual counting 7 years ago
Morris Jobke 4d832cd4e3
Fixes false positive possible sql injection by phan 8 years ago
Robin Appelman 89a9d35d90 dont keep shared database locks when running cli scripts 8 years ago
Roeland Jago Douma 8edbfdb291
Made locking providers strict 8 years ago
Morris Jobke 0eebff152a
Update license headers 8 years ago
Lukas Reschke 3d2600b039
Add Phan plugin to check for SQL injections 9 years ago
Joas Schilling 0215b004da
Update with robin 10 years ago
Joas Schilling ba87db3fcc
Fix others 10 years ago
Lukas Reschke aba539703c
Update license headers 10 years ago
Roeland Jago Douma 7b3191705c
Let the querybuilder convert 10 years ago
Robin Appelman 68746e1bdb
chunk the cleaning up of shared locks 10 years ago
Roeland Jago Douma 86e757d2b3
Move \OC\Lock to PSR-4 10 years ago
Robin Appelman cdedda99e4 Make lock ttl configurable 10 years ago
Morris Jobke 138219d74a Run cleanup of expired DB file locks to background job 10 years ago
Thomas Müller 682821c71e Happy new year! 10 years ago
Robin Appelman e191953942 Remove all locks after ttl from the db 10 years ago
Robin Appelman 693a3c353e ttl for memcache locking backends that support it 10 years ago
Lukas Reschke 8f09d5b67c Update license headers 10 years ago
Robin Appelman f39c73c79c add phpdoc 10 years ago
Robin Appelman cc7bd53d17 Keep shared locks until the end of the request so we can reuse them 10 years ago
Björn Schießle 168c2055ba catch all exception if table doesn't exists 10 years ago
Joas Schilling 336a127426 Catch "missing table" exception when cleaning up locks 10 years ago
Morris Jobke b945d71384 update licence headers via script 10 years ago
Robin Appelman b2a528e303 remove warning when trying to get a lock while in transaction 10 years ago
Individual IT Services 5f11049852 reduce amount of db calls needed for file-locks 10 years ago
Robin Appelman e9b1aa6037 improve doc 10 years ago
Robin Appelman 05fddec022 expire old lock rows 10 years ago
Robin Appelman 7c66328381 Remove the need for the transaction in the database locking backend 10 years ago
Thomas Müller 6f6a5f6c29 Adding path to log message 10 years ago
Robin Appelman d979e54030 log a warning while trying to acquire a db lock from within a transaction 11 years ago
Robin Appelman 06065189d7 cleanup empty locks 11 years ago
Robin Appelman 132a564a21 rename path field to key 11 years ago
Robin Appelman c39ded21d2 initialize unused (for now) ttl field to 0 11 years ago