Commit Graph

422 Commits

Author SHA1 Message Date
Guy Sartorelli
d18c931ecf
API Refactor template layer into its own module
Includes the following large-scale changes:
- Impoved barrier between model and view layers
- Improved casting of scalar to relevant DBField types
- Improved capabilities for rendering arbitrary data in templates
2024-10-22 16:15:39 +13:00
github-actions
6bb9a0b33d Merge branch '5' into 6 2024-10-13 08:43:04 +00:00
Guy Sartorelli
ebbd6427b2
ENH Allow overriding GridFieldFilterHeader placeholder (#11418) 2024-10-11 15:49:39 +13:00
Guy Sartorelli
33929e2992
FIX Get array values, not keys (#11414) 2024-10-03 10:30:18 +13:00
Guy Sartorelli
7f11bf3587
ENH Use symfony/validation logic (#11399) 2024-10-02 14:38:21 +13:00
github-actions
27708c7ebb Merge branch '5' into 6 2024-09-30 20:34:56 +00:00
github-actions
483e944601 Merge branch '5.3' into 5 2024-09-30 20:34:55 +00:00
github-actions
d7fa53139f Merge branch '5.2' into 5.3 2024-09-30 20:34:54 +00:00
Guy Sartorelli
862a65eacc
MNT Fix unit tests (#11409) 2024-09-30 18:32:17 +13:00
Guy Sartorelli
730b891e10
Merge branch '5' into 6
# Conflicts:
#	src/Security/Member.php
#	src/Security/PasswordValidator.php
#	tests/php/Forms/ConfirmedPasswordFieldTest.php
2024-09-26 09:23:56 +12:00
Guy Sartorelli
e34463875a
DEP Deprecate API that will be removed or renamed (#11401) 2024-09-25 16:11:39 +12:00
Guy Sartorelli
e2e32317d6
API Move various classes to more appropriate namespaces (#11370)
Also rename ViewableData to ModelData ahead of the template layer
lift-and-shift
2024-09-23 14:31:50 +12:00
Steve Boyd
9a92488ad7 DEP Use PHPUnit 11 2024-09-18 13:53:44 +12:00
Steve Boyd
8ffda9edc0 API Replace Extension subclasses 2024-08-28 17:00:39 +12:00
Guy Sartorelli
e3508d41d5
NEW Provide a standardised CMSEditLink method (#11338) 2024-08-26 10:56:15 +12:00
Guy Sartorelli
64a17e09d4
ENH Various changes to support SiteTree form field scaffolding (#11327) 2024-08-15 13:14:41 +12:00
Guy Sartorelli
051dadde12
Merge branch '5' into 6 2024-08-12 13:20:08 +12:00
Guy Sartorelli
dca62c7380
NEW Make CMSFields scaffolding configurable, plus new options (#11328)
Note that includeRelations was intentionally changed to not include has_one in 524d7a9011
2024-08-12 12:52:57 +12:00
Guy Sartorelli
eee7a84a48
NEW Add new method TabSet::changeTabOrder(). (#11329) 2024-08-12 09:33:55 +12:00
github-actions
370762af14 Merge branch '5' into 6 2024-08-07 04:16:15 +00:00
github-actions
cdde36bb9a Merge branch '5.2' into 5 2024-08-07 04:16:13 +00:00
Guy Sartorelli
9fae48bbd7
FIX Allow clearing lazyloaded SearchableDropdownField. (#11324) 2024-08-06 15:35:36 +12:00
Steve Boyd
ac319fb7ec Merge branch '5' into 6 2024-07-17 12:03:20 +12:00
Steve Boyd
db665a8dd8 Merge branch '5.2' into 5 2024-07-17 12:02:37 +12:00
Guy Sartorelli
b8d20dc9d5 [CVE-2024-32981] Disallow data:text/html in data attributes 2024-07-17 11:04:27 +12:00
github-actions
b405c4dbb6 Merge branch '5' into 6 2024-07-09 22:05:48 +00:00
Maxime Rainville
dbc0288038
MNT ALter order of expected attribute on image test (#11286) 2024-07-01 10:36:37 +12:00
github-actions
4fee1a3f8e Merge branch '5' into 6 2024-06-17 01:15:59 +00:00
github-actions
b7e2a6ecf8 Merge branch '5.2' into 5 2024-06-17 01:15:58 +00:00
Guy Sartorelli
1e0b9056f5
FIX Don't load data up front for lazy-loaded searchable dropdown (#11278) 2024-06-17 11:59:59 +12:00
Guy Sartorelli
e7d05aa524
Merge branch '5' into 6 2024-06-11 13:30:15 +12:00
Guy Sartorelli
be0eab2bae
NEW Allow DataObject classes to define scaffolded relation formfields (#11269) 2024-06-07 17:06:01 +12:00
github-actions
57886b76f5 Merge branch '5' into 6 2024-05-22 22:41:41 +00:00
github-actions
8886a3a93d Merge branch '5.2' into 5 2024-05-22 22:41:40 +00:00
Sabina Talipova
f0aaba5504
FIX HTMLEditorField is not able to show html or xml code examples (#11243) 2024-05-22 09:39:36 +12:00
Steve Boyd
3e70cfed1e API Set extension hook implementation visibility to protected 2024-05-21 09:51:51 +12:00
Guy Sartorelli
56625081b4
ENH Use allowed view button for readonly GridField (#11228) 2024-05-17 10:28:47 +12:00
Steve Boyd
7b847f8d7e API Strongly type Fieldlist 2024-05-16 18:16:08 +12:00
Steve Boyd
b8f0b8ca4f FIX Handle getting HasOneRelationFieldInterface passed as an array 2024-05-02 12:06:43 +12:00
Guy Sartorelli
a4adad60e9
FIX Don't skip sanitisation when no valid elements are defined 2024-04-18 14:28:02 +12:00
Guy Sartorelli
584968e80c
MNT Update tests to use a dataprovider
Also explicitly test both valid_elements and extended_valid_elements
2024-04-18 14:27:25 +12:00
Bernie Hamlin
99e965b5d7
FIX Use field editorconfig when sanitising content 2024-04-18 14:16:53 +12:00
github-actions
90298002a4 Merge branch '5.1' into 5.2 2024-03-19 23:26:25 +00:00
Guy Sartorelli
e68af4de40
Merge branch '4' into 5.1 2024-03-20 12:15:22 +13:00
Guy Sartorelli
6ede0316bf
Revert "Use field editorconfig when sanitising content" (#11180)
This reverts commit e5eb98cc34.
2024-03-20 12:02:54 +13:00
Guy Sartorelli
dcd33319c7
Merge branch '5.1' into 5.2 2024-03-18 15:33:54 +13:00
github-actions
c25922fedb Merge branch '4' into 5.1 2024-03-16 14:24:08 +00:00
Thomas Portelange
fcf5e324dd FIX Handle non-breakable spaces
Fixes issue https://github.com/silverstripe/silverstripe-framework/issues/11162
2024-03-12 11:01:09 +13:00
Dominik Beerbohm
a3ce922f1d
ENH Allow better subclassing of MoneyField
Move generation of NumberField from constructor to method to allow override in subclass.
Addded test for MoneyField
2024-02-20 11:42:45 +01:00
github-actions
5f355fbb75 Merge branch '5.1' into 5 2024-02-13 20:47:47 +00:00