You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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.
3 years ago
..
controllers Fix typo in source `setted`->`set` (#18385) 3 years ago
fabricators
features
fixtures
helpers Spelling (#17705) 3 years ago
lib Change RSS feeds (#18356) 3 years ago
mailers Fix failure when sending warning emails with custom text (#17983) 3 years ago
models Change unapproved and unconfirmed account to not be accessible in the REST API (#17530) 3 years ago
policies Spelling (#17705) 3 years ago
presenters Add `/api/v1/accounts/familiar_followers` to REST API (#17700) 3 years ago
requests
routing
serializers/activitypub
services Fix NoMethodError when resolving a link that redirects to a local post (#18314) 3 years ago
support Spelling (#17705) 3 years ago
validators Remove IP matching from e-mail domain blocks (#18190) 3 years ago
views
workers Fix single Redis connection being used across all threads (#18135) 3 years ago
rails_helper.rb Fix single Redis connection being used across all threads (#18135) 3 years ago
spec_helper.rb