| #
fa03edf3 |
| 06-Jun-2026 |
Andreas Gohr <andi@splitbrain.org> |
(security) Enforce per-page edit permission in the revert plugin
The revert manager is accessible to managers, not just admins. Its reversion loop called saveWikiText() for every submitted page id w
(security) Enforce per-page edit permission in the revert plugin
The revert manager is accessible to managers, not just admins. Its reversion loop called saveWikiText() for every submitted page id without checking the per-page ACL, relying only on the manager role. A manager denied edit on a namespace could therefore revert those pages to an older revision or blank them entirely (low severity).
The page listing already hid unreadable pages, but offered every readable page for reversion, including ones the manager could not edit. A hand-crafted POST could also target arbitrary ids regardless of what the listing showed.
Each id is now cleaned and checked for edit permission before it is reverted; ids that fail the check are silently skipped. The listing additionally only offers pages the manager actually has edit permission on, so the form and the action agree.
show more ...
|
| #
093fe67e |
| 07-Mar-2026 |
Andreas Gohr <andi@splitbrain.org> |
updated rector and applied it
|
| #
e44b94a4 |
| 08-Sep-2024 |
Andreas Gohr <andi@splitbrain.org> |
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 revert for 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 revert for the revert will be pushed shortly.
show more ...
|
| #
944e9ba7 |
| 08-Sep-2024 |
Andreas Gohr <andi@splitbrain.org> |
use a dispatcher to access static image files
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 ca
use a dispatcher to access static image files
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.
show more ...
|
| #
90fb952c |
| 31-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
code style: operator spacing
|
| #
8553d24d |
| 30-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
Apply rector renames
|
| #
54cc7aa4 |
| 30-Aug-2023 |
Andreas Gohr <andi@splitbrain.org> |
Apply rector fixes to the rest of lib/plugin
|
| #
0c3a5702 |
| 15-Jun-2018 |
Andreas Gohr <andi@splitbrain.org> |
split changelog classes into their own namespace
The remaining functions in inc/changelog.php should be moved into a utility class.
|
| #
2a7fef40 |
| 11-May-2018 |
Andreas Gohr <andi@splitbrain.org> |
PSR-2 for revert plugin
|
| #
3dc2d50c |
| 27-Apr-2018 |
Andreas Gohr <andi@splitbrain.org> |
visibility declarations in plugins
|
| #
64159a61 |
| 27-Apr-2018 |
Andreas Gohr <andi@splitbrain.org> |
line lengths shortened
This makes sure all files use line lenghts shorter than 120 characters.
This is a quick fix. It might not always be the nicest change.
|
| #
b4f2363a |
| 27-Apr-2018 |
Andreas Gohr <andi@splitbrain.org> |
remove DOKU_INC checks
There is no need for this check, since these files should not have any main code that is executed on direct call.
Fixes PSR1.Files.SideEffects.FoundWithSymbols
|
| #
ae614416 |
| 12-Jul-2015 |
Anika Henke <anika@selfthinker.org> |
changed all input type=submit buttons to button type=submit button for better stylability
|
| #
1f3b9c45 |
| 16-May-2015 |
Christopher Smith <chris@jalakai.co.uk> |
php7 compatibility: change revert plugin constructor to __construct
|
| #
047bad06 |
| 21-Nov-2013 |
Gerrit Uitslag <klapinklapin@gmail.com> |
refactor PageRevisionLog into Media- and PageChangelog extending Changelog
|
| #
f523c971 |
| 20-Nov-2013 |
Gerrit Uitslag <klapinklapin@gmail.com> |
update function calls to changelog functions
|
| #
2f7a0e94 |
| 11-Sep-2013 |
Matt Perry <matt@mattperry.com> |
Fix CodeSniffer whitespace violoations
Removed extraneous whitespace to eliminate errors reported by the Squiz.WhiteSpace.SuperfluousWhitespace sniff.
|
| #
0ea51e63 |
| 23-Aug-2013 |
Matt Perry <matt@mattperry.com> |
Fix CodeSniffer violations for PHP files
Fix violations for Generic.PHP.LowerCaseConstant.Found
|
| #
dc235f96 |
| 02-Aug-2013 |
Matthias Schulte <post@lupo49.de> |
Re-enable displaying the date in the revert manager (Fixes FS#2073)
|
| #
19ff1b0b |
| 09-Mar-2013 |
Anika Henke <anika@selfthinker.org> |
fixed use of removed plugin function in revert plugin (FS#2744)
|
| #
00d58927 |
| 20-Feb-2013 |
Michael Hamann <michael@content-space.de> |
Fix remaining missing $INPUT uses FS#2577
This adds $INPUT in all places where it was still missing and available. $INPUT is now also used in places where using $_REQUEST/... was okay in order to ma
Fix remaining missing $INPUT uses FS#2577
This adds $INPUT in all places where it was still missing and available. $INPUT is now also used in places where using $_REQUEST/... was okay in order to make the code consistent.
show more ...
|
| #
38479cbb |
| 29-Nov-2012 |
Dominik Eckelmann <deckelmann@gmail.com> |
some coding style improvements
- removed some dead/unused code - fixed phpdoc - added typing on methods
|
| #
24d49498 |
| 05-Aug-2012 |
Anika Henke <anika@selfthinker.org> |
added some missing spaces (to popularity and revert plugins)
|
| #
e260f93b |
| 05-Jul-2012 |
Anika Henke <anika@selfthinker.org> |
xml compatibility fixes (mainly entities to unicode conversions)
|
| #
b838050e |
| 20-Aug-2011 |
Piyush Mishra <me@piyushmishra.com> |
added new plugins config cascade and added plugin.info.txt
|