Commit Graph

404 Commits

Author SHA1 Message Date
Steve Boyd
f5ef850085 NEW Allow database read-only replicas 2024-10-09 12:18:03 +13:00
Guy Sartorelli
7f11bf3587
ENH Use symfony/validation logic (#11399) 2024-10-02 14:38:21 +13:00
github-actions
264898ba48 Merge branch '5' into 6 2024-09-29 08:43:19 +00:00
github-actions
b02ac10fc8 Merge branch '5.3' into 5 2024-09-29 08:43:17 +00:00
Guy Sartorelli
e46135be0a
NEW Refactor CLI interaction with Silverstripe app (#11353)
- Turn sake into a symfony/console app
- Avoid using HTTPRequest for CLI interaction
- Implement abstract hybrid execution path
2024-09-26 17:16:47 +12: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
c523022cb9
Merge branch '5' into 6 2024-09-24 14:07:57 +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
Mojmir Fendek
829a28dc68 FIX: Member form validator fix. 2024-09-23 08:59:35 +12:00
Guy Sartorelli
6287b6ebeb
API Rename Deprecation::withNoReplacement (#11390) 2024-09-19 11:27:08 +12:00
Steve Boyd
8ffda9edc0 API Replace Extension subclasses 2024-08-28 17:00:39 +12:00
Guy Sartorelli
e1428f27a2
API Standardise extension hooks (#11339) 2024-08-27 15:39:20 +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
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
485bbc2774
MNT Ignore phpstan errors we can't fix. (#11326) 2024-08-06 16:09:11 +12:00
github-actions
f3262c3c1e Merge branch '5' into 6 2024-07-22 21:57:06 +00: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
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
Steve Boyd
620c1b0469 ENH Use class name instead of self 2024-06-18 09:37:39 +12:00
Guy Sartorelli
e7d05aa524
Merge branch '5' into 6 2024-06-11 13:30:15 +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
Steve Boyd
3e70cfed1e API Set extension hook implementation visibility to protected 2024-05-21 09:51:51 +12:00
github-actions
97a8da8c7d Merge branch '5.1' into 5.2 2024-04-03 05:54:35 +00:00
Thomas Portelange
cca2f7059b
ENH Update PHPDocs for methods with missing nullable return types (#11187) 2024-04-02 13:33:09 +13:00
github-actions
74abb03133 Merge branch '5.1' into 5.2 2024-03-22 08:36:08 +00:00
Guy Sartorelli
8aab888d50
FIX Fix link for managing roles (#11178) 2024-03-21 12:49:10 +13:00
github-actions
c36df386ba Merge branch '5.1' into 5.2 2024-03-09 14:25:04 +00:00
Thomas Portelange
eb4ef623ab
check for empty salt 2024-03-04 08:34:43 +01:00
Thomas Portelange
e7bc8ae99f
FIX Generate salt if needed 2024-02-26 11:31:53 +01:00
Guy Sartorelli
a00bdd727f
MNT Run module-standardiser (#11121) 2024-02-13 14:33:23 +13:00
Guy Sartorelli
98951c088e
Merge branch '5.1' into 5 2024-01-23 12:04:23 +13:00
github-actions
312ee58292 Merge branch '4' into 5.1 2024-01-22 22:58:52 +00:00
Guy Sartorelli
4b1b487041
[CVE-2023-49783] Allow permission checks in BulkLoader 2024-01-23 11:01:25 +13:00
Guy Sartorelli
357ed7ad7e
ENH Add generic types (#11108)
There are also a few general corrections to PHPDocs that I noticed along
the way (e.g. adding `|null` when the method is returning a null value.

There are some cases where either the return type or the whole PHPDoc
was duplicated from the parent class - in those cases I've simply
removed the duplication.
2024-01-17 17:08:26 +13:00
Guy Sartorelli
c96f37ea93
Merge branch '5.1' into 5 2023-12-18 15:20:02 +13:00
Guy Sartorelli
ad8cf9902c
Merge pull request #11093 from creative-commoners/pulls/5.1/docblock
MNT Update @methods on class docblocks
2023-12-15 12:38:38 +13:00
Guy Sartorelli
dd3a0dba24
FIX Don't break the page if password recover email fails to send 2023-12-15 09:05:18 +13:00
Guy Sartorelli
446810bc5e
FIX Allow new password to save even if there's an error sending email 2023-12-14 12:47:05 +13:00
Steve Boyd
db69a1f83c MNT Update @methods on class docblocks 2023-12-14 11:04:08 +13:00
github-actions
cb520db8b7 Merge branch '5.1' into 5 2023-11-01 20:14:50 +00:00
Sabina Talipova
56511c8618 MNT Remove TODO comments 2023-10-30 13:21:09 +13:00
Steve Boyd
159112ca8b NEW Generate a random password if a blank password is entered 2023-10-20 11:37:25 +13:00
Guy Sartorelli
b3b1d07616
ENH Deprecate old password encryptors (#10948) 2023-09-19 18:22:08 +12:00
Sunny Side Up
6c2b5bdbe1
Update src/Security/Member.php
Co-authored-by: Guy Sartorelli <36352093+GuySartorelli@users.noreply.github.com>
2023-08-15 17:06:46 +12:00
Sunny Side Up
93d03f71ef
MINOR: set a default password encryption for a member, if no password encryption is set. 2023-08-15 16:29:52 +12:00