| #
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 ...
|
| #
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
|
| #
fbe4e9d9
|
| 26-Nov-2025 |
Andreas Gohr <gohr@cosmocode.de> |
remove obsolete book chapter handling in action
This is now handled within the renderer itself
|
| #
5340eaff
|
| 26-Nov-2025 |
Andreas Gohr <gohr@cosmocode.de> |
rector and codesnifffer fixes
|
| #
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.
|
| #
f77f381a
|
| 26-Nov-2025 |
Andreas Gohr <gohr@cosmocode.de> |
fixed issues from first real run
|
| #
ab12f14d
|
| 25-Nov-2025 |
Andreas Gohr <gohr@cosmocode.de> |
removed more obsolete methods from action plugin
|
| #
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 ...
|
| #
6afd3369
|
| 20-Nov-2025 |
Andreas Gohr <gohr@cosmocode.de> |
remove obsolete template event
|
| #
ac65d8f6
|
| 20-Nov-2025 |
Andreas Gohr <gohr@cosmocode.de> |
remove some moved methods
|
| #
2bef96e6
|
| 20-Nov-2025 |
Andreas Gohr <gohr@cosmocode.de> |
move page collecting into separate classes
|
| #
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.
|
| #
8c4b1418
|
| 17-Nov-2025 |
Andreas Gohr <gohr@cosmocode.de> |
remove a few now unused methods
|
| #
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 ...
|
| #
de88766a
|
| 25-Nov-2023 |
Klap-in <Klap-in@users.noreply.github.com> |
Automatic code style fixes
|
| #
c4c95814
|
| 25-Oct-2023 |
Klap-in <Klap-in@users.noreply.github.com> |
Automatic code style fixes
|
| #
facf2f2c
|
| 15-Sep-2023 |
Gerrit Uitslag <klapinklapin@gmail.com> |
cleanup css loading
|
| #
d97a751e
|
| 15-Sep-2023 |
Gerrit Uitslag <klapinklapin@gmail.com> |
require autoload in action.php
load before DokuPDF/mPdf are used.
|
| #
852931da
|
| 13-Sep-2023 |
Andreas Gohr <andi@splitbrain.org> |
rector and php sniffer cleanups
|
| #
17e88313
|
| 29-Jul-2023 |
Gerrit Uitslag <klapinklapin@gmail.com> |
cleanup/reformatting action.php
|
| #
8ff32d7b
|
| 29-Jul-2023 |
Gerrit Uitslag <klapinklapin@gmail.com> |
removing restarting of pagenumbering, fixes #393
Since mPDF version 7, the pagenumbering during pdf generation is improved significantly, so this workaround can be removed.
|
| #
fb347f35
|
| 02-May-2023 |
Andreas Gohr <andi@splitbrain.org> |
Use mpdf's own QR code generation instead #465
This drops the dependency of an external service in favor of MPDF's own barcode library. Sizes are configured somewhat differently there, so the settin
Use mpdf's own QR code generation instead #465
This drops the dependency of an external service in favor of MPDF's own barcode library. Sizes are configured somewhat differently there, so the setting has been renamed.
Obsolete language strings are removed in a follow-up commit
show more ...
|