summaryrefslogtreecommitdiffstats
path: root/lib/private/App/AppManager.php
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* Add exception to PHPDocLukas Reschke2017-03-201-0/+1
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* checking if app exists in the FileStream nownoveens2017-03-201-0/+4
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove group restrictions when those are not allowed anymoreJoas Schilling2017-01-041-0/+15
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Expose getAppPath to public APIJulius Haertl2016-11-171-0/+16
| | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
* Update with robinJoas Schilling2016-07-211-1/+1
|
* Fix othersJoas Schilling2016-07-211-2/+4
|
* emit correct signal if a app get's disabledBjoern Schiessle2016-06-131-1/+1
|
* Update license headersLukas Reschke2016-05-261-2/+3
|
* Add two factor auth to coreChristoph Wurst2016-05-231-1/+1
|
* Move \OC\App to PSR-4Roeland Jago Douma2016-04-131-0/+370