History log of /plugin/struct/syntax/ (Results 26 – 50 of 121)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
659863b427-Sep-2022 Anna Dabrowska <dabrowska@cosmocode.de>

Fix code style

25ed0c0d26-Aug-2022 Andreas Gohr <andi@splitbrain.org>

avoid a couple of PHP8 warnings

17a3a57813-Jan-2022 Andreas Gohr <andi@splitbrain.org>

Manual code style adjustments

0549dcc513-Jan-2022 Andreas Gohr <andi@splitbrain.org>

PHP code sniffer autofixes


/plugin/struct/_test/AccessTableDataDB.test.php
/plugin/struct/_test/AccessTableDataDBMulti.test.php
/plugin/struct/_test/AccessTableDataReplacement.test.php
/plugin/struct/_test/AccessTableDataSQL.test.php
/plugin/struct/_test/AggregationExportCSV.test.php
/plugin/struct/_test/AggregationResults.test.php
/plugin/struct/_test/Assignments.test.php
/plugin/struct/_test/Bureaucracy.test.php
/plugin/struct/_test/Column.test.php
/plugin/struct/_test/ConfigParser.test.php
/plugin/struct/_test/DateFormatConverter.test.php
/plugin/struct/_test/ImportPageCSV.test.php
/plugin/struct/_test/InlineConfigParser.test.php
/plugin/struct/_test/QueryBuilder.test.php
/plugin/struct/_test/QueryBuilderFrom.test.php
/plugin/struct/_test/QueryBuilderOther.test.php
/plugin/struct/_test/QueryBuilderSelect.test.php
/plugin/struct/_test/QueryBuilderWhere.test.php
/plugin/struct/_test/Schema.test.php
/plugin/struct/_test/SchemaBuilder.test.php
/plugin/struct/_test/SchemaImporter.test.php
/plugin/struct/_test/Search.test.php
/plugin/struct/_test/SearchConfig.test.php
/plugin/struct/_test/SearchConfigParameter.test.php
/plugin/struct/_test/StructTest.php
/plugin/struct/_test/Type_AbstractBase.test.php
/plugin/struct/_test/Type_Color.test.php
/plugin/struct/_test/Type_Date.test.php
/plugin/struct/_test/Type_DateTime.test.php
/plugin/struct/_test/Type_Decimal.test.php
/plugin/struct/_test/Type_Dropdown.test.php
/plugin/struct/_test/Type_Lookup.test.php
/plugin/struct/_test/Type_Media.test.php
/plugin/struct/_test/Type_Page.test.php
/plugin/struct/_test/Type_Tag.test.php
/plugin/struct/_test/Type_Text.test.php
/plugin/struct/_test/Type_Url.test.php
/plugin/struct/_test/Type_User.test.php
/plugin/struct/_test/Type_Wiki.test.php
/plugin/struct/_test/Validator.test.php
/plugin/struct/_test/Value.test.php
/plugin/struct/_test/action/LookupAjaxAction..php
/plugin/struct/_test/configHelper.test.php
/plugin/struct/_test/diff.test.php
/plugin/struct/_test/edit.test.php
/plugin/struct/_test/general.test.php
/plugin/struct/_test/helper_db.test.php
/plugin/struct/_test/mock/AccessTable.php
/plugin/struct/_test/mock/AccessTableDataNoDB.php
/plugin/struct/_test/mock/AccessTableGlobal.php
/plugin/struct/_test/mock/AccessTablePage.php
/plugin/struct/_test/mock/AggregationEditorTable.php
/plugin/struct/_test/mock/AggregationTable.php
/plugin/struct/_test/mock/Assignments.php
/plugin/struct/_test/mock/BaseType.php
/plugin/struct/_test/mock/Dropdown.php
/plugin/struct/_test/mock/Lookup.php
/plugin/struct/_test/mock/QueryBuilder.php
/plugin/struct/_test/mock/SchemaNoDB.php
/plugin/struct/_test/mock/Search.php
/plugin/struct/_test/mock/SearchConfig.php
/plugin/struct/_test/mock/ValueValidator.php
/plugin/struct/_test/mock/action_plugin_struct_edit.php
/plugin/struct/_test/mock/helper_plugin_struct_config.php
/plugin/struct/_test/move.test.php
/plugin/struct/_test/output.test.php
/plugin/struct/action/aggregationeditor.php
/plugin/struct/action/ajax.php
/plugin/struct/action/bureaucracy.php
/plugin/struct/action/cache.php
/plugin/struct/action/config.php
/plugin/struct/action/diff.php
/plugin/struct/action/edit.php
/plugin/struct/action/entry.php
/plugin/struct/action/inline.php
/plugin/struct/action/move.php
/plugin/struct/action/output.php
/plugin/struct/action/revert.php
/plugin/struct/action/search.php
/plugin/struct/action/title.php
/plugin/struct/admin.svg
/plugin/struct/admin/assignments.php
/plugin/struct/admin/schemas.php
/plugin/struct/all.less
/plugin/struct/helper.php
/plugin/struct/helper/config.php
/plugin/struct/helper/field.php
/plugin/struct/helper/fieldhidden.php
/plugin/struct/helper/imexport.php
/plugin/struct/helper/lookup.php
/plugin/struct/jsoneditor/img/jsoneditor-icons.svg
/plugin/struct/lang/cs/lang.php
/plugin/struct/lang/de/lang.php
/plugin/struct/lang/de/settings.php
/plugin/struct/lang/en/lang.php
/plugin/struct/lang/en/settings.php
/plugin/struct/lang/fr/lang.php
/plugin/struct/lang/fr/settings.php
/plugin/struct/lang/ja/lang.php
/plugin/struct/meta/AccessDataValidator.php
/plugin/struct/meta/AccessTable.php
/plugin/struct/meta/AccessTableGlobal.php
/plugin/struct/meta/AccessTablePage.php
/plugin/struct/meta/AggregationCloud.php
/plugin/struct/meta/AggregationEditorTable.php
/plugin/struct/meta/AggregationList.php
/plugin/struct/meta/AggregationTable.php
/plugin/struct/meta/AggregationValue.php
/plugin/struct/meta/Assignments.php
/plugin/struct/meta/CSVImporter.php
/plugin/struct/meta/CSVPageImporter.php
/plugin/struct/meta/CSVSerialImporter.php
/plugin/struct/meta/Column.php
/plugin/struct/meta/ConfigParser.php
/plugin/struct/meta/FilterValueListHandler.php
/plugin/struct/meta/InlineConfigParser.php
/plugin/struct/meta/PageColumn.php
/plugin/struct/meta/PageMeta.php
/plugin/struct/meta/QueryBuilder.php
/plugin/struct/meta/QueryBuilderWhere.php
/plugin/struct/meta/RevisionColumn.php
/plugin/struct/meta/RowColumn.php
/plugin/struct/meta/SchemaBuilder.php
/plugin/struct/meta/SchemaEditor.php
/plugin/struct/meta/SchemaImporter.php
/plugin/struct/meta/Search.php
/plugin/struct/meta/SearchCloud.php
/plugin/struct/meta/SearchConfig.php
/plugin/struct/meta/SearchConfigParameters.php
/plugin/struct/meta/StructException.php
/plugin/struct/meta/SummaryColumn.php
/plugin/struct/meta/TranslationUtilities.php
/plugin/struct/meta/UserColumn.php
/plugin/struct/meta/Value.php
/plugin/struct/meta/ValueValidator.php
/plugin/struct/print.less
/plugin/struct/remote.php
/plugin/struct/renderer/csv.php
/plugin/struct/script.js
/plugin/struct/script/EntryEditor.js
/plugin/struct/style.less
cloud.php
global.php
list.php
output.php
serial.php
table.php
value.php
/plugin/struct/types/AbstractBaseType.php
/plugin/struct/types/AbstractMultiBaseType.php
/plugin/struct/types/AutoSummary.php
/plugin/struct/types/Checkbox.php
/plugin/struct/types/Color.php
/plugin/struct/types/Date.php
/plugin/struct/types/DateTime.php
/plugin/struct/types/Decimal.php
/plugin/struct/types/Dropdown.php
/plugin/struct/types/LongText.php
/plugin/struct/types/Lookup.php
/plugin/struct/types/Mail.php
/plugin/struct/types/Media.php
/plugin/struct/types/Page.php
/plugin/struct/types/Tag.php
/plugin/struct/types/Text.php
/plugin/struct/types/TraitFilterPrefix.php
/plugin/struct/types/Url.php
/plugin/struct/types/User.php
/plugin/struct/types/Wiki.php
30bf61e613-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 ...

