Skip to content
Snippets Groups Projects
  1. Dec 04, 2018
  2. Feb 01, 2018
  3. Jan 05, 2018
  4. Dec 10, 2017
  5. Aug 01, 2017
  6. Jul 26, 2017
    • Michael Große's avatar
      Fix PHP Notices: Reduce error log noise · 8f34cf3d
      Michael Große authored
      While DokuWiki suppresses PHP Notices they are still a code smell and
      should be fixed. This fixes some PHP Notices that occurred.
      
      Some of these fixes could be refactored into nicer code once we move to
      PHP 7 and get access to the `??` operator.
      8f34cf3d
  7. Jul 23, 2017
  8. Mar 13, 2017
    • Gerry Weißbach's avatar
      Check for cache usage first · e7c68c4d
      Gerry Weißbach authored
      This is important because the $cache->cache would have been set already and have no impact on the delivered result. Meaning: two different requests could have resulted in the same result.
      e7c68c4d
  9. Feb 22, 2017
  10. Feb 12, 2017
  11. Feb 10, 2017
  12. Feb 09, 2017
    • Gerry Weißbach's avatar
      Use the flavour system to create individual css files. Only the default... · ef36714b
      Gerry Weißbach authored
      Use the flavour system to create individual css files. Only the default flavour (style / style.ini) will have the default styles for interwiki and filetypes. There are two new events:
      
       1. CSS_STYLES_INCLUDED to modify the list of stylesheet files for a certain mediatype or prevent the mediatype or styles within it. This event is fired for the interwiki and filetypes too, to prevent that they are included
          * The Data that is being sent to the event contains: list of files or the keyword DW_DEFAULT for the interwiki / filetypes; the mediatype, the flavour, if the data should be encapsulated by a default @media and the encapsualation prefix (e.g. @media screen)
       2. CSS_CACHE_USE to prevent the use of a cached version of the CSS, just like the JS event that already exists.
      ef36714b
    • Gerry Weißbach's avatar
      Add flavours to template ini files. The template will now be checked for... · 82edff4d
      Gerry Weißbach authored
      Add flavours to template ini files. The template will now be checked for multiple ini files and inserts them as a custom flavours. The css.php can detect these flavours and reads the stylesheet + replacements from there. If the flavour is not the default one (style.ini), replacements are loaded from the default flavour first to ensure that the colours are available. Flavours can define their own set of replacements.
      82edff4d
    • Gerry Weißbach's avatar
      Remove type and caching mechanism. The cache will be checked later and the... · 8b3ff808
      Gerry Weißbach authored
      Remove type and caching mechanism. The cache will be checked later and the type will be replaced by an md5 hash of the list of style files.
      8b3ff808
  13. Dec 12, 2016
  14. Apr 18, 2016
  15. Sep 02, 2015
  16. Jul 31, 2015
  17. Jul 24, 2015
  18. May 16, 2015
  19. Jan 12, 2015
  20. Jan 07, 2015
    • Andreas Gohr's avatar
      Remove error supression for file_exists() · 79e79377
      Andreas Gohr authored
      In an older version of PHP a file_exists() call would issue a warning
      when the file did not exist. This was fixed in later PHP releases. Since
      we require PHP 5.3 now, there's no need to supress any error here
      anymore. This might even give a minor performance boost.
      79e79377
  21. Dec 10, 2014
  22. Oct 22, 2014
  23. Oct 11, 2014
  24. Oct 01, 2014
  25. Sep 12, 2014
    • Gerry Weißbach's avatar
      Additionally allow more media types · de4634ec
      Gerry Weißbach authored
      They are generated from the default ones and any additional one given
      by the template. This allows to e.g. split admin styles from end user
      styles in a closed wiki. You can then deliver only the user styles
      using the metaheaders plugin.
      de4634ec
  26. May 14, 2014
  27. Mar 16, 2014
  28. Mar 15, 2014
    • Andreas Gohr's avatar
      strip sourcemaps in CSS and JS #601 · f8fb2d18
      Andreas Gohr authored
      source maps are invalid for our dispatched sources and may even cause
      problems. this makes sure any sourcemap declarations are stripped from
      the output
      f8fb2d18
  29. Mar 06, 2014
  30. Mar 05, 2014
  31. Feb 16, 2014
Loading