Skip to content
Snippets Groups Projects
  1. Jan 08, 2015
    • Lukas Reschke's avatar
      Add version to .htaccess · 7fbb7f4d
      Lukas Reschke authored
      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
      7fbb7f4d
  2. Dec 09, 2014
  3. Dec 08, 2014
  4. Dec 06, 2014
  5. Nov 13, 2014
    • Lukas Reschke's avatar
      Run preupdate before an update · 5f8fb8d1
      Lukas Reschke authored
      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.
      5f8fb8d1
  6. Oct 22, 2014
  7. Oct 20, 2014
  8. Sep 18, 2014
  9. Sep 16, 2014
  10. Aug 18, 2014
  11. Aug 04, 2014
  12. Jul 23, 2014
    • Vincent Petry's avatar
      Set version AFTER a successful update · 6f329dcb
      Vincent Petry authored
      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.
      6f329dcb
  13. Jun 12, 2014
    • Vincent Petry's avatar
      Added RepairStep interface and default repair step lists · ca690c4d
      Vincent Petry authored
      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.
      ca690c4d
  14. Jun 06, 2014
    • Thomas Müller's avatar
      adding PK to table encryption · fe8bae31
      Thomas Müller authored
      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
      fe8bae31
    • Vincent Petry's avatar
      Added CLI arguments for upgrade simulation steps · 5e27ac3e
      Vincent Petry authored
      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)
      5e27ac3e
  15. Jun 05, 2014
  16. Jun 04, 2014
  17. May 27, 2014
  18. May 13, 2014
  19. Apr 28, 2014
  20. Mar 18, 2014
  21. Mar 17, 2014
  22. Mar 14, 2014
  23. Mar 10, 2014
  24. Mar 06, 2014
  25. Feb 28, 2014
    • Lukas Reschke's avatar
      Remove .htaccess creation code · 357fdb1a
      Lukas Reschke authored
      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.
      357fdb1a
  26. Feb 21, 2014
  27. Nov 26, 2013
  28. Nov 24, 2013
  29. Sep 30, 2013
  30. Aug 27, 2013
  31. Aug 26, 2013
  32. Jul 08, 2013
  33. Jul 06, 2013
  34. Apr 30, 2013
Loading