Commit Graph

234 Commits (8f5e95a159d02aff0c5a11d9467b65123c69f8d9)

Author SHA1 Message Date
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>
1 month ago
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>
1 month ago
Claire ea5d1f0297 Fix `tootctl admin create` not bypassing reserved username checks (#35779) 3 months ago
Matt Jankowski f852da50f6
Add `User#email_domain` method to extract domain from email address (#35159) 5 months ago
David Roetzel b195956ecb
Encapsulate redis key usage (#34840) 6 months ago
Matt Jankowski 8d4ae81ab4
Remove `OTP_SECRET` env configuration (#34748) 6 months ago
Matt Jankowski 4709121f72
Remove Legacy OTP Secret code (#34743) 6 months ago
Claire 8cc5084ca1
Add interstitial for Terms of Service updates (#34527) 6 months ago
Claire 4e2aa78a56
Fix `tootctl accounts create` failing because of date-of-birth check (#34663) 7 months ago
Eugen Rochko d213c585ff
Add age verification on sign-up (#34150) 9 months ago
Matt Jankowski 3c71ee9b90
Use `touch_all` for time column updates (#33295) 12 months ago
Claire 9a7130d6da
Fix direct inbox delivery pushing posts into inactive followers' timelines (#33067) 1 year ago
Matt Jankowski 37f00fb018
Use hash arguments to `group` when possible (#32916) 1 year ago
Matt Jankowski 319109029d
Fix logic in "last used at per application" oauth token list (#32912) 1 year ago
Matt Jankowski 62d65504f6
Add `DomainResource` class to wrap MX lookup/normalize (#32864) 1 year ago
Matt Jankowski bde0f1239a
Add `InetContainer` with scopes of `containing` and `contained` (#32802) 1 year ago
Matt Jankowski df54196a14
Use `touch_all` with batches (#32799) 1 year ago
Matt Jankowski b231c3c1bf
Drop support for ruby 3.1 (#32363) 1 year ago
David Roetzel e6cda8388c
Move OTP secret length to configuration (#32125) 1 year 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>
2 years ago
Matt Jankowski 285f63c02e
Use composable query in `User.active` scope (#29775) 2 years ago
Claire 38b9d31f63
Improve email address validation (#29838) 2 years ago
Claire 58376eedda
Remove obsolete `admin` and `moderator` columns from `users` table (#29718) 2 years 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
Matt Jankowski 12550a6a28
Use `Rails.env.local?` shorthand method to check env (#27519) 2 years ago
Matt Jankowski cf33028f35
Admin mailer parameterization (#25759) 2 years ago
Eugen Rochko 4c9406bdb0
Add time zone preference (#25342) 3 years ago
Matt Jankowski d902a707a3
Fix Rails/CompactBlank cop (#24690) 3 years ago
Eugen Rochko a9b5598c97
Change user settings to be stored in a more optimal way (#23630)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
3 years ago
Claire 86f8aa2db2
Fix unconfirmed accounts being registered as active users (#23803) 3 years ago
Nick Schonning 717683d1c3
Autofix Rubocop remaining Layout rules (#23679) 3 years ago
Nick Schonning f68bb52556
Apply Rubocop Style/NegatedIfElseCondition (#23451) 3 years ago