Skip to content
Snippets Groups Projects
  1. Feb 09, 2015
  2. Feb 06, 2015
  3. Feb 04, 2015
  4. Jan 30, 2015
  5. Jan 29, 2015
  6. Jan 28, 2015
  7. Jan 27, 2015
    • Vincent Petry's avatar
      Prevent wrapping null storage · 6d8985b6
      Vincent Petry authored
      Can happen when trying to instantiate external storages that have
      incomplete config, where the constructor throws an exception (the
      exception is caught in createStorage())
      6d8985b6
  8. Jan 26, 2015
  9. Jan 23, 2015
  10. Jan 22, 2015
  11. Jan 19, 2015
  12. Jan 15, 2015
  13. Jan 13, 2015
  14. Jan 12, 2015
  15. Jan 10, 2015
    • Lukas Reschke's avatar
      Use isset() instead of strlen() · 310424db
      Lukas Reschke authored
      Isset is a native language construct and thus A LOT faster than using strlen()
      
      On my local machine this leads to a 1s performance gain for about 1 million paths. Considering that this function will be called a lot for every file operation this makes a noticable difference.
      310424db
    • Lukas Reschke's avatar
      Cache results of `normalizePath` · 7e11ca06
      Lukas Reschke authored
      `normalizePath` is a rather expensive operation and called multiple times for a single path for every file related operation.
      
      In my development installation with about 9GB of data and 60k files this leads to a performance boost of 24% - in seconds that are 1.86s (!) - for simple searches. With more files the impact will be even more noticeable. Obviously this affects every operation that has in any regard something to do with using OC\Files\Filesystem.
      
      Part of https://github.com/owncloud/core/issues/13221
      7e11ca06
  16. Jan 09, 2015
  17. Jan 08, 2015
  18. Jan 06, 2015
    • Chris Wilson's avatar
      Improve debugging for ServiceUnavailable exceptions · 402a3ed1
      Chris Wilson authored
      I was getting a lot of these in my logs for no apparent reason, and file
      uploads were failing:
      
      	{"app":"webdav","message":"Sabre\\DAV\\Exception\\ServiceUnavailable: ","level":4,"time":"2015-01-06T15:33:39+00:00"}
      
      In order to debug it, I had to add unique messages to all the places where
      this exception was thrown, to identify which one it was, and that made the
      logs much more useful:
      
      	{"app":"webdav","message":"Sabre\\DAV\\Exception\\ServiceUnavailable: Encryption is disabled","level":4,"time":"2015-01-06T15:36:47+00:00"}
      402a3ed1
  19. Jan 02, 2015
  20. Dec 28, 2014
  21. Dec 21, 2014
  22. Dec 17, 2014
  23. Dec 15, 2014
Loading