bastodon/app/views
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
..
about
accounts Make avatar and headers respect auto_play_gif (#9515) 2018-12-14 20:34:18 +01:00
admin Add moderation warnings (#9519) 2018-12-22 20:02:09 +01:00
admin_mailer
application Escape HTML in profile name preview in profile settings (#9446) 2018-12-07 16:42:22 +01:00
auth Change the password form order (#9267) 2018-11-16 11:18:43 +01:00
authorize_interactions
directories Remove "most popular" tab from profile directory, add responsive design (#9539) 2018-12-17 03:14:28 +01:00
errors
filters
follower_accounts
following_accounts
home
invites
kaminari
layouts Remove "most popular" tab from profile directory, add responsive design (#9539) 2018-12-17 03:14:28 +01:00
media
notification_mailer
oauth
remote_follow
remote_interaction
remote_unfollows
settings Add instance-wide setting to disable profile directory (#9497) 2018-12-11 19:18:29 +01:00
shared Fix form validation flash message color and input borders (#9235) 2018-11-08 21:06:14 +01:00
shares
stream_entries Fix RTL layout of status display names (#9075) 2018-10-24 18:18:08 +02:00
tags
user_mailer Add REST API for creating an account (#9572) 2018-12-24 19:12:38 +01:00
well_known