mastodon/spec/services
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
2018-12-24 19:12:38 +01:00
..
activitypub Lint pass (#8876) 2018-10-04 12:36:53 +02:00
pubsubhubbub
account_search_service_spec.rb
after_block_domain_from_account_service_spec.rb
after_block_service_spec.rb
app_sign_up_service_spec.rb Add REST API for creating an account (#9572) 2018-12-24 19:12:38 +01:00
authorize_follow_service_spec.rb
batched_remove_status_service_spec.rb rubocop issues - Cleaning up (#8912) 2018-10-08 04:50:11 +02:00
block_domain_service_spec.rb
block_service_spec.rb
bootstrap_timeline_service_spec.rb
fan_out_on_write_service_spec.rb Slightly reduce RAM usage (#7301) 2018-05-02 18:58:48 +02:00
favourite_service_spec.rb
fetch_atom_service_spec.rb Ignore JSON-LD profile in mime type comparison (#9179) 2018-11-22 12:49:07 +01:00
fetch_link_card_service_spec.rb Ignore low-confidence CharlockHolmes guesses when parsing link cards (#9510) 2018-12-17 19:19:45 +01:00
fetch_oembed_service_spec.rb
fetch_remote_account_service_spec.rb rubocop issues - Cleaning up (#8912) 2018-10-08 04:50:11 +02:00
fetch_remote_status_service_spec.rb Improve federated ID validation (#8372) 2018-08-22 20:55:14 +02:00
follow_service_spec.rb
hashtag_query_service_spec.rb Allow joining several hashtags in a single column (#8904) 2018-11-05 18:53:25 +01:00
mute_service_spec.rb
notify_service_spec.rb Do not hide boost notifications from followed people with hidden boosts (#9147) 2018-10-30 00:47:31 +01:00
post_status_service_spec.rb Limit maximum visibility of local silenced users to unlisted (#9583) 2018-12-24 19:06:14 +01:00
precompute_feed_service_spec.rb
process_feed_service_spec.rb rubocop issues - Cleaning up (#8912) 2018-10-08 04:50:11 +02:00
process_interaction_service_spec.rb
process_mentions_service_spec.rb
reblog_service_spec.rb
reject_follow_service_spec.rb
remove_status_service_spec.rb
report_service_spec.rb Add preference for report notification e-mails, skip for duplicates (#8559) 2018-09-02 00:11:58 +02:00
resolve_account_service_spec.rb
resolve_url_service_spec.rb
search_service_spec.rb
send_interaction_service_spec.rb
subscribe_service_spec.rb
suspend_account_service_spec.rb
unblock_domain_service_spec.rb
unblock_service_spec.rb
unfollow_service_spec.rb
unmute_service_spec.rb
unsubscribe_service_spec.rb
update_remote_profile_service_spec.rb rubocop issues - Cleaning up (#8912) 2018-10-08 04:50:11 +02:00
verify_link_service_spec.rb Fix link verification for remote accounts (#8868) 2018-10-04 15:47:03 +02:00