mastodon/app
Claire 440eb71310
Change unapproved and unconfirmed account to not be accessible in the REST API ()
* Change unapproved and unconfirmed account to not be accessible in the REST API

* Change Account#searchable? to reject unconfirmed and unapproved users

* Disable search for unapproved and unconfirmed users in Account.search_for

* Disable search for unapproved and unconfirmed users in Account.advanced_search_for

* Remove unconfirmed and unapproved accounts from Account.searchable scope

* Prevent mentions to unapproved/unconfirmed accounts

* Fix some old tests for Account.advanced_search_for

* Add some Account.advanced_search_for tests for existing behaviors

* Add some tests for Account.search_for

* Add Account.advanced_search_for tests unconfirmed and unapproved accounts

* Add Account.searchable tests

* Fix Account.without_unapproved scope potentially messing with previously-applied scopes

* Allow lookup of unconfirmed/unapproved accounts through /api/v1/accounts/lookup

This is so that the API can still be used to check whether an username is free
to use.
..
chewy Change algorithm of `tootctl search deploy` to improve performance ()
controllers Change unapproved and unconfirmed account to not be accessible in the REST API ()
helpers Change RSS feeds ()
javascript New Crowdin updates ()
lib Change algorithm of `tootctl search deploy` to improve performance ()
mailers Fix failure when sending warning emails with custom text ()
models Change unapproved and unconfirmed account to not be accessible in the REST API ()
policies Remove sign-in token authentication, instead send e-mail about new sign-in ()
presenters Add `/api/v1/accounts/familiar_followers` to REST API ()
serializers Fix preferred posting language returning unusable value in REST API ()
services Change unapproved and unconfirmed account to not be accessible in the REST API ()
validators Remove IP matching from e-mail domain blocks ()
views Fix rss view on hashtag ()
workers Change search indexing to use batches to minimize resource usage ()