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
ThibG f1f96ebf02
Fix being able to import more than allowed number of follows (#15384)
* Fix being able to import more than allowed number of follows

Without this commit, if someone tries importing a second list of accounts to
follow before the first one has been processed, this will queue imports for
the two whole lists, even if they exceed the account's allowed number of
outgoing follows.

This commit changes it so the individual queued imports aren't exempt from
the follow limit check (they remain exempt from the rate-limiting check
though).

* Catch validation errors to not re-queue failed follows

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
4 years ago
..
activitypub Fix resolving accounts sometimes creating duplicate records for a given AP id (#15364) 4 years ago
concerns
keys
account_search_service.rb
after_block_domain_from_account_service.rb
after_block_service.rb Refactor feed manager (#14761) 4 years ago
after_unallow_domain_service.rb Change account suspensions to be reversible by default (#14726) 4 years ago
app_sign_up_service.rb Add IP-based rules (#14963) 4 years ago
authorize_follow_service.rb
backup_service.rb
base_service.rb
batched_remove_status_service.rb Fix undefined method error when batch-removing statuses with ElasticSearch on (#15421) 4 years ago
block_domain_service.rb Add support for reversible suspensions through ActivityPub (#14989) 4 years ago
block_service.rb
bootstrap_timeline_service.rb
clear_domain_media_service.rb
delete_account_service.rb Fix undefined method error when batch-removing statuses with ElasticSearch on (#15421) 4 years ago
deliver_to_device_service.rb
fan_out_on_write_service.rb Fix DMs not appearing into timelines (#15182) 4 years ago
favourite_service.rb Add option to be notified when a followed user posts (#13546) 4 years ago
fetch_link_card_service.rb Bump rubocop from 0.86.0 to 0.88.0 (#14412) 4 years ago
fetch_oembed_service.rb
fetch_remote_status_service.rb
fetch_resource_service.rb
follow_service.rb Fix being able to import more than allowed number of follows (#15384) 4 years ago
import_service.rb Fix follow limit preventing re-following of a moved account (#14207) 4 years ago
move_service.rb
mute_service.rb Add duration parameter to muting. (#13831) 4 years ago
notify_service.rb Add option to be notified when a followed user posts (#13546) 4 years ago
post_status_service.rb
precompute_feed_service.rb Refactor feed manager (#14761) 4 years ago
process_hashtags_service.rb
process_mentions_service.rb Fix followers synchronization mechanism not being triggered on mentions (#15026) 4 years ago
reblog_service.rb Add option to be notified when a followed user posts (#13546) 4 years ago
reject_follow_service.rb
remove_status_service.rb Fix deletes not reaching every server that interacted with status (#15200) 4 years ago
report_service.rb Add indication to admin UI of whether a report has been forwarded (#13237) 4 years ago
resolve_account_service.rb Fix resolving accounts sometimes creating duplicate records for a given AP id (#15364) 4 years ago
resolve_url_service.rb Improve searching for private toots from URL (#14856) 4 years ago
search_service.rb
suspend_account_service.rb Fix error when changing ACL on missing objects during suspension (#15420) 4 years ago
tag_search_service.rb
unallow_domain_service.rb
unblock_domain_service.rb Add support for reversible suspensions through ActivityPub (#14989) 4 years ago
unblock_service.rb
unfavourite_service.rb
unfollow_service.rb
unmute_service.rb
unsuspend_account_service.rb Fix error when changing ACL on missing objects during suspension (#15420) 4 years ago
update_account_service.rb Bump rubocop from 0.86.0 to 0.88.0 (#14412) 4 years ago
verify_link_service.rb
vote_service.rb