History log of /plugin/struct/_test/ (Results 51 – 75 of 315)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
850c936213-Sep-2022 Philipp Cochems <philipp.cochems@gmail.com>

add eng not test

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

Update tests for "noedit" option in schema config

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

Dummy IS_PUBLISHER check with test

4c1bcea723-Aug-2021 Anna Dabrowska <dabrowska@cosmocode.de>

Update test

2570857204-Apr-2022 Anna Dabrowska <dabrowska@cosmocode.de>

Fix bureaucracy test (#601)

- Fix bureaucracy tests
- Bureaucracy: Don't attempt to double decode lookup field

1ca21e1731-Mar-2022 Anna Dabrowska <dabrowska@cosmocode.de>

Multiple fixes for PHP 8 (#600)

8267c30127-Jan-2022 Andreas Gohr <andi@splitbrain.org>

replaced more deprecated assertions

5cc23c4427-Jan-2022 Andreas Gohr <andi@splitbrain.org>

Return proper type when creating a Schema

138025f827-Jan-2022 Andreas Gohr <andi@splitbrain.org>

make bureaucracy optional when testing

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

Refactor deprecated assertion

2af9c5bb27-Jan-2022 Andreas Gohr <andi@splitbrain.org>

Replaces deprecated expectException annotation

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

PHP code sniffer autofixes


AccessTableDataDB.test.php
AccessTableDataDBMulti.test.php
AccessTableDataReplacement.test.php
AccessTableDataSQL.test.php
AggregationExportCSV.test.php
AggregationResults.test.php
Assignments.test.php
Bureaucracy.test.php
Column.test.php
ConfigParser.test.php
DateFormatConverter.test.php
ImportPageCSV.test.php
InlineConfigParser.test.php
QueryBuilder.test.php
QueryBuilderFrom.test.php
QueryBuilderOther.test.php
QueryBuilderSelect.test.php
QueryBuilderWhere.test.php
Schema.test.php
SchemaBuilder.test.php
SchemaImporter.test.php
Search.test.php
SearchConfig.test.php
SearchConfigParameter.test.php
StructTest.php
Type_AbstractBase.test.php
Type_Color.test.php
Type_Date.test.php
Type_DateTime.test.php
Type_Decimal.test.php
Type_Dropdown.test.php
Type_Lookup.test.php
Type_Media.test.php
Type_Page.test.php
Type_Tag.test.php
Type_Text.test.php
Type_Url.test.php
Type_User.test.php
Type_Wiki.test.php
Validator.test.php
Value.test.php
action/LookupAjaxAction..php
configHelper.test.php
diff.test.php
edit.test.php
general.test.php
helper_db.test.php
mock/AccessTable.php
mock/AccessTableDataNoDB.php
mock/AccessTableGlobal.php
mock/AccessTablePage.php
mock/AggregationEditorTable.php
mock/AggregationTable.php
mock/Assignments.php
mock/BaseType.php
mock/Dropdown.php
mock/Lookup.php
mock/QueryBuilder.php
mock/SchemaNoDB.php
mock/Search.php
mock/SearchConfig.php
mock/ValueValidator.php
mock/action_plugin_struct_edit.php
mock/helper_plugin_struct_config.php
move.test.php
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/plugin.info.txt
/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
/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
95507c0805-Jul-2021 Anna Dabrowska <dabrowska@cosmocode.de>

Cleanup to make checks and tests pass

c7273e8e28-Jun-2021 Andreas Gohr <andi@splitbrain.org>

Better output mechanisms for URL Type

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

a17e8e1511-Apr-2021 Frieder Schrempf <dev@fris.de>

Add more tests for struct filter variables

This adds some more tests for struct filter variables and the case
where the schema referenced by the variable is not the same as the
one assigned to the s

Add more tests for struct filter variables

This adds some more tests for struct filter variables and the case
where the schema referenced by the variable is not the same as the
one assigned to the search.

This also uncovers a bug which is triggered by both schemas, the one
assigned to the search and the one referenced by the variable, having
a column with the same name.

Signed-off-by: Frieder Schrempf <dev@fris.de>

show more ...

7784f3c111-Apr-2021 Frieder Schrempf <dev@fris.de>

Add type hints for setUp() and tearDown() in unit tests

This fixes the compatibility with the implementation in the
DokuWikiTest class, that was changed in splitbrain/dokuwiki@1c33cec37215d0c964cf96

Add type hints for setUp() and tearDown() in unit tests

This fixes the compatibility with the implementation in the
DokuWikiTest class, that was changed in splitbrain/dokuwiki@1c33cec37215d0c964cf961bdbc49ae7db3657e6

Signed-off-by: Frieder Schrempf <dev@fris.de>

show more ...

96b3193631-Jan-2021 Anna Dabrowska <dabrowska@cosmocode.de>

Tests update: always save a revision timestamp in page data

This makes tests more sensitive when we need to distinguish between page and serial data.

fc9d616f20-Jul-2020 Anna Dabrowska <dabrowska@cosmocode.de>

Add test for validating an empty multivalue field

The validator mutates the data, this tests the result.

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

777be84f20-Jul-2020 Anna Dabrowska <dabrowska@cosmocode.de>

Fix tests: updating global data

d3cc7cb330-Jun-2020 Anna Dabrowska <dabrowska@cosmocode.de>

Adjust bureaucracy tests to properly handle lookup replacements

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

7ab0915e12-May-2020 Anna Dabrowska <dabrowska@cosmocode.de>

Test pagination HTML with phpQuery elements instead of string comparison

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

Introduce new factory methods for data access and deprecate old ones

12345678910>>...13