History log of /plugin/struct/_test/ (Results 1 – 25 of 315)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
e303766c12-May-2025 Andreas Gohr <gohr@cosmocode.de>

fix tests, add formaly optional csv parser params

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

$NSORID$ filter place holder. implements #712

This filter will return the current page unless when called on a
namespace start page where it will return the namespace instead.

ea625c4607-Feb-2024 Anna Dabrowska <dabrowska@cosmocode.de>

Additional environment cleanup in test

Recently some tests kept failing on GitHub with a disk I/O errors on DB write.
This was happening in a specific test class with a loop doing quite a few DB wri

Additional environment cleanup in test

Recently some tests kept failing on GitHub with a disk I/O errors on DB write.
This was happening in a specific test class with a loop doing quite a few DB write
operations in setUp(), causing the subsequent test to fail.
Removing the offending test just made the next one fail.

Adding additional setUpBeforeClass() in each setup gets rid of the problem.

show more ...

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

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

Tests: update for current code and expose invisible tests to group based
testing

30ad7b7116-Jan-2024 Anna Dabrowska <dabrowska@cosmocode.de>

bureucracy: handle multi fields of type page with setting 'usetitles'

Addresses one of the issues in #700

7f4e957111-Dec-2023 Anna Dabrowska <dabrowska@cosmocode.de>

Update more tests for 521b204

521b204a11-Dec-2023 Anna Dabrowska <dabrowska@cosmocode.de>

Remove != '' filter from queries

This effectively reverts dc7d8d08 (changes were moved to different files,
so it is more transparent to do this in a new commit).

Fixes issues with negative filters

Remove != '' filter from queries

This effectively reverts dc7d8d08 (changes were moved to different files,
so it is more transparent to do this in a new commit).

Fixes issues with negative filters #358 #380 #656

TODO: Correct filtering on prefixed/postfixed fields, like the original commit was supposed to do, but without side effects that break normal non-prefixed fields.

show more ...

d78a3a5030-Nov-2023 Chris MacMackin <cmacmackin@gmail.com>

Added test for username autocompletion bug #689

996125f515-Nov-2023 Anna Dabrowska <dabrowska@cosmocode.de>

Page autocomplete: catch invalid regex

9c07550315-Nov-2023 Anna Dabrowska <dabrowska@cosmocode.de>

Page autocomplete: new option 'filter' instead of old 'namespace' and 'postfix'

6605560914-Nov-2023 Anna Dabrowska <dabrowska@cosmocode.de>

Clear multi fields that try to save multiple empty values

c0f1a2d109-Nov-2023 Anna Dabrowska <dabrowska@cosmocode.de>

Improve autocomplete search for pages

Fixes #579 special characters in ids
Implements #593 and #622 flexibility in namespaces via regex

150f5bc914-Nov-2023 Anna Dabrowska <dabrowska@cosmocode.de>

Adjust tests for named parameters in SQL

4bffd43602-Nov-2023 Anna Dabrowska <dabrowska@cosmocode.de>

Update tests for recent bugfixes


/plugin/struct/.github/workflows/dokuwiki.yml
AccessTableDataReplacementTest.php
AggregationResultsTest.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/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/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
/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 ...

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

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

correctly nest items with the same values with different parents

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

do not sort lists alphabetically

Now nested lists reflect the result set order again. The only exception
being the index level which is always sorted alphabetically. N/A entries
are still always las

do not sort lists alphabetically

Now nested lists reflect the result set order again. The only exception
being the index level which is always sorted alphabetically. N/A entries
are still always last.

show more ...

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

lists: correctly handle nesting with empty values

empty values are shown as n/a when they are used in nesting, otherwise
not shown just as before

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

fix accidentally broken test

This was broken by changing test data in the previous commit

12345678910>>...13