95507c0805-Jul-2021 Anna Dabrowska <dabrowska@cosmocode.de>

Cleanup to make checks and tests pass

812a20f717-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 ...

2dbe71f805-May-2021 Anna Dabrowska <dabrowska@cosmocode.de>

Fix Greebo event trigger

a2672b0003-May-2021 Anna Dabrowska <dabrowska@cosmocode.de>

Compatibility with releases previous to Hogfather

ca94dee608-Apr-2021 Anna Dabrowska <dabrowska@cosmocode.de>

Fix caching of struct aggregations

Remove a renderer check inappropriate for table views

b1ab837d08-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 ...

34ea6e1016-Feb-2021 Anna Dabrowska <dabrowska@cosmocode.de>

Eliminate warnings in PHP 8

3f10845c26-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 ...

308cc83f14-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 ...

4cd5cc2807-May-2020 Anna Dabrowska <dabrowska@cosmocode.de>

Introduce new factory methods for data access and deprecate old ones


/plugin/struct/_test/AccessTableDataDB.test.php
/plugin/struct/_test/AccessTableDataDBMulti.test.php
/plugin/struct/_test/AccessTableDataReplacement.test.php
/plugin/struct/_test/AggregationExportCSV.test.php
/plugin/struct/_test/AggregationResults.test.php
/plugin/struct/_test/Bureaucracy.test.php
/plugin/struct/_test/ImportPageCSV.test.php
/plugin/struct/_test/SearchConfig.test.php
/plugin/struct/_test/SearchConfigParameter.test.php
/plugin/struct/_test/StructTest.php
/plugin/struct/_test/Type_Dropdown.test.php
/plugin/struct/_test/Type_Lookup.test.php
/plugin/struct/_test/Type_Tag.test.php
/plugin/struct/_test/action/LookupAjaxAction..php
/plugin/struct/_test/edit.test.php
/plugin/struct/_test/mock/AccessTable.php
/plugin/struct/_test/mock/AggregationTable.php
/plugin/struct/_test/mock/LookupTable.php
/plugin/struct/_test/mock/SchemaNoDB.php
/plugin/struct/_test/move.test.php
/plugin/struct/action/bureaucracy.php
/plugin/struct/action/diff.php
/plugin/struct/action/edit.php
/plugin/struct/action/entry.php
/plugin/struct/action/inline.php
/plugin/struct/action/lookup.php
/plugin/struct/action/migration.php
/plugin/struct/action/move.php
/plugin/struct/action/revert.php
/plugin/struct/action/search.php
/plugin/struct/admin/schemas.php
/plugin/struct/db/latest.version
/plugin/struct/helper.php
/plugin/struct/helper/lookup.php
/plugin/struct/lang/cs/lang.php
/plugin/struct/lang/de/lang.php
/plugin/struct/lang/en/lang.php
/plugin/struct/lang/fr/lang.php
/plugin/struct/lang/ja/lang.php
/plugin/struct/meta/AccessDataValidator.php
/plugin/struct/meta/AccessTable.php
/plugin/struct/meta/AccessTableData.php
/plugin/struct/meta/AccessTableLookup.php
/plugin/struct/meta/AccessTableSerial.php
/plugin/struct/meta/Assignments.php
/plugin/struct/meta/CSVExporter.php
/plugin/struct/meta/CSVImporter.php
/plugin/struct/meta/CSVPageImporter.php
/plugin/struct/meta/Schema.php
/plugin/struct/meta/SchemaBuilder.php
/plugin/struct/meta/Search.php
/plugin/struct/meta/SearchCloud.php
/plugin/struct/meta/SearchConfig.php
output.php
83de40a817-Apr-2020 Anna Dabrowska <dabrowska@cosmocode.de>

