Skip to content
Snippets Groups Projects
  1. Nov 18, 2020
  2. Jun 25, 2020
  3. Apr 10, 2020
    • Christoph Wurst's avatar
      Format control structures, classes, methods and function · caff1023
      Christoph Wurst authored
      
      To continue this formatting madness, here's a tiny patch that adds
      unified formatting for control structures like if and loops as well as
      classes, their methods and anonymous functions. This basically forces
      the constructs to start on the same line. This is not exactly what PSR2
      wants, but I think we can have a few exceptions with "our" style. The
      starting of braces on the same line is pracrically standard for our
      code.
      
      This also removes and empty lines from method/function bodies at the
      beginning and end.
      
      Signed-off-by: default avatarChristoph Wurst <christoph@winzerhof-wurst.at>
      caff1023
  4. Mar 26, 2020
  5. Mar 25, 2020
  6. Nov 27, 2019
  7. Nov 22, 2019
  8. Aug 10, 2019
  9. Apr 16, 2019
  10. Jan 08, 2019
  11. Jan 07, 2019
  12. Oct 14, 2018
  13. Oct 24, 2017
  14. Jul 20, 2017
  15. Mar 29, 2017
  16. Mar 16, 2017
  17. Jan 10, 2017
  18. Jul 11, 2016
  19. May 20, 2016
    • Joas Schilling's avatar
      Move tests/ to PSR-4 (#24731) · 94ad54ec
      Joas Schilling authored
      * Move a-b to PSR-4
      
      * Move c-d to PSR-4
      
      * Move e+g to PSR-4
      
      * Move h-l to PSR-4
      
      * Move m-r to PSR-4
      
      * Move s-u to PSR-4
      
      * Move files/ to PSR-4
      
      * Move remaining tests to PSR-4
      
      * Remove Test\ from old autoloader
      94ad54ec
  20. May 18, 2016
  21. Oct 21, 2015
  22. Sep 29, 2015
  23. Aug 13, 2015
    • Lukas Reschke's avatar
      Add mitigation against BREACH · 8313a3fc
      Lukas Reschke authored
      While BREACH requires the following three factors to be effectively exploitable we should add another mitigation:
      
      1. Application must support HTTP compression
      2. Response most reflect user-controlled input
      3. Response should contain sensitive data
      
      Especially part 2 is with ownCloud not really given since user-input is usually only echoed if a CSRF token has been passed.
      
      To reduce the risk even further it is however sensible to encrypt the CSRF token with a shared secret. Since this will change on every request an attack such as BREACH is not feasible anymore against the CSRF token at least.
      8313a3fc
  24. Aug 10, 2015
  25. Feb 16, 2015
  26. Feb 09, 2015
    • Lukas Reschke's avatar
      Respect `mod_unique_id` and refactor `OC_Request::getRequestId` · 770fa761
      Lukas Reschke authored
      When `mod_unique_id` is enabled the ID generated by it will be used for logging. This allows for correlation of the Apache logs and the ownCloud logs.
      
      Testplan:
      
      - [ ] When `mod_unique_id` is enabled the request ID equals the one generated by `mod_unique_id`.
      - [ ] When `mod_unique_id` is not available the request ID is a 20 character long random string
      - [ ] The generated Id is stable over the lifespan of one request
      
      Changeset looks a little bit larger since I had to adjust every unit test using the HTTP\Request class for proper DI.
      
      Fixes https://github.com/owncloud/core/issues/13366
      770fa761
  27. Dec 04, 2014
  28. Nov 19, 2014
  29. Oct 29, 2014
    • Bernhard Posselt's avatar
      add dataresponse · 0696099b
      Bernhard Posselt authored
      fix docstrings
      
      adjust copyright date
      
      another copyright date update
      
      another header update
      
      implement third headers argument, fix indention, fix docstrings
      
      fix docstrings
      0696099b
  30. Jun 10, 2014
  31. Jun 05, 2014
  32. May 11, 2014
  33. May 09, 2014
    • Bernhard Posselt's avatar
      add cors middleware · 9a4d204b
      Bernhard Posselt authored
      remove methodannotationreader namespace
      
      fix namespace for server container
      
      fix tests
      
      fail if with cors credentials header is set to true, implement a reusable preflighted cors method in the controller baseclass, make corsmiddleware private and register it for every request
      
      remove uneeded  local in cors middleware registratio
      
      dont uppercase cors to easily use it from routes
      
      fix indention
      
      comment fixes
      
      explicitely set allow credentials header to false
      
      dont depend on better controllers PR, fix that stuff later
      
      split cors methods to be in a seperate controller for exposing apis
      
      remove protected definitions from apicontroller since controller has it
      9a4d204b
  34. Oct 11, 2013
Loading