summaryrefslogtreecommitdiffstats
path: root/lib/private/legacy/app.php
Commit message (Collapse)AuthorAgeFilesLines
* Use numeric placeholders if there are multiple, so that RTL languages can ↵Joas Schilling2018-10-091-1/+1
| | | | | | operate better Signed-off-by: Joas Schilling <coding@schilljs.com>
* also catch exceptions when loading appsRobin Appelman2018-08-241-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Re-enable apps that got automatically disabled while updatingJoas Schilling2018-06-261-0/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Properly clear cacheJulius Härtl2018-06-061-0/+1
| | | | 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>
* Get correct version of an appRoeland Jago Douma2018-05-031-1/+1
| | | | | | | | | | | | Related to #8929 We should get the version of the app. Not of the appfolder. Else there is no way to properly compare the versions. Now note that installing in 1 go will still fail. But at least on the next page load the new version will be properly detected. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* move log constants to ILoggerArthur Schiwon2018-04-261-6/+7
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* fix appinfo parsing when a single localized option is providedRobin Appelman2018-04-171-0/+5
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Use isInstalled of AppManger instead of reimplement itMorris Jobke2018-03-211-0/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove unused $enableAppsCache in OC_AppTobia De Koninck2018-03-061-13/+0
| | | | Signed-off-by: Tobia De Koninck <tobia@ledfan.be>
* Remove OC_App::disable methodTobia De Koninck2018-03-061-15/+1
| | | | Signed-off-by: Tobia De Koninck <tobia@ledfan.be>
* Run repair steps on uninstall in all casesTobia De Koninck2018-03-061-10/+0
| | | | Signed-off-by: Tobia De Koninck <tobia@ledfan.be>
* Fix updating an upChristoph Wurst2018-02-191-1/+1
| | | | | | | | OC_App has been made strict recently and the updater code was not compatible to this. This adds the array to string conversion of the Nextcloud version and fixes a typo in OC_App (sstring -> string) Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add remaining type hints, that were already okayMorris Jobke2018-02-171-33/+34
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Always return a string in OC_App::getCurrentApp and no booleanMorris Jobke2018-02-171-2/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use empty array as group list in OC_App::enableMorris Jobke2018-02-171-3/+3
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Refactor dependencies in setAppTypesMorris Jobke2018-02-171-6/+8
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix app version to be always string and neither array nor nullMorris Jobke2018-02-171-5/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* OC_App::loadApps now only accepts an array as type listMorris Jobke2018-02-171-9/+6
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Migrate to short array syntaxMorris Jobke2018-02-171-18/+18
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #8095 from nextcloud/webapps-capabilitiesMorris Jobke2018-02-151-29/+4
|\ | | | | Expose navigation entries as API endpoint
| * Deprecate static methods and use Navigation managerJulius Härtl2018-02-121-0/+2
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * Move navigation processing to the NavigationManagerJulius Härtl2018-02-121-29/+2
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Add throws annotationJulius Härtl2018-02-151-0/+1
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Properly encapsulate require_once for app.phpJulius Härtl2018-02-151-11/+12
|/ | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Remove OC_App::removeAppJulius Härtl2018-01-311-13/+0
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Remove OC_App::installApp since it is not used anymoreJulius Härtl2018-01-311-57/+0
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Move getAppInfo and getAppVersion to IAppManagerJulius Härtl2018-01-311-43/+7
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Do not cache the settings/sections in the database anymoreJoas Schilling2018-01-291-4/+22
| | | | | | | This caused more troubles then it had benefits, especially when an app got disabled or was removed without being disabled. Signed-off-by: Joas Schilling <coding@schilljs.com>
* Remove IAppConfig::setValueRoeland Jago Douma2018-01-171-3/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Remove IAppConfig::getValueRoeland Jago Douma2018-01-171-2/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Keep all shipped apps enabled because they should be okayJoas Schilling2018-01-161-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix strpos if needle is not foundMorris Jobke2018-01-121-1/+1
| | | | | | Found while testing strict_typing for PHP 7+. If `$script` does not contain a `/` then it should extract a string of the length 0. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Get the Installer via DIMorris Jobke2017-11-251-14/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Change @georgehrke's emailMorris Jobke2017-11-061-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update license headersMorris Jobke2017-11-061-1/+3
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge branch 'master' into autocomplete-guiArthur Schiwon2017-11-011-16/+2
|\
| * Merge pull request #6928 from nextcloud/remove-unneeded-methodMorris Jobke2017-10-241-15/+0
| |\ | | | | | | Remove unused method of OC_App
| | * Remove unused method of OC_AppMorris Jobke2017-10-241-15/+0
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * | Deprecate OC_App:isEnabledMorris Jobke2017-10-241-0/+1
| |/ | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * Use appmanager instead of OC_App for check for enabled appMorris Jobke2017-10-231-1/+1
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | AutoCompletion backendArthur Schiwon2017-10-221-0/+2
|/ | | | | | | | | | * introduce a Controller for requests * introduce result sorting mechanism * extend Comments to retrieve commentors (actors) in a tree * add commenters sorter * add share recipients sorter Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Allow apps to have their own autoloaderRoeland Jago Douma2017-10-171-4/+12
| | | | | | | | | | This will allow apps to also have a proper classmap and authorative autoloader. Currently if a file: <appdir>/composer/autoload.php exists we will use it. Else we keep the current behavior. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Do not return app names multiple timesJulius Härtl2017-10-101-0/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* adapt attribute name (changed letter case style)Arthur Schiwon2017-09-271-1/+1
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* reduce nesting of the required app XMLArthur Schiwon2017-09-271-3/+12
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* make it possible to register plugins and kick out the circle oneArthur Schiwon2017-09-261-0/+5
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Read appinfo from a local cacheRoeland Jago Douma2017-09-191-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Use public methods for OC_App::isShippedMorris Jobke2017-08-011-17/+6
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* More phpstorm inspection fixesRoeland Jago Douma2017-07-241-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>