Commit Graph

223 Commits (d58173e45bf0fdf5a6015d40eb88c313a3d99e5c)

Author SHA1 Message Date
Claire 9a7130d6da
Fix direct inbox delivery pushing posts into inactive followers' timelines (#33067) 1 month ago
Matt Jankowski 37f00fb018
Use hash arguments to `group` when possible (#32916) 1 month ago
Matt Jankowski 319109029d
Fix logic in "last used at per application" oauth token list (#32912) 1 month ago
Matt Jankowski 62d65504f6
Add `DomainResource` class to wrap MX lookup/normalize (#32864) 1 month ago
Matt Jankowski bde0f1239a
Add `InetContainer` with scopes of `containing` and `contained` (#32802) 2 months ago
Matt Jankowski df54196a14
Use `touch_all` with batches (#32799) 2 months ago
Matt Jankowski b231c3c1bf
Drop support for ruby 3.1 (#32363) 2 months ago
David Roetzel e6cda8388c
Move OTP secret length to configuration (#32125) 3 months ago
Matt Jankowski 48379e62e4
Remove unused `User#inactive_message` method (#31698) 4 months ago
Matt Jankowski 02df1b4e4a
Finish email allow/deny list naming migration (#30530) 5 months ago
Matt Jankowski e881a59671
Add `User.unconfirmed` scope, reduce factories in `scheduler/user_cleanup` spec (#31063) 5 months ago
Matt Jankowski 1e7d5d2957
Update `devise-two-factor` to version 5.0.0 (#28325)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
8 months ago
Matt Jankowski 285f63c02e
Use composable query in `User.active` scope (#29775) 9 months ago
Claire 38b9d31f63
Improve email address validation (#29838) 9 months ago
Claire 58376eedda
Remove obsolete `admin` and `moderator` columns from `users` table (#29718) 9 months ago
Matt Jankowski 19cbadfbd6
Use enum-generated scope for `IpBlock` in CLI (#28144) 10 months ago
HTeuMeuLeu 934cab7508
New welcome email (#28883)
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
10 months 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>
11 months ago
Emelia Smith e8b66a0525
Ignore legacy moderator and admin columns on User model (#29188) 11 months ago
Matt Jankowski 9fb9ef418a
Fix `Rails/WhereExists` cop in User model (#28792) 11 months ago
Claire 98b5f85f10
Rename and refactor `User#confirm!` to `User#mark_email_as_confirmed!` (#28735) 12 months ago
Claire e621c1c44c
Fix registrations not checking MX records for email domain blocks requiring approval (#28608) 12 months ago
Claire 8cb4825c8b
Fix sign-up restrictions based on email addresses not being enforced (#28732) 12 months ago
Matt Jankowski 543d7890fd
Use normalizes to prepare `User` values (#28650)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
12 months ago
Matt Jankowski c52a593a30
Remove unused scope `User.emailable` (#28647) 12 months ago
Claire dfdadb92e8
Add ability to require approval when users sign up using specific email domains (#28468) 12 months ago
Matt Jankowski f70f39dd04
Add explicit `dependent: nil` to associations (#28169) 1 year ago
Matt Jankowski 440b80b2e7
Model concerns organization into module namespaces (#28149) 1 year ago
Claire 963354978a
Add `Account#unavailable?` and `Account#permanently_unavailable?` aliases (#28053) 1 year ago
Eugen Rochko cdc57c74b7
Fix unsupported time zone or locale preventing sign-up (#28035)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
1 year ago
Matt Jankowski bbad5b6456
Remove false positive cop detection (#27457) 1 year ago
Matt Jankowski 12550a6a28
Use `Rails.env.local?` shorthand method to check env (#27519) 1 year ago
Matt Jankowski cf33028f35
Admin mailer parameterization (#25759) 1 year ago
Eugen Rochko 4c9406bdb0
Add time zone preference (#25342) 2 years ago
Matt Jankowski d902a707a3
Fix Rails/CompactBlank cop (#24690) 2 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>
2 years ago
Claire 86f8aa2db2
Fix unconfirmed accounts being registered as active users (#23803) 2 years ago
Nick Schonning 717683d1c3
Autofix Rubocop remaining Layout rules (#23679) 2 years ago
Nick Schonning f68bb52556
Apply Rubocop Style/NegatedIfElseCondition (#23451) 2 years ago
Claire 6883fddb19
Fix account activation being triggered before email confirmation (#23245)
* Add tests

* Fix account activation being triggered before email confirmation

Fixes #23098
2 years ago
Alexander Ivanov 8eb29741b4
Add webhook `account.approved` (#22938)
* Webhook `account.approved` when preparing new user

* Update Webhook.EVENTS
2 years ago
Francis Murillo 5fb1c3e934
Revoke all authorized applications on password reset (#21325)
* Clear sessions on password change

* Rename User::clear_sessions to revoke_access for a clearer meaning

* Add reset paassword controller test

* Use User.find instead of User.find_for_authentication for reset password test

* Use redirect and render for better test meaning in reset password

Co-authored-by: Effy Elden <effy@effy.space>
2 years ago
Claire ed07f10ca8
Fix failure when “Require a reason to join” is set with open registrations (#22127) 2 years ago
Claire 00b2720ef0
Change automatic post deletion configuration to be accessible to redirected users (#20774)
Fixes #20550
2 years ago
Eugen Rochko 839f893168
Change public accounts pages to mount the web UI (#19319)
* Change public accounts pages to mount the web UI

* Fix handling of remote usernames in routes

- When logged in, serve web app
- When logged out, redirect to permalink
- Fix `app-body` class not being set sometimes due to name conflict

* Fix missing `multiColumn` prop

* Fix failing test

* Use `discoverable` attribute to control indexing directives

* Fix `<ColumnLoading />` not using `multiColumn`

* Add `noindex` to accounts in REST API

* Change noindex directive to not be rendered by default before a route is mounted

* Add loading indicator for detailed status in web UI

* Fix missing indicator appearing while account is loading in web UI
2 years ago
Eugen Rochko 0d0f3c15d3
Fix language dropdown sometimes not appearing in web UI (#19246)
When user has no locale preference saved (such as never changing it
from the default), the preferred posting language is nil, and
the dropdown is not visible
2 years ago
Eugen Rochko 0b3e4fd5de
Remove digest e-mails (#17985)
* Remove digest e-mails

* Remove digest-related code
2 years ago
Eugen Rochko 0396acf39e
Add audit log entries for user roles (#19040)
* Refactor audit log schema

* Add audit log entries for user roles
2 years ago
Claire 03241d884e
Add option for EMAIL_DOMAIN_DENYLIST/EMAIL_DOMAIN_ALLOWLIST to apply after confirmation (#18642)
Fixes #18620
2 years ago
Eugen Rochko 44b2ee3485
Add customizable user roles (#18641)
* Add customizable user roles

* Various fixes and improvements

* Add migration for old settings and fix tootctl role management
3 years ago