Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | test: update DummyJobList | Robin Appelman | 2024-07-10 | 1 | -4/+18 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | fix: Apply new coding standard to all files | Côme Chilliet | 2024-04-04 | 3 | -3/+3 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | Merge pull request #43387 from nextcloud/fix/migrate-away-from-ilogger-in-jobs | Côme Chilliet | 2024-02-08 | 5 | -99/+28 |
| | |||||
* | Revert "Merge branch 'master' of github.com:nextcloud/server" | Louis Chemineau | 2024-02-08 | 5 | -28/+99 |
| | | | | | This reverts commit d9d60238c7aaab9c61bf2d50c15aa59bc88c8975, reversing changes made to ba3fdb0cdcfbb84f0080a2146a4ba2f01569915d. | ||||
* | chore: Migrate away from internal Job classes | Côme Chilliet | 2024-02-08 | 5 | -99/+28 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | feat(backgroundjob): Schedule job after <timestamp> | Christoph Wurst | 2023-09-29 | 1 | -1/+5 |
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | JobTest: Remove outdated tests | Marcel Klehr | 2023-07-28 | 1 | -52/+0 |
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> | ||||
* | cs:fix | Marcel Klehr | 2023-07-28 | 1 | -1/+0 |
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> | ||||
* | Add test for ParallelAwareJob | Marcel Klehr | 2023-07-28 | 2 | -5/+89 |
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> | ||||
* | Fix tests | Marcel Klehr | 2023-07-07 | 1 | -1/+1 |
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> | ||||
* | JobListTest: Fix JobList constructor call | Marcel Klehr | 2023-04-24 | 1 | -1/+3 |
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> | ||||
* | Update tests/lib/BackgroundJob/DummyJobList.php | Marcel Klehr | 2023-04-24 | 1 | -2/+2 |
| | | | | Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Marcel Klehr <mklehr@gmx.net> | ||||
* | Run cs:Fix | Marcel Klehr | 2023-04-23 | 1 | -4/+4 |
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> | ||||
* | Fix BackgroundJob tests | Marcel Klehr | 2023-04-23 | 2 | -11/+20 |
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> | ||||
* | JobListTest: clearJobsList before testHasReservedJobs | Marcel Klehr | 2023-04-23 | 1 | -0/+1 |
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> | ||||
* | fix(tests): Remove duplicated method | Marcel Klehr | 2023-04-23 | 1 | -21/+0 |
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> | ||||
* | test(BackgroundJobs): Add tests for allowParallelRuns and hasReservedJobs | Marcel Klehr | 2023-04-23 | 4 | -4/+105 |
| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> | ||||
* | Fix API breakage by using a new method instead | Côme Chilliet | 2023-01-12 | 2 | -2/+2 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | Fix BackgroundJob list tests | Côme Chilliet | 2023-01-12 | 1 | -1/+6 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | Port existing server code to new interface | Carl Schwan | 2022-08-08 | 1 | -1/+1 |
| | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu> | ||||
* | Fix DummyJobList typing | Côme Chilliet | 2022-07-12 | 1 | -8/+2 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | Fix DummyJobList class used by tests | Côme Chilliet | 2022-07-11 | 1 | -17/+27 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | Get not only time-sensitive next job from list but any | Kirill Popov | 2022-04-24 | 1 | -1/+1 |
| | | | | | | | Before the change webcron used to select **only** time-sensitive tasks. Signed-off-by: Kirill Popov <kirill.s.popov@gmail.com> | ||||
* | Allow apps to specify if their background job can be delayed | Joas Schilling | 2022-02-07 | 1 | -1/+2 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Move queries to the joblist | Joas Schilling | 2021-10-14 | 1 | -0/+7 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Remove getLastJob from IJobList | Morris Jobke | 2020-08-13 | 2 | -18/+0 |
| | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de> | ||||
* | Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to ↵ | Morris Jobke | 2020-08-12 | 1 | -2/+2 |
| | | | | | | \PHPUnit\Framework\MockObject\MockObject Signed-off-by: Morris Jobke <hey@morrisjobke.de> | ||||
* | Use exactly one empty line after the namespace declaration | Christoph Wurst | 2020-04-09 | 2 | -1/+1 |
| | | | | | | For PSR2 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | Use the short array syntax, everywhere | Christoph Wurst | 2020-03-26 | 2 | -9/+9 |
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | Use the shorter phpunit syntax for mocked return values | Christoph Wurst | 2020-03-25 | 1 | -1/+1 |
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | Make sure to catch php errors during job execution | Daniel Kesselberg | 2020-01-31 | 1 | -0/+21 |
| | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de> | ||||
* | Make phpunit8 compatible | Roeland Jago Douma | 2019-11-27 | 4 | -4/+4 |
| | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> | ||||
* | fixup! fixup! Add backgroundjobs to OCP | Roeland Jago Douma | 2018-10-09 | 2 | -57/+108 |
| | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> | ||||
* | Use ::class in test mocks | Morris Jobke | 2017-10-24 | 1 | -1/+3 |
| | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de> | ||||
* | Add duration of last job execution to the table | Noveen Sachdeva | 2017-04-25 | 1 | -9/+13 |
| | |||||
* | Fix getMock JobListTest | Roeland Jago Douma | 2016-09-13 | 1 | -2/+4 |
| | |||||
* | Lock jobs while executing them, to allow multiple executors to run in parallel | Joas Schilling | 2016-05-21 | 1 | -66/+60 |
| | |||||
* | Move tests/ to PSR-4 (#24731) | Joas Schilling | 2016-05-20 | 6 | -0/+595 |
* Move a-b to PSR-4 * Move c-d to PSR-4 * Move e+g to PSR-4 * Move h-l to PSR-4 * Move m-r to PSR-4 * Move s-u to PSR-4 * Move files/ to PSR-4 * Move remaining tests to PSR-4 * Remove Test\ from old autoloader |