aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/App/AppManager.php
Commit message (Collapse)AuthorAgeFilesLines
* chore(app): Do not clear unused cache keyChristoph Wurst2023-05-301-2/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add label for logo linkChristopher Ng2023-03-291-0/+24
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Small cleanups for AppManagerCôme Chilliet2023-03-201-2/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Move loadApps to the AppManagerCôme Chilliet2023-03-201-0/+49
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Move isType to AppManagerCôme Chilliet2023-03-201-1/+38
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Avoid calling Server::get more times than necessary in loadAppCôme Chilliet2023-03-201-29/+45
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Strong type private properties and methods in AppManagerCôme Chilliet2023-03-201-43/+17
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Switch away from Server::get for AppManager and logger in loadAppCôme Chilliet2023-03-201-8/+8
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Move loadApp function to the AppManagerCôme Chilliet2023-03-201-0/+139
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Introduced app enable/disable/update typed eventsThomas Citharel2023-03-131-9/+20
| | | | | | OCP\App\ManagerEvent is depreciated since 22 without a replacement Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* composer run cs:fixCôme Chilliet2023-01-201-1/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* set defaultEnabled in shipped.jsonMaxence Lange2022-09-151-2/+20
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* Fix updating with appsJoas Schilling2021-11-111-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Keep group restrictions when reenabling apps after an updateJoas Schilling2021-10-131-1/+5
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #27098 from nextcloud/fix/noid/missing-key-in-addInfoJohn Molakvoæ2021-06-161-1/+1
|\ | | | | force 'name' key in array
| * force 'name' key in arrayMaxence Lange2021-05-251-1/+1
| | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-1/+0
|/ | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Less ILoggerJoas Schilling2021-04-271-13/+5
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update all license headers for Nextcloud 21Christoph Wurst2020-12-161-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-6/+5
| | | | | | | | | | | | | | | 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-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update the license headers for Nextcloud 19Christoph Wurst2020-03-311-0/+1
| | | | 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>
* Allow to force enable apps via CLIJoas Schilling2019-12-131-2/+27
| | | | | | 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-051-3/+7
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Improve usage of IAppManager::getAppWebPath()Daniel Rudolf2019-09-051-1/+1
| | | | | | Deprecate \OC_App::getAppWebPath() and \OC_App::getAppPath() Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
* Add IAppManager::getAppWebPath()Daniel Rudolf2019-08-251-0/+16
| | | | | | Implements a public API for \OC_App::getAppWebPath() Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
* Make the auto-disabled list more broadJoas Schilling2019-08-151-1/+17
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Reduce indirection in AppManagerMorris Jobke2019-07-181-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Properly inject the loggerMorris Jobke2019-07-161-3/+9
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove deleted groups from app restrictions fixes #15823Greta Doci2019-06-271-1/+64
| | | | Signed-off-by: Greta Doci <gretadoci@gmail.com>
* Check app path for enableAppForGroupsDaniel Kesselberg2019-01-261-6/+7
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Keep AppConfig for nowJulius Härtl2018-06-061-0/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Remove unused importJulius Härtl2018-06-061-1/+0
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Implement update functionalityJulius Härtl2018-06-061-0/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Do not fail hard if no appinfo is returned during updateJulius Härtl2018-03-281-2/+4
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Use isInstalled of AppManger instead of reimplement itMorris Jobke2018-03-211-1/+3
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove unused and outdated hookMorris Jobke2018-03-061-3/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Run repair steps on uninstall in all casesTobia De Koninck2018-03-061-0/+10
| | | | Signed-off-by: Tobia De Koninck <tobia@ledfan.be>
* getIncompatibleApps needs a string not an arrayRoeland Jago Douma2018-02-211-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #8411 from nextcloud/add-strict-types-to-oc_appMorris Jobke2018-02-171-2/+2
|\ | | | | Add strict types to OC_App
| * Fix app version to be always string and neither array nor nullMorris Jobke2018-02-171-2/+2
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Validate the info.xml against the appstore schema fileJoas Schilling2018-02-161-0/+5
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Move getAppInfo and getAppVersion to IAppManagerJulius Härtl2018-01-311-8/+42
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Remove IAppConfig::getValueRoeland Jago Douma2018-01-171-4/+4
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Also replace all other occurencesMorris Jobke2017-12-181-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Run updated license header updaterMorris Jobke2017-11-071-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update license headersMorris Jobke2017-11-061-0/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Some more code fixesJoas Schilling2017-03-201-21/+22
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Don't use a generic exceptionJoas Schilling2017-03-201-5/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>