31 Commits (4bc821edd95a6b71dd99f75632f432d5ccf2853f)

Author SHA1 Message Date
Morris Jobke 99c9423766
Remove @suppress SqlInjectionChecker 5 years ago
Christoph Wurst 2a054e6c04
Update the license headers for Nextcloud 20 5 years ago
Robin Appelman da2d425044
add proper paths to locking exceptions 5 years ago
Jaakko Salo b7dd278e24 Fix releasing a shared lock multiple times 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
Roeland Jago Douma 68748d4f85
Some php-cs fixes 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
Robin Appelman 3d5acbb1d0
prevent lock values from going negative with memcache backend 7 years ago
Robin Appelman 25565dd7d8
Log more info about locking conflicts for memcache locking backends 8 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 8 years ago
Joas Schilling 0215b004da
Update with robin 9 years ago
Joas Schilling ba87db3fcc
Fix others 9 years ago
Lukas Reschke aba539703c
Update license headers 10 years ago
Robin Appelman 9677681a37 free up memory when releasing the last shared lock 10 years ago
Robin Appelman 49ad0fcfa9 optimize releaselock for memcache based locking backends 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