History log of /plugin/struct/_test/mock/ (Results 1 – 25 of 49)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
ba7f578906-Feb-2024 Anna Dabrowska <dabrowska@cosmocode.de>

No direct search execution

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/BureaucracyTest.php
/plugin/struct/_test/SearchConfigParameterTest.php
/plugin/struct/_test/ValidatorTest.php
AggregationEditorTable.php
AggregationTable.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/CSVPageImporter.php
/plugin/struct/meta/DateFormatConverter.php
/plugin/struct/meta/InlineConfigParser.php
/plugin/struct/meta/NestedValue.php
/plugin/struct/meta/Schema.php
/plugin/struct/meta/SchemaBuilder.php
/plugin/struct/meta/Search.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
/plugin/struct/syntax/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
150f5bc914-Nov-2023 Anna Dabrowska <dabrowska@cosmocode.de>

Adjust tests for named parameters in SQL


/plugin/struct/.github/workflows/dokuwiki.yml
/plugin/struct/_test/AccessTableDataReplacementTest.php
/plugin/struct/_test/AggregationResultsTest.php
/plugin/struct/_test/QueryBuilderTest.php
/plugin/struct/_test/SearchConfigTest.php
/plugin/struct/_test/StructTest.php
QueryBuilder.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/admin/assignments.php
/plugin/struct/admin/schemas.php
/plugin/struct/deleted.files
/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/lang/de/lang.php
/plugin/struct/lang/de/settings.php
/plugin/struct/lang/en/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/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/StructException.php
/plugin/struct/meta/TranslationUtilities.php
/plugin/struct/meta/ValidationException.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
/plugin/struct/style.less
/plugin/struct/syntax/cloud.php
/plugin/struct/syntax/global.php
/plugin/struct/syntax/output.php
/plugin/struct/syntax/table.php
/plugin/struct/syntax/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
fdf3711518-Jul-2023 Andreas Gohr <andi@splitbrain.org>

refactoring dynamic parameter handling, part 4

This finally adjusts the tests. It also adds getLimit and getOffset in
the search class.

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

dynamic parameter handling refactoring, part 2

This introduces a addDynamicFilter() method. We need to handle fixed and
dynamic filters separately for proper parentheises. The latter is not
implemen

dynamic parameter handling refactoring, part 2

This introduces a addDynamicFilter() method. We need to handle fixed and
dynamic filters separately for proper parentheises. The latter is not
implemented yet and will follow next.

Tests still broken

show more ...

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

added filter for AggregationFilter::getAllColumnValues()

Also renames Filter to AggregationFilter

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

adjust method call for getting PDO access

79b2932624-May-2023 Anna Dabrowska <dabrowska@cosmocode.de>

Use new \dokuwiki\plugin\sqlite\SQLiteDB class for DB access

8fed17f305-Apr-2023 Andreas Gohr <andi@splitbrain.org>

clean up for the tests

This mostly corrects file and class names for PSR-2. Function names have
not been adjusted yet


/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/DiffTest.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/EditTest.php
/plugin/struct/_test/action/LookupAjaxTest.php
/plugin/struct/_test/action/MoveTest.php
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/deleted.files
/plugin/struct/helper/field.php
/plugin/struct/lang/fr/lang.php
/plugin/struct/lang/fr/settings.php
/plugin/struct/meta/AggregationValue.php
/plugin/struct/meta/ConfigParser.php
/plugin/struct/meta/InlineConfigParser.php
/plugin/struct/meta/SchemaBuilder.php
/plugin/struct/plugin.info.txt
/plugin/struct/script/AggregationEditor.js
/plugin/struct/style.less
/plugin/struct/syntax/global.php
/plugin/struct/syntax/output.php
/plugin/struct/types/DateTime.php
/plugin/struct/types/Decimal.php
0062407228-Sep-2022 Anna Dabrowska <dabrowska@cosmocode.de>

Replace boolean with integer in queries

Better sqlite compatibility

bb8d98c408-Aug-2022 Anna Dabrowska <dabrowska@cosmocode.de>

Dummy IS_PUBLISHER check with test


