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
Claire acdeb162b8
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.
4 years ago
..
chewy Change `tootctl search deploy` algorithm (#14300) 5 years ago
controllers Create instance actor if it hasn't been properly seeded (#15693) 4 years ago
helpers Change RTL detection to rely on unicode-bidi paragraph by paragraph (#14573) 4 years ago
javascript Change max. image dimensions to 1920x1080px (1080p) (#15690) 4 years ago
lib Fix race conditions on account migration creation (#15597) 4 years ago
mailers Change account suspensions to be reversible by default (#14726) 4 years ago
models Create instance actor if it hasn't been properly seeded (#15693) 4 years ago
policies Fix admins being able to suspend their instance actor (#14567) 4 years ago
presenters Use Enumerable#filter_map in more places (#15527) 4 years ago
serializers Use existing FeaturedTag serializer and delete AccountFeaturedTag serializer (#15415) 4 years ago
services Fix first return value of FetchLinkCardService.html method (#15630) 4 years ago
validators Optimize some regex matching (#15528) 4 years ago
views Fix Google Translate breaking web interface (#15610) 4 years ago
workers Fix being able to import more than allowed number of follows (#15384) 4 years ago