Remove remnants of obsolete $idColumn parameter

c797933d13-Apr-2020 Anna Dabrowska <dabrowska@cosmocode.de>

Remove default filter that limited aggregation tables to page data

dfe3ae6709-Apr-2020 Anna Dabrowska <dabrowska@cosmocode.de>

Manual coding style fixes

Method and variable visibility, camel case method names. Some exclusions due to inheritance

6135632509-Apr-2020 Anna Dabrowska <dabrowska@cosmocode.de>

Automatic coding style fixes


/plugin/struct/_test/SearchConfigParameter.test.php
/plugin/struct/action/ajax.php
/plugin/struct/action/bureaucracy.php
/plugin/struct/action/cache.php
/plugin/struct/action/config.php
/plugin/struct/action/diff.php
/plugin/struct/action/edit.php
/plugin/struct/action/entry.php
/plugin/struct/action/inline.php
/plugin/struct/action/lookup.php
/plugin/struct/action/migration.php
/plugin/struct/action/move.php
/plugin/struct/action/output.php
/plugin/struct/action/revert.php
/plugin/struct/action/search.php
/plugin/struct/action/title.php
/plugin/struct/admin/assignments.php
/plugin/struct/admin/schemas.php
/plugin/struct/helper.php
/plugin/struct/helper/config.php
/plugin/struct/helper/db.php
/plugin/struct/helper/field.php
/plugin/struct/helper/fieldhidden.php
/plugin/struct/helper/imexport.php
/plugin/struct/helper/lookup.php
/plugin/struct/meta/AccessDataValidator.php
/plugin/struct/meta/AccessTable.php
/plugin/struct/meta/AccessTableData.php
/plugin/struct/meta/AccessTableLookup.php
/plugin/struct/meta/AggregationCloud.php
/plugin/struct/meta/AggregationList.php
/plugin/struct/meta/AggregationTable.php
/plugin/struct/meta/Assignments.php
/plugin/struct/meta/CSVExporter.php
/plugin/struct/meta/CSVImporter.php
/plugin/struct/meta/CSVLookupImporter.php
/plugin/struct/meta/CSVPageImporter.php
/plugin/struct/meta/Column.php
/plugin/struct/meta/ConfigParser.php
/plugin/struct/meta/DateFormatConverter.php
/plugin/struct/meta/FilterValueListHandler.php
/plugin/struct/meta/LookupTable.php
/plugin/struct/meta/PageColumn.php
/plugin/struct/meta/PageMeta.php
/plugin/struct/meta/QueryBuilder.php
/plugin/struct/meta/QueryBuilderWhere.php
/plugin/struct/meta/RevisionColumn.php
/plugin/struct/meta/RowColumn.php
/plugin/struct/meta/Schema.php
/plugin/struct/meta/SchemaBuilder.php
/plugin/struct/meta/SchemaEditor.php
/plugin/struct/meta/SchemaImporter.php
/plugin/struct/meta/Search.php
/plugin/struct/meta/SearchCloud.php
/plugin/struct/meta/SearchConfig.php
/plugin/struct/meta/SearchConfigParameters.php
/plugin/struct/meta/StructException.php
/plugin/struct/meta/SummaryColumn.php
/plugin/struct/meta/TranslationUtilities.php
/plugin/struct/meta/UserColumn.php
/plugin/struct/meta/ValidationException.php
/plugin/struct/meta/Value.php
/plugin/struct/meta/ValueValidator.php
/plugin/struct/remote.php
/plugin/struct/renderer/csv.php
cloud.php
list.php
lookup.php
output.php
serial.php
table.php
/plugin/struct/types/AbstractBaseType.php
/plugin/struct/types/AbstractMultiBaseType.php
/plugin/struct/types/AutoSummary.php
/plugin/struct/types/Checkbox.php
/plugin/struct/types/Color.php
/plugin/struct/types/Date.php
/plugin/struct/types/DateTime.php
/plugin/struct/types/Decimal.php
/plugin/struct/types/Dropdown.php
/plugin/struct/types/LongText.php
/plugin/struct/types/Lookup.php
/plugin/struct/types/Mail.php
/plugin/struct/types/Media.php
/plugin/struct/types/Page.php
/plugin/struct/types/Tag.php
/plugin/struct/types/Text.php
/plugin/struct/types/TraitFilterPrefix.php
/plugin/struct/types/Url.php
/plugin/struct/types/User.php
/plugin/struct/types/Wiki.php
100d64da09-Apr-2020 Anna Dabrowska <dabrowska@cosmocode.de>

Limit serial aggregations to current page

d400a5f009-Apr-2020 Anna Dabrowska <dabrowska@cosmocode.de>

Fix permission check in page aggregations

d489716306-Apr-2020 Anna Dabrowska <dabrowska@cosmocode.de>

Fix revision handling in output (struct data for a page)

0330783102-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 ...

00bff81c25-Mar-2020 Anna Dabrowska <dabrowska@cosmocode.de>

Include timestamp to fetch data for pages with the new type agnostic schema

b9d35ff218-Mar-2020 Anna Dabrowska <dabrowska@cosmocode.de>

Rudimentary handling of serial data

Serial data is bound to a page but does not affect versioning

12345