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/lib
Claire be3b9f8151
Fix URI of repeat follow requests not being recorded (#15662)
* Fix URI of repeat follow requests not being recorded

In case we receive a “repeat” or “duplicate” follow request, we automatically
fast-forward the accept with the latest received Activity `id`, but we don't
record it.

In general, a “repeat” or “duplicate” follow request may happen if for some
reason (e.g. inconsistent handling of Block or Undo Accept activities, an
instance being brought back up from the dead, etc.) the local instance thought
the remote actor were following them while the remote actor thought otherwise.

In those cases, the remote instance does not know about the older Follow
activity `id`, so keeping that record serves no purpose, but knowing the most
recent one is useful if the remote implementation at some point refers to it
by `id` without inlining it.

* Add tests
5 years ago
..
activitypub Fix URI of repeat follow requests not being recorded (#15662) 5 years ago
connection_pool
nodeinfo
ostatus
proof_provider
rss
settings Use Rails' index_by where it makes sense (#15542) 5 years ago
access_token_extension.rb Fix streaming API allowing connections to persist after access token invalidation (#15111) 5 years ago
activity_tracker.rb
application_extension.rb
cache_buster.rb Add cache buster feature for media files (#15155) 5 years ago
delivery_failure_tracker.rb
entity_cache.rb Use Rails' index_by where it makes sense (#15542) 5 years ago
exceptions.rb
extractor.rb Optimize some regex matching (#15528) 5 years ago
fast_geometry_parser.rb
fast_ip_map.rb Add IP-based rules (#14963) 5 years ago
feed_manager.rb Optimize some regex matching (#15528) 5 years ago
formatter.rb Optimize some regex matching (#15528) 5 years ago
hash_object.rb
inline_renderer.rb
language_detector.rb
potential_friendship_tracker.rb
proof_provider.rb
rate_limiter.rb
request.rb Optimize some regex matching (#15528) 5 years ago
request_pool.rb
response_with_limit.rb
rss_builder.rb
sanitize_config.rb Optimize some regex matching (#15528) 5 years ago
search_query_parser.rb
search_query_transformer.rb
sidekiq_error_handler.rb Bump rubocop from 0.86.0 to 0.88.0 (#14412) 6 years ago
spam_check.rb Use Enumerable#filter_map in more places (#15527) 5 years ago
status_filter.rb
status_finder.rb
status_reach_finder.rb Fix deletes not reaching every server that interacted with status (#15200) 5 years ago
tag_manager.rb
themes.rb
toc_generator.rb
user_settings_decorator.rb Add option to disable swiping motions across the WebUI (#13885) 6 years ago
webfinger.rb Use Rails' index_by where it makes sense (#15542) 5 years ago
webfinger_resource.rb