Guy Sartorelli
4d99f83bbf
Merge pull request #347 from creative-commoners/pulls/3.4/remove-travis
...
MNT Remove travis
2022-08-03 12:30:03 +12:00
Steve Boyd
2cfe6db9a7
MNT Remove travis
2022-08-03 12:12:02 +12:00
bumbus
f56bf67e40
FIX Fixes GridFieldEditableColumns::isChanged method for non-string values (e.g. arrays for has_many / many_many relations) ( #343 )
...
* fixes GridFieldEditableColumns::isChanged method for non-string values (e.g. arrays for has_many / many_many relations)
* revert formatting
Co-authored-by: Bumbus <sf@arillo.ch>
2022-08-01 13:22:09 +12:00
Steve Boyd
7f90426987
Merge branch '3.3' into 3.4
2022-07-25 11:51:30 +12:00
Guy Sartorelli
c6dfea0598
Merge pull request #345 from creative-commoners/pulls/3.3/module-standards
...
MNT Use GitHub Actions CI
2022-07-15 13:59:06 +12:00
Steve Boyd
cfc764e3b5
MNT Use GitHub Actions CI
2022-07-15 13:57:33 +12:00
Steve Boyd
0405d919fc
Merge pull request #341 from silverstripeltd/pull/performance-fixes
...
ENH: Add performance fixes on saving editable columns
2022-06-16 13:35:24 +12:00
Mo Alsharaf
547ec8aa50
ENH: Add performance fixes on saving editable columns
...
- Use one query to fetch all items needed to be saved.
- Only save items that are changed.
2022-06-16 13:02:16 +12:00
Steve Boyd
71d60b0734
Merge pull request #338 from creative-commoners/pulls/3/php81
...
ENH PHP 8.1 compatibility
2022-04-22 16:48:56 +12:00
Steve Boyd
93e4379c3d
ENH PHP 8.1 compatibility
2022-04-13 17:44:44 +12:00
Guy Sartorelli
ec93c994f8
NEW Extend new AbstractGridFieldComponent class ( #332 )
...
This makes this module's `GridFieldComponent` classes `Injectable`, and allows any future enhancements in the new abstract class to automatically apply without requiring additional changes in this module.
The class is introduced in silverstripe/framework 4.11.0 so the dependency constraint needs to be updated.
Also update docs to encourage use of dependency injection.
2022-03-04 10:12:24 +13:00
Guy Sartorelli
8c4e924bfa
ENH: Prefer dependency injection over use of new
keyword. ( #333 )
...
* ENH: Prefer dependency injection over use of `new` keyword.
* MNT Fix phpcs linting error.
2022-02-18 16:44:54 +13:00
Daniel Hensby
8e9ee0bace
Merge pull request #330 from creative-commoners/pulls/3/php74
...
DEP Set PHP 7.4 as the minimum version
2022-02-10 11:36:30 +00:00
Steve Boyd
78da0c31fe
DEP Set PHP 7.4 as the minimum version
2022-02-10 17:59:26 +13:00
David Toews
6d6cf4a225
ENH applies default sort order to CMS ordering ( #325 )
...
* (cms interface) applies default sort order to CMS ordering
This allows secondary sort ordering to be applied when it exists and when the objects have not been sorted manually
* (sort logic) adds additional checks for non DataList or unsorted cases
* Update src/GridFieldOrderableRows.php
Co-authored-by: Michal Kleiner <mk@011.nz>
Co-authored-by: Michal Kleiner <mk@011.nz>
2022-02-02 15:29:57 +13:00
Maxime Rainville
baa6a8d147
Merge pull request #327 from creative-commoners/pulls/3/sapphire-test-nine
...
API phpunit 9 support
2021-11-09 13:14:44 +13:00
Steve Boyd
5e3037bd2f
API phpunit 9 support
2021-11-09 11:43:41 +13:00
Steve Boyd
b52fd75f0e
Update README.md
2021-06-18 14:03:25 +12:00
Marcus
7738a0b89b
Merge pull request #319 from ntd/inline-row-with-defaults
...
FIX: use default values in new inline rows (#64 )
2021-05-13 10:11:36 +10:00
Marcus
719c0ed547
Merge pull request #302 from lpostiglione/patch-1
...
Fix support for dot notation in GridFieldOrderableRows
2021-05-13 10:09:52 +10:00
Nicola Fontana
3d4986432c
FIX: use default values in new inline rows ( #64 )
2021-03-24 20:32:02 +01:00
Steve Boyd
74126ed6a7
Merge branch '3.2' into 3
2021-03-20 14:14:24 +13:00
Steve Boyd
6ee8d6ccb2
Merge pull request #316 from chromos33/patch-1
...
Update index.md
2021-03-19 12:30:45 +13:00
Serge Latyntsev
acd1a37122
Merge pull request #318 from creative-commoners/pulls/3.2/travis-shared
...
MNT Travis shared config
2021-02-11 16:57:59 +13:00
Steve Boyd
700e5adf53
MNT Travis shared config
2021-01-20 14:52:20 +13:00
chromos33
d6357ec187
Update index.md
...
Updated doc to use "::class" instead of Literals to reflect SS4 changes
2020-12-23 11:26:38 +01:00
Robbie Averill
3a9fd3c928
Merge pull request #314 from sminnee/pulls/312-fix-editable-readonly
...
FIX: Fixed handling of uneditable records in GridFieldEditableColumns
2020-09-10 14:08:29 -07:00
Sam Minnee
6becfc2f89
NEW: Add test for GridFieldEditableColumns
...
Also adds a .gitignore to ignore files created by in-module testing.
2020-09-08 14:57:59 +12:00
Sam Minnee
229a23a2f4
FIX: Transfrom editable columns to readonly on a readonly gridfield also.
2020-09-08 14:57:59 +12:00
Sam Minnee
08f89ea4b5
FIX: Fixed handling of uneditable records in GridFieldEditableColumns
...
Fixes #312
2020-08-07 12:30:21 +12:00
Garion Herman
c77d9d1de3
Merge pull request #313 from creative-commoners/pulls/3.2/column-content-fallback
...
FIX Reinstate previous field fetch logic as fallback
2020-07-30 16:46:06 +12:00
Garion Herman
4105d6330f
FIX Reinstate previous field fetch logic as fallback
...
Fixes some cases where a field is not retrievable via dataFieldByName()
2020-07-30 10:54:53 +12:00
Marcus
d671788b19
Merge pull request #301 from oilee80/3
...
Add Multi Class to inline add button
2020-06-17 16:44:15 +10:00
Marcus
2fc085bbd0
Merge pull request #294 from sminnee/allow-inline-dot-syntax
...
FIX: Let GridFieldEditableColumns edit relations via dot syntax
2020-06-17 16:42:26 +10:00
Nathan
306ad52a28
Merge pull request #310 from symbiote/nglasl-patch-1
...
PHP 7.4
2020-06-10 11:38:10 +10:00
Nathan
3aaf4479ce
PHP 7.4
2020-06-10 11:31:21 +10:00
Steve Boyd
5024b93f1d
Merge pull request #306 from sunnysideup/patch-1
...
MINOR: better composer keywords
2020-06-02 13:25:05 +12:00
Nicolaas
f8439f1b67
MINOR: better composer keywords
2020-05-29 12:47:16 +12:00
Serge Latyntsev
66d5e043ed
Merge pull request #296 from chrometoasters/manymanythrough_ploymorphic_support
...
FIX to make GridFieldOrderableRows support polymorphic ManyManyThroughList
2020-05-18 15:38:49 +12:00
Michal Kleiner
9944b67632
FIX GridFieldOrderableRows to support polymorphic ManyManyThroughList
2020-05-18 15:33:43 +12:00
Luca Postiglione
4d94b2748d
Added support for dot notation in GridField name
...
When you want to have a GridField for a sub-relation on a relation of your DataObject you use dot notation, this breaks the functionality of GridFieldOrderableRows because in the POST request the dot is replaced by an underscore.
2020-01-29 12:57:30 +01:00
Lee Bradley
4afe5dcfd3
Tweaks to pass tests
2019-12-12 16:18:09 +00:00
Lee Bradley
04c42273cf
Add Multi Class to inline add button
...
Raised in Issue #300
2019-12-12 16:10:11 +00:00
Garion Herman
8e37021317
Merge pull request #299 from creative-commoners/pulls/3/travis-ci
...
Travis config update
2019-11-25 17:10:34 +13:00
Serge Latyntcev
a710c81941
Travis config update
2019-11-25 16:58:44 +13:00
Serge Latyntcev
d0cf736174
Travis config update
2019-11-25 16:48:52 +13:00
Serge Latyntcev
0dc0c5614d
Merge branch '3.2' into 3
2019-11-25 16:02:34 +13:00
Sam Minnee
0b37e97b42
FIX: Fix insertion of new records in many-many-through list.
...
This change is specially important when using dot-syntax fieldnames to
access the join record of a many-many-through.
2019-08-26 18:11:36 +12:00
Sam Minnee
d357479421
FIX: Let GridFieldEditableColumns edit relations via dot syntax
...
This is a companion to https://github.com/silverstripe/silverstripe-framework/pull/9192 to provide the same functionality for inline
editing in GridFields
A valuable use of this is editing fields in the join-object of
a many-many-through relation.
2019-08-26 12:37:19 +12:00
Guy Marriott
668b297a30
Merge pull request #291 from kinglozzer/inline-delete
...
FIX: Unable to delete inline-added rows before saving them
2019-04-11 08:37:22 +12:00