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/controllers
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
7 years ago
..
activitypub Add specs for activitypub collections controller (#9484) 7 years ago
admin Add moderation warnings (#9519) 7 years ago
api Add REST API for creating an account (#9572) 7 years ago
auth Add REST API for creating an account (#9572) 7 years ago
concerns Remove RemoteAccountControllerConcern never used (#9482) 7 years ago
oauth Add force_login option to OAuth authorize page (#8655) 7 years ago
settings Create Settings::BaseController (#9507) 7 years ago
well_known
about_controller.rb Update /terms and /about/more to use public layout (#8142) 7 years ago
account_follow_controller.rb
account_unfollow_controller.rb
accounts_controller.rb Unuse ActiveRecord::Base#cache_key (#8185) 7 years ago
application_controller.rb Remove intermediary arrays when creating hash maps from results (#9291) 7 years ago
authorize_interactions_controller.rb Add remote interaction dialog for toots (#8202) 7 years ago
custom_css_controller.rb Add admin custom CSS setting (#8399) 7 years ago
directories_controller.rb Show 40 profiles per directory page instead of 30 (#9609) 7 years ago
emojis_controller.rb Unuse ActiveRecord::Base#cache_key (#8185) 7 years ago
filters_controller.rb Set @body_classes to admin layout (#9081) 7 years ago
follower_accounts_controller.rb
following_accounts_controller.rb
home_controller.rb Ensure single user is a local user (fixes #8154) (#8157) 7 years ago
intents_controller.rb Add remote interaction dialog for toots (#8202) 7 years ago
invites_controller.rb Set @body_classes to admin layout (#9081) 7 years ago
manifests_controller.rb
media_controller.rb fix CSP / X-Frame-Options for media embeds (#9558) 7 years ago
media_proxy_controller.rb
remote_follow_controller.rb Add remote interaction dialog for toots (#8202) 7 years ago
remote_interaction_controller.rb Add remote interaction dialog for toots (#8202) 7 years ago
remote_unfollows_controller.rb Add tests for remote_unfollows_controller (#7879) 7 years ago
shares_controller.rb
statuses_controller.rb Fix thread depth computation in statuses_controller (#9426) 7 years ago
stream_entries_controller.rb
tags_controller.rb Allow joining several hashtags in a single column (#8904) 7 years ago