https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292011-08-24T07:00:29ZRedmineRedmine - Feature #9112: Libravatar and Gravatar-compatible servers supporthttps://www.redmine.org/issues/9112?journal_id=317002011-08-24T07:00:29ZEtienne Massip
<ul><li><strong>Category</strong> set to <i>Third-party libraries</i></li></ul><p>Could be done with a plugin.</p> Redmine - Feature #9112: Libravatar and Gravatar-compatible servers supporthttps://www.redmine.org/issues/9112?journal_id=317122011-08-24T10:31:08ZFrancois Marier
<ul></ul><p>The Libravatar Gem might be useful:</p>
<pre><code><a class="external" href="https://rubygems.org/gems/libravatar">https://rubygems.org/gems/libravatar</a><br /> <a class="external" href="https://github.com/gugod/libravatar">https://github.com/gugod/libravatar</a></code></pre> Redmine - Feature #9112: Libravatar and Gravatar-compatible servers supporthttps://www.redmine.org/issues/9112?journal_id=643362015-06-21T11:37:50Zn ext
<ul></ul><p>Is there any progress yet? IMHO it's an much more privacy respecting solution that should be introduced upstream as gravatar is already?</p> Redmine - Feature #9112: Libravatar and Gravatar-compatible servers supporthttps://www.redmine.org/issues/9112?journal_id=785642017-05-16T07:30:16ZSandro Santillistrk@kbt.io
<ul></ul><p>Upvoting this, I hate to be forced to have my face served by gravatar.com :/</p> Redmine - Feature #9112: Libravatar and Gravatar-compatible servers supporthttps://www.redmine.org/issues/9112?journal_id=914802019-05-02T09:35:48ZOliver Falk
<ul></ul><p>Hi!</p>
<p>Libravatar has been recently completely renewed and now shines again.</p>
<p>Changing from Gravatar to Libravatar is only a matter of changing the "base URL". It's completely compatible with Gravatar. The default even is to proxy to Gravatar. With proxy I mean, real proxying; Gravatar doesn't see the client IP and therefore preserving user privacy.</p>
<p>This is really low hanging fruit, as you do not really need to change the module you use, if this is too much work. You just need to replace the URL.</p>
<pre><code><a class="external" href="https://secure.gravatar.com/">https://secure.gravatar.com/</a> => <a class="external" href="https://secure.libravatar.org/">https://secure.libravatar.org/</a></code></pre>
<p>Thanks and kind regards,<br /> Oliver</p> Redmine - Feature #9112: Libravatar and Gravatar-compatible servers supporthttps://www.redmine.org/issues/9112?journal_id=914812019-05-02T12:51:17ZGo MAEDA
<ul><li><strong>File</strong> <a href="/attachments/22933">avatar_service_url_configuration.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/22933/avatar_service_url_configuration.patch">avatar_service_url_configuration.patch</a> added</li></ul><p>What do you think about the attached patch?</p>
<p>The patch introduces a new configuration option "avatar_service_url". You can switch to Libravatar by setting the option in the configuration.yml file like this.</p>
<pre><code class="yaml syntaxhl"> <span class="na">avatar_service_url</span><span class="pi">:</span> <span class="s">https://seccdn.libravatar.org</span>
</code></pre> Redmine - Feature #9112: Libravatar and Gravatar-compatible servers supporthttps://www.redmine.org/issues/9112?journal_id=914822019-05-02T13:04:40ZOliver Falk
<ul></ul><p>Hi!<br />In principle I like this! If I may suggest: Put it the other way round and make Libravatar the default :-)<br />I doesn't change anything for the user/admin, except they'll have better privacy.</p> Redmine - Feature #9112: Libravatar and Gravatar-compatible servers supporthttps://www.redmine.org/issues/9112?journal_id=914832019-05-02T13:29:22ZGo MAEDA
<ul><li><strong>Category</strong> changed from <i>Third-party libraries</i> to <i>Accounts / authentication</i></li><li><strong>Target version</strong> set to <i>Candidate for next major release</i></li></ul> Redmine - Feature #9112: Libravatar and Gravatar-compatible servers supporthttps://www.redmine.org/issues/9112?journal_id=914842019-05-02T20:25:40ZJim Cheetham
<ul></ul><p>Thanks for promoting this again <a class="user active" href="https://www.redmine.org/users/17724">Oliver Cordero</a> :-)</p>
<p>The patch as presented gives the admin the option to easily select their own service, which is excellent.</p>
<p>We still have a hard-coded portion, '/avatar/' + hash, and this should be surfaced in the documentation at least, and probably in the configuration file as well. But to be fair, this is the published API for both Libravatar and Gravatar, and is probably just as static as the formation of the hash itself. It's been correct for many years now ...</p>
<p>The argument of which should be the default is going a step further than I was asking for, and whereas 7 years ago I was happy for this to be just an option these days I think more people are sensitive to privacy concerns. However, <em>technically</em> this patch provides good capability, and I'm happy to see it moving on.</p>
<p>Of course I now wish I'd dug in to the code myself all those years ago and written the patch myself!</p> Redmine - Feature #9112: Libravatar and Gravatar-compatible servers supporthttps://www.redmine.org/issues/9112?journal_id=914882019-05-03T06:34:35ZGo MAEDA
<ul><li><strong>File</strong> <a href="/attachments/22937">avatar_service_url_configuration-v2.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/22937/avatar_service_url_configuration-v2.patch">avatar_service_url_configuration-v2.patch</a> added</li></ul><p>Updated the patch. Now it includes test code.</p>
<p>Jim Cheetham wrote:</p>
<blockquote>
<p>We still have a hard-coded portion, '/avatar/' + hash, and this should be surfaced in the documentation at least, and probably in the configuration file as well.</p>
</blockquote>
<p>I have described what URLs are generated in configuraition.yml.example. Thank you for reviewing the patch.</p>
<blockquote>
<p>But to be fair, this is the published API for both Libravatar and Gravatar, and is probably just as static as the formation of the hash itself. It's been correct for many years now ...</p>
</blockquote>
<p>I think hard-coding '/avatar/' is OK because DNS-based server discovery mechanism described on <a class="external" href="https://wiki.libravatar.org/api/">https://wiki.libravatar.org/api/</a> assumes that the path is always '/avatar/'</p> Redmine - Feature #9112: Libravatar and Gravatar-compatible servers supporthttps://www.redmine.org/issues/9112?journal_id=914972019-05-03T08:11:47ZOliver Falk
<ul></ul><p>Hi!</p>
<p>Yes, hardcoding /avatar/ should be fine. I'm pretty sure all services are using this path in order to be compatible with Gravatar. If - for some reason - someone has a different path with his service, he needs to rewrite it in the web server configuration accordingly - not really our issue.<br />Glad you enhanced the code with tests.<br />I would still love to see Libravatar be the default or some way how we could potentially encourage users to switch to Libravatar if it's not the default - but it is your decision and not mine of course.</p>
<p>Thanks for your work on this - highly appreciated!!</p> Redmine - Feature #9112: Libravatar and Gravatar-compatible servers supporthttps://www.redmine.org/issues/9112?journal_id=915012019-05-03T11:35:44ZGo MAEDA
<ul><li><strong>Target version</strong> changed from <i>Candidate for next major release</i> to <i>4.1.0</i></li></ul><p>Oliver Falk wrote:</p>
<blockquote>
<p>I would still love to see Libravatar be the default or some way how we could potentially encourage users to switch to Libravatar if it's not the default - but it is your decision and not mine of course.</p>
</blockquote>
<p>I don't think we should make Libravatar the default because most people probably use Gravatar instead of Libravatar. In addition, I have doubts about the continuity of libravatar.org (see the articles below).<br /><a class="external" href="https://blog.libravatar.org/posts/Libravatar.org_is_shutting_down_on_2018-09-01/">https://blog.libravatar.org/posts/Libravatar.org_is_shutting_down_on_2018-09-01/</a><br /><a class="external" href="https://blog.libravatar.org/posts/Libravatar.org_is_not_going_away/">https://blog.libravatar.org/posts/Libravatar.org_is_not_going_away/</a></p>
<p>Anyway, supporting Gravatar-compatible servers including Libravatar is easy, and I think it is valuable because it gives users another choice. I am setting the target version to 4.1.0.</p> Redmine - Feature #9112: Libravatar and Gravatar-compatible servers supporthttps://www.redmine.org/issues/9112?journal_id=915022019-05-03T11:58:34ZOliver Falk
<ul></ul><p>Hi!</p>
<blockquote>
<p>I don't think we should make Libravatar the default because most people probably use Gravatar<br />instead of Libravatar.</p>
</blockquote>
<p>By default Libravatar proxies to Gravatar and therefore it doesn't make any difference to the user, apart from more privacy, since Gravatar only sees the proxy address.</p>
<blockquote>
<p>In addition, I have doubts about the continuity of libravatar.org (see the articles below).<br /><a class="external" href="https://blog.libravatar.org/posts/Libravatar.org_is_shutting_down_on_2018-09-01/">https://blog.libravatar.org/posts/Libravatar.org_is_shutting_down_on_2018-09-01/</a><br /><a class="external" href="https://blog.libravatar.org/posts/Libravatar.org_is_not_going_away/">https://blog.libravatar.org/posts/Libravatar.org_is_not_going_away/</a></p>
</blockquote>
<p>I know those articles. I'm basically the reason behind the 'is not going away'. Software has been rewritten by me and is now hosted on Fedora Infrastructure - so really no doubts if it's staying or not. It IS staying. ;-)</p>
<p>Oliver</p> Redmine - Feature #9112: Libravatar and Gravatar-compatible servers supporthttps://www.redmine.org/issues/9112?journal_id=915112019-05-04T01:53:04ZGo MAEDA
<ul><li><strong>Related to</strong> <i><a class="issue tracker-3 status-5 priority-4 priority-default closed" href="/issues/31022">Patch #31022</a>: Always use HTTPS when accessing gravatar.com</i> added</li></ul> Redmine - Feature #9112: Libravatar and Gravatar-compatible servers supporthttps://www.redmine.org/issues/9112?journal_id=915132019-05-04T02:10:24ZGo MAEDA
<ul><li><strong>File</strong> <a href="/attachments/22941">avatar_service_url_configuration-v3.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/22941/avatar_service_url_configuration-v3.patch">avatar_service_url_configuration-v3.patch</a> added</li></ul><p>Updated the patch. I have changed the config name from <code>avatar_service_url</code> to <code>avatar_server_url</code> because users may use their own avatar <em>server</em> instead of <em>services</em> such as Gravatar and Libravatar.</p>
<p>You can see the list of opensource Gravatar-compatible servers: <a class="external" href="https://wiki.libravatar.org/running_your_own/">https://wiki.libravatar.org/running_your_own/</a></p> Redmine - Feature #9112: Libravatar and Gravatar-compatible servers supporthttps://www.redmine.org/issues/9112?journal_id=915152019-05-04T09:12:22ZGo MAEDA
<ul><li><strong>File</strong> <a href="/attachments/22942">text_avatar_server_config_html@2x.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/22942/text_avatar_server_config_html@2x.png">text_avatar_server_config_html@2x.png</a> added</li><li><strong>File</strong> <a href="/attachments/22943">avatar_service_url_configuration-v4.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/22943/avatar_service_url_configuration-v4.patch">avatar_service_url_configuration-v4.patch</a> added</li></ul><p>Added a message about the avatar server configuration on the settings page. Users will have a chance to know by this message that the avatar server is configurable.</p>
<p><img src="https://www.redmine.org/attachments/download/22942/text_avatar_server_config_html@2x.png" srcset="https://www.redmine.org/attachments/download/22942/text_avatar_server_config_html@2x.png 2x" style="width: 616px;border: 1px solid #ccc;" alt="" /></p> Redmine - Feature #9112: Libravatar and Gravatar-compatible servers supporthttps://www.redmine.org/issues/9112?journal_id=915202019-05-04T13:23:11ZMarius BÄ‚LTEANU
<ul></ul><p>Nice addition.</p> Redmine - Feature #9112: Libravatar and Gravatar-compatible servers supporthttps://www.redmine.org/issues/9112?journal_id=915222019-05-04T16:00:50ZGo MAEDA
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li><li><strong>Assignee</strong> set to <i>Go MAEDA</i></li><li><strong>Resolution</strong> set to <i>Fixed</i></li></ul><p>Committed the patch. Thank you all for suggesting this feature.</p> Redmine - Feature #9112: Libravatar and Gravatar-compatible servers supporthttps://www.redmine.org/issues/9112?journal_id=918212019-05-17T05:55:17ZOliver Falk
<ul></ul><p>Go MAEDA wrote:</p>
<blockquote>
<p>Committed the patch. Thank you all for suggesting this feature.</p>
</blockquote>
<p>Awesome! Thanks a lot for your work!</p>
<p>Oliver</p> Redmine - Feature #9112: Libravatar and Gravatar-compatible servers supporthttps://www.redmine.org/issues/9112?journal_id=919912019-05-23T05:45:44ZGo MAEDA
<ul><li><strong>Status</strong> changed from <i>Closed</i> to <i>Reopened</i></li></ul> Redmine - Feature #9112: Libravatar and Gravatar-compatible servers supporthttps://www.redmine.org/issues/9112?journal_id=919932019-05-23T05:46:31ZGo MAEDA
<ul><li><strong>Blocked by</strong> <i><a class="issue tracker-1 status-5 priority-4 priority-default closed" href="/issues/31428">Defect #31428</a>: Gravatar can't be displayed when copy configration.yml.example to configration.yml</i> added</li></ul> Redmine - Feature #9112: Libravatar and Gravatar-compatible servers supporthttps://www.redmine.org/issues/9112?journal_id=919972019-05-23T08:29:46ZGo MAEDA
<ul><li><strong>Status</strong> changed from <i>Reopened</i> to <i>Closed</i></li></ul><p>Committed the fix for <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: Gravatar can't be displayed when copy configration.yml.example to configration.yml (Closed)" href="https://www.redmine.org/issues/31428">#31428</a> in <a class="changeset" title="Gravatar icons are broken if configuration.yml.example file is used as is (#9112, #31428). Contr..." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/18192">r18192</a>.</p> Redmine - Feature #9112: Libravatar and Gravatar-compatible servers supporthttps://www.redmine.org/issues/9112?journal_id=934112019-08-31T02:22:10ZGo MAEDA
<ul><li><strong>Subject</strong> changed from <i>Libravatar support</i> to <i>Libravatar and Gravatar-compatible servers support</i></li></ul>