Skip to content
Snippets Groups Projects
  1. Oct 23, 2017
  2. Sep 26, 2017
  3. Aug 01, 2017
  4. Jul 26, 2017
    • Morris Jobke's avatar
      Fix 403 and 404 redirect · 0de90cfc
      Morris Jobke authored
      
      * Nextcloud is not properly loaded in the standalone version (especially the theming)
      * it is already not listed anymore in the Nginx config (see nextcloud/documentation#392)
      * the index.php-free version doesn't support this
      
      Signed-off-by: default avatarMorris Jobke <hey@morrisjobke.de>
      0de90cfc
  5. Jul 25, 2017
  6. Jul 05, 2017
  7. May 08, 2017
  8. Apr 26, 2017
  9. Apr 10, 2017
    • Morris Jobke's avatar
      Move OC_Defaults to OCP\Defaults · 5b4adf66
      Morris Jobke authored
      
      * currently there are two ways to access default values:
        OCP\Defaults or OC_Defaults (which is extended by
        OCA\Theming\ThemingDefaults)
      * our code used a mixture of both of them, which made
        it hard to work on theme values
      * this extended the public interface with the missing
        methods and uses them everywhere to only rely on the
        public interface
      
      Signed-off-by: default avatarMorris Jobke <hey@morrisjobke.de>
      Unverified
      5b4adf66
  10. Mar 19, 2017
  11. Mar 06, 2017
  12. Feb 24, 2017
  13. Feb 22, 2017
  14. Feb 20, 2017
  15. Feb 10, 2017
  16. Jan 26, 2017
  17. Nov 14, 2016
    • Thomas Müller's avatar
      Introduce an event for first time login based on the last login time stamp · 506ccdbd
      Thomas Müller authored
      Use firstLogin event to trigger creation of default calendar and default address book
      
      Delay login of admin user after setup so that firstLogin event can properly be processed for the admin
      
      Fixing tests ...
      
      Skeleton files are not copied over -> only 3 cache entries are remaining
      
      Use updateLastLoginTimestamp to properly setup lastLogin value for a test user
      Unverified
      506ccdbd
  18. Sep 13, 2016
  19. Jul 21, 2016
  20. Jul 15, 2016
  21. Jul 12, 2016
  22. Jul 08, 2016
  23. May 26, 2016
  24. May 24, 2016
  25. May 12, 2016
    • Lukas Reschke's avatar
      Do not automatically try to enable index.php-less URLs (#24539) · 52add798
      Lukas Reschke authored
      The current logic for mod_rewrite relies on the fact that people have properly configured ownCloud, basically it reads from the `overwrite.cli.ur
      l` entry and then derives the `RewriteBase` from it.
      
      This usually works. However, since the ownCloud packages seem to install themselves at `/owncloud` (because subfolders are cool or so…) _a lot_ of people have just created a new Virtual Host for it or have simply symlinked the path etc.
      
      This means that `overwrite.cli.url` is wrong, which fails hard if it is used as RewriteBase since Apache does not know where it should serve files from. In the end the ownCloud instance will not be accessible anymore and users will be frustrated. Also some shared hosters like 1&1 (because using shared hosters is so awesome… ;-)) have somewhat dubious Apache configurations or use versions of mod_rewrite from the mediveal age. (because updating is money or so…)
      
      Anyhow. This makes this explicitly an opt-in configuration flag. If `htaccess.RewriteBase` is set then it will configure index.php-less URLs, if
      admins set that after installation and don't want to wait until the next ownCloud version they can run `occ maintenance:update:htaccess`.
      
      For ownCloud 9.0 we also have to add a repair step to make sure that instances that already have a RewriteBase configured continue to use it by copying it into the config file. That way all existing URLs stay valid. That one is not in this PR since this is unneccessary in master.
      
      Effectively this reduces another risk of breakage when updating from ownCloud 8 to ownCloud 9.
      
      Fixes https://github.com/owncloud/core/issues/24525, https://github.com/owncloud/core/issues/24426 and probably some more.
      52add798
  26. May 11, 2016
  27. May 02, 2016
  28. Apr 29, 2016
    • Roeland Jago Douma's avatar
      Move more from \OC to PSR-4 · f52c5b31
      Roeland Jago Douma authored
      * \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
      Unverified
      f52c5b31
  29. Apr 26, 2016
  30. Apr 20, 2016
    • Lukas Reschke's avatar
      Write .htaccess also from CLI · cd299b85
      Lukas Reschke authored
      The new updater as shipped with ownCloud 9.0.x invokes `occ` via `shell_exec`. This means that the `\OC::$CLI` code is used when updating.
      
      This removes the manual `.htaccess` modifications, effectively leading to the fact that URLs without index.php in it stop working. This also affects share URLs which could be considered a rather serious regression.
      
      - User installs 9.0.0 via web
      - User shares /s/1234
      - User updates to 9.0.1 via ownCloud updater
      - Link to /s/1234 is broken, /index.php/s/1234 works
      Unverified
      cd299b85
  31. Mar 17, 2016
    • Lukas Reschke's avatar
      Write .htaccess update only if not already written · e867a7d5
      Lukas Reschke authored
      The ownCloud update routine also runs the "updateHtaccess" code in case only an application gets updated. This leads to having entries multiple time in the .htaccess file leading to unpredictable behaviour.
      
      With 9.0 we added the "#### DO NOT CHANGE ANYTHING ABOVE THIS LINE ####" entry to the .htaccess file, this change uses it to ensure that only to the .htaccess gets written if the file has not been modified already. Since the .htaccess modifications are optional this is not a big deal.
      
      Without this change updates of applications can break the rewrite rules (ending in endless redirects) as well as breaking the code integrity checker.
      e867a7d5
  32. Mar 10, 2016
  33. Mar 09, 2016
Loading