summaryrefslogtreecommitdiffstats
path: root/lib/private/legacy
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #8506 from nextcloud/use-appmanagerMorris Jobke2018-03-221-0/+1
|\ | | | | Use isInstalled of AppManger instead of reimplement it
| * Use isInstalled of AppManger instead of reimplement itMorris Jobke2018-03-211-0/+1
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Remove unused methods of OC_JsonMorris Jobke2018-03-212-28/+6
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Remove unused private functionRoeland Jago Douma2018-03-191-15/+0
|/ | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #8792 from nextcloud/cleanup-oc_responseMorris Jobke2018-03-131-119/+5
|\ | | | | Remove unused methods of OC_Response
| * Fix the HTTP 1.0 status code and properly detect 1.0 vs 1.1&2.0Morris Jobke2018-03-131-5/+5
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * Remove unused methods of OC_ResponseMorris Jobke2018-03-121-114/+0
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Remove unused methods and constants from legacy OC_APIMorris Jobke2018-03-121-277/+0
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use proper method to format absolute timestampMorris Jobke2018-03-121-23/+0
| | | | 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>
* Pass template parameters to parent templateJulius Härtl2018-02-271-1/+7
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #8424 from nextcloud/fix/update-appRoeland Jago Douma2018-02-191-1/+1
|\ | | | | Fix updating an app
| * 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>
* | Use normal header() calls instead of private method callsMorris Jobke2018-02-192-10/+4
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* 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>
* Merge pull request #8134 from coliff/patch-2Joas Schilling2018-02-021-1/+1
|\ | | | | Update iOS link to geo-detect & show correct store listing
| * Update defaults.phpChristian Oliff2018-02-021-1/+1
| |
* | Update doc link version to 14Morris Jobke2018-02-011-1/+1
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* 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 unneeded semicolon and parenthesesMorris Jobke2018-01-265-7/+7
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #8054 from nextcloud/substr-use-indexMorris Jobke2018-01-261-3/+3
|\ | | | | Use index based string access for substr with length of 1
| * Use index based string access for substr with length of 1Morris Jobke2018-01-261-3/+3
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Simplify ternary operator statementsMorris Jobke2018-01-261-2/+2
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Use type casting instead of *val() methodMorris Jobke2018-01-263-5/+5
| | | | | | | | | | | | It should be up to 6x faster Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #8053 from nextcloud/simplify-substrJoas Schilling2018-01-261-1/+1
|\ \ | | | | | | Use short for of substr to not need strlen()
| * | Use short for of substr to not need strlen()Morris Jobke2018-01-251-1/+1
| |/ | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* / Return value immediately instead of assigning to a one-time variableMorris Jobke2018-01-262-4/+2
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #7911 from nextcloud/improve-oc_imageJulius Härtl2018-01-181-36/+14
|\ | | | | Improve OC_Image code to not guess the type of input
| * Improve OC_Image code to not guess the type of input, but actually request ↵Morris Jobke2018-01-181-36/+14
| | | | | | | | | | | | | | | | the specific methods to be called Followup to #7836 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Remove IAppConfig::setValueRoeland Jago Douma2018-01-171-3/+3
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Remove IAppConfig::getValueRoeland Jago Douma2018-01-172-5/+4
|/ | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #7836 from nextcloud/image-type-hintingMorris Jobke2018-01-171-4/+14
|\ | | | | Fix float/integer handling in image API
| * Fix float/integer handling in image APIMorris Jobke2018-01-171-4/+14
| | | | | | | | | | | | | | * IImage::crop/preciseResize now have type hinting for integers * found while testing strict typing for PHP 7+ Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Cleanup OC_User and OCP\UserMorris Jobke2018-01-163-75/+5
| | | | | | | | | | | | * mainly removes deprecated methods and old static code Signed-off-by: Morris Jobke <hey@morrisjobke.de>