- Dec 04, 2018
-
-
Csaba Tóth authored
php7 syntax fix. https://forum.dokuwiki.org/thread/15725 https://forum.dokuwiki.org/post/58606
-
- Mar 29, 2018
-
-
Michael Große authored
This should make their purpose more obvious.
-
- Mar 20, 2018
-
-
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
-
- Dec 11, 2017
-
-
Michael Große authored
I'm not sure that setting the constants in template.php is the best place. However if we set them in doku.php, we have to duplicate it in lib/exe/mediamanager.php and lib/exe/detail.php, which is not ideal as well.
-
- Feb 08, 2017
-
-
Gerry Weißbach authored
-
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).
-
- Feb 03, 2017
-
-
Andreas Gohr authored
-
- Nov 26, 2016
-
-
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.
-
- Apr 29, 2016
-
-
Gerrit Uitslag authored
-
- Sep 08, 2015
-
-
Marius van Witzenburg authored
-
Marius van Witzenburg authored
-
- Jul 31, 2015
-
-
Andreas Gohr authored
-
- May 04, 2015
-
-
Anika Henke authored
-
- Mar 03, 2015
-
-
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.
-
- Jan 07, 2015
-
-
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.
-
- Dec 10, 2014
-
-
Gerrit Uitslag authored
Added user*.less files to config
-
- Oct 15, 2014
-
-
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.
-
- Oct 14, 2014
-
-
LarsDW223 authored
-
- Oct 01, 2014
-
-
Gerrit Uitslag authored
-
- Apr 09, 2014
-
-
Andreas Gohr authored
the second include was never removed, causing an endless loop.
-
- Mar 15, 2014
-
-
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
-
- Feb 18, 2014
-
-
Gerrit Uitslag authored
-
- Jan 17, 2014
-
-
Andreas Gohr authored
-
- Oct 10, 2013
-
-
Gerrit Uitslag authored
-
- Oct 07, 2013
-
-
Gerrit Uitslag authored
Fixes FS#2837
-
- Aug 27, 2013
-
-
Matt Perry authored
Fix violations for the following sniff DokuWiki.Functions.OpeningFunctionBrace Also removed an extraneous semicolon.
-
- Aug 02, 2013
-
-
Klap-in authored
-
- Jul 21, 2013
-
-
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.
-
- Feb 16, 2013
-
-
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.
-
- Feb 03, 2013
-
-
Andreas Gohr authored
-
- Jan 26, 2013
-
-
Andreas Gohr authored
-
Andreas Gohr authored
this will be removed soon again. plugins using jQuery should make sure they are compatible to jQuery 1.9
-
- Jan 19, 2013
-
-
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)
-
- Sep 17, 2012
-
-
Michael Hamann authored
This simplifies a while loop in the js_compress() code. The functionality of the new code is completely identical to the old code but it uses less comparisons and according to FS#2593 it is thus a lot faster.
-
- Aug 06, 2012
-
-
Andreas Gohr authored
-
- Jul 28, 2012
-
-
Andreas Gohr authored
-
- May 04, 2012
-
-
Andreas Gohr authored
See http://stackoverflow.com/questions/805107/how-to-create-multiline-strings for info on them.
-
- Feb 07, 2012
-
-
Andreas Gohr authored
This removes the cachekey parameter again and instead follows @michitux's suggestion to trigger an event for the cache usage
-
- Feb 01, 2012
-
-
Andreas Gohr authored
-
- Jan 24, 2012
-
-
Dominik Eckelmann authored
-