This is an automated email from the ASF dual-hosted git repository. humbedooh pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git
commit d7b597238f6ae43c0c282975e3343462c74cfa21 Author: Daniel Gruno <[email protected]> AuthorDate: Thu Oct 28 22:41:50 2021 +0200 Make gravatar URL configurable, default to proxy --- webui/js/config.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/webui/js/config.js b/webui/js/config.js index d32a9fb..b57289c 100644 --- a/webui/js/config.js +++ b/webui/js/config.js @@ -75,3 +75,8 @@ var prefs = { // array of prefs we have now. This is needed in case we change/break the existing // structure saved in elasticsearch for users. Update when needed! var pref_keys = ['displayMode','groupBy','sortOrder','compactQuotes','notifications','hideStats','theme', 'fullname', 'autoScale'] + +// Gravatar support. Defaults to using the gravatar proxy. +var gravatar_url = "/api/gravatar?md5=%s"; +// For performance or other reasons, this can be set to the origin by uncommenting the below: +// var gravatar_url = "https://secure.gravatar.com/avatar/%s.png?s=96&r=g&d=mm";
