Commit Graph

22710 Commits

Author SHA1 Message Date
Guy Sartorelli
19bb72e7c7 FIX Correctly remove relations with ManyManyThroughList::removeall
Instead of just setting one side of the relation to null in the through
list, remove the rows entirely.
Remove only the relations which match the filters that have already been
set on the list.
This is consistent with the way ManyManyList works.

Also some small tidy-up (removing an unnecessary line break and an
unused "use" statement)
2022-05-05 11:21:51 +12:00
Michal Kleiner
e1dd712645
Merge pull request #10258 from creative-commoners/pulls/4.9/email-array
FIX Handle admin_email array config
2022-03-10 11:04:36 +13:00
Steve Boyd
204b39bfdf FIX Handle admin_email array config 2022-03-10 10:37:47 +13:00
Maxime Rainville
018457a7c8
Merge pull request #10236 from creative-commoners/pulls/4.9/default-email-from
ENH Create fallback email from address
2022-03-08 10:35:36 +13:00
Steve Boyd
badc17891c ENH Create fallback email from address 2022-03-07 16:18:57 +13:00
Maxime Rainville
2841e1bd3d
DOC Fix type in 4.9.0 changelog (#10152) 2022-01-21 11:56:30 +13:00
Steve Boyd
d5f0c78262 Merge branch '4.8' into 4.9 2021-12-16 10:57:58 +13:00
Maxime Rainville
dfd57a7217
Merge pull request #10179 from creative-commoners/pulls/4.8/textcollect
FIX Look for existing modules in vendor folder rather than base folder
2021-12-16 10:31:38 +13:00
Steve Boyd
e11820d44f FIX Look for existing modules in vendor folder rather than base folder 2021-12-13 17:27:23 +13:00
Maxime Rainville
9ea608d0f2
Merge pull request #10021 from xini/fix-login-marker-cookie
remove login marker cookie on logout
2021-12-13 10:48:32 +13:00
Loz Calver
b1eb9514d4
FIX Prioritise posix_getuid() when attempting to find current process owner (#10137) 2021-11-08 11:56:44 +13:00
Florian Thoma
31668e8acf fix: remove login marker cookie on logout
Apply suggestions from code review

Co-authored-by: Michal Kleiner <mk@011.nz>
2021-11-01 10:04:18 +11:00
Steve Boyd
766a024a03 Merge branch '4.8' into 4.9 2021-10-19 11:13:50 +13:00
Steve Boyd
04f9a80c0e Merge branch '4.7' into 4.8 2021-10-19 11:13:31 +13:00
Steve Boyd
0361f10f4c
Merge pull request #9869 from chrispenny/bugfix/composite-validator-calls-php
CompositeValidator::validate() to call validate() instead of php(). Fixes #9868
2021-10-19 11:10:43 +13:00
Maxime Rainville
9b17c38121
Merge pull request #10110 from creative-commoners/pulls/more-changelog-updates
DOCS add release announcement link to changelog
2021-10-06 13:48:40 +13:00
brynwhyman
9a119a3581 DOCS add release announcement link to changelog
I've also suggested a note to an existing Chrome lazy-loading bug
2021-10-06 12:43:43 +13:00
Maxime Rainville
3d7184c69b
Merge pull request #10109 from creative-commoners/pulls/doc-updates
DOCS clarify 'cms recipe' docs
2021-10-06 11:47:42 +13:00
brynwhyman
41d9b400c2 DOCS clarify 'cms recipe' docs
Addressing feedback to clarify reference to 'CWP CMS recipe'
2021-10-06 11:28:47 +13:00
Maxime Rainville
340793a1ff MNT Added 4.9.0 changelog 2021-10-05 18:31:18 +13:00
Maxime Rainville
bf1a1c6181
Merge pull request #10107 from creative-commoners/pulls/4.9/fix-broken-build
MNT Fix broken test caused by missing table
2021-10-04 15:42:27 +13:00
Maxime Rainville
fd8b0cc253 MNT Fix broken test caused by missing table 2021-10-04 15:16:10 +13:00
Maxime Rainville
d8dc00704e
Merge pull request #10101 from creative-commoners/pulls/4.9/cwp-migration
DOC Explain how to get off CWP
2021-10-04 14:21:47 +13:00
Maxime Rainville
bad4cbef7d DOC Explain how to get off CWP 2021-10-04 11:19:09 +13:00
Steve Boyd
8b634d45cd
Merge pull request #10077 from chrometoasters/pulls/6127-hierarchy-query-class-fix
FIX Use owner class when querying for stage and live children
2021-10-03 15:13:13 +13:00
Maxime Rainville
5379306e98
Merge pull request #10096 from creative-commoners/pulls/4.9/changelog-tweak
DOC Remove reference to being able to test GraphQL v4 without inlining recipes and tweak swiftmailer doc
2021-09-27 13:09:02 +13:00
Michal Kleiner
38fe326262 MNT Fix minor typos 2021-09-25 00:23:43 +12:00
Michal Kleiner
7226d7fab6 ENH Add tests for Hierarchy extension when applied to a subclass 2021-09-25 00:23:43 +12:00
Michal Kleiner
1e5414eac7 FIX Use correct ancestor class when querying for stage and live children
The right ancestor class that has the Hierarchy extension applied needs to be used
since it doesn’t have to be the class directly extending from DataObject, which means
the ID and ParentID columns might be in different tables.
2021-09-25 00:23:43 +12:00
Maxime Rainville
065be70717 DOC Remove reference to being able to test GraphQL v4 without inlining recipes and tweak swiftmailer doc 2021-09-21 22:29:32 +12:00
Bryn Whyman
08028d3969
Merge pull request #10082 from creative-commoners/pulls/4.9/changelog
DOC Add additional info to 4.9.0 changelog
2021-09-13 12:37:40 +12:00
Maxime Rainville
6898dd06db
DOC Minor tweaks to changelog
Co-authored-by: Bryn Whyman <bryn.whyman@silverstripe.com>
2021-09-13 12:29:04 +12:00
Steve Boyd
575637612a
Merge pull request #10089 from silverstripe/pulls/4.9/test-mailer-sanitise-from-as-well
BUG When asserting an email was sent, sanitise both the To and From field
2021-09-10 10:07:23 +12:00
Maxime Rainville
26da242e6b Add a bit more detail 2021-09-09 23:06:55 +12:00
Maxime Rainville
49f2f641be DOC Mention the EOL of IE 11 in 4.9.0 changelog 2021-09-09 23:00:37 +12:00
Maxime Rainville
d499420ae2 DOC Add additional info to 4.9.0 changelog 2021-09-09 23:00:37 +12:00
Maxime Rainville
1c698348a2 BUG When asserting an email was sent, sanitise both the To and From field 2021-09-09 19:23:37 +12:00
Maxime Rainville
c69bc3719f
Merge pull request #10085 from creative-commoners/pulls/4.9/ensure-email-set
FIX Only send email if email address set
2021-09-09 13:12:54 +12:00
Maxime Rainville
715892d544 MNT Added 4.9.0-rc1 changelog 2021-09-08 13:43:49 +12:00
Steve Boyd
0a389112ca FIX Only send email if email address set 2021-09-07 11:20:29 +12:00
Steve Boyd
d614cc6d78
Merge pull request #10061 from creative-commoners/pulls/4/doc-set-current-member
DOC Add information regarding Security::setCurrentUser()
2021-09-06 14:24:52 +12:00
Steve Boyd
00e29758ff DOC Add information regarding Security::setCurrentUser() 2021-09-06 14:04:53 +12:00
Maxime Rainville
50acac04c5
Merge pull request #10073 from silverstripe/pulls/4/skip-login-hash-tests
MNT Skip tests when session-manager module is installed
2021-09-03 12:20:58 +12:00
Maxime Rainville
3be8b3aefa MNT Install 4.9.x-dev recipe for test 2021-09-03 11:10:30 +12:00
Steve Boyd
1fcbcc8368 MNT Skip tests when session-manager module is installed 2021-09-03 11:09:59 +12:00
Maxime Rainville
f8b600d7d4 MNT Added 4.9.0-beta1 changelog 2021-08-27 15:14:56 +12:00
Maxime Rainville
89a6d9825e Merge branch '4' of https://github.com/silverstripe/silverstripe-framework into 4 2021-08-27 12:06:05 +12:00
Maxime Rainville
5ee6fa5ef2 Update translations 2021-08-27 11:27:34 +12:00
Steve Boyd
9a11d8339c
Merge pull request #10076 from creative-commoners/pulls/4/swiftmailer-changelog
DOC Add SwiftMailer to changelog
2021-08-27 11:01:14 +12:00
Steve Boyd
b5c3b60502
Merge pull request #10047 from madmatt/pulls/extend-hydrate
NEW Add extension point to DataObject->hydrate()
2021-08-27 10:41:06 +12:00