| 14eb21e0 | 12-Jun-2025 |
Andreas Gohr <gohr@cosmocode.de> |
fix issues with self-moves
* avoid moves to the same destination in admin interface * avoid renames to self in tree manager * avoid moves where items have been moved back to the original destinati
fix issues with self-moves
* avoid moves to the same destination in admin interface * avoid renames to self in tree manager * avoid moves where items have been moved back to the original destination in tree manager
Note: all of this is mostly cosmetics. Self-moves are also detected during plan execution, trigger an error and can be skipped.
show more ...
|
| 56cdc558 | 12-Jun-2025 |
Andreas Gohr <gohr@cosmocode.de> |
guard against renaming to empty or same ID |
| 6deb5ecc | 19-Aug-2024 |
Andreas Gohr <andi@splitbrain.org> |
fix duplicate checking
It's fine to have a page and a namespace named the same. Or a media file and a page named the same. |
| df53a0be | 19-Aug-2024 |
Andreas Gohr <andi@splitbrain.org> |
fix dragging to root, we need an element for that |
| 86b5ad52 | 19-Aug-2024 |
Andreas Gohr <andi@splitbrain.org> |
fix move into self check
We let the browser throw an error instead of trying to figure it out ourself. |
| 9441c664 | 18-Jul-2024 |
Andreas Gohr <andi@splitbrain.org> |
open the tree at the current page's position |
| 67ef951e | 18-Jul-2024 |
Andreas Gohr <andi@splitbrain.org> |
remove accidentally checked in backup file
|
| 2959f1ba | 18-Jul-2024 |
Andreas Gohr <andi@splitbrain.org> |
better contrast between pages and media files |
| 91abc83a | 16-Jul-2024 |
Andreas Gohr <andi@splitbrain.org> |
Rewrite of the tree manager
This rewrite drops all dependencies on jQuery for the tree manager and uses modern JavaScript for the drag'n'drop operations. It introduces the posibility to view the tre
Rewrite of the tree manager
This rewrite drops all dependencies on jQuery for the tree manager and uses modern JavaScript for the drag'n'drop operations. It introduces the posibility to view the tree as a merged tree of page and media namespaces (similar to what we do in the ACL manager). This merged view is often advantageous in wikis where both trees are very similar. A default view can be set in the configuration but users can switch between the views on a case by case basis.
This does not change any functionality in any of the other scripts or in the way how the move is executed. It's a GUI refresh only.
Other parts of the plugin could use a GUI refresh as well (eg. use the same SVG based icons and drop jQuery dependencies).
show more ...
|
| edc7cb0e | 08-Jul-2024 |
Andreas Gohr <andi@splitbrain.org> |
optionally move media with page rename #222
A new checkbox allows to move referenced page media along with a page rename.
This happens only if
* the checkbox is ticked * the page actually moves t
optionally move media with page rename #222
A new checkbox allows to move referenced page media along with a page rename.
This happens only if
* the checkbox is ticked * the page actually moves to a new namespace * the page was not in the root namespace * the referenced media is in the same namespace as the page
# Conflicts: # action/rename.php
show more ...
|
| 42c7121a | 28-Jun-2023 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Fix media renaming with URL rewriting |
| 0af31bb6 | 27-Jun-2023 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Media manager: early check if user is allowed to rename files
Checks if user matches the 'allowrename' setting |
| 779fa0ed | 08-Jun-2023 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Improve error handling and messages |
| 673900a5 | 07-Jun-2023 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Integrate into media manager
Implements #209 |
| 32c4849b | 01-Jun-2023 |
Andreas Gohr <andi@splitbrain.org> |
replace invalid call to jQuery.form() fixes #244
using optimization suggested by @michitux in https://github.com/michitux/dokuwiki-plugin-move/pull/245#discussion_r1213577313 |
| d42179ec | 25-Jan-2022 |
Andreas Gohr <andi@splitbrain.org> |
avoid clash with old pagetool CSS, unset mobile dropdown |
| 195d39c4 | 24-Jan-2022 |
Andreas Gohr <andi@splitbrain.org> |
Attach JS rename handler to mobile menu items.
When the MobileMenu is used the required handler to show the rename dialog wasn't attached to the select resulting in an unkown action call.
This atta
Attach JS rename handler to mobile menu items.
When the MobileMenu is used the required handler to show the rename dialog wasn't attached to the select resulting in an unkown action call.
This attaches the handler and uses a jQuery specific trick to be the first handler to be evaluated (allowing to cancel the default handler used on the quickselect behaviour).
fixes #150 fixes #169
show more ...
|
| bb4102b4 | 04-Aug-2019 |
Michael Hamann <michael@content-space.de> |
Check if JSINFO is defined, closes #31
The other changes proposed in #31 are not necessary as jQuery() already behaves like $(document).read(), see https://api.jquery.com/jQuery/#jQuery3 |
| 21fd566c | 13-Jun-2017 |
Jan Müller <muller.jan@gmail.com> |
enlarge newname input field #117 |
| f8254d41 | 06-Jan-2017 |
Michael Hamann <michael@content-space.de> |
Add create namespace feature in tree move ui #77 |
| 7f0935c1 | 06-Jan-2017 |
Michael Hamann <michael@content-space.de> |
Remove some duplicate JS code |
| a6dfdd27 | 03-Jan-2017 |
Michael Hamann <michael@content-space.de> |
Fixes for tree move: root can be closed, reset heights correctly |
| 2e9872c4 | 03-Jan-2017 |
Michael Hamann <michael@content-space.de> |
Tree move: Add checkboxes to allow moving many pages resolve #66 |
| fe7b1a11 | 03-Jan-2017 |
Michael Hamann <michael@content-space.de> |
Tree move ui: add new drag & drop logic, fixes #17 (move into empty folders) |
| 782f45fa | 19-Aug-2015 |
Pavel Kochman <pavel.kochman@certicon.cz> |
Shows error message for duplicite filename. |