/plugin/struct/_test/AccessTableDataReplacement.test.php
/plugin/struct/_test/AggregationExportCSV.test.php
/plugin/struct/_test/Bureaucracy.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/Schema.test.php
/plugin/struct/_test/SchemaBuilder.test.php
/plugin/struct/_test/Search.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_Lookup.test.php
/plugin/struct/_test/Type_Media.test.php
/plugin/struct/_test/Type_Url.test.php
/plugin/struct/_test/Type_User.test.php
/plugin/struct/_test/diff.test.php
/plugin/struct/_test/edit.test.php
Search.php
helper_plugin_struct_db.php
/plugin/struct/action/aggregationeditor.php
/plugin/struct/action/ajax.php
/plugin/struct/action/bureaucracy.php
/plugin/struct/action/migration.php
/plugin/struct/action/output.php
/plugin/struct/admin/assignments.php
/plugin/struct/admin/schemas.php
/plugin/struct/db/latest.version
/plugin/struct/db/update0019.sql
/plugin/struct/helper.php
/plugin/struct/helper/db.php
/plugin/struct/helper/field.php
/plugin/struct/lang/en/lang.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/AggregationTable.php
/plugin/struct/meta/Assignments.php
/plugin/struct/meta/CSVExporter.php
/plugin/struct/meta/CSVPageImporter.php
/plugin/struct/meta/CSVSerialImporter.php
/plugin/struct/meta/Column.php
/plugin/struct/meta/DateFormatConverter.php
/plugin/struct/meta/PageMeta.php
/plugin/struct/meta/PublishedColumn.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/UserColumn.php
/plugin/struct/plugin.info.txt
/plugin/struct/remote.php
/plugin/struct/renderer/csv.php
/plugin/struct/script/AggregationEditor.js
/plugin/struct/script/functions.js
/plugin/struct/syntax/global.php
/plugin/struct/syntax/list.php
/plugin/struct/syntax/output.php
/plugin/struct/types/AbstractBaseType.php
/plugin/struct/types/Color.php
/plugin/struct/types/DateTime.php
/plugin/struct/types/Lookup.php
/plugin/struct/types/Media.php
/plugin/struct/types/Page.php
/plugin/struct/types/Tag.php
0549dcc513-Jan-2022 Andreas Gohr <andi@splitbrain.org>

PHP code sniffer autofixes


/plugin/struct/.github/workflows/phpTestLinux.yml
/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
AccessTable.php
AccessTableDataNoDB.php
AccessTableGlobal.php
AccessTablePage.php
AggregationEditorTable.php
AggregationTable.php
Assignments.php
BaseType.php
Dropdown.php
Lookup.php
QueryBuilder.php
SchemaNoDB.php
Search.php
SearchConfig.php
ValueValidator.php
action_plugin_struct_edit.php
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/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.svg
/plugin/struct/admin/assignments.php
/plugin/struct/admin/schemas.php
/plugin/struct/all.less
/plugin/struct/conf/default.php
/plugin/struct/conf/metadata.php
/plugin/struct/db/latest.version
/plugin/struct/db/update0018.sql
/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/assignments_intro.txt
/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/editor_edit.txt
/plugin/struct/lang/fr/editor_intro.txt
/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/plugin.info.txt
/plugin/struct/print.less
/plugin/struct/remote.php
/plugin/struct/renderer/csv.php
/plugin/struct/script.js
/plugin/struct/script/AggregationEditor.js
/plugin/struct/script/EntryEditor.js
/plugin/struct/style.less
/plugin/struct/syntax/cloud.php
/plugin/struct/syntax/global.php
/plugin/struct/syntax/list.php
/plugin/struct/syntax/output.php
/plugin/struct/syntax/serial.php
/plugin/struct/syntax/table.php
/plugin/struct/syntax/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
7b5b21b720-Jul-2020 Anna Dabrowska <dabrowska@cosmocode.de>

Test deleting all values when a multi field is updated inline

This test has a very limited scope: only the save method, and it will catch
very few errors in the inline editor. For that,
\action_plug

Test deleting all values when a multi field is updated inline

