getsentry / sentry

Developer-first error tracking and performance monitoring
https://sentry.io
Other
38.6k stars 4.13k forks source link

Support for multiple avatar providers, especially libravatar #13237

Open jimcheetham opened 5 years ago

jimcheetham commented 5 years ago

Summary

Allow users to use avatars from other services, not just from Gravatar. Especially, support the federated libravatar service which allows organisations to have much more control over how their users' avatars are provisioned.

Motivation

Avatars are a great way to recognise people as being more than usernames, and although Gravatar is a very long-running service (currently hosted by WordPress) it isn't necessarily good for an organisation to have potentially internal data like email addresses provisioned on a public service. Libravatar provides a mechanism for federation to work behind the scenes, and an org can run their own internal avatar service if they want, or simply allow avatar requests to fall through to Gravatar itself if there is nothing local. Also, as the gravatar API is simple and well-understood, there are plenty of other pieces of software that can provide avatar data.

Either the user can provide their own preferred avatar service URL, or perhaps the organisation can set one for its users.

Additional Context

At this stage, this ticket is a request to see what your level of interest is. If you're keen on the feature and want to do it, great! If you would prefer a set of PRs, then I'll look into the code and see if I can figure it out myself :-)

ofalk commented 5 years ago

Upvoting this feature request!

BYK commented 3 years ago

Hi @jimcheetham and sorry for the radio silence. I don't think the team has any extra capacity to look into this but if you can submit a PR that is not too disruptive, I think this would be a nice improvement.

@dcramer, thoughts?

ofalk commented 3 years ago

I hoped I can do it, but I struggled with creating a development environment and now I struggle to find time for it. Anyone else with some spare cycles?

BYK commented 3 years ago

@ofalk if you are using a mac, you may try this: https://github.com/getsentry/bootstrap-sentry

If you are using Linux, we support setting things up through Brew and we ensure it works on Ubuntu (that also covers WSL). (see #23703). Wanna give it a shot?

ofalk commented 3 years ago

Thanks for the hints @BYK - very much appreciated! The main problem these days is time and less the env. I really have to leave this to someone else, although I'd love to dig into it further.