aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/scripts
Commit message (Collapse)AuthorAge
* Merge branch 'logging'Andreas Gohr2020-12-03
|\ | | | | | | | | | | | | | | | | | | | | * logging: added JavaScript based filter mechanism added logging configuration replaced out calls to dbglog with new Logger calls added convenience methods to log to our default facilities added logviwer admin plugin added log dir to git central logging mechanism
| * added logviwer admin pluginAndreas Gohr2020-08-13
| | | | | | | | | | | | This allows for easy viewing of the available logs. The log format was sligthly adjusted again for easier parsing.
* | SVG based smileysAndreas Gohr2020-11-20
| | | | | | | | | | | | This patch replaces our old gif based smileys by SVG based ones from the Twemoji project. This allows for scaling the emojis with the text they're used in.
* | Merge pull request #3198 from ssahara/formAndreas Gohr2020-10-13
|\ \ | | | | | | refactor html_* functions into Ui class member using Form\Form class
| * | more narrow jQuery selector to rev2[] checkboxSatoshi Sahara2020-08-18
| |/ | | | | | | This fix enables to use disabled checkbox for non-existing revision page or media file in the HTML form of Ui\Revisions.
* | Optimized pageRestoreConfirm functionGiuseppe Di Terlizzi2020-08-17
| |
* | Added confirmation dialog for page tools Revert actionGiuseppe Di Terlizzi2020-08-10
|/
* hide extensions only when javascript is availableAndreas Gohr2020-07-23
| | | | | Progressive enhancement asks for having information available fon nonJS users and transforming the interface by JS if available
* More compact list of allowed file types in media uploaderAnna Dabrowska2020-07-22
|
* Replace id with class in media uploaderAnna Dabrowska2020-07-22
|
* Display the list of allowed mime types in media uploaderAnna Dabrowska2020-07-21
|
* Merge pull request #3172 from splitbrain/cli-shebangAndreas Gohr2020-06-30
|\ | | | | Use envvars in shebang of executables
| * use envvars in shebangPhy2020-06-13
| |
* | run update.sh to update jquery filesSoarinferret2020-06-28
| |
* | Upgrade jQuery 3.5.0 to jQuery 3.5.1SoarinFerret2020-06-28
|/ | | Fixes jQuery regressions laid out here: https://blog.jquery.com/2020/05/04/jquery-3-5-1-released-fixing-a-regression/
* Merge pull request #3024 from splitbrain/cookieupdateHenry Pan2020-05-07
|\ | | | | Upgrade for jQuery.Cookie to 1.4.1
| * Upgrade for jQuery.Cookie to 1.4.1Andreas Gohr2020-03-26
| | | | | | | | | | | | | | | | | | | | This fixes a problem with badly encoded cookies that may have been set by other software on the same domain. Eg. cookies encoded in latin1 instead of UTF-8. Note: this library is abandoned and superseeded by js-cookie but an upgrade to that is not straight forward (and the benefits for us are unclear)
* | Merge pull request #3066 from splitbrain/jquery-updateAndreas Gohr2020-05-04
|\ \ | | | | | | jQuery Update and jQuery Migrate removal
| * | remove jQuery Migrate as outlined in #1546Andreas Gohr2020-05-02
| | |
| * | Update jQuery to 3.5.0 and Migrate to 3.2.0Andreas Gohr2020-05-01
| |/
* / generate curid class by jQueryPhy2020-03-09
|/ | | | | | | | | | | internallink's output <a> tag gets a new attribute, data-wiki-id, so that jQuery doesn't need to parse the various link format to get the ID. Any plugin javascript that loads after DokuWiki's script should be able to discover curid class as usual, as long as they use the default js.php facility. fixes #1511, fixes #2968.
* jquery-migrate: replace on()/trigger() shorthand and use prop() for disabled ↵Phy2020-02-23
| | | | | | attr Related to #1546.
* allow windows shares for Edge browserleimerp2019-12-30
|
* Check for null JS object on form field.Syntaxseed2019-10-01
|
* cookie.js when setValue‘s value parameter is false delete entryPhy2019-03-13
|
* cookie.js add def parameter to getValue()Phy2019-03-13
|
* cookie.js convert value type to stringPhy2019-03-12
| | | | | | | | | This prevents different type returned for DokuCookie.getValue(): DokuCookie.setValue('foo', false); console.log(DokuCookie.getValue('foo')); // false location.reload(); // pseudo code console.log(DokuCookie.getValue('foo')); // 'false'
* fix ACL admin footnote JS error, fixes #2540Phy2019-01-07
| | | | | - ACL's hand-written template doesn't use div.content to wrap the footnote content - jQuery object existence check should use $obj.length
* reference existing proper progress gif. fixes #2441Andreas Gohr2018-07-20
|
* Fix missing ui-bg_glass_95_fef1ec_1x400.png and be/jquery.ui.datepicker.js ↵Peter 'Pessoft' Kolínek2018-07-03
| | | | for jquery
* Change `const` use to `var` for Safari 9 (on iOS)Brend Wanders2018-06-19
| | | | | | | Safari 9 in iOS does not support the use of `const` in strict mode. Unfortunately, some of us are stuck with Safari 9 due to not being able to upgrade. I am a big fan of progressive enhancement, but because all javascript code is packed together and sent off to the client, this small incompatibility breaks all javascript for safari 9 browsers. Switching these two keywords makes everything work again. There are no other uses of `const` in the codebase as far as I can find. This change has little to no impact on anything else, but slighlty extends the range of supported browsers.
* 🏗 Use json for the response to dw_locktimerMichael Große2018-06-08
|
* ✨(dw_locktimer) plugins may reuse to add fields and callbacksMichael Große2018-06-08
| | | | | | | | | | | | | | | | Plugins may want to add further fields to be present when saving drafts. Plugins may want to execute some js functionality that should be timed to the saved draft/refreshed lock. If a plugin does another init() to attach the dw_locktimer to its own editor, then the default callback would be added a second time, causing unexpected and undesired behavior. This includes the changes from the following commits: 6ef45cc1c69591eb7facf381ef4bcf88e3aaa1c0 6ca947f3ad455df4fca1a3076b174b7b2688bd89 0fff419cc95b9783dd33ab02ffb3bd7806d5fcde 87bed8b672a166d073948bcb4ca49aaa81dc880c
* show adavanced tools with JavaScript onlyAndreas Gohr2018-03-28
|
* added aria attributesAndreas Gohr2018-03-28
|
* first go at stylingAndreas Gohr2018-03-27
| | | | | | | | | | | | | | This removes a lot of reudundant CSS classes in favor of cascading selectors. Styling isn't done, yet this is just a first step. Still to do: * aria labels * styling the toggle mechanism * RTL styling * making sure everything displays correct when no JS is available * translations may be missing * refactoring the rest of search.less to make use of LESS features
* feat(search): display search tools as lists on clickMichael Große2018-03-26
| | | | | This functionality is inspired by what other large search engines are doing.
* feat(search): remember assistance's open/closed stateMichael Große2018-03-22
|
* feat(search): show search adjustments as linksMichael Große2018-03-22
| | | | | This simplifies many aspects. However, it still needs much better styling.
* feat(search): add search assistance for simple queriesMichael Große2018-03-20
| | | | | | | | | | | This add some search assistance to simple, single-word search queries which may be restricted to a single namespace. Further improvements: * better styling * trigger events for other plugins * set namespaces directly from fulltext search results * some more config options
* If mediamanger is kept open, put cursor in image tag unless it's already ↵Roland Synnestvedt2017-12-19
| | | | | | inside an image tag If it's already inside an image tag, move the cursor to the end of the current tag.
* Fix for Issue #2079 (change cursor position if media manager is in 'keep ↵Roland Synnestvedt2017-08-31
| | | | open' mode)
* Removed progressbar from searchformOliver Geisen2017-08-14
|
* Fixes issue #1864錢政維2017-02-28
|
* Check for overwrite in media managerGerry Weißbach2017-02-20
| | | The check did not work any more. see #1853
* print stack trace on catched JS errors tooAndreas Gohr2017-02-17
|
* Merge branch 'jqsplit'Andreas Gohr2017-02-03
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | * jqsplit: Restore smoothness.css using update.sh allow selecting the preferred CDN and add event load jquery via https always split off jquery from other JS and add CDN option #1766 use external version file for jquery updates removed jQuery.browser calls replace deprecated bind() calls replace deprecated delegate() calls fixed radio options in media manager for new jQ-UI jQuery Updates
| * Restore smoothness.css using update.shMichael Hamann2017-01-01
| | | | | | | | | | | | The file had 0 bytes before (starting from 5928c8e71080077bf8d9ed0cbfe33ffa8ca7b904) - probably something went wrong while executing update.sh.
| * use external version file for jquery updatesAndreas Gohr2016-11-26
| | | | | | | | | | this also removes the non inified versions and incorporates some updates the jquery CDN just pushed for jquery-ui
| * removed jQuery.browser callsAndreas Gohr2016-11-26
| | | | | | | | | | | | | | | | | | jQuery.browser no longer exists in jQuery nor in jQuery migrate. A quick check in Opera and IE11 suggests that both parts that used it are no longer needed so they were simply removed. More browser tests especially for the resize handling in the media manager are recommended.