History log of /plugin/struct/types/Text.php (Results 1 – 22 of 22)
Revision Date Author Comments
# 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


# 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


# 9ebd2ed6 24-Jan-2017 Andreas Gohr <gohr@cosmocode.de>

use prefix/postfix for wiki type. fixes #254

The filter mechanism is the same for text and wiki, but inheritance
didn't make sense, so this was moved to a trait instead.


# dc7d8d08 24-Jan-2017 Andreas Gohr <gohr@cosmocode.de>

do not match in pre/postfix of empty fields

Empty fields where pre and postfixed just as any other field. When
searching for a string that matched a pre/postfix all empty fields where
returned becau

do not match in pre/postfix of empty fields

Empty fields where pre and postfixed just as any other field. When
searching for a string that matched a pre/postfix all empty fields where
returned because the pre/postfix matched.

show more ...


# af993d55 03-Jan-2017 Michael Grosse <grosse@cosmocode.de>

fix: stop OR filters causing problems

The filters coming from syntax should be grouped together in a subgroup
to that OR-filters cannot undo the filters on latest=1 etc.

Since we cannot know in the

fix: stop OR filters causing problems

The filters coming from syntax should be grouped together in a subgroup
to that OR-filters cannot undo the filters on latest=1 etc.

Since we cannot know in the filter function whether there is already a
subgroup for us to use or which to use, the solution was to give the
correct subgroup to the filter function directly.

Instead of adding another parameter to the already long list of
parameters for that function, I have chosen to give the
QueryBuilderWhere a reference back to the original QueryBuilder.

show more ...


# 53528ecf 27-Jul-2016 Andreas Gohr <gohr@cosmocode.de>

allow multicolumn filters #124

when referencing a multi value column through the $STRUCT.<column>$
filter placeholder, all found values are used for the comparison using
an OR sub group.

To make th

allow multicolumn filters #124

when referencing a multi value column through the $STRUCT.<column>$
filter placeholder, all found values are used for the comparison using
an OR sub group.

To make this work some changes had to be introduced. You can only
reference _one_ column in a filter, not multiple. Anything before or
after the column placeholder will be applied to each value in the
multicolumn.

Types overrifding the filter() method need to make sure they handle
arrays in $value correctly.

show more ...


# 7da1a0fd 20-Jul-2016 Andreas Gohr <gohr@cosmocode.de>

Merge branch 'regexfilter' into querybuilder

This also changes where comparators are checked

* regexfilter:
reverted bad change caused by outdated IDEA index
first go at regexp filters


# 40bdf4fd 19-Jul-2016 Andreas Gohr <gohr@cosmocode.de>

drop the compare() function in favor of filter()


# c26fb18b 19-Jul-2016 Andreas Gohr <gohr@cosmocode.de>

implement filter() for types that had their own compare()


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


# b840b627 07-Mar-2016 Andreas Gohr <gohr@cosmocode.de>

comparisions with prefix/postfix need to use them


# 5c36a1f6 01-Mar-2016 Andreas Gohr <gohr@cosmocode.de>

introduced new abstract type to streamline multiedit fields


# f94f4c4f 25-Feb-2016 Andreas Gohr <gohr@cosmocode.de>

fixed a bunch of minor things found by IntelliJ Idea


# 797f0dfe 15-Feb-2016 Andreas Gohr <gohr@cosmocode.de>

types now use mode and renderer to output values

current types are completely renderer agnostic by reusing default
renderer methods


# 2249c4d2 15-Feb-2016 Andreas Gohr <gohr@cosmocode.de>

added some default implementations into AbstractBasetype

good to have some very simple default when creating a new type


# ffe902fb 03-Feb-2016 Andreas Gohr <andi@splitbrain.org>

escape stuff


# 899b86ac 03-Feb-2016 Andreas Gohr <andi@splitbrain.org>

first go at better multi editing support


# c2fd0bf0 03-Feb-2016 Michael Große <grosse@cosmocode.de>

Show simple Schema-Form to enter values

SPR-291


# 31263897 01-Feb-2016 Andreas Gohr <andi@splitbrain.org>

some adjustments to the basetype methods


# 083afc55 17-Dec-2015 Andreas Gohr <andi@splitbrain.org>

a first go at the overall structure. far from complete