Claire
1631fb80e8
Merge commit from fork
...
* Ensure tootctl revokes sessions, access tokens and web push subscriptions
* Fix test coverage
---------
Co-authored-by: Emelia Smith <ThisIsMissEm@users.noreply.github.com >
2025-10-13 14:20:23 +02:00
Claire
8477bec2f2
Merge commit from fork
...
* Streaming: Ensure disabled users cannot connect to streaming
* Streaming: Disconnect when the user is disabled
---------
Co-authored-by: Emelia Smith <ThisIsMissEm@users.noreply.github.com >
2025-10-13 14:19:14 +02:00
Claire
ea5d1f0297
Fix tootctl admin create not bypassing reserved username checks ( #35779 )
2025-09-04 10:45:54 +02:00
Matt Jankowski
f852da50f6
Add User#email_domain method to extract domain from email address ( #35159 )
2025-06-25 07:22:19 +00:00
David Roetzel
b195956ecb
Encapsulate redis key usage ( #34840 )
2025-05-28 12:34:37 +00:00
Matt Jankowski
8d4ae81ab4
Remove OTP_SECRET env configuration ( #34748 )
2025-05-22 09:33:21 +00:00
Matt Jankowski
4709121f72
Remove Legacy OTP Secret code ( #34743 )
2025-05-20 14:51:19 +00:00
Claire
8cc5084ca1
Add interstitial for Terms of Service updates ( #34527 )
2025-05-16 14:03:05 +00:00
Claire
4e2aa78a56
Fix tootctl accounts create failing because of date-of-birth check ( #34663 )
2025-05-12 09:28:12 +00:00
Eugen Rochko
d213c585ff
Add age verification on sign-up ( #34150 )
2025-03-14 14:07:29 +00:00
Matt Jankowski
3c71ee9b90
Use touch_all for time column updates ( #33295 )
2024-12-13 08:41:42 +00:00
Claire
9a7130d6da
Fix direct inbox delivery pushing posts into inactive followers' timelines ( #33067 )
2024-11-25 15:54:18 +00:00
Matt Jankowski
37f00fb018
Use hash arguments to group when possible ( #32916 )
2024-11-19 10:36:02 +00:00
Matt Jankowski
319109029d
Fix logic in "last used at per application" oauth token list ( #32912 )
2024-11-15 15:52:37 +00:00
Matt Jankowski
62d65504f6
Add DomainResource class to wrap MX lookup/normalize ( #32864 )
2024-11-14 13:47:29 +00:00
Matt Jankowski
bde0f1239a
Add InetContainer with scopes of containing and contained ( #32802 )
2024-11-08 10:08:36 +00:00
Matt Jankowski
df54196a14
Use touch_all with batches ( #32799 )
2024-11-08 10:00:15 +00:00
Matt Jankowski
b231c3c1bf
Drop support for ruby 3.1 ( #32363 )
2024-10-31 15:12:08 +00:00
David Roetzel
e6cda8388c
Move OTP secret length to configuration ( #32125 )
2024-10-01 09:38:42 +00:00
Matt Jankowski
48379e62e4
Remove unused User#inactive_message method ( #31698 )
2024-09-03 08:04:00 +00:00
Matt Jankowski
02df1b4e4a
Finish email allow/deny list naming migration ( #30530 )
2024-08-13 07:37:32 +00:00
Matt Jankowski
e881a59671
Add User.unconfirmed scope, reduce factories in scheduler/user_cleanup spec ( #31063 )
2024-07-25 14:18:24 +00:00
Matt Jankowski
1e7d5d2957
Update devise-two-factor to version 5.0.0 ( #28325 )
...
Co-authored-by: Claire <claire.github-309c@sitedethib.com >
2024-05-02 09:31:41 +00:00
Matt Jankowski
285f63c02e
Use composable query in User.active scope ( #29775 )
2024-04-08 13:53:49 +00:00
Claire
38b9d31f63
Improve email address validation ( #29838 )
2024-04-05 07:48:45 +00:00
Claire
58376eedda
Remove obsolete admin and moderator columns from users table ( #29718 )
2024-03-22 16:22:36 +00:00
Matt Jankowski
19cbadfbd6
Use enum-generated scope for IpBlock in CLI ( #28144 )
2024-03-14 09:31:15 +00:00
HTeuMeuLeu
934cab7508
New welcome email ( #28883 )
...
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com >
2024-03-01 12:16:53 +00:00
Emelia Smith
68eaa804c9
Merge pull request from GHSA-7w3c-p9j8-mq3x
...
* Ensure destruction of OAuth Applications notifies streaming
Due to doorkeeper using a dependent: delete_all relationship, the destroy of an OAuth Application bypassed the existing AccessTokenExtension callbacks for announcing destructing of access tokens.
* Ensure password resets revoke access to Streaming API
* Improve performance of deleting OAuth tokens
---------
Co-authored-by: Claire <claire.github-309c@sitedethib.com >
2024-02-14 15:15:34 +01:00
Emelia Smith
e8b66a0525
Ignore legacy moderator and admin columns on User model ( #29188 )
2024-02-13 17:14:49 +00:00
Matt Jankowski
9fb9ef418a
Fix Rails/WhereExists cop in User model ( #28792 )
2024-01-18 13:55:44 +00:00
Claire
98b5f85f10
Rename and refactor User#confirm! to User#mark_email_as_confirmed! ( #28735 )
2024-01-15 18:04:58 +00:00
Claire
e621c1c44c
Fix registrations not checking MX records for email domain blocks requiring approval ( #28608 )
2024-01-15 17:10:57 +00:00
Claire
8cb4825c8b
Fix sign-up restrictions based on email addresses not being enforced ( #28732 )
2024-01-15 11:06:48 +00:00
Matt Jankowski
543d7890fd
Use normalizes to prepare User values ( #28650 )
...
Co-authored-by: Claire <claire.github-309c@sitedethib.com >
2024-01-10 13:36:06 +00:00
Matt Jankowski
c52a593a30
Remove unused scope User.emailable ( #28647 )
2024-01-08 13:33:45 +00:00
Claire
dfdadb92e8
Add ability to require approval when users sign up using specific email domains ( #28468 )
2024-01-04 09:07:05 +00:00
Matt Jankowski
f70f39dd04
Add explicit dependent: nil to associations ( #28169 )
2023-12-01 15:52:47 +00:00
Matt Jankowski
440b80b2e7
Model concerns organization into module namespaces ( #28149 )
2023-12-01 11:00:41 +00:00
Claire
963354978a
Add Account#unavailable? and Account#permanently_unavailable? aliases ( #28053 )
2023-11-30 15:43:26 +00:00
Eugen Rochko
cdc57c74b7
Fix unsupported time zone or locale preventing sign-up ( #28035 )
...
Co-authored-by: Claire <claire.github-309c@sitedethib.com >
2023-11-22 11:38:07 +00:00
Matt Jankowski
bbad5b6456
Remove false positive cop detection ( #27457 )
2023-11-07 10:44:15 +00:00
Matt Jankowski
12550a6a28
Use Rails.env.local? shorthand method to check env ( #27519 )
2023-10-26 21:20:41 +00:00
Matt Jankowski
cf33028f35
Admin mailer parameterization ( #25759 )
2023-07-08 20:03:38 +02:00
Eugen Rochko
4c9406bdb0
Add time zone preference ( #25342 )
2023-06-10 03:29:37 +02:00
Matt Jankowski
d902a707a3
Fix Rails/CompactBlank cop ( #24690 )
2023-04-30 14:07:21 +02:00
Eugen Rochko
a9b5598c97
Change user settings to be stored in a more optimal way ( #23630 )
...
Co-authored-by: Claire <claire.github-309c@sitedethib.com >
2023-03-30 14:44:00 +02:00
Claire
86f8aa2db2
Fix unconfirmed accounts being registered as active users ( #23803 )
2023-03-06 16:00:08 +01:00
Nick Schonning
717683d1c3
Autofix Rubocop remaining Layout rules ( #23679 )
2023-02-20 06:58:28 +01:00
Nick Schonning
f68bb52556
Apply Rubocop Style/NegatedIfElseCondition ( #23451 )
2023-02-08 07:07:36 +01:00