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/controllers
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
..
activitypub Skip processing Update activities on unknown accounts (#15514) 4 years ago
admin Add option to obfuscate domain name in public list of domain blocks (#15355) 4 years ago
api Improved performance of notification preloading (#15640) 4 years ago
auth Add honeypot fields and minimum fill-out time for sign-up form (#15276) 4 years ago
concerns Use Rails' index_by where it makes sense (#15542) 4 years ago
oauth Refactor settings controllers (#14767) 5 years ago
settings Fix profile update not being sent on profile/header picture deletion (#15461) 4 years ago
well_known Add support for reversible suspensions through ActivityPub (#14989) 4 years ago
about_controller.rb Add honeypot fields and minimum fill-out time for sign-up form (#15276) 4 years ago
account_follow_controller.rb
account_unfollow_controller.rb
accounts_controller.rb Fix slow distinct queries where grouped queries are faster (#15287) 4 years ago
application_controller.rb Add stoplight for object storage failures, return HTTP 503 (#13043) 4 years ago
authorize_interactions_controller.rb
custom_css_controller.rb
directories_controller.rb Fix functional user requirements in whitelist mode (#14093) 5 years ago
emojis_controller.rb
filters_controller.rb Sort filters by “keyword or phrase” in Settings (#15050) 4 years ago
follower_accounts_controller.rb Add support for reversible suspensions through ActivityPub (#14989) 4 years ago
following_accounts_controller.rb Add support for reversible suspensions through ActivityPub (#14989) 4 years ago
home_controller.rb Fix other sessions not being logged out on password change (#14252) 5 years ago
instance_actors_controller.rb Create instance actor if it hasn't been properly seeded (#15693) 4 years ago
intents_controller.rb
invites_controller.rb
manifests_controller.rb
media_controller.rb Fix functional user requirements in whitelist mode (#14093) 5 years ago
media_proxy_controller.rb Fix media attachments enumeration (#14254) 5 years ago
public_timelines_controller.rb
relationships_controller.rb Add interrelationship icon (#15149) 4 years ago
remote_follow_controller.rb
remote_interaction_controller.rb Fix functional user requirements in whitelist mode (#14093) 5 years ago
shares_controller.rb
statuses_controller.rb Fix /activity endpoint not require signature in authorized fetch mode (#15592) 4 years ago
tags_controller.rb Refactor how public and tag timelines are queried (#14728) 5 years ago