| Commit message (Collapse) | Author | Age |
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Added user*.less files to config
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
inc/media.php
inc/plugin.php
inc/template.php
lib/plugins/authplain/_test/escaping.test.php
lib/plugins/syntax.php
|
| |
| |
| |
| | |
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.
|
| | |
|
|/ |
|
|
|
|
| |
the second include was never removed, causing an endless loop.
|
|
|
|
|
|
| |
source maps are invalid for our dispatched sources and may even cause
problems. this makes sure any sourcemap declarations are stripped from
the output
|
| |
|
| |
|
| |
|
|
|
|
| |
Fixes FS#2837
|
|
|
|
|
|
|
| |
Fix violations for the following sniff
DokuWiki.Functions.OpeningFunctionBrace
Also removed an extraneous semicolon.
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
| |
this will be removed soon again. plugins using jQuery should make sure
they are compatible to jQuery 1.9
|
|
|
|
|
|
|
| |
* jQuery 1.9.0
* jQuery-UI v1.9.2
* jQuery.fn.live > jQuery.fn.on
* jQuery.fn.browser replacement (jquery.mb.browser.js)
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
| |
See
http://stackoverflow.com/questions/805107/how-to-create-multiline-strings
for info on them.
|
|\
| |
| |
| |
| |
| |
| | |
* jscachekey:
trigger JS_CACHE_USE in lib/exe/js.php
added INIT_LANG_LOAD event
let js.php use multiple caches
|
| |
| |
| |
| |
| | |
This removes the cachekey parameter again and instead follows
@michitux's suggestion to trigger an event for the cache usage
|
| | |
|
|/ |
|
| |
|
|\ |
|
| | |
|
| |
| |
| |
| | |
jquerized
|
| | |
|
| | |
|
| | |
|
|/ |
|
|
|
|
|
| |
Make it faster, prettier, less wrong, add UI effects, use jQuery UI Dialog,
Abstract tree view stuff away into jQuery.dw_tree
|
| |
|
|
|
|
| |
There are probably more functions that should go in here
|
|
|
|
|
|
|
| |
* Increase HTTP cache time since the resources are timestamped on request
anyway
* Check userscript.js only once for JS cache validation
* Use cache class
|
|
|
|
|
|
|
|
|
| |
* Move file to qsearch.js
* Rename object to dw_qsearch
* Remove unnecessary usage of Delay
* Use $ prefix for jQuery objects
* Fix result list hiding on click
* Fix namespace shorting
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Removed "use strict" statement, since it does not work with our script file
joining (the statement has to be the first in a file or function)
* Make index a global object again to allow overriding and enhancing
* Use prefix dw_ for index object
* Reintroduce index.treeattach
* Support deprecated index.toggle calling convention
* Add $ prefix for jQuery variables
* Use slide animation for freshly loaded sublists as well
* Fix various errors
|
|
|
|
|
| |
JavaScript functions adding behaviours based on IDs or class names where
moved to their own object into behaviour.js and where jQueryized.
|
|
|
|
|
| |
This fixes a problem with running the minified jQuery through the
compressor.
|
| |
|
|
|
|
|
|
|
|
| |
This patch adds a simple shell script to easily update the
jQuery/jQuery-UI+theme bundle to the latest available version.
The jQuery-UI CSS theme is now loaded in lib/exe/css.php (before plugin
and template styles - 3rd party authors can override the styles).
|
|
|
|
| |
This avoids problems when the files are concatenated later.
|