Skip to content
Snippets Groups Projects
  1. Jun 26, 2018
  2. Jun 21, 2018
  3. Jun 19, 2018
    • Brend Wanders's avatar
      Change `const` use to `var` for Safari 9 (on iOS) · 018871f4
      Brend Wanders authored
      Safari 9 in iOS does not support the use of `const` in strict mode. Unfortunately, some of us are stuck with Safari 9 due to not being able to upgrade.
      
      I am a big fan of progressive enhancement, but because all javascript code is packed together and sent off to the client, this small incompatibility breaks all javascript for safari 9 browsers. Switching these two keywords makes everything work again.
      
      There are no other uses of `const` in the codebase as far as I can find. This change has little to no impact on anything else, but slighlty extends the range of supported browsers.
  4. Jun 17, 2018
  5. Jun 15, 2018
  6. Jun 14, 2018
  7. Jun 11, 2018
  8. Jun 09, 2018
  9. Jun 08, 2018
  10. Jun 07, 2018
  11. Jun 06, 2018
  12. Jun 05, 2018
  13. Jun 02, 2018
  14. 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
  15. May 24, 2018
  16. May 22, 2018
  17. May 18, 2018
  18. May 17, 2018
  19. May 16, 2018
Loading