chinwagsocial/app
Claire cc21670b3c 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
2022-01-28 22:39:47 +01:00
..
chewy Change tootctl search deploy algorithm (#14300) 2020-07-14 18:10:35 +02:00
controllers Skip processing Update activities on unknown accounts (#15514) 2022-01-28 22:39:47 +01:00
helpers Change RTL detection to rely on unicode-bidi paragraph by paragraph (#14573) 2020-12-15 12:56:43 +01:00
javascript New Crowdin updates (#15413) 2020-12-26 23:51:46 +01:00
lib Fix URI of repeat follow requests not being recorded (#15662) 2022-01-28 22:39:47 +01:00
mailers Change account suspensions to be reversible by default (#14726) 2020-09-15 14:37:58 +02:00
models Fix N+1 query when rendering with StatusSerializer (#15641) 2022-01-28 22:39:47 +01:00
policies Fix admins being able to suspend their instance actor (#14567) 2020-12-15 17:23:58 +01:00
presenters Fix performance on instances list in admin UI (#15282) 2020-12-14 09:06:34 +01:00
serializers Use existing FeaturedTag serializer and delete AccountFeaturedTag serializer (#15415) 2020-12-23 16:43:38 +01:00
services Fix processing of remote Delete activities (#16084) 2022-01-28 22:39:47 +01:00
validators Fix follow limit preventing re-following of a moved account (#14207) 2020-12-18 09:18:31 +01:00
views Fix missing description on enable bootstrap timeline accounts toggle in admin UI (#15367) 2020-12-19 00:19:15 +01:00
workers Fix thread resolve worker retrying when status no longer exists (#16109) 2022-01-28 22:39:47 +01:00