History log of /plugin/struct/action/entry.php (Results 1 – 25 of 66)
Revision Date Author Comments
# 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


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

PHP code sniffer autofixes


# 4cd5cc28 07-May-2020 Anna Dabrowska <dabrowska@cosmocode.de>

Introduce new factory methods for data access and deprecate old ones


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

Manual coding style fixes

Method and variable visibility, camel case method names. Some exclusions due to inheritance


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

Automatic coding style fixes


# 69f7ec8f 30-Mar-2020 Anna Dabrowska <dabrowska@cosmocode.de>

Using page revisions in inline editor guarantees that correct data access is initialized


# df8d9fff 07-Jul-2018 Michael Große <mic.grosse@googlemail.com>

�� Prevent PHP7 warning and check if countable first


# 0c17c53a 02-Jun-2017 Michael Große <grosse@cosmocode.de>

Remove duplicate code ��

The functions \action_plugin_struct_entry::createForm and
\action_plugin_struct_entry::makeField are duplicated in
\action_plugin_struct_edit


# 025cb9da 02-Nov-2016 Andreas Gohr <gohr@cosmocode.de>

made Assignments singleton. fixes #163


# 6ebbbb8e 10-Oct-2016 Andreas Gohr <gohr@cosmocode.de>

check permissions


# 9d461ec6 24-Aug-2016 Andreas Gohr <andi@splitbrain.org>

Merge pull request #166 from cosmocode/bug140

Always use raw values for editors


# c0230d2c 24-Aug-2016 Andreas Gohr <gohr@cosmocode.de>

Always use raw values for editors

This is another attempt to fix #140. The valueEditor() and
multiValueEditor() now always expect raw values to be passed. The Value
class was adjusted accordingly. I

Always use raw values for editors

This is another attempt to fix #140. The valueEditor() and
multiValueEditor() now always expect raw values to be passed. The Value
class was adjusted accordingly. It now allows to set the raw value
(which is what we get from POST). If done, the Value object is treated
as a rawonly Value that will throw an exception when you try to access
value or displayvalue.

show more ...


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

more Validator refactoring


# 67036dab 23-Aug-2016 Andreas Gohr <gohr@cosmocode.de>

reset tosave on each validation run

this is needed because the object may be reused during testing


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

use factory again


# 87dc1344 23-Aug-2016 Andreas Gohr <gohr@cosmocode.de>

first start at refactoring the validation mechanism

A Validator is now returned by the AccessTable. It has it's own save
method. The entry.php was split up in entry, edit and revert to separate
the

first start at refactoring the validation mechanism

A Validator is now returned by the AccessTable. It has it's own save
method. The entry.php was split up in entry, edit and revert to separate
the different concerns. Validation is only done in entry and the thanks
to the new Validator mechanism, the once loaded access table is reused
in saving.

This will break all kind of stuff. Fixing that is for the upcoming
commits

show more ...


# 72b4cd73 11-Aug-2016 Andreas Gohr <gohr@cosmocode.de>

adjust for removed option in AccessTable


# 94c9aa4c 08-Aug-2016 Andreas Gohr <gohr@cosmocode.de>

renamed SchemaData and SchemaLookupData

This is to reflect that they no longer inherit from Schema


# f411d872 08-Aug-2016 Andreas Gohr <gohr@cosmocode.de>

refactor SchemaData into AccessTable with factory

first part of the refactoring for the SchemaData and SchemaLookupData
classes. Both now inherit from AccessTable which provides common methods
and t

refactor SchemaData into AccessTable with factory

first part of the refactoring for the SchemaData and SchemaLookupData
classes. Both now inherit from AccessTable which provides common methods
and two factory methods to automatically create the correct class
depending on the schema.

Both classes no longer inherit from Schema. Instead they contain a
Schema as a member variable. This makes it possible to initialize them
with an existing schema (which is required for the factory methods).

The flow is now like this:

1: init a schema (read info from the database)
2: look at the schema to figure out if it's a lookup or not
3: initialize the right Data object with the schema

show more ...


# 6b5e52fd 04-Aug-2016 Andreas Gohr <gohr@cosmocode.de>

first go at the lookup table editor

All functionality is added via JavaScript after an initial AJAX call.
This call can be used to check permissions later (without the need to
invalidate caches)


# d683a527 25-Jul-2016 Andreas Gohr <gohr@cosmocode.de>

fix reverts with no content changes. (mentioned in #129)

When a revert reverts to a version that does not change the content, it
should still revert the struct data.


# bf4e3880 21-Jul-2016 Andreas Gohr <gohr@cosmocode.de>

use rawValue for old revisions and column filters #131 #129


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


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

styling adjustments in bureaucracy mode

we now use our own formfield function here


123