summaryrefslogtreecommitdiffstats
path: root/lib/private/backgroundjob
Commit message (Collapse)AuthorAgeFilesLines
* Move \OC\BackgroundJob to PSR-4Roeland Jago Douma2016-04-266-554/+0
|
* Change the sort order of background jobs to be DESC instead of ASCJoas Schilling2016-04-221-3/+3
| | | | | | | | | | In theory, if your instance ever creates more jobs then your system cron can handle, the default background jobs get never executed anymore. Because everytime when the joblist returns the next job it looks for the next ID, however there is always a new next ID, so it will never wrap back to execute the low IDs. But when we change the sort order to be DESC, we make sure that these low IDs are always executed, before the system jumps back up to execute the new IDs.
* Catch the AutoloadNotAllowedException also for legacy jobs (#23901)Morris Jobke2016-04-111-2/+9
| | | | * same as #18839 for legacy jobs * avoids spamming the log with useless entries
* Use IQueryBuilder::PARAM_* instead of \PDO::PARAM_*Joas Schilling2016-02-291-6/+7
|
* Deprecate the method and warn against using itJoas Schilling2016-01-281-0/+2
|
* Add message key to context of logExceptionThomas Müller2016-01-151-2/+4
|
* use logException() to properly log the exceptionMorris Jobke2016-01-141-1/+2
|
* Improved error message for failing background jobMorris Jobke2016-01-141-1/+1
|
* Happy new year!Thomas Müller2016-01-126-8/+8
|
* Merge pull request #21289 from ↵Thomas Müller2015-12-211-1/+0
|\ | | | | | | | | owncloud/issue-20399-keep-periodic-background-jobs Do not delete background jobs, in case an exception occured
| * Do not delete background jobs, in case an exception occuredJoas Schilling2015-12-181-1/+0
| | | | | | | | | | | | | | | | | | This approach is not valid anymore. It initially was added for jobs of non existing apps. But jobs of non-existing apps can not be created so they will never be executed and so this call just catches other cases which were not intended. This reverts commit 4f4ad72460f8ef299cd1235b5774c5f121cca430.
* | Add methods to interface which have always been requiredJoas Schilling2015-12-181-1/+1
| |
* | Allow dependency injection for background jobsJoas Schilling2015-12-181-9/+15
|/
* Make sure the interface and the implementation matchJoas Schilling2015-12-181-14/+15
|
* Use the query builder for the joblist queriesJoas Schilling2015-12-181-35/+88
|
* deduplicate @xenopathicMorris Jobke2015-10-061-1/+0
|
* update licence headers via scriptMorris Jobke2015-10-051-1/+1
|
* Unique exception for invalid autoload paths, better handlingRobin McCorkell2015-09-051-8/+14
| | | | | Background jobs are tolerant of stale entries left by disabled apps, which will cause an autoload exception.
* handle non existing job classes in $jobList->getNextRobin Appelman2015-08-191-2/+15
|
* also free joblist and base from file cache codeArthur Schiwon2015-05-121-3/+0
|
* Use internally \OCP\ILogger instead of \OC\LogMorris Jobke2015-04-303-6/+9
| | | | | | * this is the preparation for some upcoming logger related changes * also fixes an issue in the public interface where we request an internal class as parameter
* Update license headersJenkins for ownCloud2015-03-266-24/+112
|
* Merge pull request #14530 from owncloud/revert-14403Thomas Müller2015-02-276-106/+30
|\ | | | | Revert "Updating license headers"
| * Revert "Updating license headers"Morris Jobke2015-02-266-106/+30
| | | | | | | | This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
* | fix exception messageMorris Jobke2015-02-261-1/+1
| |
* | set max argument length to 4000Robin Appelman2015-02-251-1/+1
| |
* | throw an exception when trying to push a background job that wont fit in the ↵Robin Appelman2015-02-251-0/+3
| | | | | | | | | | | | table otherwise it will lead to failures in json decode and unexpected and hard to debug issues when running the job
* | Add async command system to handle asynchronous operationsRobin Appelman2015-02-251-1/+1
|/
* Updating license headersJenkins for ownCloud2015-02-236-30/+106
|
* Dont try to execute jobs that no longer existRobin Appelman2014-07-251-1/+4
|
* Fix check if class existsRobin Appelman2014-06-271-1/+1
|
* Check if classes/method exists before trying to call them in background jobsRobin Appelman2014-06-263-2/+10
|
* Support having legacy `OC_Cache_FileGlobalGC` background jobsRobin Appelman2014-06-031-0/+3
|
* Fix all PHPDoc types and variable names, in /libRobin McCorkell2014-05-131-4/+4
|
* Scrutinizer Auto-FixesScrutinizer Auto-Fixer2014-02-191-1/+1
| | | | | | | | | | | This patch was automatically generated as part of the following inspection: https://scrutinizer-ci.com/g/owncloud/core/inspections/cdfecc4e-a37e-4233-8025-f0d7252a8720 Enabled analysis tools: - PHP Analyzer - JSHint - PHP Copy/Paste Detector - PHP PDepend
* Merge branch 'master' into scrutinizer_documentation_patchesThomas Müller2014-02-182-31/+47
|\ | | | | | | | | Conflicts: lib/private/migration/content.php
| * Add unit tests for JobListRobin Appelman2014-02-121-1/+1
| |
| * Additional phpdocRobin Appelman2014-02-121-2/+4
| |
| * Add the background job list to the public server containerRobin Appelman2014-02-112-29/+43
| |
* | polish documentation based on scrutinizer patchesJörn Friedrich Dreyer2014-02-061-2/+2
|/
* remove background jobs if they are failingRobin Appelman2013-12-021-0/+1
|
* Catch exceptions from background jobs and log themRobin Appelman2013-12-023-7/+26
|
* decode arguments as arrayThomas Müller2013-11-051-1/+1
|
* move the private namespace OC into lib/private - OCP will stay in lib/publicThomas Müller2013-09-306-0/+323
Conflicts: lib/private/vcategories.php