Skip to content
Snippets Groups Projects
  1. Dec 04, 2018
  2. Mar 29, 2018
  3. Mar 20, 2018
    • Michael Große's avatar
      feat(search): add search assistance for simple queries · bb8ef867
      Michael Große authored
      This add some search assistance to simple, single-word search queries
      which may be restricted to a single namespace.
      
      Further improvements:
      * better styling
      * trigger events for other plugins
      * set namespaces directly from fulltext search results
      * some more config options
      bb8ef867
  4. Dec 11, 2017
  5. Feb 08, 2017
    • Gerry Weißbach's avatar
      Spaces, not tabs. · 6ff51f7d
      Gerry Weißbach authored
      6ff51f7d
    • Gerry Weißbach's avatar
      Add Event to modify the list of javascript files before they are processed.... · 6d3bebff
      Gerry Weißbach authored
      Add Event to modify the list of javascript files before they are processed. This allows plugins to not have their - or other plugins - script delivered to the client. Creating the list of files upfront might add a little overhead which I think is OK when you can be certain that only JavaScript that really is needed will be delivered to the client.
      
      Multiple Javascript requests, e.g. to only send the jQuery part or just editor/administrator scripts, could be implemented with this modification (I know, jQuery has already been split).
      6d3bebff
  6. Feb 03, 2017
  7. Nov 26, 2016
    • Andreas Gohr's avatar
      split off jquery from other JS and add CDN option #1766 · 61537d47
      Andreas Gohr authored
      jQuery (and UI and Migrate) are now loaded separately from the rest of
      the JavaScript. This adds at least one HTTP request more but has some
      advantages:
      
      * browsers can cache it independently
      * the cache is only invalidated when versions update
      * we do not apply any transformations (replacements, minimizing, etc) on
        this code anymore which makes our dispatcher faster for the other JS
      * browsers seem to load (not execut) both (jquery and other) parallel,
        which might increase download speed a bit
      
      This split allowed for the introduction of a new config: jquerycdn. When
      enabled the 3 jquery files are loaded from jQueries CDN. This adds
      another two HTTP requests but:
      
      * since it's another host those files do not apply to the 4 request per
        host limit and can be loaded (not executed) in paralell which might
        increase download speeds a bit
      * the CDN is distributed worldwide which means files are requested from
        the closest location, increasing the download speeds
      * since these files/CDN are very popular, chances are high that people
        already have them cached in their browsers, reducing the download time
        to 0 and effectiely halving the javascript needed to download
      
      The option currently defaults to 'off', but I would argue 'on' would be
      the better default.
      61537d47
  8. Apr 29, 2016
  9. Sep 08, 2015
  10. Jul 31, 2015
  11. May 04, 2015
  12. Mar 03, 2015
    • Andreas Gohr's avatar
      send JavaScript with correct mimetype · 138a9500
      Andreas Gohr authored
      While Browsers (IE of course) still fail to accept the correct
      application/javascript mimetype in the type attribute of the script
      element, we should serve the scripts with the correct Content-Type
      header at least. This is especially important as the default
      configuration of mod_deflate expects application/javascript and will not
      compress text/javascript.
      138a9500
  13. 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
  14. Dec 10, 2014
  15. Oct 15, 2014
    • LarsDW223's avatar
      Fixed JavaScript compression. The compressor did not recognize a regular... · 5c5b52fd
      LarsDW223 authored
      Fixed JavaScript compression. The compressor did not recognize a regular expression after a '&&' ot '||' operator. So it could happen that code had been cut off if the regular expression included '\//' (which was treated as a single line comment because of the regular expression not being recognized). Finally fixes #897.
      5c5b52fd
  16. Oct 14, 2014
  17. Oct 01, 2014
  18. Apr 09, 2014
  19. 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
  20. Feb 18, 2014
  21. Jan 17, 2014
  22. Oct 10, 2013
  23. Oct 07, 2013
  24. Aug 27, 2013
    • Matt Perry's avatar
      Fix CodeSniffer violations · d91ab76f
      Matt Perry authored
      Fix violations for the following sniff
      DokuWiki.Functions.OpeningFunctionBrace
      
      Also removed an extraneous semicolon.
      d91ab76f
  25. Aug 02, 2013
  26. Jul 21, 2013
    • Michael Hamann's avatar
      In debug mode: catch and log JS errors with file information · 6b0ec830
      Michael Hamann authored
      When debugging is enabled (allowdebug enabled) JS errors are now catched
      for each non-core JS file and logged with the additional information
      from which file they came. This should make it easier to find out which
      plugin is the cause for broken JS code. The feature isn't enabled by
      default as defining functions inside try-clauses isn't allowed in strict
      mode and causes a warning at least in Firefox.
      6b0ec830
  27. Feb 16, 2013
    • Andreas Gohr's avatar
      disabled JavaScript compatibility layer · 99421189
      Andreas Gohr authored
      this disables the JavaScript compatibility layer which let pre-jQuery
      migration plugins run with their old code.
      
      This will break plugins using outdated JavaScript. These plugins have to
      be updated according to https://www.dokuwiki.org/devel:jqueryfaq
      
      As a courtesy to users, the compatibility.js is not deleted, yet.
      Undoing this single patch can be used as a temporary workaround.
      99421189
  28. Feb 03, 2013
  29. Jan 26, 2013
  30. Jan 19, 2013
    • Stefan Grönke's avatar
      jQuery latest · 9fd5ca2e
      Stefan Grönke authored
      * jQuery 1.9.0
      * jQuery-UI v1.9.2
      * jQuery.fn.live > jQuery.fn.on
      * jQuery.fn.browser replacement (jquery.mb.browser.js)
      9fd5ca2e
  31. Sep 17, 2012
  32. Aug 06, 2012
  33. Jul 28, 2012
  34. May 04, 2012
  35. Feb 07, 2012
  36. Feb 01, 2012
  37. Jan 24, 2012
Loading