mastodon/spec
Augusto Xavier 6e541e20ca Fix authorize_interaction not resolving collections from unknown accounts
Opening an interaction-authorization link for a collection hosted on a
server the instance had not encountered before failed with a "not found"
error, because resolving the remote collection only looked its owning
account up locally and gave up when that account was unknown.

The server now fetches the owning account when it is not already known
before resolving the collection, so these links work on first visit. This
completes the partial fix from #39287.

Fixes #39281.

Assisted-by: Claude Code
2026-06-15 11:43:00 -03:00
..
chewy Add InstancesIndex coverage (#38129) 2026-03-10 14:45:17 +00:00
config/initializers/rack Enable "zero monkey patching" mode in RSpec (#31614) 2024-09-04 05:12:25 +00:00
configuration Fix support for special characters in various environment variables (#35314) 2025-07-09 08:58:41 +00:00
controllers Add import for custom filters (#39256) 2026-06-11 16:32:46 +00:00
fabrication Enable "zero monkey patching" mode in RSpec (#31614) 2024-09-04 05:12:25 +00:00
fabricators Add email subscriptions (#38163) 2026-03-25 16:25:45 +00:00
fixtures Add import for custom filters (#39256) 2026-06-11 16:32:46 +00:00
generators Enable "zero monkey patching" mode in RSpec (#31614) 2024-09-04 05:12:25 +00:00
helpers Handle offset relative to TZ in options list (#39334) 2026-06-09 12:58:45 +00:00
lib Clarify preview card CLI command handles media only (#39348) 2026-06-10 09:27:07 +00:00
locales Update rubocop-rspec to version 3.10.1 (#39303) 2026-06-08 15:27:34 +00:00
mailers Unify queue_mail and mail in admin mailer new trends spec (#39207) 2026-05-29 09:16:19 +00:00
models Destroy dependent notifications of a collection (#39429) 2026-06-15 10:15:53 +00:00
policies Add admin area spec for email subscriptions management (#38912) 2026-05-06 08:47:12 +00:00
presenters Add export for custom filters (#39085) 2026-06-01 09:56:17 +00:00
requests Add import for custom filters (#39256) 2026-06-11 16:32:46 +00:00
routing Update rubocop to version 1.79.0 (#35502) 2025-07-25 07:22:05 +00:00
search/models/concerns/account Clean up search tagged specs (#38085) 2026-03-10 09:46:03 +00:00
serializers Fix avatar and profile header descriptions not being serialized over ActivityPub (#39352) 2026-06-10 08:46:36 +00:00
services Fix authorize_interaction not resolving collections from unknown accounts 2026-06-15 11:43:00 -03:00
support Add meta tags to Collection HTML (#39357) 2026-06-10 13:28:52 +00:00
system Add coverage for rules acceptance and invite code handling (#39310) 2026-06-09 09:54:38 +00:00
validators Add MX record validation to e-mail subscriptions, refactor validator (#38502) 2026-04-01 10:04:59 +00:00
views Update rubocop-rspec to version 3.10.1 (#39303) 2026-06-08 15:27:34 +00:00
workers Add basic coverage for UnmergeWorker job (#39398) 2026-06-12 13:44:29 +00:00
rails_helper.rb Add meta tags to Collection HTML (#39357) 2026-06-10 13:28:52 +00:00
spec_helper.rb Move simplecov start to config and require to spec_helper (#39236) 2026-06-01 13:37:17 +00:00