1
0
mirror of https://github.com/whippyshou/mastodon synced 2024-11-25 15:46:35 +09:00
whippy-edition/app/services
Wiktor 7fe2993b87 Fix account URI when updating ActivityPub account (#7488)
Updates account `uri` field on each call to `update_account` instead of
only once during `create_account` to mirror the same behavior in OStatus
`ResolveAccountService` class [0].

ActivityPub accounts are identified using `@username` and `@domain` pair
instead of URI since #6842.

This fixes #7479: a bug when the account identified by `@username` and
`@domain` changes its URI.

[0]:
03b69ebc45/app/services/resolve_account_service.rb (L121)
2018-05-14 22:56:45 +02:00
..
activitypub Fix account URI when updating ActivityPub account (#7488) 2018-05-14 22:56:45 +02:00
concerns Rename ResolveRemoteAccountService to ResolveAccountService (#6327) 2018-01-22 14:25:09 +01:00
pubsubhubbub Fix #2672 - Connect signed PuSH subscription requests to instance domain (#4205) 2017-07-14 23:01:20 +02:00
account_search_service.rb Prevent suspended accounts from appearing in AccountSearchService (#7246) 2018-04-23 21:27:18 +02:00
after_block_service.rb Optimize MuteService and AfterBlockService (#2836) 2017-05-06 16:31:07 +02:00
authorize_follow_service.rb Using double splat operator (#5859) 2017-12-06 11:41:57 +01:00
backup_service.rb Add entropy to download filenames (#6811) 2018-03-17 17:39:28 +01:00
base_service.rb Remove unused AtomBuilderHelper (#1364) 2017-04-11 19:31:22 +02:00
batched_remove_status_service.rb Direct messages column (#4514) 2018-04-18 13:09:06 +02:00
block_domain_from_account_service.rb Add buttons to block and unblock domain (#3127) 2017-05-19 21:05:32 +02:00
block_domain_service.rb After blocking domain with reject_media, invalidate cache (#6679) 2018-03-08 06:59:42 +01:00
block_service.rb Add handling of Linked Data Signatures in payloads (#4687) 2017-08-26 13:47:38 +02:00
bootstrap_timeline_service.rb Default follows for new users (#4871) 2017-09-10 09:58:38 +02:00
fan_out_on_write_service.rb Store home feeds for 7 days instead of 14 (#7354) 2018-05-05 00:54:24 +02:00
favourite_service.rb Remove most behaviour disparities between blocks and mutes (#7231) 2018-05-02 15:50:20 +02:00
fetch_atom_service.rb Support Actors/Statuses with multiple types (#7305) 2018-05-02 12:40:24 +02:00
fetch_link_card_service.rb Rescue Mastodon::LengthValidationError in FetchLinkCardService (#7424) 2018-05-09 08:39:08 +02:00
fetch_oembed_service.rb Slightly reduce RAM usage (#7301) 2018-05-02 18:58:48 +02:00
fetch_remote_account_service.rb Validate id of ActivityPub representations (#5114) 2017-10-04 01:13:48 +02:00
fetch_remote_status_service.rb Change conditional to avoid nil into string error in sidekiq (#5987) 2017-12-12 15:11:13 +01:00
follow_service.rb Rename ResolveRemoteAccountService to ResolveAccountService (#6327) 2018-01-22 14:25:09 +01:00
mute_service.rb Keep notification when muting_notifications is true (#7311) 2018-05-02 16:14:51 +02:00
notify_service.rb Add REST API for Web Push Notifications subscriptions (#7445) 2018-05-11 11:49:12 +02:00
post_status_service.rb Call media.present? because media may be nil (#7474) 2018-05-14 12:51:53 +02:00
precompute_feed_service.rb Fix home regeneration (#6251) 2018-01-17 23:56:03 +01:00
process_feed_service.rb Using double splat operator (#5859) 2017-12-06 11:41:57 +01:00
process_hashtags_service.rb Remove "nsfw" category for sensitive statuses in OStatus serializer (#7048) 2018-04-22 22:09:03 +02:00
process_interaction_service.rb Introduce OStatus::TagManager (#5008) 2017-09-19 18:08:08 +02:00
process_mentions_service.rb Improve PostStatusService performance (#7317) 2018-05-02 22:10:57 +02:00
reblog_service.rb Avoid sending some ActivityPub payloads if the receiver will get them through distribution (#4739) 2017-09-01 21:26:01 +02:00
reject_follow_service.rb Add handling of Linked Data Signatures in payloads (#4687) 2017-08-26 13:47:38 +02:00
remove_status_service.rb Direct messages column (#4514) 2018-04-18 13:09:06 +02:00
report_service.rb Federated reports (#6570) 2018-02-28 06:54:55 +01:00
resolve_account_service.rb Support Actors/Statuses with multiple types (#7305) 2018-05-02 12:40:24 +02:00
resolve_url_service.rb Support Actors/Statuses with multiple types (#7305) 2018-05-02 12:40:24 +02:00
search_service.rb Remove extra spaces from search API queries and public account headers (fixes #7129) (#7152) 2018-04-16 17:19:04 +02:00
send_interaction_service.rb Close http connection in perform method of Request class (#6889) 2018-03-24 12:49:54 +01:00
subscribe_service.rb Close http connection in perform method of Request class (#6889) 2018-03-24 12:49:54 +01:00
suspend_account_service.rb Send one Delete of Actor in ActivityPub when account is suspended (#6172) 2018-01-04 14:40:49 +01:00
unblock_domain_service.rb Allow domain blocks that only reject media without silencing or suspending (#4325) 2017-07-24 14:26:55 +02:00
unblock_service.rb Add handling of Linked Data Signatures in payloads (#4687) 2017-08-26 13:47:38 +02:00
unfavourite_service.rb Add handling of Linked Data Signatures in payloads (#4687) 2017-08-26 13:47:38 +02:00
unfollow_service.rb Make "unfollow" undo pending outgoing follow request too (#4781) 2017-09-02 20:44:41 +02:00
unmute_service.rb Fix #231 - Muting 2017-03-02 18:49:32 +01:00
unsubscribe_service.rb Close http connection in perform method of Request class (#6889) 2018-03-24 12:49:54 +01:00
update_account_service.rb authorize-follow-requests-after-unlocking (#4658) 2017-08-26 12:40:03 +02:00
update_remote_profile_service.rb [WIP] Enable custom emoji on account pages and in the sidebar (#6124) 2018-04-01 23:55:42 +02:00
verify_salmon_service.rb Introduce OStatus::TagManager (#5008) 2017-09-19 18:08:08 +02:00