summaryrefslogtreecommitdiffstats
path: root/core/Command/App
Commit message (Collapse)AuthorAgeFilesLines
* fix: Apply new coding standard to all filesCôme Chilliet2024-04-041-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* style: Fixed style from composer cs:fixAdam Blakey2024-03-181-2/+2
| | | | Signed-off-by: Adam Blakey <adam@blakey.family>
* Update core/Command/App/ListApps.phpAdam Blakey2024-03-181-16/+2
| | | | | | refactor: changed overcomplicated if statement into two shorter lines Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Adam Blakey <adam@blakey.family>
* Merge branch 'master' into show-enabled-and-disabled-appsJohn Molakvoæ2024-03-157-50/+54
|\ | | | | Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
| * Add a return message for app updates trough occGit'Fellow2024-02-231-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> Handle single and all apps Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> Rewrite logic Fix psalm Fix psalm Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
| * Merge pull request #39183 from shdehnavi/refactor_core_command_appJohn Molakvoæ2024-02-237-15/+15
| |\
| | * Make adjustments based on the reviewHamid Dehnavi2023-09-291-2/+0
| | | | | | | | | | | | | | | Co-authored-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
| | * Make adjustments based on the reviewHamid Dehnavi2023-09-291-5/+0
| | | | | | | | | | | | | | | Co-authored-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
| | * Refactor core/Command/AppHamid Dehnavi2023-09-297-15/+22
| | | | | | | | | | | | Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
| * | fix(Update): Handle upstream exception scenario cleanlyJosh Richards2023-12-261-0/+1
| |/ | | | | | | | | Fixes #42476 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-195-28/+16
| | | | | | | | | | | | in core/Command/App, /Background, and /Broadcast classes. Signed-off-by: Faraz Samapoor <fsa@adlas.at>
| * chore: Drop \OC_App::getAppVersionChristoph Wurst2023-06-014-4/+5
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * composer run cs:fixCôme Chilliet2023-01-201-2/+2
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * Show version from appinfo on occ app:listJulius Härtl2022-11-111-1/+1
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Fixed logic issue where checking for wrong optionAdam Blakey2022-08-151-8/+7
| | | | | | | | Signed-off-by: Adam Blakey <adam@blakey.family>
* | added --enabled and --disabled options to occ app:listAdam Blakey2022-08-151-12/+55
|/ | | | Signed-off-by: Adam Blakey <adam@blakey.family>
* Update core to PHP 7.4 standardCarl Schwan2022-05-205-60/+24
| | | | | | | - Typed properties - Port to LoggerInterface Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Remove deprecated occ app:check-code commandCôme Chilliet2022-04-281-72/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Allow installing unstable versionsJoas Schilling2022-03-101-1/+7
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #30275 from ↵Vincent Petry2022-01-141-2/+2
|\ | | | | | | | | nextcloud/bugfix/noid/add-version-of-disabled-apps-when-available Add version of disabled apps when available
| * Add version of disabled apps when availableJoas Schilling2021-12-151-2/+2
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Fix a few psalm issues and moved back to psalm/phar 4.18Carl Schwan2022-01-121-1/+1
|/ | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-048-18/+8
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Add force option to app install commandMaxopoly2021-03-221-1/+8
| | | | Signed-off-by: Maxopoly <max@dermax.org>
* Make the app code checker a NOOPChristoph Wurst2021-02-111-122/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove the deprecated update.phpChristoph Wurst2020-11-271-18/+0
| | | | | | | | * It was documented as deprecated. * The app code checker warned about it * It's been three years Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format code to a single space around binary operatorsChristoph Wurst2020-10-051-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update the license headers for Nextcloud 20Christoph Wurst2020-08-245-0/+8
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use matching parameter names form interfaces and implementationsMorris Jobke2020-08-191-2/+2
| | | | | | Found by Psalm 3.14.1 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Allow to update to nightlyJohn Molakvoæ (skjnldsv)2020-08-075-8/+17
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Add return value to all commandsJoas Schilling2020-06-268-8/+9
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update license headers for 19Christoph Wurst2020-04-294-0/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Display notice for already enabled appsSander Ruitenbeek2020-04-241-0/+4
| | | | | | Signed-off-by: Sander Ruitenbeek <s.ruitenbeek@getgoing.nl> Signed-off-by: Sander Ruitenbeek <s.ruitenbeek@getgoing.nl>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-105-19/+16
| | | | | | | | | | | | | | | 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>
* Use elseif instead of else ifChristoph Wurst2020-04-101-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-091-4/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update the license headers for Nextcloud 19Christoph Wurst2020-03-312-0/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #20170 from nextcloud/techdebt/remove-unused-importsChristoph Wurst2020-03-271-1/+0
|\ | | | | Remove unused imports
| * Remove unused importsChristoph Wurst2020-03-251-1/+0
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Use the short array syntax, everywhereChristoph Wurst2020-03-261-1/+1
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Register an address book with recent contactsChristoph Wurst2020-03-251-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Allow to force enable apps via CLIJoas Schilling2019-12-131-5/+13
| | | | | | Co-authored-by: Christoph Wurst <christoph@winzerhof-wurst.at> Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-058-17/+25
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Some php-cs fixesRoeland Jago Douma2019-11-224-9/+8
| | | | | | | | | | | * 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>
* Fix access to groupManagerDaniel Kesselberg2019-02-201-1/+1
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Add install logic for enable commandDaniel Kesselberg2019-02-191-0/+11
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Disable multiple apps at onceDaniel Kesselberg2019-02-191-17/+30
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Enable multiple apps at onceDaniel Kesselberg2019-02-191-21/+63
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Log exception in case an app update failsMorris Jobke2018-11-011-1/+7
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>