Skip to content
Snippets Groups Projects
  1. Feb 15, 2019
  2. Nov 29, 2018
  3. Jul 02, 2018
  4. May 01, 2018
  5. Dec 18, 2017
  6. Dec 13, 2017
  7. Nov 06, 2017
  8. Apr 23, 2017
  9. Apr 12, 2017
  10. Apr 11, 2017
  11. Feb 08, 2017
  12. Sep 28, 2016
  13. Sep 20, 2016
  14. Jul 21, 2016
  15. Jun 27, 2016
  16. Jun 22, 2016
  17. Jun 14, 2016
  18. May 26, 2016
  19. May 25, 2016
  20. Apr 20, 2016
  21. Mar 09, 2016
  22. Mar 08, 2016
    • Lukas Reschke's avatar
      Use "hasKey" instead of checking the value · c0200bc5
      Lukas Reschke authored
      If the check is negative it would depending on the used cache store the value as an empty string. When reading the value this check would thus return "false" even if a value exists.
      c0200bc5
    • Lukas Reschke's avatar
      Use HTTPClient instead of file_get_contents · 8214fae9
      Lukas Reschke authored
      Allows us to catch exceptions like 404's and thus prevents stuff like:
      
      ```
      {"reqId":"fnmS0hc+fL4+WXKAruo5","remoteAddr":"192.168.39.100","app":"PHP","message":"file_get_contents(http:\/\/ckamm.blaucloud.de\/\/status.php): failed to open stream: HTTP request failed! HTTP\/1.1 404 Not Found\r\n at \/var\/www\/owncloud\/apps\/files_sharing\/lib\/external\/storage.php#260","level":3,"time":"2016-03-08T21:00:33+00:00","method":"PROPFIND","url":"\/remote.php\/webdav\/"}
      ```
      8214fae9
  23. Mar 04, 2016
  24. Mar 01, 2016
  25. Feb 26, 2016
  26. Feb 18, 2016
    • Vincent Petry's avatar
      Properly trigger testRemote after getting a 404 from remote fed share · e1dbae14
      Vincent Petry authored
      Whenever a remote fed share's shareinfo call returns a 404, don't
      directly assume the storage is not available by throwing
      StorageNotAvailableException. We need to properly throw
      NotFoundException to trigger the later logic that calls testRemote()
      that verifies that the 404 is not from a broken server but really from
      an obsolete share.
      e1dbae14
  27. Jan 12, 2016
  28. Dec 08, 2015
    • Vincent Petry's avatar
      Add reshare permission checks · 6e4006d1
      Vincent Petry authored
      Added in isSharable() in incoming remote share.
      Added in isSharable() in regular incoming share.
      Added in FileInfo to make sure the proper attributes are returned to the
      clients.
      6e4006d1
  29. Nov 18, 2015
  30. Aug 21, 2015
  31. Jul 13, 2015
  32. Jul 01, 2015
    • Vincent Petry's avatar
      Catch more error codes thrown by federated shares · 5d3aa363
      Vincent Petry authored
      Most of the time it doesn't make sense to forward Guzzle's
      RequestException, so we convert it to StorageNotAvailable instead.
      
      This prevents unpredictable error codes to block access to unrelated
      folders needlessly.
      5d3aa363
  33. May 19, 2015
Loading