diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2009-06-30 00:00:51 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-06-30 11:06:35 -0700 |
commit | e9fdd74e5374dd1efe1577057d14a2836b4cae78 (patch) | |
tree | 085b59d68d9371544d9d9085fe38580e00418e4f /t | |
parent | ba9247339dfbd2c2671603e012d011b4b474fa4b (diff) | |
download | git-e9fdd74e5374dd1efe1577057d14a2836b4cae78.tar.gz |
gitweb: (gr)avatar support
Introduce avatar support: the feature adds the appropriate img tag next
to author and committer in commit(diff), history, shortlog, log and tag
views. Multiple avatar providers are possible, but only gravatar is
implemented at the moment.
Gravatar support depends on Digest::MD5, which is a core package since
Perl 5.8. If gravatars are activated but Digest::MD5 cannot be found,
the feature will be automatically disabled.
No avatar provider is selected by default, except in the t9500 test.
Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
-rwxr-xr-x | t/t9500-gitweb-standalone-no-errors.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/t/t9500-gitweb-standalone-no-errors.sh b/t/t9500-gitweb-standalone-no-errors.sh index d539619e89..627518108a 100755 --- a/t/t9500-gitweb-standalone-no-errors.sh +++ b/t/t9500-gitweb-standalone-no-errors.sh @@ -660,6 +660,7 @@ cat >>gitweb_config.perl <<EOF \$feature{'blame'}{'override'} = 1; \$feature{'snapshot'}{'override'} = 1; +\$feature{'avatar'}{'override'} = 1; EOF test_expect_success \ @@ -671,6 +672,7 @@ test_expect_success \ 'config override: tree view, features disabled in repo config' \ 'git config gitweb.blame no && git config gitweb.snapshot none && + git config gitweb.avatar gravatar && gitweb_run "p=.git;a=tree"' test_debug 'cat gitweb.log' |