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/models/concerns
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
..
account_associations.rb Change account suspensions to be reversible by default (#14726) 4 years ago
account_avatar.rb Remove WebP support (#11589) 6 years ago
account_counters.rb Add `tootctl cache recount` command (#11597) 6 years ago
account_finder_concern.rb Search account domain in lowercase (#13016) 5 years ago
account_header.rb Remove WebP support (#11589) 6 years ago
account_interactions.rb Fix being able to import more than allowed number of follows (#15384) 4 years ago
account_merging.rb Fix account merging in maintenance script (#15264) 4 years ago
attachmentable.rb Fix remote files not using Content-Type header, streaming (#14184) 5 years ago
cacheable.rb Fix cache_associated no longer working (#7320) 7 years ago
domain_materializable.rb Fix performance on instances list in admin UI (#15282) 4 years ago
domain_normalizable.rb Fix admin page crashing when trying to block an invalid domain name (#13884) 5 years ago
expireable.rb Add IP-based rules (#14963) 4 years ago
follow_limitable.rb Fix being able to import more than allowed number of follows (#15384) 4 years ago
ldap_authenticable.rb Add an LDAP Mail attribute config (#12053) 5 years ago
omniauthable.rb Fix rubocop warning (#14288) 5 years ago
paginable.rb allow pagination by min_id and max_id (#14776) 4 years ago
pam_authenticable.rb Fix LDAP/PAM/SAML/CAS users not being approved instantly (#10621) 6 years ago
rate_limitable.rb Add specific rate limits for posting and following (#13172) 5 years ago
redisable.rb Create Redisable#redis (#9633) 6 years ago
relationship_cacheable.rb Cache relationships in API (#6482) 7 years ago
remotable.rb Fix movie width and frame_rate returning nil (#14357) 5 years ago
status_threading_concern.rb Refactor StatusThreadingConcern (#9626) 5 years ago
user_roles.rb Add moderation API (#9387) 6 years ago