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.
Use str_starts_with/str_ends_with
code style: line breaks
codestyle adjustments: class declaration braces
Apply rector fixes to inc/Ui
minor SVG improvements* never try to use slika to resize SVGs - let the browser do it* use object-fit:cover for all images - this properly crops inside the browser if the backend didn't (like fo
minor SVG improvements* never try to use slika to resize SVGs - let the browser do it* use object-fit:cover for all images - this properly crops inside the browser if the backend didn't (like for SVGs). currently dokuwiki template only - might be worth moving to default styles* show previews for SVGs in media manager
rename namespace Media to FileThis is a bit more generic and allows us to have additional Fileabstractions in here later.
readded $jump mechanism, removed unused functions
fix entity definition
reenable the option to display a relative namespace for media filesThis is used when searching for media files
make use of the new media file classesThis just crudely replaces the calls to the old functions with usage ofthe new classes. This however already works and makes (manual) testingof these classes
make use of the new media file classesThis just crudely replaces the calls to the old functions with usage ofthe new classes. This however already works and makes (manual) testingof these classes easier.Next steps: remove the old media_printfile and media_printfile_thumbsmethods and fix/drop/replace the tests depending on them. search_mediamight be obsolete, too already.For search results the display classes need to show full namespaces.This needs to be fixed again. No idea about the jump mechanism, yet.
first go a refactoring the media managerFor now this only adds code. This takes care of encapsulating media fileinformation and has some UI classes to display those files in thefullscreen media m
first go a refactoring the media managerFor now this only adds code. This takes care of encapsulating media fileinformation and has some UI classes to display those files in thefullscreen media manager and the popup.The code is untested and not integrated to run, yet. Next step is toreplace the parts in the media manager to call this new code (and fixany bugs).I tried not to change much HTML yet. This can be done later. For now thegoal is to just make it run again.