History log of /plugin/dw2pdf/src/Config.php (Results 1 – 17 of 17)
Revision Date Author Comments
# 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 ...


# 08b6e06b 20-Jul-2026 Andreas Gohr <gohr@cosmocode.de>

fix export of pages named 0

The current page id was only applied as the export default when truthy, so a
page literally named "0" was treated as if no page was given. Use blank() so
"0" is accepted

fix export of pages named 0

The current page id was only applied as the export default when truthy, so a
page literally named "0" was treated as if no page was given. Use blank() so
"0" is accepted as a valid id.

show more ...


# da4f9133 15-Jan-2026 Anna Dabrowska <dabrowska@cosmocode.de>

Use caching settings


# 212a1ea5 28-Nov-2025 Andreas Gohr <andi@splitbrain.org>

fix config attrbutes and extend tests


# 01a7083b 27-Nov-2025 Andreas Gohr <gohr@cosmocode.de>

Use attributes in config class to denote how to initialize them

This should make it easier to add new configuration and see with a
glance how it is initialized.


# 7542e5b4 27-Nov-2025 Andreas Gohr <gohr@cosmocode.de>

some minor fixes based on PR feedback


# 70028127 26-Nov-2025 Andreas Gohr <gohr@cosmocode.de>

extracted PDF generation and sending out of action

Now only event handling happens in the action handler


# 5340eaff 26-Nov-2025 Andreas Gohr <gohr@cosmocode.de>

rector and codesnifffer fixes


# b23d7b8a 26-Nov-2025 Andreas Gohr <gohr@cosmocode.de>

for exporting single pages do not rely on $ID

We want the ID to be passed via Config as well.


# 45269358 26-Nov-2025 Andreas Gohr <gohr@cosmocode.de>

address some of the remaining FIXMEs


# decfd8d6 26-Nov-2025 Andreas Gohr <gohr@cosmocode.de>

extract $INPUT dependencies out of Collector classes

This should make tests and a future command line interface easier to
implement.


# 0eefd8f7 25-Nov-2025 Andreas Gohr <gohr@cosmocode.de>

decouple renderer

This starts to approach #528 and #526


# 293d84e6 24-Nov-2025 Andreas Gohr <gohr@cosmocode.de>

more refactoring

The basic handling of page collecting, caching and rendering is now
defined.

There is still some ugly dependency in the renderer and the
ImageProcessor loading is not reimplemented

more refactoring

The basic handling of page collecting, caching and rendering is now
defined.

There is still some ugly dependency in the renderer and the
ImageProcessor loading is not reimplemented yet.

After the above a first attempt to actually run the code can be made.

show more ...


# 081fc334 17-Nov-2025 Andreas Gohr <gohr@cosmocode.de>

Handle styles

We now have a Styles class that takes care of loading the styles from
plugins etc.


# 1d334a8c 17-Nov-2025 Andreas Gohr <gohr@cosmocode.de>

handle debug writing


# b883aece 17-Nov-2025 Andreas Gohr <gohr@cosmocode.de>

add toc handling


# c5c184fd 17-Nov-2025 Andreas Gohr <gohr@cosmocode.de>

first start at refactoring

We now have a few classes that separate the concerns

DokuPDF - inherits from mPDF and doesn't do much anymore except for a
few internal defaults and overwrite

first start at refactoring

We now have a few classes that separate the concerns

DokuPDF - inherits from mPDF and doesn't do much anymore except for a
few internal defaults and overwrites
Config - encapsulate the configuration (file and input vars) and created
an mpdf config array
Template - handles loading the template files and applies placeholders
Writer - composites the above classed and gives access to write
operations

show more ...