Skip to content
Snippets Groups Projects
  1. Aug 19, 2020
  2. Apr 29, 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>
      Unverified
      caff1023
  4. Dec 05, 2019
  5. Feb 14, 2018
  6. Nov 06, 2017
  7. Aug 01, 2017
  8. Jul 31, 2017
  9. Jul 27, 2017
  10. 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>
      Unverified
      8149945a
Loading