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

Disable Gravatar or allow third-party services #742

Closed
RichardDern opened this issue Sep 26, 2019 · 2 comments
Closed

Disable Gravatar or allow third-party services #742

RichardDern opened this issue Sep 26, 2019 · 2 comments

Comments

@RichardDern
Copy link

It would be nice to add a configuration entry to disable gravatar, if it doesn't already exists (I didn't see it in the docs)

Possible use-cases and concerns:

  • Offline servers
  • Privacy (I don't use Gravatar at all, so I don't want my email address to be sent to them with everything that implies in terms of security and privacy)

Another possibility would be to allow customising avatar's URL, so we can use third-party/self-hosted avatar-hosting services.

@michael-schaefer-eu
Copy link

Hey +1 for the config switch.

I could find out that it sends only a hash of the email address, but anyway they get your IP and they do track the user!

gravatarUrl() {
    if (this.entry.content.user.email) {
        const md5 = require('md5')
        return 'https://www.gravatar.com/avatar/' + md5(this.entry.content.user.email.toLowerCase()) + '?s=200'
    }
}

@derekmd
Copy link
Contributor

derekmd commented May 12, 2020

@taylorotwell @driesvints This issue can be closed now Telescope::avatar() is available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants