Skip to content
Snippets Groups Projects
  1. Jun 02, 2018
  2. Jun 01, 2018
    • Andreas Gohr's avatar
      avoid creating expensive stacktrace in dbg_deprecated() · 85331086
      Andreas Gohr authored
      now the method is aborting early again unless the data is actually used
      85331086
    • Andreas Gohr's avatar
      add method to EventHandler to check if an event is actually handled · adda4e93
      Andreas Gohr authored
      Sometimes, preparing the data for an event is expensive and only needed
      if the event is actually handled. This allows for a quick check before
      actually preparing and triggering the event.
      adda4e93
    • Andreas Gohr's avatar
      introduce INFO_DEPRECATION_LOG event · 44455016
      Andreas Gohr authored
      This adds an event to dbg_deprecated(). This allows plugins to handle
      deprecation warnings. One example would be @cosmocode/dokuwiki-plugin-sentry
      
      One thing I don't like, but don't know how to avaoid is that this
      function used to abort super early when $conf['allowdebug'] wasn't set.
      
      However for the sentry plugin you probably would want logs, but still do
      not show any debugging to end users (which allow debug would do).
      
      So now the backtrace is always built, the event triggered and then
      everything is sent to dbglog() which may simply throw everything away.
      
      Suggestions on how to improve this welcome.
      44455016
  3. May 24, 2018
  4. May 18, 2018
  5. May 16, 2018
  6. May 13, 2018
  7. May 02, 2018
    • Andreas Gohr's avatar
      fix draft recovering · 1362c8af
      Andreas Gohr authored
      The actual draft text got lost when we changed to showing the diff
      instead of the full draft.
      1362c8af
  8. Apr 30, 2018
  9. Apr 27, 2018
  10. Apr 26, 2018
  11. Apr 25, 2018
  12. Apr 24, 2018
  13. Apr 23, 2018
  14. Apr 20, 2018
  15. Apr 19, 2018
  16. Apr 17, 2018
Loading