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

Expose user avatar URL field in the UI #27

Merged
merged 10 commits into from
Sep 17, 2024
Merged

Expose user avatar URL field in the UI #27

merged 10 commits into from
Sep 17, 2024

Conversation

aine-etke
Copy link
Member

To be able to change a avatar the URL field needs to be exposed but changing the URL alone is difficult. This patch adds a image upload field to the edit view of a user. If there is a file detected it uploads it to the servers media repository and sets that new URL as the avatar URL one. This way a admin can change any users avatar which is especially nice for bridged users like in the IRC bridge and bots.

Idea from Awesome-Technologies/synapse-admin#61

Fixes Awesome-Technologies/synapse-admin#60 and #13

@aine-etke aine-etke changed the base branch from master to main September 17, 2024 07:15
@aine-etke aine-etke merged commit 24cf0a6 into main Sep 17, 2024
1 check passed
@aine-etke aine-etke deleted the expose-user-avatar branch October 25, 2024 08:55
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.

Make it possible to change a users avatar
2 participants