| 812a20f7 | 17-Jun-2021 |
Iain Hallam <iainhallam@users.noreply.github.com> |
Value aggregation type (#386)
* Allow a single value to be used inline in the page
* Removed debug line
* Added short form of value syntax - {{$s.f}}
* Refactor inline parsing into a new cl
Value aggregation type (#386)
* Allow a single value to be used inline in the page
* Removed debug line
* Added short form of value syntax - {{$s.f}}
* Refactor inline parsing into a new class and add filtering for page ID
* Allow recovery if the user has used single quotes
* Fixed metadata rendering when using $INFO['id']
* Handle no result better
* Add configuration for whether to show a no records text
* Linter fixes
* Match array style with other entries
* Simplify tokenising with -> separator
* Replace use of GLOBALS array
* Revert to dots, remove block syntax
* Suggestion of future syntax
* Use space-separated parameters
* Explanatory comments
* Increase sort order
* Don't lint for errors required by DokuWiki
* Move syntax description to class documentation
* Draft InlineConfigParser test
* Docstring alignment
show more ...
|
| 4336569a | 17-Jun-2021 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Fix test config |
| 8ec87814 | 17-Jun-2021 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Add PHPUnit test configuration for Github (#578) |
| 4c3a60d8 | 15-Jun-2021 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Fix permissions check when editing global data inline
Inline editor used to apply page ACL checks to global data, with missing pid in this case leading to check on the root namespace. |
| 56634702 | 11-May-2021 |
Andreas Gohr <andi@splitbrain.org> |
Version upped |
| 23f770ed | 11-May-2021 |
Anna Dabrowska <dabrowska@cosmocode.de> |
dw2pdf replacement: apply field format to dates (#576) |
| d9b413cd | 05-May-2021 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Version upped |
| 2dbe71f8 | 05-May-2021 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Fix Greebo event trigger |
| eab7bf9e | 03-May-2021 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Version upped |
| a2672b00 | 03-May-2021 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Compatibility with releases previous to Hogfather |
| a62b0697 | 18-Apr-2021 |
Andreas Gohr <andi@splitbrain.org> |
Version upped |
| 8a30dd7d | 18-Apr-2021 |
Frieder Schrempf <34034373+fschrempf@users.noreply.github.com> |
Add config option to show data on the top of the page (#550)
* Add config option to show data on the top of the page
Currently the default behavior is to show the data below the first
heading if
Add config option to show data on the top of the page (#550)
* Add config option to show data on the top of the page
Currently the default behavior is to show the data below the first
heading if it is found, or else on the top of the page.
In addition to the existing option to always show the data on the
bottom, let's also add an option to show it always on the top.
As we want to stay compatible with existing setups that use the
'bottomoutput' option we add another boolean 'topoutput'. The former
takes precedence over the latter and only if both are unset, the
default behavior of showing the data below the first heading is used.
Signed-off-by: Frieder Schrempf <dev@fris.de>
* fixup! Add config option to show data on the top of the page
show more ...
|
| 0280da9a | 11-Apr-2021 |
Frieder Schrempf <dev@fris.de> |
Fix bug in struct filter variable evaluation
When a search contains a struct variable expression for filtering and the variable references a schema that is not assigned to the current search but has
Fix bug in struct filter variable evaluation
When a search contains a struct variable expression for filtering and the variable references a schema that is not assigned to the current search but has a column with the same name like one from the assigned schemas, the evaluation of the variable doesn't return the correct value.
This patch fixes the bug by ensuring that findColumn() returns false in case the requested schema wasn't found within the assigned schemas.
To make sure the behavior of other callers of findColumn() remains the same, we introduce a parameter 'strict' to trigger this new behavior in applyFilterVarsStruct().
There is also a unit test added in a separate commit that explicitely checks this case.
Signed-off-by: Frieder Schrempf <dev@fris.de>
show more ...
|
| a17e8e15 | 11-Apr-2021 |
Frieder Schrempf <dev@fris.de> |
Add more tests for struct filter variables
This adds some more tests for struct filter variables and the case where the schema referenced by the variable is not the same as the one assigned to the s
Add more tests for struct filter variables
This adds some more tests for struct filter variables and the case where the schema referenced by the variable is not the same as the one assigned to the search.
This also uncovers a bug which is triggered by both schemas, the one assigned to the search and the one referenced by the variable, having a column with the same name.
Signed-off-by: Frieder Schrempf <dev@fris.de>
show more ...
|
| 7784f3c1 | 11-Apr-2021 |
Frieder Schrempf <dev@fris.de> |
Add type hints for setUp() and tearDown() in unit tests
This fixes the compatibility with the implementation in the DokuWikiTest class, that was changed in splitbrain/dokuwiki@1c33cec37215d0c964cf96
Add type hints for setUp() and tearDown() in unit tests
This fixes the compatibility with the implementation in the DokuWikiTest class, that was changed in splitbrain/dokuwiki@1c33cec37215d0c964cf961bdbc49ae7db3657e6
Signed-off-by: Frieder Schrempf <dev@fris.de>
show more ...
|
| ca94dee6 | 08-Apr-2021 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Fix caching of struct aggregations
Remove a renderer check inappropriate for table views |
| 5170ee2b | 01-Apr-2021 |
Frieder Schrempf <34034373+fschrempf@users.noreply.github.com> |
Fix German translation for "column not in table" exception
The column is passed as first argument and the schema as second. Rephrase the error message to respect this order. |
| 844a4f01 | 28-Mar-2021 |
Frieder Schrempf <dev@fris.de> |
Add an event for custom aggregation table rendering
In order to let plugins provide custom rendering of aggregation data, we add an event PLUGIN_STRUCT_RENDER_AGGREGATION_TABLE.
Signed-off-by: Frie
Add an event for custom aggregation table rendering
In order to let plugins provide custom rendering of aggregation data, we add an event PLUGIN_STRUCT_RENDER_AGGREGATION_TABLE.
Signed-off-by: Frieder Schrempf <dev@fris.de>
show more ...
|
| 158c1ee3 | 17-Mar-2021 |
Andreas Gohr <andi@splitbrain.org> |
Version upped |
| f5360e4c | 17-Mar-2021 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Adjust print styles for list aggregations
List items are displayed as one line, without line breaks after each field |
| 7a470cff | 08-Mar-2021 |
Andreas Gohr <andi@splitbrain.org> |
Version upped |
| 208bb3f3 | 08-Mar-2021 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Fix code style violations |
| b1ab837d | 08-Mar-2021 |
Frieder Schrempf <34034373+fschrempf@users.noreply.github.com> |
Add an event for custom schema data rendering (#558)
In order to hook in a custom renderer for the schema data on the
page we add a new event PLUGIN_STRUCT_RENDER_SCHEMA_DATA and use
the current t
Add an event for custom schema data rendering (#558)
In order to hook in a custom renderer for the schema data on the
page we add a new event PLUGIN_STRUCT_RENDER_SCHEMA_DATA and use
the current table representation as default implementation.
Signed-off-by: Frieder Schrempf <dev@fris.de>
show more ...
|
| 88ab5593 | 26-Feb-2021 |
zadaz <zadaz@example.com> |
translation update |
| 31e83d2d | 16-Feb-2021 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Version upped |