summaryrefslogtreecommitdiffstats
path: root/core/Command/App
Commit message (Collapse)AuthorAgeFilesLines
* Show version from appinfo on occ app:listJulius Härtl2022-11-111-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* 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>
* Add occ app:update commandMichael Gerber2018-11-011-0/+119
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use error styling for exception messagePatrik Kernstock2018-10-101-2/+2
| | | | Signed-off-by: Patrik Kernstock <info@pkern.at>
* Using Throwable instead of ExceptionPatrik Kernstock2018-10-101-2/+3
| | | | Signed-off-by: Patrik Kernstock <info@pkern.at>
* Log exception using ILoggerPatrik Kernstock2018-10-051-1/+14
| | | | Signed-off-by: Patrik Kernstock <info@pkern.at>
* Inject AppManager and Installer, check for shipped app prior removingPatrik Kernstock2018-10-051-6/+29
| | | | Signed-off-by: Patrik Kernstock <info@pkern.at>
* Run uninstall tasks by default, added '--keep-data' parameterPatrik Kernstock2018-10-051-0/+19
| | | | Signed-off-by: Patrik Kernstock <info@pkern.at>
* Add occ app:remove CLI commandPatrik Kernstock2018-10-051-0/+93
| | | | Signed-off-by: Patrik Kernstock <info@pkern.at>
* Use isInstalled of AppManger instead of reimplement itMorris Jobke2018-03-211-0/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* enable app by default after occ app:installsualko2018-02-261-3/+3
| | | | Signed-off-by: Klaus Herberth <klaus@jsxc.org>
* add enable flag to occ app:install (fix #5834)sualko2018-02-261-0/+13
| | | | Signed-off-by: Klaus Herberth <klaus@jsxc.org>
* App manager is not needed anymoreJoas Schilling2018-02-161-2/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Validate the info.xml against the appstore schema fileJoas Schilling2018-02-161-50/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Use ::class statement instead of stringMorris Jobke2018-01-291-3/+6
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove unneeded semicolon and parenthesesMorris Jobke2018-01-261-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Get the Installer via DIMorris Jobke2017-11-251-7/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update license headersMorris Jobke2017-11-063-1/+3
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>