Gravatar for Seafile


#1

Hi everybody,
right now seafile does not support Gravatar Icons. I wrote a short script to update the user-avatar in seafile with his gravatar-icon.
You can find the description and the script on the german seafile page: https://de.seafile.com/gravatar-icons-seafile/

The blog entry is in german but I assume that the code is easy to understand:

  • loop the user accounts in seafile
  • check if the user account still has the default seafile-avatar
  • check if there is a gravatar available
  • update the avatar in seafile.

Happy testing and I am looking forward to your feedback.
Best regards
Christoph