Refactors some of the avatar and user manager logic and services. Adds e.g. a service for importing remote avatars from any URL.
I successfully ran a sync in production with this, where it only updated avatars and names that weren't set yet.
We can now easily add any other Mastodon API functionality, like e.g. setting a user's contributor status/role on Mastodon (once we have that status in our user directory).
Edit: there's also this unrelated drive-by fix: a71aa3fda2
Edit 2: deleting a user name by submitting an empty input wasn't possible before, so I fixed that, too: 7b0ebb761f
Refactors some of the avatar and user manager logic and services. Adds e.g. a service for importing remote avatars from any URL.
I successfully ran a sync in production with this, where it only updated avatars and names that weren't set yet.
We can now easily add any other Mastodon API functionality, like e.g. setting a user's contributor status/role on Mastodon (once we have that status in our user directory).
Edit: there's also this unrelated drive-by fix: a71aa3fda2a91a0add6e5700edfa7d69fe6bf73c
Edit 2: deleting a user name by submitting an empty input wasn't possible before, so I fixed that, too: 7b0ebb761f44937c0ae7fa9d82735a9fce3e64f8
raucao
added the feature label 2025-05-22 12:02:19 +00:00
Add a new service to import some data from Mastodon accounts:
* Find users by username, store Mastodon account ID in local db when
found
* Import display name (don't overwrite existing)
* Import avatar (don't overwrite existing)
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Refactors some of the avatar and user manager logic and services. Adds e.g. a service for importing remote avatars from any URL.
I successfully ran a sync in production with this, where it only updated avatars and names that weren't set yet.
We can now easily add any other Mastodon API functionality, like e.g. setting a user's contributor status/role on Mastodon (once we have that status in our user directory).
Edit: there's also this unrelated drive-by fix:
a71aa3fda2Edit 2: deleting a user name by submitting an empty input wasn't possible before, so I fixed that, too:
7b0ebb761fLooks good to me! 👍