]> cat aescling's git repositories - mastodon.git/commit
Fix #2706 - Always respond with 200 to PuSH payloads (#2733)
authorEugen Rochko <eugen@zeonfederated.com>
Wed, 3 May 2017 15:02:18 +0000 (17:02 +0200)
committerGitHub <noreply@github.com>
Wed, 3 May 2017 15:02:18 +0000 (17:02 +0200)
commitbafd22ecf487774c252a271d668716b0e1c84c6c
treebda1f7d712b3d0094595b56261a36b38034d345b
parentdd9d57300ba3b6df91ef6398d8c369437cc2a9c7
Fix #2706 - Always respond with 200 to PuSH payloads (#2733)

Fix #2196 - Respond with 201 when Salmon accepted, 400 when unverified
Fix #2629 - Correctly handle confirm_domain? for local accounts
Unify rules for extracting author acct from XML, prefer <email>, fall back
to <name> + <uri> (see also #2017, #2172)
app/controllers/api/salmon_controller.rb
app/controllers/api/subscriptions_controller.rb
app/services/concerns/author_extractor.rb [new file with mode: 0644]
app/services/fetch_remote_account_service.rb
app/services/fetch_remote_status_service.rb
app/services/process_feed_service.rb
app/services/process_interaction_service.rb
app/services/verify_salmon_service.rb [new file with mode: 0644]
spec/controllers/api/subscriptions_controller_spec.rb