History log of /plugin/struct/helper/field.php (Results 1 – 25 of 26)
Revision Date Author Comments
# 473a32c3 17-Jan-2024 Anna Dabrowska <dabrowska@cosmocode.de>

Code style


# 30ad7b71 16-Jan-2024 Anna Dabrowska <dabrowska@cosmocode.de>

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

Addresses one of the issues in #700


# 5e29103a 11-Dec-2023 annda <annda@users.noreply.github.com>

�� Automatic code style fixes


# 7234bfb1 13-Sep-2023 splitbrain <splitbrain@users.noreply.github.com>

�� Automatic code style fixes


# 64480a7b 18-Apr-2023 Anna Dabrowska <dabrowska@cosmocode.de>

Fix code style violations


# b360e3b5 18-Apr-2023 Anna Dabrowska <dabrowska@cosmocode.de>

Improve replacement of user fields in buraucracy templates


# 3a41f427 05-Oct-2022 Anna Dabrowska <dabrowska@cosmocode.de>

Fix more PHP 8 warnings

Fixes #560 #618


# 1ca21e17 31-Mar-2022 Anna Dabrowska <dabrowska@cosmocode.de>

Multiple fixes for PHP 8 (#600)


# 0549dcc5 13-Jan-2022 Andreas Gohr <andi@splitbrain.org>

PHP code sniffer autofixes


# d1482d40 31-Jan-2021 Anna Dabrowska <dabrowska@cosmocode.de>

Handle 'usetitles' config of page fields in bureaucracy forms

If 'usetitles' is true, the struct field expects a JSON encoded value with both id and title, otherwise an exception is thrown.

This is

Handle 'usetitles' config of page fields in bureaucracy forms

If 'usetitles' is true, the struct field expects a JSON encoded value with both id and title, otherwise an exception is thrown.

This is a followup to #128 and it fixes #553

show more ...


# d6d97f60 09-Apr-2020 Anna Dabrowska <dabrowska@cosmocode.de>

Automatic coding style fixes


# 2e0e9347 09-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.


# 5275870b 05-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


# 70bded85 27-Aug-2019 Anna Dabrowska <dabrowska@cosmocode.de>

Display human readable labels in error messages


# e46eaffd 30-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.


# 987ccc7f 10-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 ...


# 131fd507 09-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


# 89be912b 07-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.


# ee983135 02-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 ...


# 93ca6f4f 23-Aug-2016 Andreas Gohr <gohr@cosmocode.de>

more Validator refactoring


# ba766201 28-Apr-2016 Andreas Gohr <gohr@cosmocode.de>

Use DokuWiki new autoloader for class files

No longer do we need to register our own autoloader. Namespace had to be
vendor prefixed.


# 6c71c031 12-Apr-2016 Andreas Gohr <gohr@cosmocode.de>

fix validation and multi vlaue handling in bureaucracy #87


# 9bdb73ce 05-Apr-2016 Andreas Gohr <gohr@cosmocode.de>

fixed asterisk for optional fields in bureaucracy #19


# 95838d50 30-Mar-2016 Andreas Gohr <gohr@cosmocode.de>

styling adjustments in bureaucracy mode

we now use our own formfield function here


# 3ad9c1ea 30-Mar-2016 Andreas Gohr <gohr@cosmocode.de>

first go at bureaucracy support #19

This only implements singlge field, not whole schemas, yet.

This has no unit tests yet. Testing will be complicated. I'll try to
figure something out.


12