| commit | d0dfc93d1b30d3a5256465f39703cd383ef0cb8c | [log] [tgz] |
|---|---|---|
| author | Edwin Kempin <edwin.kempin@sap.com> | Mon Jul 06 13:39:46 2015 +0200 |
| committer | Edwin Kempin <edwin.kempin@sap.com> | Mon Jul 06 14:01:47 2015 +0200 |
| tree | d7caf080873117e30e6d759e7b3de68615ccb004 | |
| parent | 1cd9dd6c5bb64c2480f2d11449359bcf2f37a704 [diff] |
Use Url class from Gerrit core for URL encoding Change-Id: Icc08e9c50352a61a9a7f3f7e37a0bfdf3df700de Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
This plugin allows to use an own web service to load the avatar images from.
Options:
avatar.url - the location of avatar images containing %s, which will then be replaced by the username. Required.avatar.changeUrl - the URL shown in Gerrit's user settings to tell the user, where the avatar can be changed. Optional.Example (to be added to etc/gerrit.config):
[avatar] url = http://example.org/avatars/%s.jpg changeUrl = http://example.org/account.html
Please note that http:// URLs will be automatically rewritten to https://, if gerrit.canonicalWebUrl uses HTTPS.