This test has a very limited scope: only the save method, and it will catch
very few errors in the inline editor. For that,
\action_plugin_struct_inline must be refactored into more manageable
public methods.

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
AccessTable.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/revert.php
/plugin/struct/action/search.php
/plugin/struct/admin/schemas.php
/plugin/struct/helper.php
/plugin/struct/helper/lookup.php
/plugin/struct/lang/de/lang.php
/plugin/struct/lang/en/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/CSVExporter.php
/plugin/struct/meta/CSVImporter.php
/plugin/struct/meta/CSVPageImporter.php
/plugin/struct/meta/Search.php
/plugin/struct/meta/SearchConfig.php
/plugin/struct/syntax/output.php
5b808f9f29-Apr-2020 Anna Dabrowska <dabrowska@cosmocode.de>

Remove islookup property of schemas

CSV import must still be adjusted

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

Test schema assignments in aggregations

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

Add test for serial data

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

Consistent data type check in mock AccessTable

The check was not updated after the mocked class was changed to handle data types instead of schema types


/plugin/struct/.github/workflows/phpCS.yml
/plugin/struct/_test/AccessTableDataReplacement.test.php
/plugin/struct/_test/AggregationExportCSV.test.php
/plugin/struct/_test/Bureaucracy.test.php
/plugin/struct/_test/QueryBuilderWhere.test.php
/plugin/struct/_test/Search.test.php
/plugin/struct/_test/StructTest.php
/plugin/struct/_test/Type_Dropdown.test.php
/plugin/struct/_test/Type_Lookup.test.php
/plugin/struct/_test/action/LookupAjaxAction..php
AccessTable.php
/plugin/struct/_test/move.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/plugin.info.txt
/plugin/struct/remote.php
/plugin/struct/renderer/csv.php
/plugin/struct/syntax/cloud.php
/plugin/struct/syntax/list.php
/plugin/struct/syntax/lookup.php
/plugin/struct/syntax/output.php
/plugin/struct/syntax/serial.php
/plugin/struct/syntax/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
8b04ed8106-Apr-2020 Anna Dabrowska <dabrowska@cosmocode.de>

Adjust page data access in tests

Fetching current revision by passing timestamp = 0 no longer works, use time() instead

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

Some fixme cleanups

0ceefd5c11-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 ...


/plugin/struct/.github/auto-comment.yml
/plugin/struct/.travis.yml
/plugin/struct/_test/AggregationExportCSV.test.php
/plugin/struct/_test/Column.test.php
/plugin/struct/_test/ImportPageCSV.test.php
/plugin/struct/_test/SchemaBuilder.test.php
/plugin/struct/_test/SearchConfig.test.php
/plugin/struct/_test/action/LookupAjaxAction..php
/plugin/struct/_test/json/schema_3.struct.json
AccessTable.php
/plugin/struct/_test/output.test.php
/plugin/struct/action/bureaucracy.php
/plugin/struct/action/inline.php
/plugin/struct/action/lookup.php
/plugin/struct/action/move.php
/plugin/struct/action/output.php
/plugin/struct/admin/assignments.php
/plugin/struct/admin/schemas.php
/plugin/struct/db/update0016.sql
/plugin/struct/helper.php
/plugin/struct/helper/db.php
/plugin/struct/helper/field.php
/plugin/struct/lang/cs/assignments_intro.txt
/plugin/struct/lang/cs/clear_intro.txt
/plugin/struct/lang/cs/delete_intro.txt
/plugin/struct/lang/cs/editor_edit.txt
/plugin/struct/lang/cs/editor_intro.txt
/plugin/struct/lang/cs/lang.php
/plugin/struct/lang/de/lang.php
/plugin/struct/lang/el/assignments_intro.txt
/plugin/struct/lang/en/lang.php
/plugin/struct/lang/fr/lang.php
/plugin/struct/meta/AccessTable.php
/plugin/struct/meta/AccessTableData.php
/plugin/struct/meta/AccessTableLookup.php
/plugin/struct/meta/AggregationTable.php
/plugin/struct/meta/CSVPageImporter.php
/plugin/struct/meta/Column.php
/plugin/struct/meta/ConfigParser.php
/plugin/struct/meta/LookupTable.php
/plugin/struct/meta/RowColumn.php
/plugin/struct/meta/Schema.php
/plugin/struct/meta/SchemaBuilder.php
/plugin/struct/meta/SchemaEditor.php
/plugin/struct/meta/Search.php
/plugin/struct/meta/SearchConfig.php
/plugin/struct/meta/SummaryColumn.php
/plugin/struct/plugin.info.txt
/plugin/struct/remote.php
/plugin/struct/script/LookupEditor.js
/plugin/struct/style.less
/plugin/struct/syntax/lookup.php
/plugin/struct/syntax/output.php
/plugin/struct/syntax/table.php
/plugin/struct/types/AutoSummary.php
/plugin/struct/types/Date.php
/plugin/struct/types/DateTime.php
/plugin/struct/types/Lookup.php
/plugin/struct/types/Tag.php
b6dc4fd931-Aug-2018 Michael Große <grosse@cosmocode.de>

