summaryrefslogtreecommitdiff
path: root/lib/scripts
Commit message (Collapse)AuthorAge
* make dragged objects stylable via CSSAndreas Gohr2009-08-12
| | | | | | | | | | | | Ignore-this: ae47b532b80d10868e82e0ccc5c963d1 A DOM object that is dragged through the new drag Object gets the ondrag assigned. note: development was part of the ICKE 2.0 project see http://www.icke-projekt.de for info darcs-hash:20090812180344-6e07b-a50d6589f0650897ddd5f5d345a3d15513aada77.gz
* Link Wizard addedAndreas Gohr2009-08-12
| | | | | | | | | | | | | | | | | Ignore-this: c15561aa909f921f7845576378851b93 This adds a new link wizard to the toolbar which helps users to find the page the want to link to. Pages can be found by a simple page name search or by browsing the existing namespaces. This is the first checkin. Some cleanup and MSIE compatibility checks remain. note: development was part of the ICKE 2.0 project see http://www.icke-projekt.de for info darcs-hash:20090812102302-6e07b-fcc564fcaf2ed6aa832918870dd0f92607748687.gz
* Script lib for draggable DOM objectsAndreas Gohr2009-08-12
| | | | | | | | | | | | Ignore-this: 907af01f2757cc494d2c54d8e4d7b9d1 This adds a simple object that can be attached to positioned DOM objects to make them draggable. This is useful for inplace dialogs. note: development was part of the ICKE 2.0 project see http://www.icke-projekt.de for info darcs-hash:20090812102055-6e07b-88451d4d67877224950a289b9cd415544f4c2755.gz
* some cleanup in the IE selection handlingAndreas Gohr2009-08-06
| | | | | | Ignore-this: 5a6b527fbf3f2ffc79e3ceef11552763 darcs-hash:20090806093833-6e07b-f5fbd738bff54ec6a3488e4fb9ab98c6e49799d4.gz
* fixes another IE weirdnes when handling list itemsAndreas Gohr2009-08-05
| | | | | | | | | | | | Ignore-this: d5a0f9671af3607796332a1afcc8de79 Fixes a problem where list mode couldn't easily be left by removing a bullet. Hitting enter would readd a bullet always. note: development was part of the ICKE 2.0 project see http://www.icke-projekt.de for info darcs-hash:20090805123523-6e07b-46570b10a1422d04ad3c7251323568c712037864.gz
* Some text selection workarounds for MSIEAndreas Gohr2009-08-04
| | | | | | | | | | | | Ignore-this: b4a14bbf96712ec9ce9011e172f2af81 This patch solves some problems with reading the cursor positions and text selection on MSIE. note: development was part of the ICKE 2.0 project see http://www.icke-projekt.de for info darcs-hash:20090804150501-6e07b-5e3cf60261f5f51906df2d4cf15509e9075757e0.gz
* improved list handlingAndreas Gohr2009-08-04
| | | | | | | | | | | | | | | | | | | | | | | | | | Ignore-this: 2e4f3fbfb28917ee66cf3e1925c806d3 This patch adds multiple enhancements to handling lists and indented code blocks in the editor. 1. Pressing enter when in a list item or code block will keep the indention and adds a new list point 2. Pressing space at the start of a list item will indent the item to the next level 3. Pressing bckspace at the start of a list item will outdent the item to the previous level or delete the list bullet when you are at the 1st level already 4. A new type of formatting button called formatln is added. It applies formatting to several lines. It's used for the list buttons currently and makes it possible to convert mutiple lines to a list This enhncement are currently only tested in Firefox are most likely to break IE compatibility. A compatibility patch will be submitted later note: development was part of the ICKE 2.0 project see http://www.icke-projekt.de for info darcs-hash:20090804095707-7ad00-e565c66087c7121188ad7ece8265d9f64f7e6947.gz
* allow disabling of nosmblink warning via JavaScriptAndreas Gohr2009-08-25
| | | | | | | Just add LANG['nosmblinks'] darcs-hash:20090825143507-6e07b-ec114d8972d5636c783abbe405f064adb4f920a2.gz
* Javascript variable explicitly declaredSamuele Tognini2009-08-18
| | | | | | Ignore-this: 6cd522b1fa6d768ac7735c30fac3e1df darcs-hash:20090818154140-f213d-0770cbe838dcd4126843b16558b3387d065fce00.gz
* fixed headline level detectionAndreas Gohr2009-06-29
| | | | | | | | Ignore-this: 39675a7f375e3eb619228dbabda857ea This fixes incorrect headline headline level detetion when the text starts with a headline (eg. in most cases) darcs-hash:20090629211200-7ad00-d8a7cbe331806fcdbca70b5da188b387dc2c2a87.gz
* reset scroll position when setting selection FS#1707Andreas Gohr2009-06-03
| | | | | | Ignore-this: cb035f32eccc0fcb2c9163b8620abb91 darcs-hash:20090603170042-7ad00-07ee60074714d6d23d34e59269776ccb504d1f0a.gz
* fix JS when compaction is enabledAndreas Gohr2009-05-28
| | | | | | Ignore-this: 4a6d9f3da25a04ec132cca2297328b1 darcs-hash:20090528161552-7ad00-679be8f486462e0b779039443d2af056ef8e5304.gz
* Make sub-toolbars in pickers possibleAndreas Gohr2009-05-28
| | | | | | | | Ignore-this: ace153a4684f7b345df56d796717a172 Now all types of buttons kan also be placed in a toolbar picker window. It should even be possible to create deep nested picker cascades. darcs-hash:20090528153507-7ad00-828c7a9022b7a4021bf8a74bcd0771373deee254.gz
* more javascript refactoringAndreas Gohr2009-05-28
| | | | | | Ignore-this: 10badc0f97ef80fcd366ae4622c43ff1 darcs-hash:20090528121543-7ad00-df34efabe84c632df9ef0c6fd691c991d2c3ac82.gz
* start of toolbar javascript refactoringAndreas Gohr2009-05-15
| | | | | | Ignore-this: 81ef7a71e6910751bf5d6c1b592978c4 darcs-hash:20090515173045-7ad00-e62f075dab9ec4dfa555554f4f50792ceccb97d7.gz
* disable diff button when no two revisions are selected FS#1663Mikhail I. Izmestev2009-05-26
| | | | | | Ignore-this: 9c8cf4530d94d7168e34158c59ee4c66 darcs-hash:20090526104223-8beed-76c3e9ef68cc651518994ce31a0e4dfe566e7020.gz
* late add DOKU_BASE for media popupAndreas Gohr2009-04-15
| | | | | | Ignore-this: 172ae2884fca0ee74d3b9c88c829dabe darcs-hash:20090415185449-7ad00-f9689ddbb2cc4a77aeb7a0cde338ca107187c0d5.gz
* stop most of the textarea jumping in IE8 (FS#1667)Anika Henke2009-04-10
| | | | darcs-hash:20090410184810-f7d6d-ce08cfcaa2f0e14992724a1c8e6484a35a5b8f3c.gz
* highlight section on section edit button mouseoverAndreas Gohr2009-02-14
| | | | | | | | | | Ignore-this: 128d5873729a0a00558465b45d5d9f58 Some people seem to have problems to see which section will be edited when using a section editing button. This patch adds a litle bit JavaScript magic to highlight the edited section to be, when hovering over a section button. darcs-hash:20090214161135-7ad00-59db7d9185784ba1fec2f2c2da30c6e64ae1ccc3.gz
* correctly strip footnote marker from popup note FS#1584Andreas Gohr2009-02-02
| | | | | | Ignore-this: 3858b6ec18bc178597d098dfb96001b darcs-hash:20090202180457-7ad00-f3d5344732acd4cc90ee08d120431e9fd88dab57.gz
* disable multiple revisions checkboxes if two are checkedAnika Henke2009-01-17
| | | | darcs-hash:20090117172920-f7d6d-d8a093a5b80a48b92c2f3abb08f7d029ae23e732.gz
* fixed confirmation dialog on media deleteAndreas Gohr2009-01-16
| | | | darcs-hash:20090116214118-7ad00-47a90e682e8ffab313fee7e775d82a3e892dc5bc.gz
* added a few index.html files to prevent browsing the lib directory FS#1507Andreas Gohr2008-10-16
| | | | | | | | This prevents browsing the top directories of the lib directory. There is nothing dangerous in that directory and it needs to be accessible from web, but making it a bit harder to snopp around is never a bad idea ;-) darcs-hash:20081016190251-7ad00-453ec37fd9729c5fb57d9ed03101f6ee7d6b2216.gz
* removed 'ALT+' from all titles of elements with accesskeys (FS#1172)Anika Henke2008-10-12
| | | | darcs-hash:20081012181638-f7d6d-d4614321134f78fc176688d8aaf9d9acccf1952e.gz
* Fixed doubleclick-behaviour of links, fixes FS#1389michael2008-10-12
| | | | | | There is a new open-attribute of listitems that represents the state that should be achieved or the current state. This makes it possible that clicks that occur when the opening of the listitem has already been triggered close it again and the listitem won't be reopened when the ajax-call is finished. darcs-hash:20081012141018-074e0-f9be8bbe89083df761d71f665b409bc95e450bf3.gz
* fix for FS#1451Michael Klier2008-10-12
| | | | darcs-hash:20081012162238-23886-a9189113395be7c2142796392d823aee712a9828.gz
* FS#1134 removed inline javascript from mediamanagerMichael Klier2008-10-12
| | | | darcs-hash:20081012151319-23886-cf6100556d4bdfd1090d1c6be0023aa3dd6840cc.gz
* FS#1134 remove inline javascript from windows sharesMichael Klier2008-10-11
| | | | darcs-hash:20081011143946-23886-78628e3ca7ec0c40f5d288c6a9832cd52b8b083b.gz
* preserve "wrap textarea" setting state in cookieDmitry Katsubo2008-10-07
| | | | darcs-hash:20081007192342-2c343-ea27e0a0396da425af69a6d0fcd8857b033cb8e6.gz
* multiupload fixes FS#1452Andreas Gohr2008-09-16
| | | | | | | | | | | This patch fixes HTML validity problems with the multiupload flash. It also makes sure the uploadflash is shown when switching namespaces via Ajax in the Mediamanager. BTW. The multiupload flash does not work in lighttpd 1.4.x see http://trac.lighttpd.net/trac/ticket/1017 for details darcs-hash:20080916173630-7ad00-84c4ad5d580093155a1ccfb41054c55b789118c0.gz
* tpl_actiondropdown addedAndreas Gohr2008-08-17
| | | | | | | This new template function allows a dropdown menu to be used to access all the DokuWiki do actions with minimal space requirement. darcs-hash:20080817203841-7ad00-f267285a3e9f119c5aaaf73ca276e3a2f1f72a94.gz
* removed all occurrences of onkeypress (FS#1449)Anika Henke2008-07-20
| | | | darcs-hash:20080720110738-d5083-50a92498622bd6ca9850da8f9417974fb39ccc3d.gz
* run summary check when inserting text via the toolbarGabriel Birke2008-07-16
| | | | darcs-hash:20080716191515-79ce3-47817a86b0ca99f576689e8ea8a3c8356e552654.gz
* experimental Flash based multi uploadAndreas Gohr2008-06-07
| | | | | | | | | | | | | | | | | | | | | | This patch adds experimental support for uploading multiple files in one go. This is achieved by using Flash for selecting multiple images and intitiating the HTTP upload. When Flash 8 or higher is detected, an additional icon is added to the usual upload form. Clicking it will swith the form to the Flash based upload queue. Things that need work: * Better Icon * Feedback if Flash detection works on all Flash 8 supported platforms * Progress feedback seems not to work on Linux (might be Adobe bug) * No final feedback how many images were uploaded correctly The flash sources are located in lib/_fla/ Any feedback and help would be appreciated. darcs-hash:20080606222849-7ad00-738083445af275752aaebc29bfa51430f3d94459.gz
* fixed AJAX in index for IE FS#1367Andreas Gohr2008-04-09
| | | | darcs-hash:20080409171637-7ad00-1a76786332c0b44ae6ff1d1b93007afb02fac97e.gz
* alway initialize an empty toolbar first FS#1337Andreas Gohr2008-02-23
| | | | darcs-hash:20080223125855-7ad00-c8e1a3d81bc1cd71d7bdb4b70ffe588aa11fec04.gz
* correctly encode namespace in mediapopup URL FS#1319Andreas Gohr2008-02-15
| | | | darcs-hash:20080215094453-7ad00-a9ed8007f639ab9a163ea39cb6ce5dd43f639983.gz
* use <sup> to markup footnote anchorsAndreas Gohr2008-01-19
| | | | | | | Using the <sup> HTML tag ensures that footnotes are shown correctly when displayed outside the DokuWiki stylesheet (eg. in feedreaders) darcs-hash:20080119010614-7ad00-59426b5e1d44f0ab932867e19e42b71f260f9cc9.gz
* add leading colon for media inserted via managerAndreas Gohr2008-01-18
| | | | darcs-hash:20080118212849-7ad00-fbdb3c4b9f4f130acda82b0934b49390f36bd4a7.gz
* Spellchecker removedAndreas Gohr2007-11-23
| | | | | | | | 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
* make toolbar JS functions accept absolute image pathsAndreas Gohr2007-11-23
| | | | darcs-hash:20071123102814-7ad00-c7060ea1daf8ff4a6d7fcb3ce912d3ce43410b35.gz
* 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