#
5e29103a |
| 11-Dec-2023 |
annda <annda@users.noreply.github.com> |
Automatic code style 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
|
#
f0be5277 |
| 15-Nov-2023 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Add COLLATE NOCASE to sort queries
Fixes #616
|
#
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
|
#
9007da58 |
| 24-Apr-2018 |
Michael Große <grosse@cosmocode.de> |
Fix PHP notices
|
#
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 ...
|
#
7717c082 |
| 14-Mar-2017 |
Michael Große <grosse@cosmocode.de> |
Add compareValue() abstract base type & lookup
This fixes a bug, that caused the $STRUCT.table.field$ filter syntax to be broken for lookup fields. Struct was comparing the row-id of the argument-c
Add compareValue() abstract base type & lookup
This fixes a bug, that caused the $STRUCT.table.field$ filter syntax to be broken for lookup fields. Struct was comparing the row-id of the argument-column to the raw value of the referenced column at the filtered lookup.
There were multiple options to fix this bug: 1. Add a new function to the AbstractBaseType() that return raw value by default (this is the approach implemented by this commit) 2. Add a function to the lookup type only and use introspection to call it if it exists. 3. Do not compare the values in the referenced columns, but compare only the row-ids
The problem with approach 3: It is not possible to compare such lookup-column to any other column except lookups and this is not what we want. Approaches 1 and 2 have different trade-offs on where additional code/complexity is created. I decided for approach 1 because it is the cleaner overall approach and we might want to use this functionality for future types as well.
SPR-875
show more ...
|
#
f800af69 |
| 01-Mar-2017 |
Michael Große <grosse@cosmocode.de> |
refactor: use trait to reduce duplicate code
|
#
db9b8745 |
| 24-Jan-2017 |
Andreas Gohr <gohr@cosmocode.de> |
uses exact matches for Decimals
A LIKE operation makes no sense for numbers. This makes it possible for the type to define how a dynamic filter is to be interpreted. Decimals to an exact comparison
uses exact matches for Decimals
A LIKE operation makes no sense for numbers. This makes it possible for the type to define how a dynamic filter is to be interpreted. Decimals to an exact comparison now.
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 ...
|
#
9e7e1786 |
| 06-Dec-2016 |
Michael Grosse <grosse@cosmocode.de> |
doc: update php docstrings
|
#
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
|
#
d560ea13 |
| 05-Dec-2016 |
Michael Grosse <grosse@cosmocode.de> |
refactor: make sortString available for all types
|
#
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 ...
|
#
dd6a2b71 |
| 24-Aug-2016 |
Andreas Gohr <gohr@cosmocode.de> |
Merge branch 'lookups' into validationrefactor
* lookups: test translation feature implement rendering via sub type in Dropdown fix displayValue for looked up type, more tests fixed construc
Merge branch 'lookups' into validationrefactor
* lookups: test translation feature implement rendering via sub type in Dropdown fix displayValue for looked up type, more tests fixed constructor signature first test for new Dropdown features adjusted tests for renamed aliases Add Lookup Support to Dropdown column aliases need to differ from real column names use display value as default renderer introduces getDisplayValue
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
|
#
34ffb347 |
| 15-Aug-2016 |
Andreas Gohr <gohr@cosmocode.de> |
use display value as default renderer
|
#
5241ca30 |
| 15-Aug-2016 |
Andreas Gohr <gohr@cosmocode.de> |
introduces getDisplayValue
A way to represent a complex type as a single non-complex type. Usually this is the same as the rawValue.
|