History log of /plugin/struct/syntax/ (Results 1 – 25 of 121)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
35b9b79424-Sep-2025 Andreas Gohr <gohr@cosmocode.de>

Revert "do not add rev to page output"

This reverts commit c161b3b3b6744123dd6a97f88643f8f8429f8fed.

Turns out the revision *is* needed for the inline editor. Fixes #747

3235fa1c12-Sep-2025 Szymon Olewniczak <szyolewn@pg.edu.pl>

typo fix

c161b3b327-Aug-2025 Andreas Gohr <gohr@cosmocode.de>

do not add rev to page output

It's not needed for the inline editor, but messes with the
renderrevisions plugin.

cosmocode/dokuwiki-plugin-renderrevisions#8
cosmocode/dokuwiki-plugin-renderrevision

do not add rev to page output

It's not needed for the inline editor, but messes with the
renderrevisions plugin.

cosmocode/dokuwiki-plugin-renderrevisions#8
cosmocode/dokuwiki-plugin-renderrevisions#9

show more ...

7923cdac16-Apr-2025 Andreas Gohr <andi@splitbrain.org>

allow preset filters and related schemas for cloud

This refactors the cloud aggregation to make use of the
SearchSQLBuilder, this in turn allows for reusing much but not all of
the default parameter

allow preset filters and related schemas for cloud

This refactors the cloud aggregation to make use of the
SearchSQLBuilder, this in turn allows for reusing much but not all of
the default parameter handling.

By allowing joins (on pid) and setting filters we can output clouds
based on the same data as a shown aggregation.

show more ...

fa5b7b6907-Apr-2025 Andreas Gohr <andi@splitbrain.org>

inline editor for page data output

This allows to use the double click action on the page data output table
shown on pages.

67f70d5418-Jan-2024 Anna Dabrowska <dabrowska@cosmocode.de>

Revert "Lazy search execution"

This reverts commit 95a8e37d986b141b2caee5b396741b93cd31c0e6.

95a8e37d18-Jan-2024 Anna Dabrowska <dabrowska@cosmocode.de>

Lazy search execution

Move search out of aggregation constructors. It should only be executed
before actual rendering, not e.g. on metadata run


/plugin/struct/_test/AccessTableDataReplacementTest.php
/plugin/struct/_test/AggregationFilterTest.php
/plugin/struct/_test/AggregationResultsTest.php
/plugin/struct/_test/BureaucracyTest.php
/plugin/struct/_test/QueryBuilderTest.php
/plugin/struct/_test/SearchConfigParameterTest.php
/plugin/struct/_test/StructTest.php
/plugin/struct/_test/ValidatorTest.php
/plugin/struct/_test/mock/AggregationEditorTable.php
/plugin/struct/_test/mock/AggregationTable.php
/plugin/struct/_test/mock/QueryBuilder.php
/plugin/struct/_test/types/PageTest.php
/plugin/struct/_test/types/TextTest.php
/plugin/struct/_test/types/UserTest.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/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/helper.php
/plugin/struct/helper/db.php
/plugin/struct/helper/field.php
/plugin/struct/helper/imexport.php
/plugin/struct/meta/AccessTable.php
/plugin/struct/meta/AccessTableGlobal.php
/plugin/struct/meta/Aggregation.php
/plugin/struct/meta/AggregationCloud.php
/plugin/struct/meta/AggregationEditorTable.php
/plugin/struct/meta/AggregationFilter.php
/plugin/struct/meta/AggregationList.php
/plugin/struct/meta/AggregationTable.php
/plugin/struct/meta/AggregationValue.php
/plugin/struct/meta/Assignments.php
/plugin/struct/meta/CSVPageImporter.php
/plugin/struct/meta/ConfigParser.php
/plugin/struct/meta/DateFormatConverter.php
/plugin/struct/meta/InlineConfigParser.php
/plugin/struct/meta/NestedValue.php
/plugin/struct/meta/QueryBuilder.php
/plugin/struct/meta/Schema.php
/plugin/struct/meta/SchemaBuilder.php
/plugin/struct/meta/Search.php
/plugin/struct/meta/SearchSQLBuilder.php
/plugin/struct/meta/Value.php
/plugin/struct/meta/ValueValidator.php
/plugin/struct/plugin.info.txt
/plugin/struct/print.less
/plugin/struct/remote.php
/plugin/struct/style.less
table.php
/plugin/struct/types/AbstractBaseType.php
/plugin/struct/types/Color.php
/plugin/struct/types/Decimal.php
/plugin/struct/types/Lookup.php
/plugin/struct/types/Media.php
/plugin/struct/types/Page.php
/plugin/struct/types/TraitFilterPrefix.php
/plugin/struct/types/User.php
7fe2cdf213-Sep-2023 Andreas Gohr <andi@splitbrain.org>

