Andrew Burns
35b02997f8
Fix Gravatar images in web view (like commit listing)
...
Related to #700
In the original bug report it was referencing only the sytem avatar images for setup users (like in the header); however the problem also persists with things like commit history.
This commit fixes the `tool.AvatarLink` function so that it also uses the already existing `avatar.HashEmail` function.
I also refactored the `tool.AvatarLink` method some to make the control flow more apparent and adhere better to DRY (there were multiple calls to the `EncodeMd5` function that the `HashEmail` function call replaced, now there is only one.)
10 years ago
Andrew Burns
adc1ac689e
HashEmail function should also remove spaces
...
According to the [Gravatar API](https://en.gravatar.com/site/implement/hash/ ) whitespace should also be removed from the email, it was not doing this previously.
10 years ago
dennis-smurf
d0a80e432d
Addded sha1 pattern in markdown for current repository
10 years ago
Unknwon
9558999698
mirror fix
10 years ago
Unknwon
d75013a0e8
fix #580
10 years ago
Unknwon
db4951bc61
mirror fix on oauth2
10 years ago
Unknwon
d6132aaa88
fix oauth2
10 years ago
Unknwon
54d25c13d7
Fix #543
10 years ago
Unknwon
ef275ebf62
more on change avatar
10 years ago
Unknwon
55dfe2c978
custom avatar upload
10 years ago
Unknwon
3c3f7c2a56
Fix #643
10 years ago
Unknwon
ce8d4cc80b
#634
10 years ago
Unknwon
37d8d3afe9
more APIs on #12
10 years ago
Unknwon
32dcaefafa
fox #620
10 years ago
Unknwon
a0f9197b45
GetFile api
10 years ago
Unknwon
340a4595dd
support duoshuo mirror of gravatar
10 years ago
Unknwon
52d66ba6c8
#12 , use go-gogs-client
10 years ago
Sean Keery
6bdb8ec4b9
Add function argument missing
...
Not enough arguments in call to c.AddFunc when I copied and pasted
10 years ago
Unknwon
9dc3c93a6a
#12 , add/edit hook
10 years ago
Unknwon
8eb5120fbd
#12 , API: list user repos, list repo hooks
10 years ago
Unknwon
8c9338a537
add personal access token panel #12
10 years ago
Unknwon
e0de6cb5ad
work on #616 and update locales
10 years ago
Unknwon
35977cd34c
continue work on #255
10 years ago
Unknwon
abc57b6e43
work on #609
10 years ago
Unknwon
23eec25274
Fix #605 , fix #255 , fix #101
10 years ago
Unknwon
0c5ba4573a
fix session API broken and SQL pretection
10 years ago
Andy Leap
5094e9501c
Add basic FCGI support
10 years ago
mcheng89
b9881d1e7b
check for smtp AUTH extension
10 years ago
Unknwon
f1d8746264
Fix fork repo and macaron API broken
10 years ago
Christopher Brickley
3794111460
update slack hook to use new format
10 years ago
Unknwon
a342d58d7e
Able to fork repo to individuals
10 years ago
Unknwon
3abc41ccca
Fix API broken
10 years ago
Unknwon
fa241efa6d
Use binding middleware
10 years ago
Unknwon
9ae92459a5
Fix repo css and rel path img in md
10 years ago
Unknwon
3005c4f6db
Fix diff css style, hooks \r char
10 years ago
Unknwon
963354c5d7
Add raw, history file button, and other mirror fixes
10 years ago
Unknwon
b2632dec09
Page: Compare 2 commits
10 years ago
Unknwon
39931f8e00
Allow mail with self-signed certificates
10 years ago
Michel Roux
6705559ce0
Fix malformed address
10 years ago
Unknwon
1e1f9e7166
Update with macaron
10 years ago
Unknwon
64c68220d2
Fix #264
10 years ago
Unknwon
91e5c24a31
Fix #522
10 years ago
Linquize
67c44b7d27
If git >= 2.0, sort tags in descending order by version number
10 years ago
Unknwon
263d409326
Basic xss prevention
10 years ago
Unknwon
2a031c1365
Fix #515
10 years ago
Martin van Beurden
bb05ef907b
Fix AvatarLink when using a suburl and gravatar is disabled or avatars are cached
10 years ago
Unknwon
49193bebd2
UI: Confirmation box
10 years ago
Unknwon
f69761563b
Fix bug on transfer repo
10 years ago
Unknwon
25268577a5
Fix download archive issue
10 years ago
Unknwon
a1109e6fbc
Page: Repository home page
10 years ago