0ceefd5c | 11-Mar-2020 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Start unifying schema types
Schemas per se are type agnostic, isLookup property is removed. Data is stored and accessed differently based on how it is entered and retrieved.
The crucial change is i
Start unifying schema types
Schemas per se are type agnostic, isLookup property is removed. Data is stored and accessed differently based on how it is entered and retrieved.
The crucial change is introduction of the composite key of pid and rid. Previous page data utilizes rid = 0 to differentiate itself. Other types, notably lookup, have autoincrementing rid.
Database migration is not implemented yet.
show more ...
|
ab7b42a5 | 10-Jun-2019 |
Anika Henke <anika@selfthinker.org> |
Fix no closing thead in data table
The `thead` in the rendered table is opened twice but never closed. This fixes that by swapping one open with a close. |
979b16f8 | 03-Jun-2019 |
Andreas Gohr <gohr@cosmocode.de> |
Related to #446 Only render output on whitelisted actions
A check on the renderer class alone turned out to not be sufficient, because xhtml is rendered for wiki internal texts within an ID context
Related to #446 Only render output on whitelisted actions
A check on the renderer class alone turned out to not be sufficient, because xhtml is rendered for wiki internal texts within an ID context sometimes. Eg. for the login intro text.
This keeps the renderer blacklist and only uses the regexp based check when all other checks have been passed.
show more ...
|
bdefb930 | 16-Apr-2019 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Blacklist renderers instead of whitelisting them
discussion in #446 |
564e138b | 16-Apr-2019 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Revert "Only XHTML renderers output struct data"
This reverts commit 4cc5dce049a2c8c768211aee991c98b0820fb3e9. |
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 ...
|
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 ...
|
8925ba29 | 24-Jan-2017 |
Andreas Gohr <gohr@cosmocode.de> |
allow summarize in lookups. fixes #262
Since the sums are not updated on saving, a successfull inline save now removes the sums until the page was reloaded. |
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 ...
|
b3e6d4a4 | 07-Dec-2016 |
Michael Grosse <grosse@cosmocode.de> |
feat: show a warning if a filter is used on a cloud |
8026d0b1 | 25-Nov-2016 |
Michael Grosse <grosse@cosmocode.de> |
refactor: directly use class, we have only 1 kind |
ea5ad12a | 22-Nov-2016 |
Michael Grosse <grosse@cosmocode.de> |
feat: add list aggregation
Implement the list aggregation known from the dokuwiki data plugin. This feature is useful when an entire table would be to much boilerplate. Usually one would select only
feat: add list aggregation
Implement the list aggregation known from the dokuwiki data plugin. This feature is useful when an entire table would be to much boilerplate. Usually one would select only a few columns.
Enable the option sepbyheader to behave analogous to the data plugin.
Report any options that are not valid for a list aggregation as error. Show that error during the render phase of a page. That way the error is visible always when the page is rendered, not only after the initial save when it is parsed.
See #90 and see SPR-710
show more ...
|
0699ff47 | 24-Nov-2016 |
Michael Grosse <grosse@cosmocode.de> |
refactor: Use Search class and hence support limit |
fa04b28c | 23-Nov-2016 |
Michael Grosse <grosse@cosmocode.de> |
feat: add tag cloud aggregation
The basics are working but there is still a lot to do and to refactor |
25852712 | 21-Nov-2016 |
Andreas Gohr <gohr@cosmocode.de> |
make each field in output addressable via data attribute |
06fee43a | 21-Nov-2016 |
Michael Grosse <grosse@cosmocode.de> |
feat: Enable usage in sidebars etc.
By replacing $ID with $INFO['id'] the entries now work in sidebars and especially in the new footers (see SPR-699) as expected.
Tested: * Sorting * Dynamic filte
feat: Enable usage in sidebars etc.
By replacing $ID with $INFO['id'] the entries now work in sidebars and especially in the new footers (see SPR-699) as expected.
Tested: * Sorting * Dynamic filters * $STRUCT.tablename.field$ placeholder * $ID placeholders
SPR-348
show more ...
|
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 |
6ce83f43 | 02-Nov-2016 |
Andreas Gohr <gohr@cosmocode.de> |
disable pagination on CSV export |
7938ca48 | 01-Nov-2016 |
Andreas Gohr <gohr@cosmocode.de> |
do not output anything when there's no data. fixes #144 |