Skip to content
Snippets Groups Projects
  1. Dec 29, 2020
    • Roeland Jago Douma's avatar
      Avoid huge exception argument logging · 179de95f
      Roeland Jago Douma authored
      
      In some cases it might happen that you have an argument that deep down
      somewhere has an array with a lot of entries (think thousands). Now
      before we would just happily print them all. Which would fill the log.
      
      Now it will just print the first 5. And add a line that there are N
      more.
      
      If you are on debug level we will still print them all.
      
      Signed-off-by: default avatarRoeland Jago Douma <roeland@famdouma.nl>
      179de95f
  2. Dec 03, 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. Jan 28, 2020
  5. Dec 05, 2019
  6. Nov 22, 2019
  7. Oct 15, 2019
  8. Sep 19, 2019
  9. May 09, 2019
  10. Sep 05, 2018
  11. Jul 30, 2018
  12. May 30, 2018
  13. Apr 26, 2018
  14. Apr 17, 2018
  15. Apr 11, 2018
  16. Apr 10, 2018
  17. Feb 27, 2018
  18. Nov 27, 2017
  19. Nov 14, 2017
  20. Nov 06, 2017
  21. Oct 27, 2017
  22. Sep 26, 2017
    • Morris Jobke's avatar
      Improve exception handling · 11c31e94
      Morris Jobke authored
      
      If there is an exception in the template handling then a white page is shown.
      This improves the handling of this and shows text only about the internal
      error.
      
      To test this just setup redis as cache and then disable the php-redis module.
      
      Signed-off-by: default avatarMorris Jobke <hey@morrisjobke.de>
      11c31e94
  23. Sep 06, 2017
  24. Jun 29, 2017
  25. Apr 23, 2017
  26. Apr 06, 2017
  27. Feb 07, 2017
  28. Jan 10, 2017
  29. Jan 09, 2017
  30. Jan 05, 2017
  31. Oct 07, 2016
    • Lukas Reschke's avatar
      Default to empty string · ab435345
      Lukas Reschke authored
      Otherwise `null` is returned which leads to a ton of similar error messages if the log condition setting is enabled.:
      
      ```
      {"reqId":"3wVBarnDfOV3qkI1bVCU","remoteAddr":"89.98.78.41","app":"PHP","message":"hash_equals(): Expected user_string to be a string, null given at \/var\/www\/html\/lib\/private\/Log.php#275","level":3,"time":"2016-10-07T14:22:15+00:00","method":"PROPFIND","url":"\/remote.php\/webdav\/","user":"icewind"}
      ```
      ab435345
Loading