History log of /plugin/struct/helper/ (Results 26 – 50 of 74)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
aeb8444c01-Apr-2020 Anna Dabrowska <dabrowska@cosmocode.de>

Consolidate table access classes

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

Save empty page ids as strings, not NULL

pid is part of primary key and so must not be NULL. Otherwise the unique constraint does not work, SQLite effectively treats every NULL as unique.

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

2e0e934709-Nov-2019 Szymon Olewniczak <solewniczak@rid.pl>

The pull request: #464 causes a fatal error when the "$this->column" is false which may happen when the column is not defined. This commit fixes that.

5275870b05-Sep-2019 Anna Dabrowska <dabrowska@cosmocode.de>

Make field ids more unique

On some systems the timestamp-based field ids were not unique. In addition to being invalid HTML,
this broke e.g. date pickers. Might explain and solve #375

70bded8527-Aug-2019 Anna Dabrowska <dabrowska@cosmocode.de>

Display human readable labels in error messages

e46eaffd30-Apr-2019 Szymon Olewniczak <solewniczak@rid.pl>

Becouse there are plugins that extends the Lookup type, we should check
if the column is Lookup or one of its descendants.

609bd28103-Mar-2019 Michael Große <mic.grosse@googlemail.com>

�� Fix fatal error if no sqlite adapter is available

