History log of /plugin/struct/types/Media.php (Results 1 – 25 of 25)
Revision Date Author Comments
# ba662a60 07-Apr-2025 Andreas Gohr <andi@splitbrain.org>

some automatic rector fixes


# 7a256bc0 21-Nov-2023 Anna Dabrowska <dabrowska@cosmocode.de>

Fix tag cloud link

Fixes #692


# bfb78ce3 15-Nov-2023 Anna Dabrowska <dabrowska@cosmocode.de>

Cloud: display count when summarize is configured

Implements #613


# 7fe2cdf2 13-Sep-2023 Andreas Gohr <andi@splitbrain.org>

apply #670 and manually cleanup afterwards

fixes some failing tests
uses sexplode over array_pad
reformats multiline arrays


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

�� Automatic code style fixes


# 17a3a578 13-Jan-2022 Andreas Gohr <andi@splitbrain.org>

Manual code style adjustments


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

PHP code sniffer autofixes


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

Automatic coding style fixes


# 3e7a5b3c 13-Jun-2017 Michael Große <grosse@cosmocode.de>

Refactor to use buildAttributes -> cleaner code


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


# 23b146ac 07-Dec-2016 Michael Grosse <grosse@cosmocode.de>

fix: escape media text in cloud


# 664e4c73 07-Dec-2016 Michael Grosse <grosse@cosmocode.de>

refactor: reuse style class from DokuWiki-core


# 262c0fc6 05-Dec-2016 Michael Grosse <grosse@cosmocode.de>

feat: make images in clouds square

Also move the code to generate tag cloud links to the AbstractBaseType
and overwrite it in Media and Color


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


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

Validation should happen on raw value

This just renames the parameter to make this more clear


# 194029b4 10-Aug-2016 Andreas Gohr <gohr@cosmocode.de>

media fields need unique IDs. fixes #152


# 79d22ad4 27-Jul-2016 Michael Grosse <grosse@cosmocode.de>

Clean values in multiValueEditor, not in valueEditor

Since rawValue expects a single value it may not be able to handle
multiple concatinated values.

This caused an error for the pagetype in a mult

Clean values in multiValueEditor, not in valueEditor

Since rawValue expects a single value it may not be able to handle
multiple concatinated values.

This caused an error for the pagetype in a multi value field with
usetitles enabled.

show more ...


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


# 806eec82 16-Mar-2016 Andreas Gohr <gohr@cosmocode.de>

allow validation to modify the value before saving


# 28b818ce 10-Mar-2016 Andreas Gohr <gohr@cosmocode.de>

nicer strut output (and moved to top). closes #55


# 3b5909e1 03-Mar-2016 Andreas Gohr <gohr@cosmocode.de>

added tests for PDF and Video


# c266d282 02-Mar-2016 Andreas Gohr <gohr@cosmocode.de>

renamed classes to match type


# 51629881 02-Mar-2016 Andreas Gohr <gohr@cosmocode.de>

added media type validation tests


# 25caf3de 02-Mar-2016 Andreas Gohr <gohr@cosmocode.de>

renamed Image to Media and added mime type validation #38