chinwagsocial/app/models/concerns
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
..
account_associations.rb Change account suspensions to be reversible by default (#14726) 2020-09-15 14:37:58 +02:00
account_avatar.rb
account_counters.rb
account_finder_concern.rb Create instance actor if it hasn't been properly seeded (#15693) 2022-01-28 22:39:48 +01:00
account_header.rb
account_interactions.rb Fix being able to import more than allowed number of follows (#15384) 2020-12-26 23:52:46 +01:00
account_merging.rb Fix account merging in maintenance script (#15264) 2020-12-04 02:23:51 +01:00
attachmentable.rb Fix remote files not using Content-Type header, streaming (#14184) 2020-06-30 23:58:02 +02:00
cacheable.rb
domain_materializable.rb Fix performance on instances list in admin UI (#15282) 2020-12-14 09:06:34 +01:00
domain_normalizable.rb
expireable.rb Fix not being able to change world filter expiration back to “Never” (#15858) 2022-01-28 22:39:48 +01:00
follow_limitable.rb Fix being able to import more than allowed number of follows (#15384) 2020-12-26 23:52:46 +01:00
ldap_authenticable.rb
omniauthable.rb WIP (#15222) 2022-01-28 22:39:48 +01:00
paginable.rb allow pagination by min_id and max_id (#14776) 2020-09-12 17:09:49 +02:00
pam_authenticable.rb
rate_limitable.rb
redisable.rb
relationship_cacheable.rb
remotable.rb Fix movie width and frame_rate returning nil (#14357) 2020-07-19 22:28:27 +02:00
status_threading_concern.rb
user_roles.rb