If the sqlite plugin is installed and active, but no sqlite is available to the php binary (e.g. if
the extension is not installed or not enabled

�� Fix fatal error if no sqlite adapter is available

If the sqlite plugin is installed and active, but no sqlite is available to the php binary (e.g. if
the extension is not installed or not enabled) then that would cause a fatal error, because
getAdapter returns null and that case and trying to access getName on null doesn't work.

Closes #440

show more ...

987ccc7f10-Jan-2018 Szymon Olewniczak <solewniczak@rid.pl>

use multi input in bureaucracy forms

this commit fixes a bug that causes an error when submitting bureaucracy form with struct multi input.

additionally it fixes one minor bug that causes struct lo

use multi input in bureaucracy forms

this commit fixes a bug that causes an error when submitting bureaucracy form with struct multi input.

additionally it fixes one minor bug that causes struct lookup fields loosing their selected values when a bureaucracy form was send with an error.

works only with: https://github.com/splitbrain/dokuwiki-plugin-bureaucracy/pull/226

show more ...

6d71ffef09-Jan-2018 Szymon Olewniczak <solewniczak@rid.pl>

fix: proper error handling

131fd50709-Jan-2018 Szymon Olewniczak <solewniczak@rid.pl>

fix: to proper handle placeholders in default values for struct fields, we must validate them only on submit

b193f1ee08-Jan-2018 Szymon Olewniczak <solewniczak@rid.pl>

"struct_lookup" action for bureaucracy

Action allows create struct lookup entries using bureaucracy form. Syntax:
<form>
action struct_lookup
...
</form>

<form> can contain any number of st

"struct_lookup" action for bureaucracy

Action allows create struct lookup entries using bureaucracy form. Syntax:
<form>
action struct_lookup
...
</form>

<form> can contain any number of struct_field or struct_schema. Data will be saved to respective lookup schemas.

show more ...


/plugin/struct/_test/Bureaucracy.test.php
/plugin/struct/_test/Column.test.php
/plugin/struct/_test/SearchConfigParameter.test.php
/plugin/struct/_test/edit.test.php
/plugin/struct/_test/json/bureaucracy.struct.json
/plugin/struct/_test/json/bureaucracy_lookup.struct.json
/plugin/struct/_test/mock/action_plugin_struct_edit.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/admin/schemas.php
/plugin/struct/all.less
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/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/LookupTable.php
/plugin/struct/meta/Schema.php
/plugin/struct/meta/SearchCloud.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/Media.php
/plugin/struct/types/Wiki.php
0db0cd8a07-Dec-2017 Szymon Olewniczak <solewniczak@rid.pl>

feature: hidden fields in bueraucracy form from struct fields

This commit adds extra syntax which allow us to add struct fields to bureaucracy forms as hidden fields:

struct_fieldhidden "products

feature: hidden fields in bueraucracy form from struct fields

This commit adds extra syntax which allow us to add struct fields to bureaucracy forms as hidden fields:

struct_fieldhidden "products.product" "=value"

This only make sense with #354

show more ...

89be912b07-Dec-2017 Szymon Olewniczak <solewniczak@rid.pl>

fix: struct_field in bureaucracy form now supports a default value

Before that we cannot use bureaucracy default values for struct_field ("=default value" syntax). Now it's possible.

ee98313502-Jun-2017 Michael Große <grosse@cosmocode.de>

Fix multiple inputs in one label: it's invalid ��

Multiple inputs within a single label in invalid HTML. This bug can not
only occur in multi-fields but also in plugin-provided single fields
which m

Fix multiple inputs in one label: it's invalid ��

Multiple inputs within a single label in invalid HTML. This bug can not
only occur in multi-fields but also in plugin-provided single fields
which may contain multiple input-fields which are then only combined by
javascript.

Thus, we provide an id which every type can assign to the edit-field
best suited. For multi-types this is usually the new-input-template.

Fixes #292

show more ...


/plugin/struct/_test/AccessTableDataDB.test.php
/plugin/struct/_test/AccessTableDataReplacement.test.php
/plugin/struct/_test/Column.test.php
/plugin/struct/_test/ConfigParser.test.php
/plugin/struct/_test/QueryBuilderWhere.test.php
/plugin/struct/_test/Search.test.php
/plugin/struct/_test/SearchConfig.test.php
/plugin/struct/_test/StructTest.php
/plugin/struct/_test/Type_Color.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_Page.test.php
/plugin/struct/_test/Type_Text.test.php
/plugin/struct/_test/Type_Wiki.test.php
/plugin/struct/_test/Value.test.php
/plugin/struct/_test/entry.test.php
/plugin/struct/_test/json/moves.struct.json
/plugin/struct/_test/json/schema1.struct.json
/plugin/struct/_test/move.test.php
/plugin/struct/_test/output.test.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/inline.php
/plugin/struct/action/migration.php
/plugin/struct/action/move.php
/plugin/struct/action/output.php
/plugin/struct/action/title.php
/plugin/struct/admin.svg
/plugin/struct/admin/schemas.php
/plugin/struct/db/latest.version
/plugin/struct/db/update0012.sql
/plugin/struct/db/update0013.sql
/plugin/struct/db/update0014.sql
/plugin/struct/deleted.files
field.php
/plugin/struct/lang/en/lang.php
/plugin/struct/lang/fr/editor_edit.txt
/plugin/struct/lang/fr/lang.php
/plugin/struct/lang/ja/lang.php
/plugin/struct/meta/AccessTable.php
/plugin/struct/meta/AccessTableData.php
/plugin/struct/meta/AggregationCloud.php
/plugin/struct/meta/AggregationList.php
/plugin/struct/meta/AggregationTable.php
/plugin/struct/meta/CSVExporter.php
/plugin/struct/meta/CSVImporter.php
/plugin/struct/meta/Column.php
/plugin/struct/meta/ConfigParser.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/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/TranslationUtilities.php
/plugin/struct/meta/UserColumn.php
/plugin/struct/meta/Value.php
/plugin/struct/plugin.info.txt
/plugin/struct/renderer/csv.php
/plugin/struct/requirements.txt
/plugin/struct/script/EntryEditor.js
/plugin/struct/script/InlineEditor.js
/plugin/struct/script/LookupEditor.js
/plugin/struct/style.less
/plugin/struct/syntax/cloud.php
/plugin/struct/syntax/list.php
/plugin/struct/syntax/lookup.php
/plugin/struct/syntax/output.php
/plugin/struct/syntax/table.php
/plugin/struct/types/AbstractBaseType.php
/plugin/struct/types/AbstractMultiBaseType.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/Lookup.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/User.php
/plugin/struct/types/Wiki.php
7cbcfbdb07-Nov-2016 Andreas Gohr <gohr@cosmocode.de>

better handling of failing sqlite plugin init. fixes #200


/plugin/struct/_test/AccessTableDataReplacement.test.php
/plugin/struct/_test/Assignments.test.php
/plugin/struct/_test/ConfigParser.test.php
/plugin/struct/_test/Search.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/Validator.test.php
/plugin/struct/_test/diff.test.php
/plugin/struct/_test/entry.test.php
/plugin/struct/_test/json/dropdowns.struct.json
/plugin/struct/_test/mock/Assignments.php
/plugin/struct/_test/mock/Lookup.php
/plugin/struct/action/bureaucracy.php
/plugin/struct/action/cache.php
/plugin/struct/action/diff.php
/plugin/struct/action/edit.php
/plugin/struct/action/entry.php
/plugin/struct/action/move.php
/plugin/struct/action/revert.php
/plugin/struct/action/search.php
/plugin/struct/action/title.php
/plugin/struct/admin/assignments.php
/plugin/struct/helper.php
db.php
imexport.php
/plugin/struct/lang/en/lang.php
/plugin/struct/lang/fr/lang.php
/plugin/struct/meta/AccessDataValidator.php
/plugin/struct/meta/AccessTable.php
/plugin/struct/meta/AggregationTable.php
/plugin/struct/meta/Assignments.php
/plugin/struct/meta/ConfigParser.php
/plugin/struct/meta/LookupTable.php
/plugin/struct/meta/Schema.php
/plugin/struct/meta/Title.php
/plugin/struct/plugin.info.txt
/plugin/struct/print.less
/plugin/struct/renderer/csv.php
/plugin/struct/script.js
/plugin/struct/script/EntryEditor.js
/plugin/struct/script/LookupEditor.js
/plugin/struct/style.less
/plugin/struct/syntax/output.php
/plugin/struct/syntax/table.php
/plugin/struct/types/Dropdown.php
/plugin/struct/types/Lookup.php
/plugin/struct/types/Tag.php
0e72ef5010-Oct-2016 Andreas Gohr <gohr@cosmocode.de>

renamed JSON to STRUCT_JSON. fixes #157

93ca6f4f23-Aug-2016 Andreas Gohr <gohr@cosmocode.de>

more Validator refactoring


/plugin/struct/.travis.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/ConfigParser.test.php
/plugin/struct/_test/DateFormatConverter.test.php
/plugin/struct/_test/QueryBuilderFrom.test.php
/plugin/struct/_test/QueryBuilderOther.test.php
/plugin/struct/_test/QueryBuilderSelect.test.php
/plugin/struct/_test/Search.test.php
/plugin/struct/_test/SearchConfig.test.php
/plugin/struct/_test/StructTest.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_Page.test.php
/plugin/struct/_test/Type_Text.test.php
/plugin/struct/_test/Validator.test.php
/plugin/struct/_test/entry.test.php
/plugin/struct/_test/helper_db.test.php
/plugin/struct/_test/json/decimal.struct.json
/plugin/struct/_test/json/pageschema.struct.json
/plugin/struct/_test/json/schema2int.struct.json
/plugin/struct/_test/mock/AccessTable.php
/plugin/struct/_test/mock/AccessTableData.php
/plugin/struct/_test/mock/AccessTableDataNoDB.php
/plugin/struct/_test/mock/QueryBuilder.php
/plugin/struct/_test/mock/SchemaNoDB.php
/plugin/struct/_test/move.test.php
/plugin/struct/action/ajax.php
/plugin/struct/action/bureaucracy.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/revert.php
/plugin/struct/action/search.php
/plugin/struct/action/title.php
/plugin/struct/admin/assignments.php
/plugin/struct/admin/schemas.php
/plugin/struct/db/latest.version
/plugin/struct/db/update0008.sql
/plugin/struct/db/update0009.sql
/plugin/struct/deleted.files
/plugin/struct/helper.php
field.php
/plugin/struct/jsoneditor/setup.js
/plugin/struct/lang/de/lang.php
/plugin/struct/lang/en/lang.php
/plugin/struct/lang/fr/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/AggregationTable.php
/plugin/struct/meta/Assignments.php
/plugin/struct/meta/Column.php
/plugin/struct/meta/ConfigParser.php
/plugin/struct/meta/DateFormatConverter.php
/plugin/struct/meta/LookupTable.php
/plugin/struct/meta/PageColumn.php
/plugin/struct/meta/QueryBuilder.php
/plugin/struct/meta/RevisionColumn.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/SearchConfig.php
/plugin/struct/meta/Title.php
/plugin/struct/meta/Validator.php
/plugin/struct/meta/Value.php
/plugin/struct/meta/ValueValidator.php
/plugin/struct/plugin.info.txt
/plugin/struct/script.js
/plugin/struct/script/EntryEditor.js
/plugin/struct/script/InlineEditor.js
/plugin/struct/script/LookupEditor.js
/plugin/struct/script/SchemaEditor.js
/plugin/struct/script/functions.js
/plugin/struct/style.less
/plugin/struct/syntax/lookup.php
/plugin/struct/syntax/output.php
/plugin/struct/syntax/table.php
/plugin/struct/types/AbstractBaseType.php
/plugin/struct/types/AbstractMultiBaseType.php
/plugin/struct/types/Checkbox.php
/plugin/struct/types/Date.php
/plugin/struct/types/DateTime.php
/plugin/struct/types/Decimal.php
/plugin/struct/types/Dropdown.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/Url.php
/plugin/struct/types/User.php
/plugin/struct/types/Wiki.php
26d59c4a15-Aug-2016 Michael Grosse <grosse@cosmocode.de>

Return false if schema doesn't exist

This way neither the JSON has to be created nor has it to be decoded in
order to understand that the schema doesn't exist

5792035015-Aug-2016 Michael Grosse <grosse@cosmocode.de>

Leave error handling of helper methods to the caller

c4ce749912-Aug-2016 Michael Grosse <grosse@cosmocode.de>

Add docblocks, better names and exception handling

78bff02f12-Aug-2016 Michael Grosse <grosse@cosmocode.de>

Set the user explicitly during import

If left unset, it will default to the currently logged-in user

aeca15ad11-Aug-2016 Michael Grosse <grosse@cosmocode.de>

Reinitialize db if $conf['meta'] changed

fa7b96aa10-Aug-2016 Michael Grosse <grosse@cosmocode.de>

Save user on schema change and more imexport tools

b25bb9fe10-Aug-2016 Michael Grosse <grosse@cosmocode.de>

Reevaluate page assignments when replacing them

123