�� Generators on PHP 5.6 cannot use "return"

17dbef8a31-Aug-2018 Michael Große <grosse@cosmocode.de>

✨ (Import) Add option to create missing pages in csv page schema import

Styling of the checkbox is still a bit off.

WIKI-199


/plugin/struct/.travis.yml
/plugin/struct/_test/AggregationExportCSV.test.php
/plugin/struct/_test/Bureaucracy.test.php
/plugin/struct/_test/Column.test.php
/plugin/struct/_test/ImportPageCSV.test.php
/plugin/struct/_test/Search.test.php
/plugin/struct/_test/SearchConfigParameter.test.php
/plugin/struct/_test/Type_DateTime.test.php
/plugin/struct/_test/json/bureaucracy.struct.json
/plugin/struct/_test/json/bureaucracy_lookup.struct.json
/plugin/struct/_test/json/wikilookup.struct.json
CSVPageImporter.php
/plugin/struct/action/bureaucracy.php
/plugin/struct/action/edit.php
/plugin/struct/action/entry.php
/plugin/struct/action/inline.php
/plugin/struct/action/lookup.php
/plugin/struct/action/output.php
/plugin/struct/action/title.php
/plugin/struct/admin/schemas.php
/plugin/struct/all.less
/plugin/struct/db/latest.version
/plugin/struct/db/update0015.sql
/plugin/struct/helper.php
/plugin/struct/helper/field.php
/plugin/struct/helper/fieldhidden.php
/plugin/struct/helper/lookup.php
/plugin/struct/lang/de/assignments_intro.txt
/plugin/struct/lang/de/clear_intro.txt
/plugin/struct/lang/de/delete_intro.txt
/plugin/struct/lang/de/editor_edit.txt
/plugin/struct/lang/de/editor_intro.txt
/plugin/struct/lang/de/lang.php
/plugin/struct/lang/en/clear_intro.txt
/plugin/struct/lang/en/editor_edit.txt
/plugin/struct/lang/en/lang.php
/plugin/struct/lang/fr/assignments_intro.txt
/plugin/struct/lang/fr/clear_intro.txt
/plugin/struct/lang/fr/editor_intro.txt
/plugin/struct/lang/fr/lang.php
/plugin/struct/lang/ja/clear_intro.txt
/plugin/struct/lang/ja/lang.php
/plugin/struct/meta/AggregationCloud.php
/plugin/struct/meta/AggregationTable.php
/plugin/struct/meta/CSVImporter.php
/plugin/struct/meta/CSVLookupImporter.php
/plugin/struct/meta/CSVPageImporter.php
/plugin/struct/meta/ConfigParser.php
/plugin/struct/meta/LookupTable.php
/plugin/struct/meta/PageMeta.php
/plugin/struct/meta/Schema.php
/plugin/struct/meta/Search.php
/plugin/struct/meta/SearchCloud.php
/plugin/struct/meta/SummaryColumn.php
/plugin/struct/plugin.info.txt
/plugin/struct/remote.php
/plugin/struct/requirements.txt
/plugin/struct/script.js
/plugin/struct/script/EntryEditor.js
/plugin/struct/style.less
/plugin/struct/types/AbstractBaseType.php
/plugin/struct/types/Checkbox.php
/plugin/struct/types/Color.php
/plugin/struct/types/Date.php
/plugin/struct/types/DateTime.php
/plugin/struct/types/Dropdown.php
/plugin/struct/types/LongText.php
/plugin/struct/types/Lookup.php
/plugin/struct/types/Media.php
/plugin/struct/types/Summary.php
/plugin/struct/types/Wiki.php

12