Federation support for libravatar
Problem to solve
Federation support for Libravatar.
Intended users
All GitLab users that use libravatar.
Further details
As pointed out in the API docs of libravatar:
https://wiki.libravatar.org/api/
Libravatar supports federation. Therefore a simple query to the libravatar service may not lead to the expected result, since some users may decide to use federation and only have their avatar picture available on their own servers.
Proposal
It's a bit more effort to include federation support, but it's one of the main feature of Libravatar and I hope you guys can implement it. Note: I would suggest to cache lookups for a while (esp. the DNS part), so you do not have to do it for each and every request, as this operation would potentially slow down the the pages.
You can also think about async loading of the images on the page, but I would still suggest to use caching in some way.
Permissions and Security
n/a
Documentation
As stated above, the API docs of libravatar are available here: https://wiki.libravatar.org/api/
Testing
Can be tested with any federated user ID. We can provide one for testing if required.
What does success look like, and how can we measure that?
See testing.
What is the type of buyer?
n/a
Links / references
n/a