mastodon/spec
Claire 440eb71310
Change unapproved and unconfirmed account to not be accessible in the REST API (#17530)
* 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.
2022-05-26 15:50:33 +02:00
..
controllers Fix typo in source setted->set (#18385) 2022-05-10 04:58:04 +02:00
fabricators Fix report category not being saved in REST API (#17682) 2022-03-02 18:57:08 +01:00
features
fixtures
helpers Spelling (#17705) 2022-03-06 22:51:40 +01:00
lib Change RSS feeds (#18356) 2022-05-09 07:43:08 +02:00
mailers Fix failure when sending warning emails with custom text (#17983) 2022-04-07 14:47:30 +02:00
models Change unapproved and unconfirmed account to not be accessible in the REST API (#17530) 2022-05-26 15:50:33 +02:00
policies
presenters
requests Further preparation for Rails 6 (#15916) 2021-03-19 02:45:34 +01:00
routing
serializers/activitypub
services Fix NoMethodError when resolving a link that redirects to a local post (#18314) 2022-05-17 14:52:26 +02:00
support
validators Remove IP matching from e-mail domain blocks (#18190) 2022-04-29 23:27:03 +02:00
views
workers Fix single Redis connection being used across all threads (#18135) 2022-04-28 17:47:34 +02:00
rails_helper.rb
spec_helper.rb