Skip to content
Snippets Groups Projects
  1. Jul 23, 2019
  2. Jul 22, 2019
  3. Mar 04, 2019
  4. Nov 19, 2018
  5. Nov 18, 2018
  6. Oct 11, 2018
  7. Oct 10, 2018
  8. Feb 28, 2018
  9. Feb 05, 2018
  10. Dec 18, 2017
  11. Dec 16, 2017
  12. Apr 13, 2017
  13. Mar 26, 2017
  14. Feb 03, 2017
  15. Nov 14, 2016
    • Jörn Friedrich Dreyer's avatar
      Cache js, css and woff files for a week (#26591) · 9802c5cd
      Jörn Friedrich Dreyer authored
      increases the cache duration for css and js files from 2 hours to half a year. Should they change the versionhash changes as well and a new file is fetched. Half a year should be long enough for oc updates.
      
      Also allows caching woff files for 7 days. Currently, there is no versionhash available, but pressing F5 will also refresh the woff files.
      9802c5cd
  16. Sep 13, 2016
  17. Aug 08, 2016
  18. Jun 09, 2016
  19. Jun 03, 2016
  20. May 23, 2016
  21. 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
  22. Mar 17, 2016
  23. Mar 15, 2016
  24. Mar 10, 2016
    • Stephan Köninger's avatar
      Allow jpg files to be statically served · 73a7c45d
      Stephan Köninger authored
      When using an background image in themes of type JPG, the current setting of owncloud's htaccess file does not allow to deliver these kinds of images as static content. Adding the file extensions as done in this commit, it works flawlessly.
      73a7c45d
  25. Mar 09, 2016
  26. Feb 25, 2016
  27. Jan 28, 2016
  28. Jan 12, 2016
  29. Jan 08, 2016
  30. Jan 06, 2016
  31. Dec 08, 2015
Loading