659863b4 | 27-Sep-2022 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Fix code style |
25ed0c0d | 26-Aug-2022 |
Andreas Gohr <andi@splitbrain.org> |
avoid a couple of PHP8 warnings |
17a3a578 | 13-Jan-2022 |
Andreas Gohr <andi@splitbrain.org> |
Manual code style adjustments |
0549dcc5 | 13-Jan-2022 |
Andreas Gohr <andi@splitbrain.org> |
PHP code sniffer autofixes |
30bf61e6 | 13-Jan-2022 |
Andreas Gohr <andi@splitbrain.org> |
Apply aggregation type specific filters in render phase
The different aggregation types add their own filters to ensure that the appropriate data is selected. This used to happen in handle() but thi
Apply aggregation type specific filters in render phase
The different aggregation types add their own filters to ensure that the appropriate data is selected. This used to happen in handle() but this meant that theses filters were only ever updated when the syntax of the page they are used in is updated.
Since we refer to getID() to filter serial schemas based on the global ID to enable their use in includes, we can not have that in the handle stage, otherwise output is always filtered for the include ID.
show more ...
|
95507c08 | 05-Jul-2021 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Cleanup to make checks and tests pass |
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 ...
|
2dbe71f8 | 05-May-2021 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Fix Greebo event trigger |
a2672b00 | 03-May-2021 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Compatibility with releases previous to Hogfather |
ca94dee6 | 08-Apr-2021 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Fix caching of struct aggregations
Remove a renderer check inappropriate for table views |
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 ...
|
34ea6e10 | 16-Feb-2021 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Eliminate warnings in PHP 8 |
3f10845c | 26-Jan-2021 |
Andreas Gohr <andi@splitbrain.org> |
allow serial entries to be included
It may make sense to define the serial entry mechanism in a central place and simply include it using the include plugin. This patch makes this possible, by alway
allow serial entries to be included
It may make sense to define the serial entry mechanism in a central place and simply include it using the include plugin. This patch makes this possible, by always associating serial data with the "main" page instead of the page the syntax is in.
show more ...
|
308cc83f | 14-May-2020 |
Andreas Gohr <andi@splitbrain.org> |
refactoring names
To avoid confusion with the Lookup type, the three different ways of accessing a schema have now the following names:
* page data - for revisioned struct data attached to a page *
refactoring names
To avoid confusion with the Lookup type, the three different ways of accessing a schema have now the following names:
* page data - for revisioned struct data attached to a page * serial data - for an unrevisioned list of struct data attached to a page * global data - for an unrevisioned list of struct data not attached to any page (formaly known as lookup schema)
The editor mechanism used for serial and global data is now called AggregationEditor
Some reference to lookup schemas is still in the bureaucracy support part.
show more ...
|
4cd5cc28 | 07-May-2020 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Introduce new factory methods for data access and deprecate old ones |
83de40a8 | 17-Apr-2020 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Remove remnants of obsolete $idColumn parameter |
c797933d | 13-Apr-2020 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Remove default filter that limited aggregation tables to page data |
dfe3ae67 | 09-Apr-2020 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Manual coding style fixes
Method and variable visibility, camel case method names. Some exclusions due to inheritance |
61356325 | 09-Apr-2020 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Automatic coding style fixes |
100d64da | 09-Apr-2020 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Limit serial aggregations to current page |
d400a5f0 | 09-Apr-2020 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Fix permission check in page aggregations |
d4897163 | 06-Apr-2020 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Fix revision handling in output (struct data for a page) |
03307831 | 02-Apr-2020 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Remove redundant serial code
There is actually very little need to split the handling of lookup (not page specific) and serial (page bound) data, because row ids are globally unique and never shared
Remove redundant serial code
There is actually very little need to split the handling of lookup (not page specific) and serial (page bound) data, because row ids are globally unique and never shared between those two types.
show more ...
|
00bff81c | 25-Mar-2020 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Include timestamp to fetch data for pages with the new type agnostic schema |
b9d35ff2 | 18-Mar-2020 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Rudimentary handling of serial data
Serial data is bound to a page but does not affect versioning |