Commit Graph

242 Commits (renovate/express-5.x)

Author SHA1 Message Date
Claire 255d8f3f8c
Fix e-mail confirmation bypassing username approval (#35806) 3 weeks ago
Matt Jankowski e8e6cf9510
Add coverage to user spec for missing `last_sign_in_at` scenario (#35587) 1 month ago
Matt Jankowski 8896d6c1b1
Use attribute for `User#bypass_registration_checks?` (#35580) 1 month ago
Matt Jankowski 7e6b134222
Extract `User::Activity` concern (#35581) 1 month ago
Matt Jankowski 4042bc959b
Use `increment` for `User#update_sign_in!` optional change (#35573) 1 month ago
Matt Jankowski 6dc55a2f4e
Extract `User::Confirmation` concern (#35582) 1 month ago
Matt Jankowski 15b72591d4
Use attribute for `User#external?` (#35579) 1 month ago
Eugen Rochko 20bbd20ef1
Add ability to block words in usernames (#35407) 1 month ago
Matt Jankowski eb73ae2f86
Fix `Style/GuardClause` in `User#regenerate_feed!` (#35523) 1 month ago
Matt Jankowski 916cc1365e
Fix `Style/GuardClause` in `User#wrap_email_confirmation` (#35524) 1 month ago
Matt Jankowski 30344d6abf
Confirm `User#login_activities` in auth/sessions spec (#35372) 2 months ago
Matt Jankowski f852da50f6
Add `User#email_domain` method to extract domain from email address (#35159) 3 months ago
David Roetzel b195956ecb
Encapsulate redis key usage (#34840) 3 months ago
Matt Jankowski 8d4ae81ab4
Remove `OTP_SECRET` env configuration (#34748) 4 months ago
Matt Jankowski 4709121f72
Remove Legacy OTP Secret code (#34743) 4 months ago
Claire 8cc5084ca1
Add interstitial for Terms of Service updates (#34527) 4 months ago
Claire 4e2aa78a56
Fix `tootctl accounts create` failing because of date-of-birth check (#34663) 4 months ago
Eugen Rochko d213c585ff
Add age verification on sign-up (#34150) 6 months ago
Matt Jankowski 3c71ee9b90
Use `touch_all` for time column updates (#33295) 9 months ago
Claire 9a7130d6da
Fix direct inbox delivery pushing posts into inactive followers' timelines (#33067) 10 months ago
Matt Jankowski 37f00fb018
Use hash arguments to `group` when possible (#32916) 10 months ago
Matt Jankowski 319109029d
Fix logic in "last used at per application" oauth token list (#32912) 10 months ago
Matt Jankowski 62d65504f6
Add `DomainResource` class to wrap MX lookup/normalize (#32864) 10 months ago
Matt Jankowski bde0f1239a
Add `InetContainer` with scopes of `containing` and `contained` (#32802) 10 months ago
Matt Jankowski df54196a14
Use `touch_all` with batches (#32799) 10 months ago
Matt Jankowski b231c3c1bf
Drop support for ruby 3.1 (#32363) 10 months ago
David Roetzel e6cda8388c
Move OTP secret length to configuration (#32125) 11 months ago
Matt Jankowski 48379e62e4
Remove unused `User#inactive_message` method (#31698) 1 year ago
Matt Jankowski 02df1b4e4a
Finish email allow/deny list naming migration (#30530) 1 year ago
Matt Jankowski e881a59671
Add `User.unconfirmed` scope, reduce factories in `scheduler/user_cleanup` spec (#31063) 1 year ago
Matt Jankowski 1e7d5d2957
Update `devise-two-factor` to version 5.0.0 (#28325)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
1 year ago
Matt Jankowski 285f63c02e
Use composable query in `User.active` scope (#29775) 1 year ago
Claire 38b9d31f63
Improve email address validation (#29838) 1 year ago
Claire 58376eedda
Remove obsolete `admin` and `moderator` columns from `users` table (#29718) 1 year ago
Matt Jankowski 19cbadfbd6
Use enum-generated scope for `IpBlock` in CLI (#28144) 2 years ago
HTeuMeuLeu 934cab7508
New welcome email (#28883)
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
2 years ago
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>
2 years ago
Emelia Smith e8b66a0525
Ignore legacy moderator and admin columns on User model (#29188) 2 years ago
Matt Jankowski 9fb9ef418a
Fix `Rails/WhereExists` cop in User model (#28792) 2 years ago
Claire 98b5f85f10
Rename and refactor `User#confirm!` to `User#mark_email_as_confirmed!` (#28735) 2 years ago
Claire e621c1c44c
Fix registrations not checking MX records for email domain blocks requiring approval (#28608) 2 years ago
Claire 8cb4825c8b
Fix sign-up restrictions based on email addresses not being enforced (#28732) 2 years ago
Matt Jankowski 543d7890fd
Use normalizes to prepare `User` values (#28650)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Matt Jankowski c52a593a30
Remove unused scope `User.emailable` (#28647) 2 years ago
Claire dfdadb92e8
Add ability to require approval when users sign up using specific email domains (#28468) 2 years ago
Matt Jankowski f70f39dd04
Add explicit `dependent: nil` to associations (#28169) 2 years ago
Matt Jankowski 440b80b2e7
Model concerns organization into module namespaces (#28149) 2 years ago
Claire 963354978a
Add `Account#unavailable?` and `Account#permanently_unavailable?` aliases (#28053) 2 years ago
Eugen Rochko cdc57c74b7
Fix unsupported time zone or locale preventing sign-up (#28035)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Matt Jankowski bbad5b6456
Remove false positive cop detection (#27457) 2 years ago