| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
| |
This fixes a backwards compatibility issue with the changes made in
PR #4329. Plugins rely on the wizard being a globally registered object.
|
| |
|
|
|
|
|
| |
When the linked page has a common prefix with the current page,
construct a relative link instead of always inserting absolute links.
|
|
|
|
|
|
|
| |
This is not used, yet. Usage will be added in a future commit.
Since we don't have a proper testing framework in place, yet. Tests have
been added as a standalone script that can be run manually.
|
| |
|
| |
|
| |
|
|
|
|
| |
Basic modernisation of the link wizard to more modern JavaScript.
|
|
|
|
|
|
|
| |
This reverts commit 944e9ba7254387adb60f253b0d8796f2276096b1.
It was accidentally pused to master before review. A PR with a revert
for the revert will be pushed shortly.
|
|
|
|
|
|
|
|
| |
This makes it possible to replace default images in an update safe way.
It also addresses the issue raised in dokuwiki/docker#16
A .htaccess rewrite catches any direct accesses that might come in from
plugins.
|
|
|
|
|
| |
Seems jQuery fixes this wrap already.
#3003
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, elements were wrapped in a div on hover and unwrapped when
the mouse was moved again. This generally worked okay, but led to
problems where the wrapped section contained elements with their own
rendering context (video, object, iframe, ...). The wrapping caused
rerendering of these elements resulting in flicker and layoutshift:
splitbrain/dokuwiki-plugin-vshare#13
cosmocode/dokuwiki-plugin-diagrams#4
This patch changes the higlighting mechanism to always wrap *all*
sections in a div and only toggle classes on hover. Class names have
been chosen to be backwardscompatible, so this should continue to work
as before in all templates.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The height of the panel was calculated in JavaScript, trying to use the
remaining space. With larger headers that lead to a relatively small
area. In addition the height calculation behaved weirdly on certain
resolutions (in some templates) resulting in a decreasing height on each
image interaction.
This patch simply sets the panel height 60% of the browser window using
the vh unit (which was not available when the media manager was
written).
To keep backward compatibility and not accidentally break a bunch of
templates, the height is still set from JavaScript but only once instead
of updating it on every resize operation.
A proper refactoring of the whole media manager code is still something
we need to tackle in the future, but this change should make it slightly
better.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
When doing a normal reload on the admin page to recheck the security,
the browser may not re-request the image again. This adds a timestamp to
the URL to ensure the image is tested again
|
|
|
|
| |
Show a properly translated message.
|
|
|
|
|
|
| |
This avoids creating lots of 403 errors for properly secured data
directories. Only one successful check per browser session will be
executed.
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* 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
|
| |
| |
| |
| |
| |
| | |
This allows for easy viewing of the available logs.
The log format was sligthly adjusted again for easier parsing.
|
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| | |
| | | |
refactor html_* functions into Ui class member using Form\Form class
|
| |/
| |
| |
| | |
This fix enables to use disabled checkbox for non-existing revision page or media file in the HTML form of Ui\Revisions.
|
| | |
|
|/ |
|
|
|
|
|
| |
Progressive enhancement asks for having information available fon nonJS
users and transforming the interface by JS if available
|
| |
|
| |
|
| |
|
|\
| |
| | |
Use envvars in shebang of executables
|
| | |
|
| | |
|
|/
|
| |
Fixes jQuery regressions laid out here: https://blog.jquery.com/2020/05/04/jquery-3-5-1-released-fixing-a-regression/
|
|\
| |
| | |
Upgrade for jQuery.Cookie to 1.4.1
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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)
|
|\ \
| | |
| | | |
jQuery Update and jQuery Migrate removal
|
| | | |
|
| |/ |
|
|/
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
attr
Related to #1546.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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'
|
|
|
|
|
| |
- ACL's hand-written template doesn't use div.content to wrap the footnote content
- jQuery object existence check should use $obj.length
|