Commit Graph

56 Commits (c9c49bfef8ff39eb052d9bddb796882290467c98)

Author SHA1 Message Date
Louis Chemineau 8ad2f34045 Remove job from oc_jobs when the file is not findable 3 years ago
Marcel Klehr 524d053eb2 JobList: add debug log when hasReservedJob query fails 3 years ago
Marcel Klehr 5a7f023bfc JobList#hasReservedJobs: Close cursor 3 years ago
Marcel Klehr 5608b50778 Fix BackgroundJob tests 3 years ago
Marcel Klehr 6f9a3218d0 Update lib/private/BackgroundJob/JobList.php 3 years ago
Marcel Klehr 1296f3612e test(BackgroundJobs): Add tests for allowParallelRuns and hasReservedJobs 3 years ago
Marcel Klehr c01c516323 feat(BackgroundJobs): Allow preventing parallel runs for a job class 3 years ago
Côme Chilliet d74044f634
Fix API breakage by using a new method instead 3 years ago
Côme Chilliet e74f464662
Remove deprecated method getAll instead of breaking API on deprecated method 3 years ago
Côme Chilliet 679682c186
Use a Generator for job list to fix background-job:list command 3 years ago
Carl Schwan 49334e4d9c
Fix many tests and warnings 3 years ago
Carl Schwan 48d9c4d2b0
Port existing server code to new interface 3 years ago
Côme Chilliet 2e921f8b3d Fix typing in IJobList 4 years ago
Côme Chilliet 868d748dbf Code cleaning of Background/ListCommand 4 years ago
Côme Chilliet 3d01179907 Add command to list jobs 4 years ago
Côme Chilliet 0b7779b6ff Clean up JobList class 4 years ago
Christoph Wurst b17c4a6072 Check background job type 4 years ago
Kirill Popov 0b27b9e658 Get not only time-sensitive next job from list but any 4 years ago
Carl Schwan c870bd1968 Do chuncked job deletion 4 years ago
Joas Schilling abcf45e336
Also use hashed/indexed column on delete 4 years ago
Christoph Wurst ef4c18a266
Deprecate our old, internal background job base classes 4 years ago
Joas Schilling b765f79368
Allow apps to specify if their background job can be delayed 4 years ago
Julius Härtl 99b2cf8339
Add hashed attribute column for indexed job existence check 4 years ago
Carl Schwan 6312c0df69
Check style update 4 years ago
Julius Härtl b30193ed14
Reset job disabling timer on adding the job again 4 years ago
Joas Schilling 7239b3d560
Bump since version 4 years ago
Joas Schilling 9cd9f4b4bc
Move queries to the joblist 4 years ago
John Molakvoæ (skjnldsv) 215aef3cbd
Update php licenses 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
Christoph Wurst 2a054e6c04
Update the license headers for Nextcloud 20 5 years ago
Morris Jobke 16d83ab30a
Remove getLastJob from IJobList 5 years ago
Morris Jobke b1cdd0dd9b
Use formal type hints instead of informal PHPDoc 6 years ago
Daniel Kesselberg 9b10d35477
Fix wrong phpdoc for execute method 6 years ago
Christoph Wurst cb057829f7
Update license headers for 19 6 years ago
Christoph Wurst 41b5e5923a
Use exactly one empty line after the namespace declaration 6 years ago
Christoph Wurst 1a9330cd69
Update the license headers for Nextcloud 19 6 years ago
Christoph Wurst b80ebc9674
Use the short array syntax, everywhere 6 years ago
Daniel Kesselberg 018020108b
Make sure to catch php errors during job execution 6 years ago
Georg Ehrke eda599973d
JobList: Typecast last_run to integer 6 years ago
Christoph Wurst 5bf3d1bb38
Update license headers 6 years ago
Roeland Jago Douma 68748d4f85
Some php-cs fixes 6 years ago
Christoph Wurst d5927e4d01
Fix integer background job id type error 7 years ago
Morris Jobke f5a1f4bc1b
Revert "Wait for cron to finish before running upgrade command" 7 years ago
Morris Jobke 79801ad263
Suppress potential SQL injection warning as they are false positives 8 years ago
Morris Jobke a1a29d14c8
Unlock failed cron jobs and set a high "last_checked" value to avoid continous re-check 8 years ago
Morris Jobke 18e9631810
Wait for cron to finish before running upgrade command 8 years ago
Morris Jobke 0eebff152a
Update license headers 8 years ago
Lukas Reschke d321e9792e
Add |null to PHPDoc 9 years ago
Lukas Reschke 3d2600b039
Add Phan plugin to check for SQL injections 9 years ago