aboutsummaryrefslogtreecommitdiffstats
path: root/core/Command/Background
Commit message (Collapse)AuthorAgeFilesLines
* Update core/Command/Background/ListCommand.phpJonas2023-11-141-1/+1
| | | | Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Jonas <jonas@freesources.org>
* fix(Background): Bump default limit for listing background jobs to 500Jonas2023-11-141-1/+1
| | | | Signed-off-by: Jonas <jonas@freesources.org>
* fix(Background): Show comment about limit at end and conditionallyJonas2023-11-141-4/+5
| | | | | | | | * Only print the comment when job list is truncated * Show the comment at the end so users actually see it * Format the comment as comment Signed-off-by: Jonas <jonas@freesources.org>
* Update core/Command/Background/ListCommand.phpJonas2023-11-141-1/+3
| | | | Co-authored-by: Daniel <mail@danielkesselberg.de> Signed-off-by: Jonas <jonas@freesources.org>
* (enh) Change occ background-job:list limit default 10->100Josh Richards2023-11-141-1/+2
| | | | | | The default limit of 10 seems too conservative. Nearly all environments >100 and most <10. At the same time, this higher default limit still remains reasonable to avoid problems in really big environments. Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
* Moves single constructor parameters to new lines.Faraz Samapoor2023-06-192-2/+6
| | | | | | | Based on: https://github.com/nextcloud/server/pull/38764#discussion_r1227630895 Signed-off-by: Faraz Samapoor <fsa@adlas.at>
* Uses PHP8's constructor property promotion.Faraz Samapoor2023-06-193-14/+6
| | | | | | in core/Command/App, /Background, and /Broadcast classes. Signed-off-by: Faraz Samapoor <fsa@adlas.at>
* Fix API breakage by using a new method insteadCôme Chilliet2023-01-121-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Use a Generator for job list to fix background-job:list commandCôme Chilliet2023-01-101-6/+7
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix background-job:execute command for QueuedJob instancesCôme Chilliet2022-07-111-1/+5
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Format the datetime for last run in ATOM formatCôme Chilliet2022-07-111-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Use symfony console table to render the job list properlyCôme Chilliet2022-07-111-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Code cleaning of Background/ListCommandCôme Chilliet2022-07-111-14/+5
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Add command to list jobsCôme Chilliet2022-07-111-0/+95
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Update core to PHP 7.4 standardCarl Schwan2022-05-202-12/+3
| | | | | | | - Typed properties - Port to LoggerInterface Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Adjust namespace and print a message when the job was skippedJoas Schilling2021-10-141-5/+14
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Move queries to the joblistJoas Schilling2021-10-141-23/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add a command to show info about a background job and force-execute itJoas Schilling2021-10-141-0/+168
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add return value to all commandsJoas Schilling2020-06-261-2/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-104-5/+0
| | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove trailing and in between spacesChristoph Wurst2020-04-091-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix multiline commentsChristoph Wurst2020-04-084-103/+103
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Some php-cs fixesRoeland Jago Douma2019-11-221-1/+1
| | | | | | | | | | | * Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Rename files to be PSR-4 compliantLukas Reschke2016-04-064-0/+176