mirror of
https://github.com/plankanban/planka.git
synced 2026-02-24 19:08:59 +03:00
Add use gravatar #751
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kstan79 on GitHub (Jul 7, 2025).
Is this a feature for the backend or frontend?
Frontend
What would you like?
it maybe good to have option for user to check 'use gravatar' instead of manually upload image.
Why is this needed?
No response
Other information
No response
@maryojo commented on GitHub (Aug 12, 2025):
Hi @meltyshev, i'll like to work on this, can you assign this to me?
@meltyshev commented on GitHub (Aug 12, 2025):
Hi! Sure :)
But please keep in mind that we can't use URLs to Gravatar directly, as it violates GDPR. Instead, we'll need to download the avatar and store it locally (probably when the user is being created). Also, this should be enabled via an environment variable like
USE_GRAVATAR, which should be set tofalseby default.@maryojo commented on GitHub (Aug 12, 2025):
Alright, i'll do this, thanks!
@maryojo commented on GitHub (Aug 22, 2025):
Hi @meltyshev, in the codebase I can see that the profile image can only be edited on the settings modal, I just want to confirm if this is also a part of the account setup and I missed it
@meltyshev commented on GitHub (Aug 24, 2025):
Hey! Sorry for the delayed reply. Yep, it can only be edited in the settings modal for the current user :)
@maryojo commented on GitHub (Aug 24, 2025):
Alright, thanks!
@maryojo commented on GitHub (Aug 27, 2025):
Hi @meltyshev, for me to work with setting or updating the environment variable, it would have to be done from the server side. I'm more skilled with the Frontend, so I used local storage to store the gravatar, it works but without updating the env variable. Also, the way I have it now, it replaces the stored user avatar, so it shows everywhere the avatar is used, does that work?
@meltyshev commented on GitHub (Aug 27, 2025):
Hey! Sure, I can add an environment variable myself :) Regarding the localStorage approach and replacing the current avatar - I think it would be better to download the avatar from Gravatar and store it as a normal image, but that requires some backend changes. Don't worry, I'll test everything to see how it works and make modifications if needed.
Please note that it might take some time to review and accept the PR since I'm fully focused on finishing and releasing the final v2 version, but I will definitely check everything afterwards.
@maryojo commented on GitHub (Sep 1, 2025):
Okay, thank you! I opened a PR for this here https://github.com/plankanban/planka/pull/1319