summaryrefslogtreecommitdiff
path: root/lib/exe/js.php
Commit message (Collapse)AuthorAge
* Extendable config cascade for userstyles and userscriptGerrit Uitslag2014-12-10
| | | | Added user*.less files to config
* Merge remote-tracking branch 'origin/master' into scrutinizerissuesGerrit Uitslag2014-12-09
|\ | | | | | | | | | | | | | | | | Conflicts: inc/media.php inc/plugin.php inc/template.php lib/plugins/authplain/_test/escaping.test.php lib/plugins/syntax.php
| * Fixed JavaScript compression. The compressor did not recognize a regular ↵LarsDW2232014-10-15
| | | | | | | | 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.
| * Corrected compression for ++ and -- operator. Partially fixes #897.LarsDW2232014-10-14
| |
* | more PHPDocs, unused var, small bit code reformattingGerrit Uitslag2014-10-01
|/
* fix include_once for JavaScriptAndreas Gohr2014-04-09
| | | | the second include was never removed, causing an endless loop.
* strip sourcemaps in CSS and JS #601Andreas Gohr2014-03-15
| | | | | | source maps are invalid for our dispatched sources and may even cause problems. this makes sure any sourcemap declarations are stripped from the output
* PHPDocs js.phpGerrit Uitslag2014-02-18
|
* localize jQuery UI date picker FS#2912Andreas Gohr2014-01-17
|
* add cookie secure parameter to cookies set by javascriptGerrit Uitslag2013-10-10
|
* Use in cookie a correct path, added DOKU_COOKIEPATH to js constantsGerrit Uitslag2013-10-08
| | | | Fixes FS#2837
* Fix CodeSniffer violationsMatt Perry2013-08-27
| | | | | | | Fix violations for the following sniff DokuWiki.Functions.OpeningFunctionBrace Also removed an extraneous semicolon.
* Enable LANG.template.<template>.key to provide localized strings in templatesKlap-in2013-08-02
|
* In debug mode: catch and log JS errors with file informationMichael Hamann2013-07-21
| | | | | | | | | 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.
* disabled JavaScript compatibility layerAndreas Gohr2013-02-16
| | | | | | | | | | | 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.
* removed obsolete browser plugin (migrate does it)Andreas Gohr2013-02-03
|
* added minified version of jquery-migrateAndreas Gohr2013-01-26
|
* added jquery-migrate as a copatibility layerAndreas Gohr2013-01-26
| | | | | this will be removed soon again. plugins using jQuery should make sure they are compatible to jQuery 1.9
* jQuery latestStefan Grönke2013-01-19
| | | | | | | * jQuery 1.9.0 * jQuery-UI v1.9.2 * jQuery.fn.live > jQuery.fn.on * jQuery.fn.browser replacement (jquery.mb.browser.js)
* Simplify js_compress() for regular expressions FS#2593Michael Hamann2012-09-18
| | | | | | | 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.
* do not recompress already minified js FS#2574Andreas Gohr2012-08-06
|
* replaced use of basename() with utf8_basename() FS#2015Andreas Gohr2012-07-28
|
* Correctly handle multiline strings in JS compressorAndreas Gohr2012-05-04
| | | | | | See http://stackoverflow.com/questions/805107/how-to-create-multiline-strings for info on them.
* Merge branch 'jscachekey'Andreas Gohr2012-03-10
|\ | | | | | | | | | | | | * jscachekey: trigger JS_CACHE_USE in lib/exe/js.php added INIT_LANG_LOAD event let js.php use multiple caches
| * trigger JS_CACHE_USE in lib/exe/js.phpAndreas Gohr2012-02-07
| | | | | | | | | | This removes the cachekey parameter again and instead follows @michitux's suggestion to trigger an event for the cache usage
| * let js.php use multiple cachesDominik Eckelmann2012-01-24
| |
* | removed some more occurances of DOKU_TPL*Andreas Gohr2012-02-01
|/
* Various JavaScript improvements, JSLint, jQueryAdrian Lang2011-09-13
|
* mergingKate Arzamastseva2011-08-25
|\
| * jqueryized locktimerAndreas Gohr2011-08-19
| |
| * moved footnotes and section highlighting to ne fileAndreas Gohr2011-08-18
| | | | | | | | jquerized
| * moved subscription javascript into behaviourAndreas Gohr2011-08-18
| |
| * removed events.jsAndreas Gohr2011-08-18
| |
* | issue #44 fileuploader specific changes made in inheriting classKate Arzamastseva2011-08-07
| |
* | issue #44 multi file uploaderKate Arzamastseva2011-08-04
|/
* Rewrite mediamanager JavaScriptAdrian Lang2011-07-10
| | | | | Make it faster, prettier, less wrong, add UI effects, use jQuery UI Dialog, Abstract tree view stuff away into jQuery.dw_tree
* moved the TOC toggling to dw_behaviourAndreas Gohr2011-07-08
|
* moved some editor functions to a new dw_editor objectAndreas Gohr2011-07-08
| | | | There are probably more functions that should go in here
* Refactor CSS and JS cachingAdrian Lang2011-07-02
| | | | | | | * Increase HTTP cache time since the resources are timestamped on request anyway * Check userscript.js only once for JS cache validation * Use cache class
* Fix and refactor ajax.jsAdrian Lang2011-06-23
| | | | | | | | | * 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
* Fix index Javascript, introduce compatibility.jsAdrian Lang2011-06-21
| | | | | | | | | | | | * 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
* Moved behavioural functions into it's own object and fileAndreas Gohr2011-06-13
| | | | | JavaScript functions adding behaviours based on IDs or class names where moved to their own object into behaviour.js and where jQueryized.
* fixed JavaScript compressor for certain regexesAndreas Gohr2011-06-05
| | | | | This fixes a problem with running the minified jQuery through the compressor.
* fixed typoAndreas Gohr2011-06-05
|
* Updated jQuery-UI, added jQuery updater, load theme in CSS dispatcherAndreas Gohr2011-06-05
| | | | | | | | 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).
* Add a newline when loading JavaScript filesAndreas Gohr2011-06-05
| | | | This avoids problems when the files are concatenated later.
* Merge branch 'jquery'Michael Hamann2011-05-29
|\ | | | | | | | | | | | | | | Conflicts: lib/scripts/edit.js lib/scripts/locktimer.js Some whitespace (at end of line) cleanup
| * fixed import for drag.js and started a rewrite of edit.jsMichal Rezler2011-03-30
| |
| * JS API is corrected to the original stateMichal Rezler2011-03-28
| |
| * helpers.js was removed - it basically contained functions they are ↵Michal Rezler2011-03-27
| | | | | | | | implemented in jQuery library