summaryrefslogtreecommitdiff
path: root/lib/scripts
Commit message (Collapse)AuthorAge
* fullpath fix for WindowsAndreas Gohr2007-09-30
| | | | darcs-hash:20070930214958-7ad00-bc8ca26f86ea4c9e68ea2b8f3cacc2a598543122.gz
* Arbitrary Button types in JS toolbarGabriel Birke2007-08-26
| | | | | | | | | | | | | | | | | | | | | This is my patch for creating toolbar buttons with arbitrary button types, tested with Firefox, Opera and IE7. If you want to create a new type of button, you must have a function in the script.js file of your plugin. The function name must begin with "addBtnAction", followed by the type name, for example for the type "myType" the function must be called "addBtnActionMyType" (bear in mind that the first char of the type must be uppercased in the function name). The function has four parameters: "btn" is the HTML element for the button where you attach the onclick handler "props" is an associative array of the array properties that come from the toolbar array that was created by toolbar.php "edid" (optional) is the id of the editor textarea "id" (optional) is a "unique" number for each button: the index variable of the for loop where the buttons get created. darcs-hash:20070826192206-79ce3-1fe6f49c1eb5d0c10adbadc43f7b2ee1aec1853e.gz
* Optimize loading the index with AJAXBen Coburn2007-08-10
| | | | | | | | | | | | | | Improves the perceptual latency of the AJAX based index view. - Only show the throbber for AJAX calls that are slow. Currently this applies to calls that take more than 500 ms. - Reuse the results of AJAX calls. This makes a namespace open, close, open, cycle much faster. Also reduces the number of AJAX calls to the server. (To reload the index, just reload the page as usual.) darcs-hash:20070810040430-05dcb-1a4bcdb19c599ea74d1a3d2cc758753d19ef6eee.gz
* JavaScript fixAndreas Gohr2007-07-25
| | | | darcs-hash:20070725184035-7ad00-ed079411e612045107680940d8e0570df48bdb7d.gz
* small javascript fixAndreas Gohr2007-07-16
| | | | darcs-hash:20070716185356-7ad00-041a32374cd1d2878296161a5cc1bc7e09e58b27.gz
* AJAX for the index viewAndreas Gohr2007-07-16
| | | | | | | | | | 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
* correct hilighting of empty summary on previewTom N Harris2007-07-05
| | | | darcs-hash:20070705215447-6942e-d3e1124a3cfec6661a7077bc0d9707b156bc2313.gz
* typographically correct minus sign in toc toggle (yet even bigger)Anika Henke2007-05-16
| | | | darcs-hash:20070515223140-d5083-240785145d88259304d4e6a0df776864e53f5dd8.gz
* TOC toggle usability fixwingedfox2007-05-15
| | | | | | | | | Changes: 1. click event handler moved to the toc__header, because plus and minus signs are too small and not usable because of this 2. minus sign replaced with the bigger one, see http://debugger.ru/temp/cross-plus-9x9.html testcases 3. added the pointer cursor to the toc header darcs-hash:20070515045800-00f02-ed34ebd337c66e3bac731f300f2ce385f64f5e21.gz
* some more fixes for the toc toggle jsAnika Henke2007-05-14
| | | | darcs-hash:20070514205803-d5083-1b9ffb482ec2f3b948e200c6b89e8a13da1476d9.gz
* fix for stupid JS bug in TOC toggleAndreas Gohr2007-05-14
| | | | darcs-hash:20070514203709-7ad00-ba9193d94383f6a0bbaa7dbcaf4a06c0e833eade.gz
* replaced TOC toggle images by CSS magicAndreas Gohr2007-05-14
| | | | | | | Instead of relying on images to show the toggle button for hiding the table of contents, now some CSS is used to simulate an arrow. darcs-hash:20070514180903-7ad00-4aeef03580dfb92a5c939d3cdd569850ea31df5b.gz
* tiny url fix in toc image jsAnika Henke2007-05-14
| | | | darcs-hash:20070513223948-d5083-24db06f97ec34b1d5d1db6ae435718ecf171ba70.gz
* fix of js fix of xhtml fix of mediamanager *g*Anika Henke2007-05-14
| | | | darcs-hash:20070513220816-d5083-3d1ab51294c79f48a9a88159de579b32768a3a16.gz
* javascript fix for recent mediamanager xhtml fixAndreas Gohr2007-05-13
| | | | darcs-hash:20070513213350-7ad00-ed07ed98389045714328c34aaf318fc7734665a2.gz
* FS#1079 - made TOC images part of templateMichael Klier2007-04-08
| | | | darcs-hash:20070408144321-23886-266b4fec7c4d292f830689cced19798cd00d1422.gz
* added missing files for patch by wingedfoxAndreas Gohr2007-02-19
| | | | darcs-hash:20070219210653-7ad00-318cc9b6b0b219fc74377d8363f77f32ccf39ad7.gz
* JS checks for .hasOwnPropertywingedfox2007-01-11
| | | | | | | | | 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
* updateAccessKeyTooltip updateBen Coburn2006-11-26
| | | | | | | Fix to DOMLib removal patch. All Mac browsers default to CTRL for tooltips except Opera. This includes Mozilla, so test for OS not browser. darcs-hash:20061126211257-05dcb-dcfec1ad0448b073c8b03b12f2628f2186ab3d57.gz
* DOMlib removedAndreas Gohr2006-11-10
| | | | | | | | | | | | | | | | 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
* use encodeURIComponent instead of encodeURI for variable valueschris2006-11-05
| | | | darcs-hash:20061105135805-9b6ab-c1d7835b9920402389a2d12a309582adae0872a5.gz
* fixed script error introduced in last patchAndreas Gohr2006-09-24
| | | | darcs-hash:20060924175824-7ad00-f8a6b8e38ef62aab5c6853b1c355df34259ebb7c.gz
* progressbar script changeAndreas Gohr2006-09-24
| | | | | | | | The progressbar script used in the search accessed parts of the DOM before it was completely parsed which caused problems in IE. This patch moves back to document.write for outputting the image. darcs-hash:20060924170354-7ad00-1e0247b00fc4da4dd30301f4b9389ef727496c4a.gz
* script fix for IEAndreas Gohr2006-09-15
| | | | darcs-hash:20060915150152-7ad00-9ee841597a011119b96964a1468b1f517fab857a.gz
* another update for the IE+HTTPS init event problemAndreas Gohr2006-09-04
| | | | darcs-hash:20060904182033-7ad00-c72dfa5fa9f5c44e0fdf09db922a4915935169f7.gz
* https fix for window.onloadAndreas Gohr2006-09-03
| | | | | | | | | | | This should fix an issue with IE6 and https where the window.onload magic would raise a security warning. See http://dean.edwards.name/weblog/2006/06/again/#comment5776 http://dean.edwards.name/weblog/2006/06/again/#comment5788 needs testing darcs-hash:20060903162438-7ad00-b29cd50387d1fef95bb688910b41e6b64cfeebca.gz
* spellchecker CSS changes #539 #824Andreas Gohr2006-07-31
| | | | | | | | This patch now assigns the needed proprietary CSS attributes for the spellchecker through JavaScript. This makes the CSS valid again (at least it appears to be ;-)) I also fixed a problem with leading single spaces in IE darcs-hash:20060731192807-7ad00-b82bdcae9a0c8cf063c3a1e985dbfd1dfdee7b06.gz
* fix event.target in IEAndreas Gohr2006-07-11
| | | | | | Just a simple addition to fix the event.target property in IE's JavaScript darcs-hash:20060711181048-7ad00-ed9123f08d935584ab68b5c49b4b7a56ff87856d.gz
* timeout for spell checkerAndreas Gohr2006-06-20
| | | | | | | This adds a timeout of 13 seconds to the spell checker. This doesn't fix anything but ensures editing can be continued on a backend problem. darcs-hash:20060620205616-7ad00-1d3440a8c9246843a1efbb6e16116ff462074943.gz
* css cleanup and fixesAnika Henke2006-06-18
| | | | darcs-hash:20060618144346-d5083-c93d6b009fd75e316b56e724006f04f8c9a1bdb3.gz
* JavaScript fixes for media manger on IEAndreas Gohr2006-06-16
| | | | | | Fixes the display of the checkbox options darcs-hash:20060616113600-7ad00-000ca791e8c3d9045bda06af9e149f2e2321a8bd.gz
* better onload handlingAndreas Gohr2006-06-16
| | | | | | | | | | | | | | | | | | | | | | | | 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
* usability enhancements for the loginform #803Andreas Gohr2006-05-27
| | | | darcs-hash:20060527185238-7ad00-1593c8b25d7f870c8a0b3017fbcf29c4e047f52c.gz
* mediamanager focus fixAndreas Gohr2006-05-27
| | | | darcs-hash:20060526232000-7ad00-be18aedbc317ad0f285c359200f467a7e42b96f2.gz
* javascript to toggle editor wrappingAndreas Gohr2006-05-25
| | | | | | | | This patch adds a way to sisable and enable the automating wrapping in the editor textarea. Disabling the wrapping is especially useful when editing large tables. darcs-hash:20060525152357-7ad00-ced566c5d640cc521877d4b3325640c3fcd3ded9.gz
* more mediamanager fixesAndreas Gohr2006-05-25
| | | | | | | This fixes some styling issues, the cookie handling and a bug in the JavaScript caching mechanism. darcs-hash:20060525144000-7ad00-2f0b673d4f747c979f460e4e927a50eeeae81ec1.gz
* media manager fixesAndreas Gohr2006-05-21
| | | | darcs-hash:20060521213334-7ad00-d3bdc1fbce1b904d3f939197bae0b811aa5bbac3.gz
* hide media detailsAndreas Gohr2006-05-20
| | | | | | | This adds an option to hide the details (thumbnail, metadata) in the media manager. The selected choice is remembered in a cookie. darcs-hash:20060520124854-7ad00-3ef624d495bed0830f05ea06d54d039784206793.gz
* media manager enhancementsAndreas Gohr2006-05-19
| | | | | | | Separate scrolling for right and left side of the manager (like frames) Show syntax example for simple copy'n'paste if no JavaScript available. darcs-hash:20060519202900-7ad00-9b20bd7993d3687f83b807a81cd23051b16785db.gz
* link to media managerAndreas Gohr2006-05-19
| | | | | | | | This patch add a link to the media manager when no JavaScript is available. Users can upload and browse for pictures now without the need for JavaScript only inserting has to be done manually then. darcs-hash:20060519175959-7ad00-5ee77fd00d20bef9a36eee632a1c5897097ba4a8.gz
* new mediamanagerAndreas Gohr2006-05-19
| | | | | | | | | | | | | | | 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
* javascript fix to mak sumarry checking use addEventAndreas Gohr2006-05-12
| | | | darcs-hash:20060512073949-7ad00-64c25a5f74939cd4ca17e5928d77f0951c67b3ac.gz
* empty default title for inserted images #770Andreas Gohr2006-05-07
| | | | darcs-hash:20060507165308-7ad00-3526c8c4e5d8c10a8e003068008e2344e94e1739.gz
* fix changecheck in IE FS#785Andreas Gohr2006-05-01
| | | | darcs-hash:20060430221451-7ad00-9729246270f67bcc955a42727595925e6f53a331.gz
* minor javascript cleanupAndreas Gohr2006-04-30
| | | | darcs-hash:20060430182156-7ad00-1548636dbfaa9fc0b25c26e4121f763a485c2f9c.gz
* accesskey tooltip rewritingBen Coburn2006-04-28
| | | | | | | | Does client-side rewriting of accesskey tooltip text so that it will be more OS and browser specific. Dokuwiki should output all accesskey tooltips as [ALT+<key>] because this patch matches on "[ALT+". darcs-hash:20060428015158-05dcb-0102a1b2068c053e81dd21ad3927c78b6c9f349e.gz
* Automatic draft savingAndreas Gohr2006-03-11
| | | | | | | | DokuWiki now automatically creates a draft file of the currently edited page. In case of an editing interuption (eg. Browsercrash) the draftfile can be continued later. darcs-hash:20060311200148-7ad00-919337a51e001136178d175a1755cd26122e9726.gz
* fixed id suggestion in upload dialogAndreas Gohr2006-03-09
| | | | darcs-hash:20060309184601-7ad00-a1e8e9dfb0fe5cab69aa982809c712b77e2eccfd.gz
* fix for insertAtCarret in IE #730Andreas Gohr2006-03-04
| | | | darcs-hash:20060304132021-7ad00-9a66209ce9d4e85cee8ba50b1ea6f623b5bea768.gz
* no more document.write for progressbarAndreas Gohr2006-03-02
| | | | darcs-hash:20060302140949-6e07b-d85f1e3f8989bd5fe8464f4f82ef8a14f8722eff.gz