| #
ca2b464b |
| 18-Jan-2009 |
Chris Smith <chris.eureka@jalakai.co.uk> |
Add capability to send pre-compressed js & css files if the browser can accept them
- save a gzipped version of js & css files at the same time as the uncompressed version is cache - basic content n
Add capability to send pre-compressed js & css files if the browser can accept them
- save a gzipped version of js & css files at the same time as the uncompressed version is cache - basic content negotiation to send the compressed files - uses sendfile (for compressed or uncompressed versions) if config indicates its available
darcs-hash:20090118184354-f07c6-66c5b465ab147d83de409708bab2c47d1dafcf8d.gz
show more ...
|
| #
5ec8d092 |
| 19-Oct-2008 |
Samuele Tognini <samuele@netsons.org> |
The last "removed ALT+ from recent changes accesskeys" patch by Michael Klier forgot to remove the updateAccessKeyTooltip reference in js.php. If the function deletion was not erroneously deleted by
The last "removed ALT+ from recent changes accesskeys" patch by Michael Klier forgot to remove the updateAccessKeyTooltip reference in js.php. If the function deletion was not erroneously deleted by Michael, this patch fixes it.
darcs-hash:20081019174917-2b15f-938ff41beddf7aaf648d6056c60120d6b2e04a35.gz
show more ...
|
| #
e3e6ab3c |
| 12-Oct-2008 |
Gina Haeussge <osd@foosel.net> |
Include host in the seed for the JS and the CSS cachenames (FS#1487)
darcs-hash:20081012172855-2b4f5-85b89a7968681932d30f75072df347ba6a53b24c.gz
|
| #
ae112d8c |
| 23-Nov-2007 |
Andreas Gohr <andi@splitbrain.org> |
Spellchecker removed
With spell checkers available in all modern browsers, having a spell checker in DokuWiki's core code is no longer necessary. This patch removes the spell checking feature. It wi
Spellchecker removed
With spell checkers available in all modern browsers, having a spell checker in DokuWiki's core code is no longer necessary. This patch removes the spell checking feature. It will be made available as optional plugin.
darcs-hash:20071123125840-7ad00-faf7aa4673421dbb3fad904ba5b46b4927a5176d.gz
show more ...
|
| #
9f01cf6a |
| 26-Oct-2007 |
Gabriel Birke <Gabriel.Birke@delti.com> |
Translatable JavaScript strings for plugins
Strings to be used in plugin provided JavaScript can now be put into the plugin's lang.php files. It has to be stored as subkeys of $lang['js']. Eg the fo
Translatable JavaScript strings for plugins
Strings to be used in plugin provided JavaScript can now be put into the plugin's lang.php files. It has to be stored as subkeys of $lang['js']. Eg the following in lib/plugins/blah/lang/en/lang.php
$lang['js']['foo']
darcs-hash:20071026131130-79ce3-75ab69b1ba527c823e0e5ef0fde031032aaa2548.gz
show more ...
|
| #
d0a27cb0 |
| 30-Sep-2007 |
Andreas Gohr <andi@splitbrain.org> |
don't use fullpath() before initialized
darcs-hash:20070930201133-7ad00-a35a6c40f880116009efd9e50cb002bd75733369.gz
|
| #
00976812 |
| 30-Sep-2007 |
Andreas Gohr <andi@splitbrain.org> |
don't use realpath() anymore (FS#1261 and others)
The use of realpath() to clean up relative file names caused some trouble in certain setups relying on symlinks or having restricitve file structure
don't use realpath() anymore (FS#1261 and others)
The use of realpath() to clean up relative file names caused some trouble in certain setups relying on symlinks or having restricitve file structure setups.
This patch replaces all realpath() calls with a PHP only replacement which should solve those problems.
darcs-hash:20070930184250-7ad00-512ff04c95f57fc9eaf104f80372237a3c94286f.gz
show more ...
|
| #
a06884ab |
| 16-Jul-2007 |
Andreas Gohr <andi@splitbrain.org> |
AJAX for the index view
This makes the index view much more responsive by loading sub namespaces through AJAX if JavaScript is available.
The used throbber image probably looks bad on dark backgrou
AJAX for the index view
This makes the index view much more responsive by loading sub namespaces through AJAX if JavaScript is available.
The used throbber image probably looks bad on dark backgrounds. If someone could provide a better one it would be greatly appreciated.
darcs-hash:20070716184605-7ad00-adf298ee3303d50f2b4b6b66e5ea3ff8d8c2bf9a.gz
show more ...
|
| #
640a9478 |
| 16-Jun-2007 |
Tom N Harris <tnharris@whoopdedo.org> |
regex fix for JavaScript includes
darcs-hash:20070616214530-6942e-5a585a29404e40a7e86bbb4de0fba124f45e61a7.gz
|
| #
3825ddd3 |
| 13-May-2007 |
Andreas Gohr <andi@splitbrain.org> |
include_once support for javascript
The include syntax was changed and enhanced by a include_once statement.
Syntax:
/* DOKUWIKI:include somefile.js */ /* DOKUWIKI:include_once someotherfile.js */
include_once support for javascript
The include syntax was changed and enhanced by a include_once statement.
Syntax:
/* DOKUWIKI:include somefile.js */ /* DOKUWIKI:include_once someotherfile.js */
Note: include_once uses the basename of the inlcuded file to determine if it was previously loaded. You need to use something unique for it to make sure it is correctly loaded.
Note: included files are not checked for updates by the cache logic. You need to touch the master file for updating the cache
Note: includes are *not* supported inside included files to avoid any circular references
darcs-hash:20070513222421-7ad00-d99d717ba8a428d0af2b3f7d593897e0467cb9c9.gz
show more ...
|
| #
176da19b |
| 13-May-2007 |
Andreas Gohr <andi@splitbrain.org> |
include support for JavaScript files
This patch adds support for include calls in JavaScript files as discussed in [1]
The syntax looks like this:
/* !!include script.js */
All whitespaces are op
include support for JavaScript files
This patch adds support for include calls in JavaScript files as discussed in [1]
The syntax looks like this:
/* !!include script.js */
All whitespaces are optional (except between !!include and script of course)
[1] http://www.freelists.org/archives/dokuwiki/01-2007/msg00121.html
darcs-hash:20070513123230-7ad00-71a1081aaef1e8f6bc909820927f17d0be71b74e.gz
show more ...
|
| #
4804a7da |
| 08-Apr-2007 |
Michael Klier <chi@chimeric.de> |
FS#1079 - made TOC images part of template
darcs-hash:20070408144321-23886-266b4fec7c4d292f830689cced19798cd00d1422.gz
|
| #
4d2d451e |
| 08-Mar-2007 |
Andreas Gohr <andi@splitbrain.org> |
always have a trailing newline in JavaScript output
This may fix https://bugzilla.mozilla.org/show_bug.cgi?id16033
darcs-hash:20070308224331-7ad00-e5ef018706062baf6bec2bd11dfb318e0fe4b1f6.gz
|
| #
73bea65d |
| 08-Mar-2007 |
Andreas Gohr <andi@splitbrain.org> |
js_compress updates
This ports the fixes from the original python code to DokuWiki's js_compress functions. The unit tests now pass.
darcs-hash:20070308223644-7ad00-56ea99689a62e9752f4814b5dc7ada02
js_compress updates
This ports the fixes from the original python code to DokuWiki's js_compress functions. The unit tests now pass.
darcs-hash:20070308223644-7ad00-56ea99689a62e9752f4814b5dc7ada02eae59089.gz
show more ...
|
| #
86045fe9 |
| 11-Jan-2007 |
wingedfox <wingedfox@debugger.ru> |
JS checks for .hasOwnProperty
This patch includes - several helper functions - is* checks - hasOwnProperty method emulator - checks for .hasOwnProperty in all for..in loops
darcs-hash:2007011111423
JS checks for .hasOwnProperty
This patch includes - several helper functions - is* checks - hasOwnProperty method emulator - checks for .hasOwnProperty in all for..in loops
darcs-hash:20070111114236-00f02-50a71681e5d04faf086f1b8032a384648378b744.gz
show more ...
|
| #
0df6f150 |
| 12-Nov-2006 |
Andreas Gohr <andi@splitbrain.org> |
purge option support for js.php and css.php
adding ?purge
darcs-hash:20061112143440-7ad00-436a63c8ee0279a9aa0423c389967418f8528656.gz
|
| #
6b379cbf |
| 10-Nov-2006 |
Andreas Gohr <andi@splitbrain.org> |
DOMlib removed
The DOMlib javascript library was removed. It was only used for footnote tooltips and access key fixup.
Removing the library creates a much smaller JavaScript footprint. The size of
DOMlib removed
The DOMlib javascript library was removed. It was only used for footnote tooltips and access key fixup.
Removing the library creates a much smaller JavaScript footprint. The size of the compacted non-edit Javascript output was reduces from 56110 bytes down to 29296 bytes.
The footnote tooltip was completely rewritten and tested in FireFox 2.0, IE 6 and Opera 9.02. Please test other browsers as well.
The acces key fixup might beahve different now on Mac platforms.
darcs-hash:20061110201541-7ad00-0dffad095193bc7e7c505796a99b0a0a010a6b0d.gz
show more ...
|
| #
10ffc9dd |
| 08-Oct-2006 |
Andreas Gohr <andi@splitbrain.org> |
remove unused code
This patch removes some commented code fragments and alternative snippet generators
darcs-hash:20061008090624-7ad00-14bfee2ded6c6c8ef43ad02a4c02a5d95ee9daf7.gz
|
| #
e5cafda0 |
| 31-Jul-2006 |
Andreas Gohr <andi@splitbrain.org> |
fix in JS compressor
This fixes a problem with escaped backslashes in single and double quote strings.
darcs-hash:20060731223008-7ad00-ebae61a00115b7f32c12eb9355059a1ecf467cd3.gz
|
| #
3f4c2ce3 |
| 19-Jun-2006 |
chris <chris@jalakai.co.uk> |
js.php fix
- correct begin/end comment, plugin filename wasn't being used - add file exists check, to avoid bloating js with comments for non-existent plugin js. Many (most?) plugins don't have ja
js.php fix
- correct begin/end comment, plugin filename wasn't being used - add file exists check, to avoid bloating js with comments for non-existent plugin js. Many (most?) plugins don't have javascript.
darcs-hash:20060619104613-9b6ab-08a570cdbb0d6441f1caa71766d4c59c73828835.gz
show more ...
|
| #
5cafff96 |
| 16-Jun-2006 |
Andreas Gohr <andi@splitbrain.org> |
better onload handling
This patch improves the way the window.oninit JavaScript function is called. This function is used to initialiaze all JavaScript funcions attached to the DOM so it needs to be
better onload handling
This patch improves the way the window.oninit JavaScript function is called. This function is used to initialiaze all JavaScript funcions attached to the DOM so it needs to be executed **after** the full DOM was parsed by the browser. Unfortunately currently only Mozilla supports a DOMContentLoaded event. In all other browsers we had to wait for the window.onload event which will only be called after **all** content (including images) was loaded - this caused a visible delay on all JavaScript generated content (like the toolbar) in non-Mozilla browsers.
Dean Edwards now presented a solution [1] which will work for all the bigger Browsers and is used in this patch.
The following browsers now should fire the init event right after parsing the DOM:
All Mozilla based browsers Internet Explorer Safari Opera >
darcs-hash:20060616104539-7ad00-db70d31fcb21cb812cf4982fe80a7d649e2daa1c.gz
show more ...
|
| #
8d975344 |
| 27-May-2006 |
Andreas Gohr <andi@splitbrain.org> |
usability enhancements for the loginform #803
darcs-hash:20060527185238-7ad00-1593c8b25d7f870c8a0b3017fbcf29c4e047f52c.gz
|
| #
45be45c5 |
| 27-May-2006 |
Andreas Gohr <andi@splitbrain.org> |
small improvements on JS compressor (maybe fixes #807)
darcs-hash:20060527140157-7ad00-225a9ba66f658cc279cb44ebb04d483291d567d2.gz
|
| #
cf6894df |
| 25-May-2006 |
Andreas Gohr <andi@splitbrain.org> |
more mediamanager fixes
This fixes some styling issues, the cookie handling and a bug in the JavaScript caching mechanism.
darcs-hash:20060525144000-7ad00-2f0b673d4f747c979f460e4e927a50eeeae81ec1.gz
|
| #
3df72098 |
| 19-May-2006 |
Andreas Gohr <andi@splitbrain.org> |
new mediamanager
This patch adds a completely rewritten media popup. The following noteworthy changes were made:
- media manager uses a collapsible namespace tree - media manager uses AJAX if avail
new mediamanager
This patch adds a completely rewritten media popup. The following noteworthy changes were made:
- media manager uses a collapsible namespace tree - media manager uses AJAX if available - media manager popup can be kept open when selecting a media file - only one template is used for the media manager :!: Template - Editable image metadata is configured in conf/mediameta.php now - The JS cookie mechanism was enhanced to store key/value pairs - Language strings can be exported to JS in js.php
darcs-hash:20060519165023-7ad00-4932b4553fc919aa4a8b8187958b823acf4f8cee.gz
show more ...
|