Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorArnaud ABELARD <arnaud.abelard@univ-nantes.fr>2014-04-13 01:10:45 +0400
committerArnaud ABELARD <arnaud.abelard@univ-nantes.fr>2014-04-13 01:10:45 +0400
commit5d7bdf76426488f3229bb1f97aaa54a676cbf166 (patch)
tree642392bf8acd9a10c34cf48a7d9166d4b9d1659f /config
parent0f31acd0ec9b8a6ccfe9c6b0038736ad724814c0 (diff)
allow using the user's email address as a http parameter in gravatar urls for custom avatar systems. For example:
plain_url: "http://avatar.company.com/avatar/?mail=%{email}&size=%{size}" add mention of the different placeholders possible for gravatar urls, mentionning the new %{email}
Diffstat (limited to 'config')
-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 f30ef528c9d..11df7a5ff15 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