chinwagsocial/app
Claire 24dee67d32 Create instance actor if it hasn't been properly seeded (#15693)
An uncommon but somewhat difficult to digagnose issue is dealing with
improperly-seeded databases. In such cases, instance-signed fetches will
fail with a ActiveRecord::RecordNotFound error, usually caught and handled
as generic 404, leading people to think the remote resource itself has not
been found, while it's the local instance actor that does not exist.

This commit changes the code so that failure to find the instance actor
automatically creates a new one, so that improperly-seeded databases do
not cause any issue.
2022-01-28 22:39:48 +01:00
..
chewy Change tootctl search deploy algorithm (#14300) 2020-07-14 18:10:35 +02:00
controllers Create instance actor if it hasn't been properly seeded (#15693) 2022-01-28 22:39:48 +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 race conditions on account migration creation (#15597) 2022-01-28 22:39:48 +01:00
mailers Change account suspensions to be reversible by default (#14726) 2020-09-15 14:37:58 +02:00
models Create instance actor if it hasn't been properly seeded (#15693) 2022-01-28 22:39:48 +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 reports of already suspended accounts being recorded (#16047) 2022-01-28 22:39:48 +01:00
validators Fix follow limit preventing re-following of a moved account (#14207) 2020-12-18 09:18:31 +01:00
views Fix custom CSS when CDN_HOST is set (#15927) 2022-01-28 22:39:48 +01:00
workers Fix thread resolve worker retrying when status no longer exists (#16109) 2022-01-28 22:39:47 +01:00