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
Unknwon
340a4595dd
support duoshuo mirror of gravatar
10 years ago
Unknwon
8c9338a537
add personal access token panel #12
10 years ago
Unknwon
abc57b6e43
work on #609
10 years ago
Unknwon
f1d8746264
Fix fork repo and macaron API broken
10 years ago
Unknwon
263d409326
Basic xss prevention
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
7bbf644dd5
Convert captcha, cache, csrf as middlewares
11 years ago
Unknwon
8dd07c0ddd
New UI merge in progress
11 years ago
Justin Nuß
835e85b5ce
Fix #281 . Add mouse-over precise time and on-click switch listener.
11 years ago
Unknown
63cc14062a
Paging function for users and repositories
11 years ago
slene
4ee6bc4fca
fix for new git api
11 years ago
Unknown
688ec6ecbd
Fixed #209
11 years ago
Unknown
a641854cad
command dump
11 years ago
Christopher Brickley
b9a1d13c29
change gravatar image to match URL scheme
11 years ago
Unknown
9d983f27d6
go vet
11 years ago
zhsso
a4cbe79567
fix
11 years ago
zhsso
f3ed11d177
mistakes
11 years ago
Unknown
e2fe220905
Work on comment
11 years ago
Unknown
e7c8a3cb8d
Add salt for every single user
11 years ago
Unknown
eb803ec5eb
Add transfer repository
11 years ago
Unknown
8282828820
Fix action email bug
11 years ago
Lunny Xiao
a726c125b5
Add PushCommit
11 years ago
Unknown
eb6021f73f
Fix issue pages URL params
11 years ago
Unknown
dd6246877d
Almost done diff page
11 years ago
Unknown
ed9b7d2db9
More on diff page
11 years ago
Lunny Xiao
74859010d5
bug fixed
11 years ago
Unknown
d3b8e9daa1
Add notify watcher action
11 years ago
Unknown
2fa8d0c8dd
Added create issue
11 years ago
Unknown
97debac185
SSL enable config option
11 years ago
Unknown
c386bb4bd3
Bug fix
11 years ago
Unknown
1eb078d0a8
Fix action
11 years ago
Gogs
964e537479
append route to web
11 years ago
slene
076fc98d98
add csrf check
11 years ago
Unknown
fd1831052c
Update session
11 years ago
Unknown
35d473f04a
Finish verify email
11 years ago
Unknown
ddbd2ce152
Add register mail tpl
11 years ago
Unknown
de087c7b4a
Add send register confirm mail
11 years ago
Unknown
fbbae2b721
Working on register mail confirmation
11 years ago
Unknown
0f68930892
Add latest commit in repo viewer
11 years ago
Unknown
ec65be79f0
Fix commit feed ui
11 years ago
Unknown
48b2425c1d
Push feed
11 years ago
Unknown
8fb4b3afad
Add template func FileSize
11 years ago
Unknown
4224ef142e
Add template func FileSize
11 years ago
slene
fa5ad1e465
move templateFuncs to one file, add middleware context.
11 years ago
slene
06deed820d
Add HomeLink and AvatarLink to User model. Please use .SignedUser in template.
11 years ago
Unknown
adb17791bd
Add basic render of public act
11 years ago
Unknown
d50e18ab6d
Clean code
11 years ago
Unknown
bd6542c2f1
Add TimeSince
11 years ago
Unknown
5a05d6633d
Merge utils to modules
11 years ago