cybre-space/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
2018-12-24 19:12:38 +01:00
..
activitypub Fix emoji update date processing (#9255) 2018-11-10 23:59:51 +01:00
concerns Optimize the process of following someone (#9220) 2018-11-08 21:05:42 +01:00
pubsubhubbub Remove redundant (#9503) 2018-12-12 05:54:34 +01:00
account_search_service.rb Prevent suspended accounts from appearing in AccountSearchService (#7246) 2018-04-23 21:27:18 +02:00
after_block_domain_from_account_service.rb Get rid of all batch order warnings (#8334) 2018-08-21 12:25:50 +02:00
after_block_service.rb Add conversations API (#8832) 2018-10-07 23:44:58 +02:00
app_sign_up_service.rb Add REST API for creating an account (#9572) 2018-12-24 19:12:38 +01:00
authorize_follow_service.rb Use correct activity id in Accept when receiving duplicate Follow (fixes #8218) (#8244) 2018-08-17 14:08:17 +02:00
backup_service.rb Add favourites to archive takeout (#8351) 2018-08-22 19:33:10 +02:00
base_service.rb Remove unused AtomBuilderHelper (#1364) 2017-04-11 19:31:22 +02:00
batched_remove_status_service.rb Improve account suspension speed and completeness (#9290) 2018-12-03 01:32:08 +01:00
block_domain_service.rb Get rid of all batch order warnings (#8334) 2018-08-21 12:25:50 +02:00
block_service.rb Add handling of Linked Data Signatures in payloads (#4687) 2017-08-26 13:47:38 +02:00
bootstrap_timeline_service.rb Add autofollow option to invites (#7805) 2018-06-15 18:00:23 +02:00
fan_out_on_write_service.rb Accept the same payload in multiple inboxes and deliver (#9150) 2018-10-30 15:03:55 +01:00
favourite_service.rb Fix activity:interactions counter to count all interactions (#8037) 2018-07-16 18:35:43 +02:00
fetch_atom_service.rb Ignore JSON-LD profile in mime type comparison (#9179) 2018-11-22 12:49:07 +01:00
fetch_link_card_service.rb Ignore low-confidence CharlockHolmes guesses when parsing link cards (#9510) 2018-12-17 19:19:45 +01:00
fetch_oembed_service.rb Handle relative URLs when fetching OEmbed/OpenGraph cards (#8669) 2018-09-10 18:26:28 +02:00
fetch_remote_account_service.rb Improve federated ID validation (#8372) 2018-08-22 20:55:14 +02:00
fetch_remote_status_service.rb Change conditional to avoid nil into string error in sidekiq (#5987) 2017-12-12 15:11:13 +01:00
follow_service.rb Optimize the process of following someone (#9220) 2018-11-08 21:05:42 +01:00
hashtag_query_service.rb Simplify hashtag query service, perf increase for 'any' tags (#9298) 2018-11-19 12:49:50 +01:00
mute_service.rb Add conversations API (#8832) 2018-10-07 23:44:58 +02:00
notify_service.rb Always let through notifications from staff (#9152) 2018-10-30 15:02:55 +01:00
post_status_service.rb Limit maximum visibility of local silenced users to unlisted (#9583) 2018-12-24 19:06:14 +01:00
precompute_feed_service.rb Fix home regeneration (#6251) 2018-01-17 23:56:03 +01:00
process_feed_service.rb Using double splat operator (#5859) 2017-12-06 11:41:57 +01:00
process_hashtags_service.rb Exclude unlisted, private and direct toots from affecting trends (#7686) 2018-05-31 16:47:28 +02:00
process_interaction_service.rb Introduce OStatus::TagManager (#5008) 2017-09-19 18:08:08 +02:00
process_mentions_service.rb Optimize the process of following someone (#9220) 2018-11-08 21:05:42 +01:00
reblog_service.rb Fix activity:interactions counter to count all interactions (#8037) 2018-07-16 18:35:43 +02:00
reject_follow_service.rb Add handling of Linked Data Signatures in payloads (#4687) 2017-08-26 13:47:38 +02:00
remove_status_service.rb Improve support for aspects/circles (#8950) 2018-10-17 17:13:04 +02:00
report_service.rb Add preference for report notification e-mails, skip for duplicates (#8559) 2018-09-02 00:11:58 +02:00
resolve_account_service.rb Optimize the process of following someone (#9220) 2018-11-08 21:05:42 +01:00
resolve_url_service.rb Update resolve_url_service.rb (#9188) 2018-11-05 18:54:07 +01:00
search_service.rb Allow accessing local private/DM messages by URL (#8196) 2018-08-15 19:33:36 +02:00
send_interaction_service.rb Close http connection in perform method of Request class (#6889) 2018-03-24 12:49:54 +01:00
subscribe_service.rb Close http connection in perform method of Request class (#6889) 2018-03-24 12:49:54 +01:00
suspend_account_service.rb Improve account suspension speed and completeness (#9290) 2018-12-03 01:32:08 +01:00
unblock_domain_service.rb Allow domain blocks that only reject media without silencing or suspending (#4325) 2017-07-24 14:26:55 +02:00
unblock_service.rb Add handling of Linked Data Signatures in payloads (#4687) 2017-08-26 13:47:38 +02:00
unfavourite_service.rb Add handling of Linked Data Signatures in payloads (#4687) 2017-08-26 13:47:38 +02:00
unfollow_service.rb Make "unfollow" undo pending outgoing follow request too (#4781) 2017-09-02 20:44:41 +02:00
unmute_service.rb Fix #231 - Muting 2017-03-02 18:49:32 +01:00
unsubscribe_service.rb Close http connection in perform method of Request class (#6889) 2018-03-24 12:49:54 +01:00
update_account_service.rb Error message for avatar image that's too large. #9204 (#9518) 2018-12-14 05:07:21 +01:00
update_remote_profile_service.rb Fix custom emoji handling in UpdateRemoteProfileService (OStatus) (#7501) 2018-05-15 16:03:34 +02:00
verify_link_service.rb Skip link-back check if body is nil (#9107) 2018-10-26 03:31:23 +02:00
verify_salmon_service.rb Introduce OStatus::TagManager (#5008) 2017-09-19 18:08:08 +02:00