How to use an alternative gravatar server?
We have a local Confluence with "Confluence Avatar Server" installed.
This works exactly like gravatar but serves the avatars configured in confluence: With gravatar you use an URL like "htttp://www.gravatar.com/avatar/SOMEHASH" - With Confluence you use a URL like "htttps://example.org/rest/cas/1.0/avatar/server/SOMEHASH". The hash is computed exactly the same way.
Is there an easy way to tell Askbot to use the avatars from confluence instead of gravatar?
A quick scan through the source shows multiple occurrences of "gravatar.com/avatar". Would it be possible to extract the ""htttp://www.gravatar.com/avatar/" part into a variable and make it configurable?
This way I could simply set it to "htttps://example.org/rest/cas/1.0/avatar/server/" to get the avatars from confluence.
Comments
Sorry for the "htttp" part. I don't have enough karma to write it correctly.
Can anyone of your users/admins suggest an implementation and make a pull request?
pull request sent.