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 Fix report category not being saved in REST API (#17682) 3 years ago
features Add submit button to the top of preferences pages (#13068) 5 years ago
fixtures Fix some link previews being incorrectly generated from other prior links (#16885) 4 years ago
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 Further preparation for Rails 6 (#15916) 4 years ago
routing Move create/destroy actions for api/v1/statuses to namespace (#3678) 8 years ago
serializers/activitypub Fix account URI in UpdatePollSerializer (#11194) 6 years ago
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 Redesign /about when already logged in (#17348) 3 years ago
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 Improve tests involving push_bulk (#17508) 3 years ago