apply #670 and manually cleanup afterwards

fixes some failing tests
uses sexplode over array_pad
reformats multiline arrays

7234bfb113-Sep-2023 splitbrain <splitbrain@users.noreply.github.com>

�� Automatic code style fixes


/plugin/struct/.github/workflows/dokuwiki.yml
/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/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/imexport.php
/plugin/struct/helper/lookup.php
/plugin/struct/meta/AccessDataValidator.php
/plugin/struct/meta/AccessTable.php
/plugin/struct/meta/AccessTableGlobal.php
/plugin/struct/meta/AccessTablePage.php
/plugin/struct/meta/Aggregation.php
/plugin/struct/meta/AggregationEditorTable.php
/plugin/struct/meta/AggregationFilter.php
/plugin/struct/meta/AggregationList.php
/plugin/struct/meta/AggregationTable.php
/plugin/struct/meta/AggregationValue.php
/plugin/struct/meta/Assignments.php
/plugin/struct/meta/CSVExporter.php
/plugin/struct/meta/CSVImporter.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/InlineConfigParser.php
/plugin/struct/meta/NestedResult.php
/plugin/struct/meta/NestedValue.php
/plugin/struct/meta/PageMeta.php
/plugin/struct/meta/QueryBuilder.php
/plugin/struct/meta/QueryBuilderWhere.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/SearchSQLBuilder.php
/plugin/struct/meta/TranslationUtilities.php
/plugin/struct/meta/Value.php
/plugin/struct/meta/ValueValidator.php
/plugin/struct/plugin.info.txt
/plugin/struct/remote.php
/plugin/struct/renderer/csv.php
cloud.php
global.php
output.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
039b05b809-Aug-2023 Andreas Gohr <andi@splitbrain.org>

add check for proper class hiearchy in table syntax

Plugins extend this class, but may not inherit from Aggregation, yet.
A proper error should be shown.

299ca8cc19-Jul-2023 Andreas Gohr <andi@splitbrain.org>

make it easier to adjust/extend the search queries

Syntax components can overwrite getSearchConfig() and implement their
own SearchConfig that then can overwrite runSQLBuilder() to access the
underl

make it easier to adjust/extend the search queries

Syntax components can overwrite getSearchConfig() and implement their
own SearchConfig that then can overwrite runSQLBuilder() to access the
underlying QueryBuilder

show more ...

0ebf304517-Jul-2023 Andreas Gohr <andi@splitbrain.org>

make filter syntax use the disabling of dynamic parameters

Also some more style improvements

bea7239d12-Jul-2023 Andreas Gohr <andi@splitbrain.org>

change the way filters are rendered

Instead of a form, now links are used that immeadiately apply a selected
filter. To construct the link, the type's renderTagCloudLink() method is
reused.

Still t

change the way filters are rendered

Instead of a form, now links are used that immeadiately apply a selected
filter. To construct the link, the type's renderTagCloudLink() method is
reused.

Still to do:

* make it possible to apply multiple filters (this might need some
adjustments on the renderTagCloudLink() method signature)
* do ensure that one selected filter does not collapse all filter
possibilities. Cloud currently does this by implementing it's own
SearchConfig in SearchCloud, but that seems to be limited to handling
a single schema and field. I think it would make more sense to be able
enable/disable the dynamic filter handling for the standard
SearchConfig
* Improve styling. This is currently just a very quick rendering on top
of <details>

show more ...

f1812f0b12-Jul-2023 Andreas Gohr <andi@splitbrain.org>

added filter for AggregationFilter::getAllColumnValues()

Also renames Filter to AggregationFilter

f4dbd3b012-Jul-2023 Andreas Gohr <andi@splitbrain.org>

filter: initialize scope correctly

9508830406-Jul-2023 Anna Dabrowska <dabrowska@cosmocode.de>

Introduce inheritance in filter classes

4fc1424a28-Jun-2023 Anna Dabrowska <dabrowska@cosmocode.de>

New syntax component "filter"

af0ce8d226-Jun-2023 Andreas Gohr <andi@splitbrain.org>

added classes config parameter

This allows users to set custom CSS classes on aggregations potentially
restyling them differently for different use cases.

This makes startScope and finishScope part

added classes config parameter

This allows users to set custom CSS classes on aggregations potentially
restyling them differently for different use cases.

This makes startScope and finishScope part of the public API of the
Aggregation class. It should no longer be called within render() but is
instead called outside.

