| 56cdc558 | 12-Jun-2025 |
Andreas Gohr <gohr@cosmocode.de> |
guard against renaming to empty or same ID |
| 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 ...
|
| 2d0534a1 | 14-May-2025 |
Andreas Gohr <gohr@cosmocode.de> |
drop deprecated JSON class use |
| 941af2bc | 07-May-2024 |
Michael Hamann <michael.hamann@xwiki.com> |
Fix #251 undefined array keys |
| f175a7aa | 26-Apr-2024 |
Damien Regad <dregad@mantisbt.org> |
Fix PHP warning when user not logged in
Warning: Trying to access array offset on value of type null in ./dokuwiki/move/action/rename.php on line 42
$USERINFO is null when user is not logged in.
R
Fix PHP warning when user not logged in
Warning: Trying to access array offset on value of type null in ./dokuwiki/move/action/rename.php on line 42
$USERINFO is null when user is not logged in.
Regression introduced by 0af31bb63abd3731e904efc2ed90dd3ce33f4e52 (#246).
Fixes #256, #255
show more ...
|
| 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 |
| 27a1b6d6 | 21-Jun-2023 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Check renaming restrictions when moving media |
| 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 |
| 78550743 | 24-Apr-2023 |
Elan Ruusamäe <glen@delfi.ee> |
Allow move to work if acl is disabled |
| 4cb1aea5 | 16-Feb-2018 |
Michael Große <grosse@cosmocode.de> |
fix: use legacy array creation syntax
Apparently, there is some ambiguity about which PHP versions are supported by DokuWiki release Frusterick Manners. So to be on the save side, we should choose t
fix: use legacy array creation syntax
Apparently, there is some ambiguity about which PHP versions are supported by DokuWiki release Frusterick Manners. So to be on the save side, we should choose the syntax that is still compatible with PHP 5.3.
show more ...
|
| 0f9dde9f | 19-Jan-2018 |
Michael Große <grosse@cosmocode.de> |
feat: add pagetools button with new svg mechanism |
| fb13e13a | 02-Jan-2017 |
Michael Hamann <michael@content-space.de> |
Remove space character from configuration key |
| ebffba71 | 05-Dec-2016 |
Michael Grosse <grosse@cosmocode.de> |
feat: Add config to toggle pagetools integration
Having a hard-coded list of templates where the integration happens is cumbersome, because it requires a pull-request for every new template and it i
feat: Add config to toggle pagetools integration
Having a hard-coded list of templates where the integration happens is cumbersome, because it requires a pull-request for every new template and it is somehow the wrong order because the templates should have the option to create special handling for specific plugins, however plugins should not have special handling for specific templates.
show more ...
|
| bce6806c | 17-Oct-2015 |
Michael Hamann <michael@content-space.de> |
Fix cache handling, the cache was not expired on moves. |
| df61a507 | 19-Aug-2015 |
Pavel Kochman <pavel.kochman@certicon.cz> |
Typo in comment. |
| 41faeb11 | 18-Jul-2015 |
Giuseppe Di Terlizzi <giuseppe.diterlizzi@gmail.com> |
Added support to Bootstrap3 Template |
| c50d2a48 | 30-Mar-2015 |
Michael Große <grosse@cosmocode.de> |
When the page is locked, rewrite it for show only |
| d791aa26 | 29-Apr-2014 |
Andreas Gohr <gohr@cosmocode.de> |
rewriting missing links should work now
this introduces stacked locking of the rewrite process which is needed to keep pages from being rewritten before the missing link info is added to their metad
rewriting missing links should work now
this introduces stacked locking of the rewrite process which is needed to keep pages from being rewritten before the missing link info is added to their metadata.
This works fine for the newly added test case. However in real world scenarios it might happen that a page is access by someone while the move operation is in progress. This would still trigger a rewrite, rendering addition of missing link info too late and create wrong second rewrites (as seen before this patch in normal operation).
There are multiple ways to fix this:
1) allow absolutely no rewrites during a move (using a file based locking instead of process based). This would have the disadvantage of exposing pages with wrong links to end users during a move 2) pass the missing link info over to the ops class so that each moved page has the info right away and saves it with the other (existing link) move data in one go. The problem would then be to apply the missing link move data to all pages that were not affected by any other link changes. It would need some tracking of already processed affected pages vs. all affected pages.
Option 2 is most probably the better way to do it. However this is left for a later iteration for now as the scope of this project is already slighly out of bounds.
@michitux I'd be happy about any comments, suggestion or - even better - code here.
show more ...
|
| c566d3fd | 29-Apr-2014 |
Andreas Gohr <gohr@cosmocode.de> |
fix error when not logged in |
| 99af2d2c | 28-Apr-2014 |
Andreas Gohr <gohr@cosmocode.de> |
do not execute rewrites during moves
This finally adds the delayed link adjustments. Links will not automatically adjusted when a page is read, when it happens during a page move operation. State of
do not execute rewrites during moves
This finally adds the delayed link adjustments. Links will not automatically adjusted when a page is read, when it happens during a page move operation. State of this is tracked through a global variable $PLUGIN_MOVE_WORKING.
show more ...
|
| a7fb2e9f | 23-Apr-2014 |
Andreas Gohr <andi@splitbrain.org> |
some more reworkig the rewrite stuff |
| 8f940a7d | 16-Apr-2014 |
Andreas Gohr <gohr@cosmocode.de> |
make sure AJAX backends are only available for managers |
| 2fef7442 | 14-Apr-2014 |
Andreas Gohr <andi@splitbrain.org> |
continued working on the tree interface |