typo fix
check permissions for admin menu item earlierI am not sure why moving the context visibility check to a later stagesuddenly surfaced the issue of $INFO not being set in thegeneral_html_test. I wo
check permissions for admin menu item earlierI am not sure why moving the context visibility check to a later stagesuddenly surfaced the issue of $INFO not being set in thegeneral_html_test. I would have expected the same issue before thechanges of 33792c0e7da35449c4591cfbb2b77377e2f465b1In any case it makes not much sense to do the permission checks thereanyway. Doing it in the constructor makes more sense since this is not acontext sensitive check.
show more ...
Revert "use a dispatcher to access static image files"This reverts commit 944e9ba7254387adb60f253b0d8796f2276096b1.It was accidentally pused to master before review. A PR with a revertfor the re
Revert "use a dispatcher to access static image files"This reverts commit 944e9ba7254387adb60f253b0d8796f2276096b1.It was accidentally pused to master before review. A PR with a revertfor the revert will be pushed shortly.
use a dispatcher to access static image filesThis makes it possible to replace default images in an update safe way.It also addresses the issue raised in dokuwiki/docker#16A .htaccess rewrite ca
use a dispatcher to access static image filesThis makes it possible to replace default images in an update safe way.It also addresses the issue raised in dokuwiki/docker#16A .htaccess rewrite catches any direct accesses that might come in fromplugins.
code style: line breaks
codestyle adjustments: class declaration braces
apply PSR-12 constant visibility rulePSR-12 says constants need their visibility declared from PHP 7.1onwards
Apply rector fixes to inc/Menu
do not display "show page" in pagetools if no read permission
Allow revert action for logged in users onlyThis should prevent accidental reverts by bots on open wikis
relax Revert permission to EDIT from managerRevert is another type of edit, which may be simulated by manual editing without using this shortcut. This patch thus relaxes the permission check.Than
relax Revert permission to EDIT from managerRevert is another type of edit, which may be simulated by manual editing without using this shortcut. This patch thus relaxes the permission check.Thank you @Klap-in for pointing this out.
PHP8 fix: string offset out of range due to null
Fix issue #2396
Admin Menu Item should not throw an exceptioninstead the visibility is properly checked in the visibleInContext()method.
fix: display "show" item in page menu during search actionSince we no longer change the page during a search, using the "show"menu item to return to the current page makes more sense.
fix: enforce optional svg & prevent arbitrary html in html_btnTo prevent abusing this functionality for inserting arbitrary html,inlineSVG is now called inside the html_btn function.
feat: add optionally an SVG to html_btn
abbreviated ternary operator
added convenience method to display item as button
MenuItems: add possibility to set a different title attribute
added two more missing action icons
added missing icon for register
move type initialization to getter
make use of the new classes in tpl_get_action()This function is now deprecated.Tests even surfaced some smaller bugs :-)
overwrite item properties in constructor onlyOthewise weird side effects may happen when a parent constructoroverwrites them again.
12