This might potentially break plugins implementing their own
aggregations. Needs to be checked

show more ...

00f71f1726-Jun-2023 Andreas Gohr <andi@splitbrain.org>

fixed tests and codesniffer complaints

ce44c63926-Jun-2023 Andreas Gohr <andi@splitbrain.org>

Add indexing support

Using the index keyword, lists can now have an alphabetical Index at the
top level.

d90aa84822-Jun-2023 Andreas Gohr <andi@splitbrain.org>

some streamlining for the aggregation classes

Have an abstract base class for aggregations to ensure proper
signatures, reuse more code from the table syntax

be4dde7712-Jun-2023 Andreas Gohr <andi@splitbrain.org>

avoid warning in syntax/output

460e822f06-Apr-2023 Andreas Gohr <andi@splitbrain.org>

code style fixes


/plugin/struct/.gitattributes
/plugin/struct/_test/AccessTableDataDBMultiTest.php
/plugin/struct/_test/AccessTableDataDBTest.php
/plugin/struct/_test/AccessTableDataReplacementTest.php
/plugin/struct/_test/AccessTableDataSQLTest.php
/plugin/struct/_test/AggregationExportCSVTest.php
/plugin/struct/_test/AggregationResultsTest.php
/plugin/struct/_test/AssignmentsTest.php
/plugin/struct/_test/BureaucracyTest.php
/plugin/struct/_test/ColumnTest.php
/plugin/struct/_test/ConfigHelperTest.php
/plugin/struct/_test/ConfigParserTest.php
/plugin/struct/_test/DateFormatConverterTest.php
/plugin/struct/_test/GeneralTest.php
/plugin/struct/_test/HelperDBTest.php
/plugin/struct/_test/ImportPageCSVTest.php
/plugin/struct/_test/InlineConfigParserTest.php
/plugin/struct/_test/OutputTest.php
/plugin/struct/_test/QueryBuilderFromTest.php
/plugin/struct/_test/QueryBuilderOtherTest.php
/plugin/struct/_test/QueryBuilderSelectTest.php
/plugin/struct/_test/QueryBuilderTest.php
/plugin/struct/_test/QueryBuilderWhereTest.php
/plugin/struct/_test/SchemaBuilderTest.php
/plugin/struct/_test/SchemaImporterTest.php
/plugin/struct/_test/SchemaTest.php
/plugin/struct/_test/SearchConfigParameterTest.php
/plugin/struct/_test/SearchConfigTest.php
/plugin/struct/_test/SearchTest.php
/plugin/struct/_test/StructTest.php
/plugin/struct/_test/ValidatorTest.php
/plugin/struct/_test/ValueTest.php
/plugin/struct/_test/action/DiffTest.php
/plugin/struct/_test/action/EditTest.php
/plugin/struct/_test/action/LookupAjaxTest.php
/plugin/struct/_test/action/MoveTest.php
/plugin/struct/_test/json/datetime.struct.json
/plugin/struct/_test/mock/Assignments.php
/plugin/struct/_test/types/AbstractBaseTest.php
/plugin/struct/_test/types/ColorTest.php
/plugin/struct/_test/types/DateTest.php
/plugin/struct/_test/types/DateTimeTest.php
/plugin/struct/_test/types/DecimalTest.php
/plugin/struct/_test/types/DropdownTest.php
/plugin/struct/_test/types/LookupTest.php
/plugin/struct/_test/types/MediaTest.php
/plugin/struct/_test/types/PageTest.php
/plugin/struct/_test/types/TagTest.php
/plugin/struct/_test/types/TextTest.php
/plugin/struct/_test/types/UrlTest.php
/plugin/struct/_test/types/UserTest.php
/plugin/struct/_test/types/WikiTest.php
/plugin/struct/action/aggregationeditor.php
/plugin/struct/meta/AccessTable.php
/plugin/struct/meta/AggregationTable.php
/plugin/struct/meta/ConfigParser.php
/plugin/struct/meta/Value.php
/plugin/struct/plugin.info.txt
/plugin/struct/script/AggregationEditor.js
/plugin/struct/style.less
output.php
/plugin/struct/types/DateTime.php
/plugin/struct/types/Decimal.php
/plugin/struct/types/Page.php
/plugin/struct/types/Tag.php
/plugin/struct/types/User.php
87788c7f13-Mar-2023 Anna Dabrowska <dabrowska@cosmocode.de>

Allow column config in serial syntax

The same columns are used in aggregation and new entry editor

3f594db815-Feb-2023 Andreas Gohr <andi@splitbrain.org>

wrap output tables with schema class

This way individual schemas can be styled differently

12345