| #
67b5dd6e |
| 16-Apr-2019 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Revert "Remove obsolete mode checks in render method"
This reverts commit a992b95c42f70f8ef4d6d407d6077b76eef57c92.
|
| #
a992b95c |
| 16-Apr-2019 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Remove obsolete mode checks in render method
Currently only descendants of Doku_Renderer_xhtml are allowed to render struct data, and they should all work with mode 'xhtml'
|
| #
4cc5dce0 |
| 16-Apr-2019 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Only XHTML renderers output struct data
|
| #
cf8ea550 |
| 03-Apr-2019 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Restore struct info in PDF output
fixes #300 related to #424
|
| #
717bfc62 |
| 02-Feb-2019 |
Michael Große <mic.grosse@googlemail.com> |
Fix missing struct header on new bureaucracy pages
The bureaucracy plugin adds an invisible iframe that calls the export_html mode on newly created pages, which is subsequently cached. To ensure tha
Fix missing struct header on new bureaucracy pages
The bureaucracy plugin adds an invisible iframe that calls the export_html mode on newly created pages, which is subsequently cached. To ensure that the struct handler is present in this cached HTML/instructions, we need to handle that mode as well.
This fixes #424
show more ...
|
| #
e0f4f8a3 |
| 02-Mar-2017 |
Michael Große <mic.grosse@posteo.de> |
Merge pull request #271 from cosmocode/bugfix/outputRenderedAfterInclude
struct output occasionally at wrong place // conflict with log and include plugins
|
| #
127d6bac |
| 28-Feb-2017 |
Michael Große <grosse@cosmocode.de> |
feat: Show translatable schema names on pages
SPR-841 #45
|
| #
0e4a3e7c |
| 01-Mar-2017 |
Michael Große <grosse@cosmocode.de> |
Render only in show but parse in every mode
It might happen that a page is parsed in other modes than show and the result might be cached, so it should contain the struct instruction. However we onl
Render only in show but parse in every mode
It might happen that a page is parsed in other modes than show and the result might be cached, so it should contain the struct instruction. However we only want to display the output when viewing a page and not for example in a edit session.
show more ...
|
| #
a28d6152 |
| 08-Dec-2016 |
Andreas Gohr <gohr@cosmocode.de> |
correctly handle old revisions pre-schema creation. fixes #241
When looking at a page's old revsion (or diff) a now assigned schema may not have existed at the the time of the given revision. This c
correctly handle old revisions pre-schema creation. fixes #241
When looking at a page's old revsion (or diff) a now assigned schema may not have existed at the the time of the given revision. This caused a fatal error. Now such exceptions are ignored.
show more ...
|
| #
25852712 |
| 21-Nov-2016 |
Andreas Gohr <gohr@cosmocode.de> |
make each field in output addressable via data attribute
|
| #
7cbcfbdb |
| 07-Nov-2016 |
Andreas Gohr <gohr@cosmocode.de> |
better handling of failing sqlite plugin init. fixes #200
|
| #
025cb9da |
| 02-Nov-2016 |
Andreas Gohr <gohr@cosmocode.de> |
made Assignments singleton. fixes #163
|
| #
7938ca48 |
| 01-Nov-2016 |
Andreas Gohr <gohr@cosmocode.de> |
do not output anything when there's no data. fixes #144
|
| #
94c9aa4c |
| 08-Aug-2016 |
Andreas Gohr <gohr@cosmocode.de> |
renamed SchemaData and SchemaLookupData
This is to reflect that they no longer inherit from Schema
|
| #
f411d872 |
| 08-Aug-2016 |
Andreas Gohr <gohr@cosmocode.de> |
refactor SchemaData into AccessTable with factory
first part of the refactoring for the SchemaData and SchemaLookupData classes. Both now inherit from AccessTable which provides common methods and t
refactor SchemaData into AccessTable with factory
first part of the refactoring for the SchemaData and SchemaLookupData classes. Both now inherit from AccessTable which provides common methods and two factory methods to automatically create the correct class depending on the schema.
Both classes no longer inherit from Schema. Instead they contain a Schema as a member variable. This makes it possible to initialize them with an existing schema (which is required for the factory methods).
The flow is now like this:
1: init a schema (read info from the database) 2: look at the schema to figure out if it's a lookup or not 3: initialize the right Data object with the schema
show more ...
|
| #
0dd23cef |
| 21-Jul-2016 |
Andreas Gohr <gohr@cosmocode.de> |
changed SchemaData to have options for output control
instead of having a whole bunch of paramters to the output functions. Introduces rawValue cleaning as a new option.
|
| #
87050b53 |
| 14-Jun-2016 |
Michael Grosse <grosse@cosmocode.de> |
Ensure that struct output is only rendered once
SPR-491
|
| #
ba766201 |
| 28-Apr-2016 |
Andreas Gohr <gohr@cosmocode.de> |
Use DokuWiki new autoloader for class files
No longer do we need to register our own autoloader. Namespace had to be vendor prefixed.
|
| #
28b818ce |
| 10-Mar-2016 |
Andreas Gohr <gohr@cosmocode.de> |
nicer strut output (and moved to top). closes #55
|
| #
da30fdd3 |
| 02-Mar-2016 |
Andreas Gohr <gohr@cosmocode.de> |
added schema headers to output
|
| #
33e429a8 |
| 02-Mar-2016 |
Andreas Gohr <gohr@cosmocode.de> |
skip empty fields in output #44
|
| #
5a1eab78 |
| 24-Feb-2016 |
Andreas Gohr <gohr@cosmocode.de> |
restyle the inpage output #20 SPR-320
The data is now added as a new section and the table styled more minimalistic.
This works, however people might not like it. Also this adds a new section editi
restyle the inpage output #20 SPR-320
The data is now added as a new section and the table styled more minimalistic.
This works, however people might not like it. Also this adds a new section editing button that loads an empty editor. On the other hand it makes sure the real section before has it's own edit button.
How all this works on export is still untested and probably broken.
show more ...
|
| #
2f1a213b |
| 18-Feb-2016 |
Andreas Gohr <gohr@cosmocode.de> |
don't output struct data for non-existing pages
|
| #
9e9bee91 |
| 16-Feb-2016 |
Andreas Gohr <gohr@cosmocode.de> |
added option to translate column labels
|
| #
82c064c1 |
| 16-Feb-2016 |
Andreas Gohr <gohr@cosmocode.de> |
automatically output existing data
|