Guy Sartorelli
e3508d41d5
NEW Provide a standardised CMSEditLink method ( #11338 )
2024-08-26 10:56:15 +12:00
github-actions
696a4a4dc5
Merge branch '5' into 6
2024-08-25 22:08:57 +00:00
Steve Boyd
743fe245aa
API Deprecate DataExtension
2024-08-20 14:09:52 +12:00
Steve Boyd
07dfb1cd49
API Remove IPUtils
2024-08-20 11:33:46 +12:00
Steve Boyd
6d57fddae8
Merge branch '5' into 6
2024-08-20 11:11:44 +12:00
Steve Boyd
16a8132bec
DEP Use symfony for IPUtils
2024-08-20 09:25:22 +12:00
Guy Sartorelli
64a17e09d4
ENH Various changes to support SiteTree form field scaffolding ( #11327 )
2024-08-15 13:14:41 +12:00
github-actions
a8c322029d
Merge branch '5' into 6
2024-08-15 00:30:12 +00:00
github-actions
c27f66bd48
Merge branch '5.2' into 5
2024-08-15 00:30:10 +00:00
Steve Boyd
25a41de8b5
FIX Run ANALYZE TABLE before fetching table stats
2024-08-14 15:16:23 +12:00
Guy Sartorelli
051dadde12
Merge branch '5' into 6
2024-08-12 13:20:08 +12:00
Guy Sartorelli
410ef74e32
Merge branch '5.2' into 5
2024-08-12 13:03:34 +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
Guy Sartorelli
7b91207c12
FIX Don't error if template global is null ( #11331 )
2024-08-09 09:27:38 +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
f93c9a9a34
Merge pull request #11321 from creative-commoners/pulls/5.2/normalise-external
...
FIX Do not suffix trailing slash to external links
2024-08-07 12:51:33 +12:00
Steve Boyd
8c80a4fd1e
FIX Do not suffix trailing slash to external links
2024-08-07 10:38:25 +12:00
Guy Sartorelli
3a36665da7
Merge pull request #11319 from creative-commoners/pulls/5.2/clear-table
...
FIX Clear table logic for MySQL 8
2024-08-06 16:17:00 +12:00
Guy Sartorelli
485bbc2774
MNT Ignore phpstan errors we can't fix. ( #11326 )
2024-08-06 16:09:11 +12:00
Guy Sartorelli
9fae48bbd7
FIX Allow clearing lazyloaded SearchableDropdownField. ( #11324 )
2024-08-06 15:35:36 +12:00
Steve Boyd
c3f0104a89
FIX Clear table logic for MySQL 8
2024-08-06 15:20:43 +12:00
github-actions
a7a431d366
Merge branch '5' into 6
2024-07-31 00:59:59 +00:00
Guy Sartorelli
9091ecfd3a
ENH Don't use the keyword "self" ( #11315 )
2024-07-31 12:55:22 +12:00
github-actions
0c9cceae57
Merge branch '5' into 6
2024-07-31 00:42:31 +00:00
github-actions
6c3a4e26de
Merge branch '5.2' into 5
2024-07-31 00:42:30 +00:00
github-actions
f6af6300b0
Merge branch '5' into 6
2024-07-29 21:19:22 +00:00
github-actions
1c77aa92d0
Merge branch '5.2' into 5
2024-07-29 21:19:20 +00:00
Maxime Rainville
f91b279ef0
FIX Don't generate table alias for "from" statement that are not column names.
2024-07-30 08:36:27 +12:00
Guy Sartorelli
d9bccaff3d
ENH Don't use keywords self ( #11313 )
2024-07-29 16:53:22 +12:00
github-actions
4c9eab0589
Merge branch '5' into 6
2024-07-28 08:41:27 +00:00
Johannes Hammersen
fb7b1734eb
FIX: Readonly transformation of lazy-loaded searchable dropdown ( #11297 )
...
Co-authored-by: johannes.hammersen <Johannes.Hammersen@funkemedien.de>
2024-07-26 10:16:23 +12:00
github-actions
f3262c3c1e
Merge branch '5' into 6
2024-07-22 21:57:06 +00:00
github-actions
8a576f91be
Merge branch '5.2' into 5
2024-07-22 21:57:05 +00:00
Guy Sartorelli
d14ec2831a
Merge pull request #11299 from Cheddam/pulls/5/session-token-renewal-configuration
...
API Make token regeneration optional during autologin session renewal
2024-07-22 12:11:18 +12:00
Steve Boyd
539d4645b9
FIX Truncate table to clear table
2024-07-19 21:13:34 +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
b6e347ef3d
Merge pull request #11308 from creative-commoners/pulls/5.2/ss-2024-001
...
[SS-2024-001] Set convert_unsafe_embeds to true
2024-07-17 11:38:17 +12:00
Guy Sartorelli
b8d20dc9d5
[CVE-2024-32981] Disallow data:text/html
in data attributes
2024-07-17 11:04:27 +12:00
Steve Boyd
60155dad41
[SS-2024-001] Set convert_unsafe_embeds to true
2024-07-17 10:56:18 +12:00
Garion Herman
724e813b8f
API Make token regeneration optional during autologin session renewal
...
Resolves #11281 . Renewing the token/hash during an active session
can trigger a logout in the event of request failures or simultaneous
requests.
This also marks the renew method as deprecated, to be removed
entirely in 6.0.
2024-07-16 09:08:04 +09:00
Guy Sartorelli
d540877eed
FIX Use valid values for APCu version ( #11304 )
2024-07-15 09:26:50 +12:00
Steve Boyd
386ff5a1cc
Merge pull request #11300 from creative-commoners/pulls/6/in-memory-cache
...
FIX Ensure cache is shared between CLI and webserver
2024-07-12 12:28:42 +12:00
Guy Sartorelli
ed321f8ce7
MNT Test with all cache factories in CI
2024-07-12 09:29:47 +12:00
github-actions
b405c4dbb6
Merge branch '5' into 6
2024-07-09 22:05:48 +00:00
Guy Sartorelli
3829160151
Merge branch '5.2' into 5
2024-07-10 10:04:52 +12:00
Guy Sartorelli
c13ec34113
FIX Don't strip <header>
tag from HTMLValue
( #11302 )
2024-07-09 13:18:29 +12:00
Guy Sartorelli
232173753a
FIX Ensure cache is shared between CLI and webserver
2024-07-09 12:58:13 +12:00
Guy Sartorelli
0bb88d0988
FIX Don't pass labelfield as value for SEarchableDropdownField ( #11303 )
2024-07-09 10:09:27 +12:00
Johannes Hammersen
1943f9d417
FIX DBForeignKey scaffolding missing parameter ( #11295 )
...
Co-authored-by: johannes.hammersen <Johannes.Hammersen@funkemedien.de>
2024-07-03 14:23:25 +12:00
Steve Boyd
98dc238d2a
ENH Do not require _config dir or _config.php for modules
2024-07-01 16:32:54 +12:00
github-actions
a4149d12cf
Merge branch '5' into 6
2024-06-30 08:41:28 +00:00
github-actions
57fb06a1a9
Merge branch '5.2' into 5
2024-06-30 08:41:27 +00:00
Guy Sartorelli
a684c8ca03
ENH Auto-scaffold Member and Group with appropriate form fields ( #11285 )
2024-06-27 10:20:00 +12:00
github-actions
cbc984eaf7
Merge branch '5' into 6
2024-06-20 03:09:22 +00:00
Guy Sartorelli
dcace43183
Merge branch '5.2' into 5
...
# Conflicts:
# src/Core/ClassInfo.php
# src/ORM/FieldType/DBForeignKey.php
2024-06-20 14:51:48 +12:00
johannes.hammersen
ce5cfcac61
FIX Remove write from SearchableDropdownTrait
...
In the SearchableDropdownTrait::saveInto method, if the field is a has_one relationship, $record->write() was called. FormField and any other instances of saveInto should not call write - that should be called by the form itself.
2024-06-19 11:13:54 +02:00
Guy Sartorelli
27873939f4
Merge pull request #11270 from creative-commoners/pulls/5.2/remove-self
...
ENH Use class name instead of self
2024-06-18 14:40:44 +12:00
Steve Boyd
620c1b0469
ENH Use class name instead of self
2024-06-18 09:37:39 +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
be6ca2a91d
API Remove references to non-existent installation tool ( #11274 )
2024-06-13 14:45:58 +12:00
github-actions
8179047af5
Merge branch '5' into 6
2024-06-12 21:03:36 +00:00
Guy Sartorelli
049e546247
API Deprecate references to installation tool ( #11275 )
2024-06-12 15:47:12 +12:00
Guy Sartorelli
b53cda8de0
FIX Respect explicit casting before casting arrays ( #11271 )
2024-06-11 16:49:27 +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
Guy Sartorelli
64ac096b46
Merge pull request #11176 from wilr/fix/reset-password-lockout
...
FIX mark a successful login attempt when completing a password reset
2024-06-06 11:56:45 +12:00
Will Rossiter
9361382be3
FIX mark a successful login attempt when completing a password reset ( #10099 )
2024-06-06 11:43:21 +12:00
github-actions
f561102430
Merge branch '5' into 6
2024-06-04 23:33:37 +00:00
github-actions
a6ab217dcd
Merge branch '5.2' into 5
2024-06-04 23:33:36 +00:00
Mason Dechaineux
9546450cf2
improve DataList and ArrayList docblock comments for PHPStorm ( #11263 )
...
addresses #11247
2024-05-31 10:59:04 +12:00
Maxime Rainville
e35f12c66f
ENH Update AttributesHTML to output alt attribute even if it's empty ( #11217 )
2024-05-29 09:30:04 +12:00
Guy Sartorelli
3f30da5155
ENH Looping through arrays in templates ( #11244 )
2024-05-24 12:51:14 +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
699a8bf2da
FIX Loop over current scope when no argument passed to loop block
2024-05-17 15:17:02 +12:00
Guy Sartorelli
56625081b4
ENH Use allowed view button for readonly GridField ( #11228 )
2024-05-17 10:28:47 +12:00
Guy Sartorelli
5ccd361426
Merge pull request #11245 from creative-commoners/pulls/6/protect-hooks
...
API Set extension hook implementation visibility to protected
2024-05-17 10:28:33 +12:00
Guy Sartorelli
cd77301de1
Merge pull request #11236 from creative-commoners/pulls/5/deprecate-non-array
...
API Deprecate passing non-arrays to FieldList methods
2024-05-17 09:52:29 +12:00
Guy Sartorelli
3b1d859baf
Merge pull request #11235 from creative-commoners/pulls/6/fieldlist-strongly-type
...
API Strongly type Fieldlist
2024-05-17 08:59:11 +12:00
Steve Boyd
7b847f8d7e
API Strongly type Fieldlist
2024-05-16 18:16:08 +12:00
Steve Boyd
f6aaa480b1
API Set extension hook implementation visibility to protected
2024-05-16 18:10:39 +12:00
Finlay Metcalfe
8b4865ed2c
FIX Return null error solved for DBQueryBuilder::shouldBuildTraceComment
2024-05-16 14:04:13 +12:00
github-actions
c6aee6c5c7
Merge branch '5' into 6
2024-05-16 01:13:13 +00:00
github-actions
f60e1bc236
Merge branch '5.2' into 5
2024-05-16 01:13:12 +00:00
Guy Sartorelli
8afe1adc57
Merge pull request #11238 from creative-commoners/pulls/5/viewable-scalar
...
ENH Rendering scalars in ArrayList in templates
2024-05-15 17:33:13 +12:00
Steve Boyd
12a741feee
ENH Rendering scalars in ArrayList in templates
2024-05-15 16:31:39 +12:00
Steve Boyd
0ba85bc1d0
API Deprecate passing non-arrays to FieldList methods
2024-05-14 12:43:59 +12:00
Guy Sartorelli
50a0018363
FIX many_many through should allow subclasses ( #11230 )
...
```php
class HomePage extends Page
{
private static $many_many = [
'HeroImages' => [
'through' => PageImageLink::class,
'from' => 'Page',
'to' => 'Image',
]
];
}
```
```php
class PageImageLink extends DataObject
{
private static $has_one = [
'Page' => SiteTree::class,
'Image' => Image::class,
];
}
This fails because the linking object's relation class doesn't exactly match the owner. Sharing the linking objects across various entries in the ancestry should be a supported use case.
Co-authored-by: Aaron Carlino <unclecheese@leftandmain.com>
2024-05-13 14:15:37 +12:00
github-actions
3c8f8b99e7
Merge branch '5' into 6
2024-05-11 14:24:49 +00:00
github-actions
4429a4999d
Merge branch '5.2' into 5
2024-05-11 14:24:47 +00:00
Dominik Beerbohm
0f6d210602
FIX Correctly eagerload polymorphic has_one relations ( #11204 )
2024-05-08 11:12:51 +12:00
Guy Sartorelli
0c8fcfb54c
Merge pull request #11213 from creative-commoners/pulls/5/required-has-one
...
FIX Handle getting HasOneRelationFieldInterface passed as an array
2024-05-07 13:01:59 +12:00
Guy Sartorelli
3449d8bf21
FIX Revert "ENH Add Nice to DBField" ( #11222 )
...
This reverts commit b167f470d7
.
2024-05-07 11:45:48 +12:00