summaryrefslogtreecommitdiff
path: root/config/gitlab.yml.example
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-04-23 08:52:15 +0000
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-04-23 08:52:15 +0000
commit3295a4db9dc417f368720f7fe9724ec8bee0ddcd (patch)
treeac96ae50c4171bc121b44971920b43b7f0601e39 /config/gitlab.yml.example
parent972e40cc47b267503059ab1ebb55264596de9271 (diff)
parentca19260812c60ece623265afa23429f8f1bdbedb (diff)
downloadgitlab-ce-3295a4db9dc417f368720f7fe9724ec8bee0ddcd.tar.gz
Merge branch 'email_in_gravatar_urls' into 'master'
allow passing user's email address in custom Gravatar urls Some custom avatar systems use the user's email address rather than its hash. This merge request will allow the administrator to configure gitlab-ce to use the user's email address gravatar.plain_url and gravatar.ssl_url in the config file like this: ``` gravatar: enabled: true plain_url: "http://company.com/avatar/?mail=%{email}&size=%{size}" ssl_url: "https://company.com/avatar/?mail=%{email}&size=%{size}" ``` It's a only a 2 word patch.
Diffstat (limited to 'config/gitlab.yml.example')
-rw-r--r--config/gitlab.yml.example1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/gitlab.yml.example b/config/gitlab.yml.example
index 64fc02fe8c2..a266810dc45 100644
--- a/config/gitlab.yml.example
+++ b/config/gitlab.yml.example
@@ -117,6 +117,7 @@ production: &base
## Gravatar
gravatar:
enabled: true # Use user avatar image from Gravatar.com (default: true)
+ # gravatar urls: possible placeholders: %{hash} %{size} %{email}
# plain_url: "http://..." # default: http://www.gravatar.com/avatar/%{hash}?s=%{size}&d=mm
# ssl_url: "https://..." # default: https://secure.gravatar.com/avatar/%{hash}?s=%{size}&d=mm