Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Move activity for user migration (with small change) #3076

Merged
merged 15 commits into from
Nov 2, 2023
Merged

Conversation

mouse-reeve
Copy link
Member

The only meaningful changes in this PR that aren't in #2970 are in my final commit (2137737)

hughrun and others added 15 commits August 29, 2023 21:07
* update User model to allow for moved_to and also_known_as values
* allow users to add aliases (also_known_as) in UI
* allow users to move account to another one (moved_to)
* redirect webfinger to the new account after a move
* present notification to followers inviting to follow at new account

Note: unlike Mastodon we're not running any unfollow/autofollow action here: users can decide for themselves
This makes undoing moves easier.

TODO

There is still a bug with incoming Moves, at least from Mastodon.
This seems to be something to do with Update activities (rather than Move, strictly).
- minor template fixes
- notification logic fixes
- don't dedupe on moved_to or also_known_as
- add migration
also cleans up some templates
- make Move notifications less complicated
- moved users cannot do anything other than unmove or log out
- refactor translations for moved users
Add `Move` activity for user migration
@mouse-reeve mouse-reeve merged commit 0502f6b into main Nov 2, 2023
10 checks passed
@mouse-reeve mouse-reeve deleted the move branch November 2, 2023 01:20
@hughrun hughrun mentioned this pull request Dec 11, 2023
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants