summaryrefslogtreecommitdiffstats
path: root/lib/private/App
Commit message (Collapse)AuthorAgeFilesLines
* Use numeric placeholders if there are multiple, so that RTL languages can ↵Joas Schilling2018-10-091-5/+5
| | | | | | operate better Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix loading providers of 2FA app with more than one providerChristoph Wurst2018-08-211-0/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* add deck and mail to the groupware bundle, remove talkBjoern Schiessle2018-08-171-1/+2
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Add the ToS app to the enterprise bundleJoas Schilling2018-08-091-3/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix app code checker to ignore `build` directoryChristoph Wurst2018-08-091-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* 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>
* Remove unneeded classJulius Härtl2018-06-061-41/+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>
* Move logic to app management mixinJulius Härtl2018-06-061-2/+5
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add AppStore ManagerJulius Härtl2018-06-061-0/+38
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* move log constants to ILoggerArthur Schiwon2018-04-262-3/+3
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Log possible exception caused by wrong version numberMorris Jobke2018-04-111-10/+15
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix version comparison with minor and patch level requirementsChristoph Wurst2018-04-112-8/+112
| | | | | | | | | | | If an app requires a specific minor or path level server version, the version_compare prevented the installation as only the major version had been compared and that checks obviously returns `false`. Now the full version is used for comparison, making it possible to release apps for a specific minor or patch level version of Nextcloud. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix AppFetcher::setVersion phpdocChristoph Wurst2018-04-101-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* 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>
* Merge pull request #8506 from nextcloud/use-appmanagerMorris Jobke2018-03-221-1/+3
|\ | | | | Use isInstalled of AppManger instead of reimplement it
| * Use isInstalled of AppManger instead of reimplement itMorris Jobke2018-03-211-1/+3
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Deprecate OCP\FilesMorris Jobke2018-03-211-0/+8
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove unused and deprecated class and interface AppHelperMorris Jobke2018-03-121-1/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #8579 from nextcloud/feature/2692/merge-can-i-updateMorris Jobke2018-03-062-2/+4
|\ | | | | Display a list of unavailable apps for updates (aka. merge "Can I update?")
| * Also allow to specify the cache file nameJoas Schilling2018-02-282-2/+4
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | 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>
* Merge pull request #8476 from nextcloud/strict_l10nRoeland Jago Douma2018-02-221-5/+5
|\ | | | | Make OCP\IL10N strict
| * Fix other testsRoeland Jago Douma2018-02-211-5/+5
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Log exceptions that happen when writing the app store reply to storageJoas Schilling2018-02-211-0/+1
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* getIncompatibleApps needs a string not an arrayRoeland Jago Douma2018-02-211-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Use normal header() calls instead of private method callsMorris Jobke2018-02-191-0/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* 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-162-91/+63
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Use non aliased method insteadMorris Jobke2018-02-131-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add deprecation checksMorris Jobke2018-01-311-0/+8
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Move getAppInfo and getAppVersion to IAppManagerJulius Härtl2018-01-311-8/+42
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #8054 from nextcloud/substr-use-indexMorris Jobke2018-01-261-3/+2
|\ | | | | 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/+2
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #8064 from nextcloud/background-jobsMorris Jobke2018-01-261-0/+3
|\ \ | | | | | | Deprecated OCP interface to fetch background job type
| * | Deprecated OCP interface to fetch background job typeMorris Jobke2018-01-261-0/+3
| |/ | | | | | | | | | | | | * was not used by apps and also is not needed * migrated the documentation to IJobList Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #8063 from nextcloud/inline-valueJoas Schilling2018-01-261-2/+1
|\ \ | | | | | | Return value immediately instead of assigning to a one-time variable
| * | Return value immediately instead of assigning to a one-time variableMorris Jobke2018-01-261-2/+1
| |/ | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* / Implements are not needed because they are already done by base classMorris Jobke2018-01-252-2/+2
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove IAppConfig::getValueRoeland Jago Douma2018-01-171-4/+4
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add OCP\User deprecations to app code checkerMorris Jobke2018-01-161-0/+4
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #7833 from nextcloud/fix-code-checkerChristoph Wurst2018-01-141-4/+5
|\ | | | | Fix casting in app code checker
| * Fix casting in app code checkerMorris Jobke2018-01-121-4/+5
| | | | | | | | | | | | Found while adding strict typing for PHP7+. This adds type hinting to all methods in CodeChecker.php and fixes one implicit cast. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #7840 from nextcloud/dep_configRoeland Jago Douma2018-01-141-1/+0
|\ \ | | | | | | Remove deprecated \OCP\Config
| * | Remove deprecated \OCP\ConfigRoeland Jago Douma2018-01-131-1/+0
| |/ | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* / Add casts to XML parser in DatabaseSchemaCheckerMorris Jobke2018-01-121-15/+15
|/ | | | | | Preparation for strict_typing for PHP7+. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Also log exception for failed appstore requestMorris Jobke2018-01-021-1/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>