summaryrefslogtreecommitdiffstats
path: root/lib/private/legacy
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* Make it possible to make external storages read onlyRoeland Jago Douma2018-05-011-0/+17
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* move log constants to ILoggerArthur Schiwon2018-04-265-16/+23
| | | | 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 zip32 only if there are less than 65536 filesDaniel Calviño Sánchez2018-04-061-4/+33
| | | | | | | A zip32 file can contain, at most, 65535 files (and folders), so take that constraint into account. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Use zip32 if possibleRoeland Jago Douma2018-04-061-3/+14
| | | | | | | | | * OSX doesn't handle 64zip that well * Some other implentations don't handle it perfectly either * If the file is belog 4GiB (some overhead) => zip32 * This covers the 99% case I bet Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #8976 from nextcloud/dep_user_codeRoeland Jago Douma2018-03-281-19/+2
|\ | | | | Remove deprecated functions from OCP\User
| * Remove deprecated OCP\User::getDisplaynameRoeland Jago Douma2018-03-251-0/+2
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * Remove deprecated \OCP\User::getUsersRoeland Jago Douma2018-03-251-19/+0
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #8994 from nextcloud/deprecate-theme-sync-clientsRoeland Jago Douma2018-03-281-4/+5
|\ \ | | | | | | Deprecate theme sync clients
| * | Use customclient_* values by default and do not use them in custom themes ↵Julius Härtl2018-03-261-4/+5
| |/ | | | | | | | | | | anymore Signed-off-by: Julius Härtl <jus@bitgrid.net>
* / Remove deprecated OC_Group_BackendRoeland Jago Douma2018-03-261-56/+0
|/ | | | | | | * Private class * Has been deprecated since NC10 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* 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>