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/app/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
6 years ago
..
activitypub Fix emoji update date processing (#9255) 6 years ago
concerns Optimize the process of following someone (#9220) 6 years ago
pubsubhubbub Remove redundant (#9503) 6 years ago
account_search_service.rb
after_block_domain_from_account_service.rb
after_block_service.rb
app_sign_up_service.rb Add REST API for creating an account (#9572) 6 years ago
authorize_follow_service.rb
backup_service.rb
base_service.rb
batched_remove_status_service.rb Improve account suspension speed and completeness (#9290) 6 years ago
block_domain_service.rb
block_service.rb
bootstrap_timeline_service.rb
fan_out_on_write_service.rb Accept the same payload in multiple inboxes and deliver (#9150) 6 years ago
favourite_service.rb
fetch_atom_service.rb Ignore JSON-LD profile in mime type comparison (#9179) 6 years ago
fetch_link_card_service.rb Ignore low-confidence CharlockHolmes guesses when parsing link cards (#9510) 6 years ago
fetch_oembed_service.rb
fetch_remote_account_service.rb
fetch_remote_status_service.rb
follow_service.rb Optimize the process of following someone (#9220) 6 years ago
hashtag_query_service.rb Simplify hashtag query service, perf increase for 'any' tags (#9298) 6 years ago
mute_service.rb
notify_service.rb Always let through notifications from staff (#9152) 6 years ago
post_status_service.rb Limit maximum visibility of local silenced users to unlisted (#9583) 6 years ago
precompute_feed_service.rb
process_feed_service.rb
process_hashtags_service.rb
process_interaction_service.rb
process_mentions_service.rb Optimize the process of following someone (#9220) 6 years ago
reblog_service.rb
reject_follow_service.rb
remove_status_service.rb Improve support for aspects/circles (#8950) 6 years ago
report_service.rb
resolve_account_service.rb Optimize the process of following someone (#9220) 6 years ago
resolve_url_service.rb Update resolve_url_service.rb (#9188) 6 years ago
search_service.rb
send_interaction_service.rb
subscribe_service.rb
suspend_account_service.rb Improve account suspension speed and completeness (#9290) 6 years ago
unblock_domain_service.rb
unblock_service.rb
unfavourite_service.rb
unfollow_service.rb
unmute_service.rb
unsubscribe_service.rb
update_account_service.rb Error message for avatar image that's too large. #9204 (#9518) 6 years ago
update_remote_profile_service.rb
verify_link_service.rb Skip link-back check if body is nil (#9107) 6 years ago
verify_salmon_service.rb