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/models
Eugen Rochko 5d2fc6de32
Add REST API for creating an account (#9572)
* Add REST API for creating an account

The method is available to apps with a token obtained via the client
credentials grant. It creates a user and account records, as well as
an access token for the app that initiated the request. The user is
unconfirmed, and an e-mail is sent as usual.

The method returns the access token, which the app should save for
later. The REST API is not available to users with unconfirmed
accounts, so the app must be smart to wait for the user to click a
link in their e-mail inbox.

The method is rate-limited by IP to 5 requests per 30 minutes.

* Redirect users back to app from confirmation if they were created with an app

* Add tests

* Return 403 on the method if registrations are not open

* Require agreement param to be true in the API when creating an account
6 years ago
..
admin Add moderation warnings (#9519) 6 years ago
concerns Sort self-replies to the top of descendants (#9320) 6 years ago
form
web
account_conversation_spec.rb
account_domain_block_spec.rb
account_filter_spec.rb Redesign admin accounts index (#9340) 6 years ago
account_moderation_note_spec.rb
account_spec.rb Allow hyphens in the middle of remote user names (#9345) 6 years ago
account_stat_spec.rb Extract counters from accounts table to account_stats table (#9295) 6 years ago
account_tag_stat_spec.rb Add specs for AccountTagStat model (#9452) 6 years ago
account_warning_preset_spec.rb Add moderation warnings (#9519) 6 years ago
account_warning_spec.rb Add moderation warnings (#9519) 6 years ago
backup_spec.rb
block_spec.rb
conversation_mute_spec.rb
conversation_spec.rb
custom_emoji_filter_spec.rb Add specs for CustomEmojiFilter (#9599) 6 years ago
custom_emoji_spec.rb Make custom emoji domains case insensitive #9351 (#9474) 6 years ago
custom_filter_spec.rb
domain_block_spec.rb
email_domain_block_spec.rb
export_spec.rb
favourite_spec.rb
follow_request_spec.rb
follow_spec.rb
home_feed_spec.rb
identity_spec.rb Add spec for Identity.find_for_oauth (#9441) 6 years ago
import_spec.rb
invite_spec.rb
list_account_spec.rb
list_spec.rb
media_attachment_spec.rb
mention_spec.rb
mute_spec.rb
notification_spec.rb Remove pending spec (#9442) 6 years ago
preview_card_spec.rb
relay_spec.rb
remote_follow_spec.rb
remote_profile_spec.rb
report_filter_spec.rb
report_spec.rb
session_activation_spec.rb
setting_spec.rb
site_upload_spec.rb
status_pin_spec.rb
status_spec.rb
status_stat_spec.rb Extract counters from accounts table to account_stats table (#9295) 6 years ago
stream_entry_spec.rb
subscription_spec.rb
tag_spec.rb
user_spec.rb Add REST API for creating an account (#9572) 6 years ago