Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix(ocp): TimedJob can't have a more specific argument than Job | Christoph Wurst | 2023-06-28 | 1 | -5/+4 |
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | Fix typos in lib/public subdirectory | Simon L | 2023-05-10 | 1 | -1/+1 |
| | | | | | | | | | | | | | Found via `codespell -q 3 -S l10n -L jus ./lib/public` Signed-off-by: luz paz <luzpaz@github.com> Update lib/public/Accounts/IAccount.php Signed-off-by: luz paz <luzpaz@github.com> Signed-off-by: Simon L <szaimen@e.mail.de> Co-Authored-By: Côme Chilliet <91878298+come-nc@users.noreply.github.com> | ||||
* | Fix BackgroundJob tests | Marcel Klehr | 2023-04-23 | 1 | -2/+4 |
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> | ||||
* | IParallelAwareJob: Add missing boilerplate | Marcel Klehr | 2023-04-23 | 1 | -0/+27 |
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> | ||||
* | Add IParallelAwareJob interface | Marcel Klehr | 2023-04-23 | 2 | -2/+22 |
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> | ||||
* | feat(BackgroundJobs): Allow preventing parallel runs for a job class | Marcel Klehr | 2023-04-23 | 2 | -0/+34 |
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> | ||||
* | composer run cs:fix | Côme Chilliet | 2023-01-20 | 1 | -1/+0 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | Fix API breakage by using a new method instead | Côme Chilliet | 2023-01-12 | 1 | -2/+12 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | Remove deprecated method getAll instead of breaking API on deprecated method | Côme Chilliet | 2023-01-12 | 1 | -10/+0 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | Use a Generator for job list to fix background-job:list command | Côme Chilliet | 2023-01-10 | 1 | -4/+4 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | Port existing server code to new interface | Carl Schwan | 2022-08-08 | 2 | -1/+2 |
| | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu> | ||||
* | Deprecated ILogger from IJob | Carl Schwan | 2022-08-08 | 4 | -25/+61 |
| | | | | | | | Since the ILogger will be soon removed we need to ensure that nothing in the public api use it. Signed-off-by: Carl Schwan <carl@carlschwan.eu> | ||||
* | Fix typing in IJobList | Côme Chilliet | 2022-07-11 | 1 | -18/+16 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | Code cleaning of Background/ListCommand | Côme Chilliet | 2022-07-11 | 1 | -9/+9 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | Add command to list jobs | Côme Chilliet | 2022-07-11 | 1 | -8/+10 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | Allow apps to specify if their background job can be delayed | Joas Schilling | 2022-02-07 | 3 | -2/+44 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Bump since version | Joas Schilling | 2021-10-14 | 1 | -2/+2 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Move queries to the joblist | Joas Schilling | 2021-10-14 | 1 | -0/+15 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Update php licenses | John Molakvoæ (skjnldsv) | 2021-06-04 | 5 | -8/+4 |
| | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | ||||
* | Document that the TimedJob interval is in seconds | Christoph Wurst | 2021-03-26 | 1 | -2/+4 |
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | Fix the OCP\BackgroundJob\Job to make it compatible with its interface | Roeland Jago Douma | 2020-11-24 | 1 | -3/+3 |
| | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> | ||||
* | Job::run() does not return anything | Morris Jobke | 2020-10-08 | 1 | -1/+0 |
| | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de> | ||||
* | Merge pull request #22432 from nextcloud/enh/phpdoc | Roeland Jago Douma | 2020-08-26 | 2 | -2/+0 |
|\ | | | | | Add php docs build script | ||||
| * | Remove @package annotations from public namespace | Julius Härtl | 2020-08-26 | 2 | -2/+0 |
| | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> | ||||
* | | Update the license headers for Nextcloud 20 | Christoph Wurst | 2020-08-24 | 1 | -0/+1 |
|/ | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | Remove getLastJob from IJobList | Morris Jobke | 2020-08-13 | 1 | -11/+0 |
| | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de> | ||||
* | Use formal type hints instead of informal PHPDoc | Morris Jobke | 2020-07-06 | 1 | -5/+3 |
| | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de> | ||||
* | Fix wrong phpdoc for execute method | Daniel Kesselberg | 2020-07-03 | 1 | -1/+1 |
| | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de> | ||||
* | Update license headers for 19 | Christoph Wurst | 2020-04-29 | 2 | -0/+2 |
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | Use exactly one empty line after the namespace declaration | Christoph Wurst | 2020-04-09 | 1 | -0/+1 |
| | | | | | | For PSR2 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | Fix multiline comments | Christoph Wurst | 2020-04-08 | 1 | -1/+1 |
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | Update license headers | Christoph Wurst | 2019-12-05 | 5 | -5/+11 |
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | fixup! Add backgroundjobs to OCP | Roeland Jago Douma | 2018-10-09 | 1 | -0/+2 |
| | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> | ||||
* | Add backgroundjobs to OCP | Roeland Jago Douma | 2018-10-09 | 3 | -0/+251 |
| | | | | | | | | | | | | | | | This adds abstract classes to base background jobs on. Right now almost all uses of this use the private namespace. For most usages it will be enough to just extend the the abstract classes QueuedJob or TimedJob. It should be a straight forward drop in replacement. The private jobs can then be killed off after a few releases. So we have a nice public API. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> | ||||
* | Deprecated OCP interface to fetch background job type | Morris Jobke | 2018-01-26 | 1 | -0/+13 |
| | | | | | | | * was not used by apps and also is not needed * migrated the documentation to IJobList Signed-off-by: Morris Jobke <hey@morrisjobke.de> | ||||
* | Update license headers | Morris Jobke | 2017-11-06 | 2 | -0/+2 |
| | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de> | ||||
* | Add |null to PHPDoc | Lukas Reschke | 2017-08-01 | 1 | -1/+1 |
| | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch> | ||||
* | Add duration of last job execution to the table | Noveen Sachdeva | 2017-04-25 | 1 | -4/+13 |
| | |||||
* | Update with robin | Joas Schilling | 2016-07-21 | 2 | -2/+2 |
| | |||||
* | Fix others | Joas Schilling | 2016-07-21 | 2 | -4/+6 |
| | |||||
* | Lock jobs while executing them, to allow multiple executors to run in parallel | Joas Schilling | 2016-05-21 | 1 | -0/+11 |
| | |||||
* | Move \OCP\BackgroundJob to PSR-4 | Roeland Jago Douma | 2016-05-07 | 2 | -0/+196 |