Skip to content
Snippets Groups Projects
  1. Jun 21, 2020
  2. May 12, 2020
  3. Apr 10, 2020
  4. Apr 09, 2020
  5. Mar 26, 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. Jun 04, 2018
  14. Jul 27, 2017
  15. Apr 13, 2017
    • Lukas Reschke's avatar
      Make BruteForceProtection annotation more clever · 8149945a
      Lukas Reschke authored
      
      This makes the new `@BruteForceProtection` annotation more clever and moves the relevant code into it's own middleware.
      
      Basically you can now set `@BruteForceProtection(action=$key)` as annotation and that will make the controller bruteforce protected. However, the difference to before is that you need to call `$responmse->throttle()` to increase the counter. Before the counter was increased every time which leads to all kind of unexpected problems.
      
      Signed-off-by: default avatarLukas Reschke <lukas@statuscode.ch>
      8149945a
  16. Mar 29, 2017
  17. Mar 16, 2017
  18. Jan 09, 2017
  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. Sep 29, 2015
  22. Aug 10, 2015
  23. Jun 15, 2015
  24. Feb 16, 2015
  25. Nov 27, 2014
    • Lukas Reschke's avatar
      Add functions to modify cookies to response class · 04813907
      Lukas Reschke authored
      Currently there is no AppFramework way to modify cookies, which makes it unusable for quite some use-cases or results in untestable code.
      
      This PR adds some basic functionalities to add and invalidate cookies.
      
      Usage:
      ```php
      $response = new TemplateResponse(...);
      $response->addCookie('foo', 'bar');
      $response->invalidateCookie('foo');
      $response->addCookie('bar', 'foo', new \DateTime('2015-01-01 00:00'));
      ```
      
      Existing cookies can be accessed with the AppFramework using `$this->request->getCookie($name)`.
      04813907
  26. Nov 19, 2014
  27. 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
  28. May 11, 2014
  29. 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
  30. Mar 09, 2014
  31. Feb 27, 2014
  32. Feb 19, 2014
  33. Oct 23, 2013
  34. Aug 20, 2013
  35. Aug 17, 2013
Loading