| a9cd524e | 20-Jul-2026 |
Andreas Gohr <gohr@cosmocode.de> |
require allowdebug for debug output requested via URL
The debug URL parameter dumped the raw mPDF HTML and bypassed the cache for any visitor. It is now honored from the URL only when core allowdebu
require allowdebug for debug output requested via URL
The debug URL parameter dumped the raw mPDF HTML and bypassed the cache for any visitor. It is now honored from the URL only when core allowdebug is enabled; the config/programmatic path stays trusted.
show more ...
|
| 4c569113 | 20-Jul-2026 |
Andreas Gohr <gohr@cosmocode.de> |
give user feedback for empty or invalid PDF exports
Collectors used to return an empty page list for a missing page, a missing namespace or an empty selection, which then failed silently or crashed
give user feedback for empty or invalid PDF exports
Collectors used to return an empty page list for a missing page, a missing namespace or an empty selection, which then failed silently or crashed when the first page was accessed. They now throw a translated ExportException instead, which the action handler turns into feedback: a flash message and redirect for regular navigations, or an HTTP error with the message in the body for the background download BookCreator uses. Dynamic message parts are HTML escaped because that body is injected into the page via a jQuery html() sink.
show more ...
|
| bee95f00 | 27-Nov-2025 |
Andreas Gohr <gohr@cosmocode.de> |
Overhaul chapter/header counting in renderer
Using static variables makes it impossible to automatically test this correctly.
The PDF renderer is now a singleton. The Writer class initializes it an
Overhaul chapter/header counting in renderer
Using static variables makes it impossible to automatically test this correctly.
The PDF renderer is now a singleton. The Writer class initializes it anew for each export, but during the export, the same renderer is reused.
show more ...
|