summaryrefslogtreecommitdiffstats
path: root/lib/private/BackgroundJob
Commit message (Collapse)AuthorAgeFilesLines
* Fix integer background job id type errorChristoph Wurst2019-01-151-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Revert "Wait for cron to finish before running upgrade command"Morris Jobke2018-11-011-39/+1
| | | | | | This reverts commit 18e9631810ad1d3d72c2b4bbee330169808108ad. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Suppress potential SQL injection warning as they are false positivesMorris Jobke2018-07-091-0/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Unlock failed cron jobs and set a high "last_checked" value to avoid ↵Morris Jobke2018-07-091-0/+9
| | | | | | | | | continous re-check * fixes issue where cronjobs of a not-loaded app are marked as "still running" because there is a "reserved_at" value stored * fixed #9992 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Wait for cron to finish before running upgrade commandMorris Jobke2018-06-191-1/+39
| | | | | | * fixes #9562 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update license headersMorris Jobke2017-11-064-0/+7
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add |null to PHPDocLukas Reschke2017-08-013-3/+3
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Add Phan plugin to check for SQL injectionsLukas Reschke2017-07-201-0/+1
| | | | | | | | | | This adds a phan plugin which checks for SQL injections on code using our QueryBuilder, while it isn't perfect it should already catch most potential issues. As always, static analysis will sometimes have false positives and this is also here the case. So in some cases the analyzer just doesn't know if something is potential user input or not, thus I had to add some `@suppress SqlInjectionChecker` in front of those potential injections. The Phan plugin hasn't the most awesome code but it works and I also added a file with test cases. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Add duration of last job execution to the tableNoveen Sachdeva2017-04-252-3/+25
|
* make JobList::next() lock freeJörn Friedrich Dreyer2017-04-071-5/+10
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update with robinJoas Schilling2016-07-216-6/+6
|
* Fix othersJoas Schilling2016-07-216-7/+13
|
* Lock jobs while executing them, to allow multiple executors to run in parallelJoas Schilling2016-05-211-33/+53
|
* Move \OC\BackgroundJob to PSR-4Roeland Jago Douma2016-04-266-0/+554