Commit Graph

41 Commits

Author SHA1 Message Date
Damien Regad c8241b3ba7 Add missing `;` causing syntax error in js.php 2021-03-06 11:08:27 +01:00
Andreas Gohr b68a7721c6 add cache buster on security check request
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
2021-01-11 17:23:22 +01:00
Andreas Gohr d3f829c2e8 cleaner behaviour for data directory check
Show a properly translated message.
2021-01-11 17:16:30 +01:00
Andreas Gohr 052e1c84e6 do not repeat successful security checks. fixes #3363
This avoids creating lots of 403 errors for properly secured data
directories. Only one successful check per browser session will be
executed.
2021-01-05 11:21:09 +01:00
Andreas Gohr 413313a155 Merge branch 'logging'
* 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
2020-12-03 20:01:57 +01:00
Andreas Gohr 0afbc17471
Merge pull request #3198 from ssahara/form
refactor html_* functions into Ui class member using Form\Form class
2020-10-13 13:42:24 +02:00
Satoshi Sahara 057cd77551 more narrow jQuery selector to rev2[] checkbox
This fix enables to use disabled checkbox for non-existing revision page or media file in the HTML form of Ui\Revisions.
2020-08-18 14:57:44 +09:00
Giuseppe Di Terlizzi bcdf03d0e0
Optimized pageRestoreConfirm function 2020-08-17 15:49:50 +02:00
Andreas Gohr 70cc2cbf41 added logviwer admin plugin
This allows for easy viewing of the available logs.

The log format was sligthly adjusted again for easier parsing.
2020-08-13 19:48:45 +02:00
Giuseppe Di Terlizzi a802fe3c55 Added confirmation dialog for page tools Revert action 2020-08-10 23:52:24 +02:00
Phy 050990ca53
jquery-migrate: replace on()/trigger() shorthand and use prop() for disabled attr
Related to #1546.
2020-02-23 23:22:29 -05:00
leimerp 80a9d31558
allow windows shares for Edge browser 2019-12-30 21:50:40 +01:00
Anika Henke 6406c1a088 rewrote js for revision checkboxes to work in xhtml 2016-04-20 15:39:16 +01:00
Andreas Gohr 82246f10eb improve aria attribute handling. closes #1142
adds aria handling to makeToggle and allows to supress it in dw_toggle
2015-07-15 21:44:22 +02:00
Anika Henke ae614416a5 changed all input type=submit buttons to button type=submit button for better stylability 2015-07-12 19:05:43 +01:00
Andreas Gohr 6fa4721ac5 add new behaviour: bounce
Add the class .bounce to any element to let it bounce slightly for 2
seconds. This is useful to make the user aware of some element. Can be
combined with #scroll__here when a long list auto scrolls to a certain
item.
2014-12-11 20:51:55 +01:00
Andreas Gohr 4063422b2f offsets are not available for hidden elements 2014-12-11 20:41:46 +01:00
Andreas Gohr 7326f9142d fade out search hit colorization 2014-12-11 20:27:07 +01:00
Andreas Gohr 5d08913b29 animate automatic scrolls and don't scroll to border
This adds a subtle animation effect when scrolling to the #scroll__here
behaviour ID. It also adds a 100px offset to make the object not stick
to the browser border.
2014-12-11 20:24:15 +01:00
Andreas Gohr 0931b30ccc adjusted IE detection for smblinks
MSIE 11 tries hard to break any previous working browser detection
even through feature checks. This resolves to browser sniffing (MSIE for
old IE, Trident for IE11+)

See https://forum.dokuwiki.org/thread/10824
2014-02-13 20:23:38 +01:00
Anika Henke 0e1777cbe8 added aria attributes to tree and show/hide functions 2013-07-31 17:05:07 +01:00
Andreas Gohr 192151b74b fixed revision JS for images 2013-02-03 22:45:40 +01:00
Stefan Grönke 9fd5ca2ec2 jQuery latest
* jQuery 1.9.0
* jQuery-UI v1.9.2
* jQuery.fn.live > jQuery.fn.on
* jQuery.fn.browser replacement (jquery.mb.browser.js)
2013-01-19 16:30:42 +01:00
Anika Henke 4b7f30c244 bind JS for revision diff also when called through AJAX (fixes checkbox selection in history of new media manager, FS#2398) 2011-11-30 00:37:52 +00:00
Andreas Gohr 7e4e38eb0a Fixed the Windows share warning (related to #2274) 2011-09-25 09:27:40 +02:00
Adrian Lang ba18c46681 Small JavaScript improvements 2011-09-24 16:43:15 +02:00
Kate Arzamastseva 47e84e7a97 merging 2011-08-25 15:01:15 +03:00
Adrian Lang 511885ddd1 Add missing callback param to dw_toggle 2011-08-22 15:34:47 +02:00
Andreas Gohr ba72dce1b4 fixed TOC-Bug and moved TOC behaviour to page.js FS#2314 2011-08-21 14:33:07 +02:00
Andreas Gohr 38331508a7 jqueryized diff checkbox script 2011-08-19 13:06:57 +02:00
Andreas Gohr 02782d1287 moved subscription javascript into behaviour 2011-08-18 12:24:43 +02:00
Andreas Gohr 20e3e8ebef added some function comments 2011-08-18 11:37:51 +02:00
Andreas Gohr 4678059bd0 don't remove msg() errors on click
this interferred with copy'n'pasting error messages
2011-08-14 17:29:44 +02:00
Kate Arzamastseva d5daba103c css class name fix 2011-08-01 01:39:36 +03:00
Anika Henke 63f4f854ff made TOC toggle faster to avoid clunky text flow around it 2011-07-30 09:46:11 +01:00
Kate Arzamastseva b5941dfab8 Recent Changes integration of media changes 2011-07-25 14:06:25 +03:00
Adrian Lang d10c9a7424 Rewrite mediamanager JavaScript
Make it faster, prettier, less wrong, add UI effects, use jQuery UI Dialog,
Abstract tree view stuff away into jQuery.dw_tree
2011-07-10 12:15:25 +02:00
Andreas Gohr 32cb905a03 moved the TOC toggling to dw_behaviour 2011-07-08 13:04:59 +02:00
Andreas Gohr a4f16859d7 prefixed jQuery var with $ 2011-06-27 18:18:24 +02:00
Adrian Lang ea62f4ffeb Cleanup behaviour.js
* Add var statement for dw_behaviour
  * Use live instead of click for smb share warnings
2011-06-21 16:19:14 +02:00
Andreas Gohr 17e2e2545f Moved behavioural functions into it's own object and file
JavaScript functions adding behaviours based on IDs or class names where
moved to their own object into behaviour.js and where jQueryized.
2011-06-13 14:26:34 +02:00