implement Move activities #45

Merged
floatingghost merged 13 commits from :move into develop 2022-07-04 16:29:40 +00:00

13 commits

Author SHA1 Message Date
Tusooa Zhu
467c45ffa6
Deal with target not found error in add_alias
All checks were successful
ci/woodpecker/pr/release Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
Ref: emit-move
2022-07-04 17:04:31 +03:00
Tusooa Zhu
5d2da84305
Test that the target account is re-fetched in move_account
Ref: emit-move
2022-07-04 17:04:31 +03:00
Tusooa Zhu
b58d1f0631
Make move_account endpoint process non-existent users properly
Ref: emit-move
2022-07-04 17:04:31 +03:00
Tusooa Zhu
126d801c00
Make move_following worker follow then unfollow
Ref: emit-move
2022-07-04 17:04:31 +03:00
Tusooa Zhu
745e4c7234
Federate unfollow activity in move_following properly
0: Use the CommonAPI unfollow function to make sure the
unfollow activity is federated.

1: Limit the follow and unfollow to local followers only,
while let the romote servers decide whether to move their followers.

Ref: emit-move
2022-07-04 17:04:31 +03:00
Tusooa Zhu
c26af9ff7c
Make Move activity federate properly
Ref: emit-move
2022-07-04 17:04:31 +03:00
Tusooa Zhu
bad0d957e3
Document aliases endpoints
Ref: emit-move
2022-07-04 17:04:31 +03:00
Tusooa Zhu
1767a8c673
Add deleting alias endpoint
Ref: emit-move
2022-07-04 17:04:30 +03:00
Tusooa Zhu
f14bd6eef3
Add get and add aliases endpoints
Ref: emit-move
2022-07-04 17:04:30 +03:00
Tusooa Zhu
47c7701d6c
Add User.add_alias/2 and User.alias_users/1
Ref: emit-move
2022-07-04 17:04:30 +03:00
Tusooa Zhu
2cb0bd3b7a
Add changelog 2022-07-04 17:04:30 +03:00
Tusooa Zhu
6a51562949
Document move_account API
Ref: emit-move
2022-07-04 17:03:17 +03:00
Tusooa Zhu
57826bb97f
Implement moving account
Ref: emit-move
2022-07-04 17:03:14 +03:00