summaryrefslogtreecommitdiffstats
path: root/lib/private/Updater.php
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #8380 from nextcloud/bugfix/noid/reenable-disabled-appsMorris Jobke2018-07-251-1/+8
|\ | | | | Re-enable apps that got automatically disabled while updating
| * Re-enable apps that got automatically disabled while updatingJoas Schilling2018-06-261-1/+8
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Only wait for cron if fix for endless wait is includedMorris Jobke2018-07-091-2/+6
|/ | | | | | * see https://github.com/nextcloud/server/issues/9992 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Wait for cron to finish before running upgrade commandMorris Jobke2018-06-191-8/+16
| | | | | | * fixes #9562 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* move log constants to ILoggerArthur Schiwon2018-04-261-2/+2
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Do not fail hard if no appinfo is returned during updateJulius Härtl2018-03-281-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Remove OC_App::disable methodTobia De Koninck2018-03-061-1/+1
| | | | 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>
* OC_App::loadApps now only accepts an array as type listMorris Jobke2018-02-171-2/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Disable vendor detection when upgrading from 11.0.xMorris Jobke2018-01-201-10/+2
| | | | | | Upgrade from 11 to 14 is not supported anyways. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove not needed 3rdparty app disabling during upgrade for PHP 5.xMorris Jobke2018-01-191-29/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Make isUpdateAvailable non-staticMorris Jobke2017-11-251-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Get the Installer via DIMorris Jobke2017-11-251-9/+8
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update license headersMorris Jobke2017-11-061-0/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use the existing array of OC versionsJoas Schilling2017-08-071-3/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Use public methods for OC_App::isShippedMorris Jobke2017-08-011-3/+5
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add migration for personal settings stuffJoas Schilling2017-07-051-4/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Start migrationsJoas Schilling2017-07-051-2/+6
| | | | | | | | | | Fixme: - Install and update of apps - No revert on live systems (debug only) - Service adjustment to our interface - Loading via autoloader Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix updating from some 11 versions when people didn't updateJoas Schilling2017-05-181-0/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Allow migrating from ownCloud 10.0.0Joas Schilling2017-05-181-1/+12
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Proper logging for appstore updatesMorris Jobke2017-05-111-1/+9
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Automatic injection into the FetchersJoas Schilling2017-05-101-1/+0
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Make sure the AppFetcher fetches the new applist from the appstoreRoeland Jago Douma2017-05-021-0/+4
| | | | | | | | When in the upgrade process the version in the config is still the old version. (Since we only upgrade it after the upgrade is complete). However the app list fetched from the appstore must be the new list. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add app bundlesLukas Reschke2017-04-261-3/+4
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Do not double cherck app updateMorris Jobke2017-03-131-1/+1
| | | | | | | In base.php the apps are already checked for an update. No need to repeat this during loading of the app. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix return value of getAllowedPreviousVersions()Morris Jobke2017-02-091-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Prevent migration from ownCloud 11 to Nextcloud 12Joas Schilling2017-01-231-20/+16
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Don't disable apps on update if PHP >= 7.0.0Lukas Reschke2016-12-151-0/+6
| | | | | | | | When PHP in a version higher than 7.0.0 is used we catch fatal exceptions in app.php and gracefully already disable the app. There is thus no need to also disable the apps on updates. This has been requested by Jan to fix because that is "the most annoying thing ever" :TM:. – I'd say we give it a try and if that causes problems in the future we can consider alternative approaches. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Log all events that happen during an updateMorris Jobke2016-11-241-0/+131
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* update system address book if the user change the personal settingsBjoern Schiessle2016-11-211-1/+1
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Use a better error message and point the users to the support channelsJoas Schilling2016-11-091-0/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #1973 from ↵Morris Jobke2016-11-021-0/+3
|\ | | | | | | | | nextcloud/dont-disable-shipped-apps-but-throw-instead Throw an exception when a shipped app was not replaced before the update
| * Throw an exception when a shipped app was not replaced before the updateJoas Schilling2016-11-021-0/+3
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Add update supportLukas Reschke2016-10-311-5/+10
|/ | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Kill update simulationVincent Petry2016-09-271-86/+37
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Allow downgrades of maintenance accross vendorsJoas Schilling2016-07-221-1/+28
|
* Update with robinJoas Schilling2016-07-211-1/+1
|
* Fix othersJoas Schilling2016-07-211-2/+3
|
* Update license headersLukas Reschke2016-05-261-6/+3
|
* Merge pull request #24787 from owncloud/fix-update-issue-on-masterVincent Petry2016-05-241-2/+7
|\ | | | | Add the background jobs after the table was updated
| * Add the background jobs after the table was updatedJoas Schilling2016-05-231-2/+7
| |
* | Make sure that installed is a booleanJoas Schilling2016-05-231-0/+1
|/
* fix PHPDoc and other minor issuesChristoph Wurst2016-05-111-0/+1
|
* invalidate (delete) session token on logoutChristoph Wurst2016-05-111-0/+1
| | | | add 'last_activity' column to session tokens and delete old ones via a background job
* OC_Installer -> \OC\InstallerThomas Müller2016-05-021-4/+3
|
* Move more from \OC to PSR-4Roeland Jago Douma2016-04-291-0/+486
* \OC\OCSClient * \OC\Preview * \OC\PreviewManager * \OC\Repair * \OC\RepairException * \OC\Search * \OC\ServerContainer * \OC\ServerNotAvailableException * \OC\ServiceUnavailableException * \OC\Setup * \OC\Streamer * \OC\SubAdmin * \OC\SystemConfig * \OC\TagManager * \OC\Tags * \OC\TempManager * \OC\TemplateLayout * \OC\URLGenerator * \OC\Updater