diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2015-05-22 15:35:28 +0200 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2015-05-25 14:53:25 +0200 |
commit | 681ee7b5f288c84150856bcd9a35f0e7ced28b0d (patch) | |
tree | 2a145f62c3c7f76947f4f8364e2a940ecf76f9ce /sonar-core | |
parent | 850622c8e811b7465946165352a17f95f90897df (diff) | |
download | sonarqube-681ee7b5f288c84150856bcd9a35f0e7ced28b0d.tar.gz sonarqube-681ee7b5f288c84150856bcd9a35f0e7ced28b0d.zip |
SONAR-6579 add support of gravatars
Diffstat (limited to 'sonar-core')
-rw-r--r-- | sonar-core/src/main/java/org/sonar/core/config/CorePropertyDefinitions.java | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sonar-core/src/main/java/org/sonar/core/config/CorePropertyDefinitions.java b/sonar-core/src/main/java/org/sonar/core/config/CorePropertyDefinitions.java index a6711488e2d..8a19cd775c7 100644 --- a/sonar-core/src/main/java/org/sonar/core/config/CorePropertyDefinitions.java +++ b/sonar-core/src/main/java/org/sonar/core/config/CorePropertyDefinitions.java @@ -59,6 +59,21 @@ public class CorePropertyDefinitions { .category(CoreProperties.CATEGORY_GENERAL) .subCategory(CoreProperties.SUBCATEGORY_LOOKNFEEL) .build(), + PropertyDefinition.builder("sonar.lf.enableGravatar") + .name("Enable support of gravatars") + .description("Gravatars are profile pictures of users based on their email.") + .type(PropertyType.BOOLEAN) + .defaultValue("true") + .category(CoreProperties.CATEGORY_GENERAL) + .subCategory(CoreProperties.SUBCATEGORY_LOOKNFEEL) + .build(), + PropertyDefinition.builder("sonar.lf.gravatarServerUrl") + .name("Gravatar URL") + .description("Optional URL of custom Gravatar service. Accepted variables are {EMAIL_MD5} for MD5 hash of email and {SIZE} for the picture size in pixels.") + .defaultValue("https://secure.gravatar.com/avatar/{EMAIL_MD5}.jpg?s={SIZE}&d=identicon") + .category(CoreProperties.CATEGORY_GENERAL) + .subCategory(CoreProperties.SUBCATEGORY_LOOKNFEEL) + .build(), // ISSUES PropertyDefinition.builder(CoreProperties.DEFAULT_ISSUE_ASSIGNEE) |