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.
show more ...
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.
Feed creation refactoringThis breaks up the humongous functions from feed.php into multipleclasses. To keep compatibility with existing Plugin events, the basicprinciple of how the feed is assemb
Feed creation refactoringThis breaks up the humongous functions from feed.php into multipleclasses. To keep compatibility with existing Plugin events, the basicprinciple of how the feed is assembled has not been changed:* depending on the given mode and other options lose arrays of items are gathered* these items are then converted (again based on the various options) into proper FeedItems* the FeedItems are then added to the FeedThe conversion from loosely typed item data to something more structuredis now done by the FeedItemProcessor classes. Some very basic tests havebeen added. It does not cover erverything but covers more than before(which was nothing).Manual testing before merging this is highly recommended. I am notconfident that I ported over everything correctly.No new features have been added, but especially media support could andshould be improved in the future.
use rtrim not trim to remove trailing dots
strip any trailing dots when resolving IDsfixes #4072
Use str_starts_with/str_ends_with
code style: line breaks
code style: operator spacing
coding style: control flow line breaks
coding style: control flow whitespaces
codestyle adjustments: class declaration braces
Apply rector fixes to inc/File
Replace check for null with cast to string
Fix: 'E_WARNING: Uninitialized string offset -1' on some templates
do not try to resolve prefixes of an empty IDa problem reported in https://forum.dokuwiki.org/d/20776-breadcrumbs-youarehere-uninitialized-string-offset-0
Update core code to make use of sexplode()This makes use of our own explode mechanism everywhere were we expect afixed number of results.
import classes, replace dbglog, simplify, remove unused statements, and other warnings from IntelliJupdate phpdocs,rename dokuwiki/Ui/Draft to PageDraft
move resolvers into File namespace
fix undefined variable
update metadata of changed page in PageFile class
remove page key from event data prior to return$data['page'] is object $this, it is not possible to access the object after destructed.
fix Undefined variable $id
implement PageFile classPageFile class handles wiki text file and its change management for specific page, main part comes from `function saveWikiText()`. This ensures and enables to use one **Pag
implement PageFile classPageFile class handles wiki text file and its change management for specific page, main part comes from `function saveWikiText()`. This ensures and enables to use one **PageChangeLog** instance during a page save process among class methods and relevant plugins.
rename namespace Media to FileThis is a bit more generic and allows us to have additional Fileabstractions in here later.