summaryrefslogtreecommitdiffstats
path: root/lib/private/updater.php
Commit message (Collapse)AuthorAgeFilesLines
* Use internally \OCP\ILogger instead of \OC\LogMorris Jobke2015-04-301-3/+4
| | | | | | * this is the preparation for some upcoming logger related changes * also fixes an issue in the public interface where we request an internal class as parameter
* Update license headersJenkins for ownCloud2015-03-261-4/+27
|
* Add spacesMorris Jobke2015-03-161-1/+1
|
* [WIP] upgrade app store apps during console upgradeThomas Müller2015-03-131-1/+21
|
* Merge pull request #14357 from owncloud/fix/1373Morris Jobke2015-03-111-7/+7
|\ | | | | Run `updateDataDirectory` after Update
| * Run `updateDataDirectory` after UpdateLukas Reschke2015-03-021-7/+7
| | | | | | | | Fixes https://github.com/owncloud/core/issues/13731
* | Properly forward repair errors and warningsVincent Petry2015-02-271-0/+16
|/ | | | | This makes repair errors and warnings visible for the user when upgrading on the command line or in the web UI.
* Revert "Updating license headers"Morris Jobke2015-02-261-26/+5
| | | | This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
* 3rd-party apps are only disabled in case core is upgradedThomas Müller2015-02-241-0/+14
|
* shipped and 3rd-party apps of type authentication and session will remain ↵Thomas Müller2015-02-241-3/+11
| | | | enabled during update
* 3rd-party apps are disabled on upgrade - refs #14026Thomas Müller2015-02-241-38/+55
|
* Fix namespace of OC_Setup -> \OC\SetupThomas Müller2015-02-231-1/+1
|
* Updating license headersJenkins for ownCloud2015-02-231-5/+26
|
* Port of #14041 to masterArthur Schiwon2015-02-191-3/+37
| | | | | | on ownCloud upgrade: upgrade all apps in order, load important ones Fix "other" app update stack
* Add version to .htaccessLukas Reschke2015-01-081-1/+5
| | | | | | | | | Currently if a user does not replace the .htaccess file with the new update this can lead to serious problems in case Apache is used as webserver. This commit adds the version to the .htaccess file and the update routine fails in case not the newest version is specified in there. This obviously means that every release has to update the version specified in .htaccess as well. But I see no better solution for it. Conflicts: lib/private/updater.php
* Inject configVictor Dubiniuk2014-12-101-10/+16
|
* Fix tests. Add two more test casesVictor Dubiniuk2014-12-081-6/+7
|
* Use httphelper and cache response even when it emptyVictor Dubiniuk2014-12-061-20/+20
|
* Run preupdate before an updateLukas Reschke2014-11-131-1/+17
| | | | | | | | The update routine tries to test the database migration before actually performing the update. However, this will fail hard if the schema has changed (for example an unique key has been added). App developers can convert the DB in preupdate.php, however it is not called before and therefore the update fails. This actually breaks ownCloud updates from ownCloud 6 to ownCloud 7 when the files_antivirus app is enabled.
* Remove implicit prepared statement cache and get the connection from the ↵Robin Appelman2014-10-221-1/+0
| | | | server container in \OC_DB
* remove legacy class OC_UpdaterThomas Müller2014-10-201-1/+5
|
* Merge pull request #11119 from owncloud/removeOldUpgradeRoutinesVincent Petry2014-09-191-20/+0
|\ | | | | Remove old upgrade routines
| * Remove old upgrade routinesLukas Reschke2014-09-161-20/+0
| | | | | | | | We do not support updates from 6 to 8 directly, therefore we can remove those upgrade routines.
* | Prevent updates between multiple major versionsLukas Reschke2014-09-181-1/+23
|/ | | | Ref https://github.com/owncloud/core/issues/11078
* fix undefined variableRobin Appelman2014-08-181-1/+1
|
* only set core version at the endRobin Appelman2014-08-041-2/+0
|
* Also set the app version when updating from app storeRobin Appelman2014-08-041-2/+0
|
* extract upgrade parts to their own methodsRobin Appelman2014-08-041-19/+62
|
* Set version AFTER a successful updateVincent Petry2014-07-231-2/+3
| | | | | | | | | | If an app upgrade failed, the core version will not be increased either in the database. This will re-display the update page and make it possible to redo the apps upgrade. Note that any core repair routine must take into account that an update might need to be redone again even though the core's DB state is already the one of the new version.
* Added RepairStep interface and default repair step listsVincent Petry2014-06-121-40/+43
| | | | | | | | | | | The updater is using "before update" repair steps and "regular" repair steps. The "regular" repair steps are also used by the CLI tool. Currently no steps exist but can be added later in the static methods in the \OC\Repair class. Added unit test to test messaging, error and exception cases.
* adding PK to table encryptionThomas Müller2014-06-061-0/+1
| | | | | | | | | | | | | | | | | | | | adding auto increment/PK to table files_trash adding PK to table ldap_user_mapping and ldap_group_members adding PK to table ldap_group_mapping truncate permissions table to allow smooth creation of primary key adding unit test for creating an auto increment column on a table which already contains data remove unneeded table files_trashsizes fix unit test no need to truncate *PREFIX*permissions On Oracle adding auto increment columns is not working out of the box - Oracle migrations are to be done manually
* Added CLI arguments for upgrade simulation stepsVincent Petry2014-06-061-17/+51
| | | | | | Added "dry run" argument to only run the update simulation. Added argument to disable migration (useful for bigger setups where table duplication would take too much space)
* unify share settingsBjoern Schiessle2014-06-051-2/+9
|
* Removed simulate db update flag and split into separate methodsVincent Petry2014-06-041-2/+2
|
* Simulate apps database schema update on upgradeVincent Petry2014-06-041-14/+48
| | | | | When upgrade, also simulate the database schema update for apps before doing the actual upgrade.
* Now showing disabled apps as upgrade status lineVincent Petry2014-05-271-1/+4
| | | | | - Added app id in update overview. - Added status message for disabled app for CLI upgrade and web upgrade
* Squash 'a | b' into 'a|b', in /libRobin McCorkell2014-05-131-1/+1
|
* Update outdated commentVolkan Gezer2014-04-281-1/+1
|
* Merge branch 'master' into append-error-documentThomas Müller2014-04-021-44/+10
|\ | | | | | | | | | | Conflicts: lib/private/setup.php lib/private/updater.php
| * Merge pull request #7611 from owncloud/fix-updaterVincent Petry2014-03-211-1/+1
| |\ | | | | | | Use $installedVersion instead of $currentVersion
| | * Use $installedVersion instead of $currentVersionLukas Reschke2014-03-171-1/+1
| | |
| * | Merge pull request #7732 from owncloud/datafolderexistenceVincent Petry2014-03-201-0/+5
| |\ \ | | | | | | | | Added .ocdata file to check for data folder validity
| | * | Added .ocdata file to check for data folder validityVincent Petry2014-03-141-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In environments where the data folder is mount from another partition, it is important to check that the data folder we see is actually the real one. If the mount failed for some reasons, this fix will make ownCloud temporarily unavailable instead of causing unpredictable behavior.
| * | | drop file cache migration OC5 -> OC6Thomas Müller2014-03-181-43/+0
| | |/ | |/|
| * | Added warning for trusted_domains after CLI upgradeVincent Petry2014-03-141-1/+1
| |/ | | | | | | | | If trusted_domains is not set after a CLI upgrade, show a warning in the output.
| * Merge pull request #7602 from owncloud/flush-updater-cacheVincent Petry2014-03-101-0/+2
| |\ | | | | | | Reset time of last update feed polling after successful update
| | * Reset time of last update feed pollingVictor Dubiniuk2014-03-061-0/+2
| | |
| * | Disable XML entities when parsing XMLVincent Petry2014-03-101-0/+2
| |/
* / Remove .htaccess creation codeLukas Reschke2014-02-281-0/+6
|/ | | | | 1. We're maintaining the same code twice which leads inevitably to problems as this one. The createHtaccess routine is only used to use the correct paths to the 404 and 403 document. 2. Updating the ownCloud instance as described in our documentation (`Delete everything from your ownCloud installation directory, except data and config.`) will break the links to the ErrorDocuments anyways and show the default error handlers if ownCloud is not installed in the root directory.
* Add overwritehost config on setup and upgradeLukas Reschke2014-02-211-0/+15
|