This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
mastodon/config
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
..
environments Fix missing protocol in dns-prefetch, improve code style (#8963) 2018-10-12 02:19:10 +02:00
initializers Add REST API for creating an account (#9572) 2018-12-24 19:12:38 +01:00
locales Add REST API for creating an account (#9572) 2018-12-24 19:12:38 +01:00
webpack Improve production build config (#8899) 2018-10-06 15:12:05 +09:00
application.rb
boot.rb Fix bootsnap cache directory being declared relatively (#9511) 2018-12-13 05:19:52 +01:00
brakeman.ignore Allow joining several hashtags in a single column (#8904) 2018-11-05 18:53:25 +01:00
database.yml Remove PostgreSQL statement timeout (#9537) 2018-12-16 21:17:15 +01:00
deploy.rb
environment.rb
i18n-tasks.yml
navigation.rb Add profile directory (#9427) 2018-12-06 17:36:11 +01:00
puma.rb Improve ActiveRecord connection in on_worker_boot (#9238) 2018-11-09 09:08:01 +01:00
routes.rb Add REST API for creating an account (#9572) 2018-12-24 19:12:38 +01:00
secrets.yml
settings.yml Add instance-wide setting to disable profile directory (#9497) 2018-12-11 19:18:29 +01:00
sidekiq.yml Track historical space stats in PgHero to determine PostgreSQL growth (#8906) 2018-10-09 19:35:14 +02:00
themes.yml
webpacker.yml