Commit Graph

79 Commits (716209563532587928099b33f0481d44fbf78c46)

Author SHA1 Message Date
Unknwon 58e004f7da Remove cache avatar support and add its tests
Kim "BKC" Carlbäcker 1ab8a60d73 Not working, but slightly better...
Kim "BKC" Carlbäcker 3a9fd81f59 Custom URL-Schemas for Markdown
Kim "BKC" Carlbäcker a1a4f1103c Made Sanitizer-setup cleaner
Kim "BKC" Carlbäcker 8e09e03127 Checklist-rendering implemented
Unknwon f43cc90841 Truncate repository name if too long
Unknwon 4993ab1a76 fall back to use custom chardet lib
Unknwon 44637f03cc fast detection of utf-8
Unknwon 93f03707a7 set text/plain for non-binary files in raw mode
Unknwon 85af36332b fix utf-8 recognized as windows-1252
Unknwon 95f9c85bcc use Go sub-repo to detect encoding
Unknwon 7f9598141b fix
Unknwon 1d57f0d64f Show custom avatars in commits
Unknwon c8d92fad30 pushing new branch will rereference issues in previous branch
Hongcai Deng e4d4662074 add regexp to restrict `<code class=""></code>`
Hongcai Deng 357c002c03 add allow attribute `class` to `<code>`
Unknwon a329bbc215 new org dashboard issues
Unknwon 6c2536b89c fix timezone
Unknwon a5b09b30d0 print time to debug
Unknwon 390027496c use UTC for TimeSince
Unknwon 133b19d0c5 finish view comments on issue page
Unknwon 922f3f3062 finish create issue with labels
Unknwon b72e75e522 : OFFLINE_MODE Still Uses Gravatar
Peter Smit 7759b9ee6e Remove the "PHP" style formatting function
The "PHP" formatting function doesn't add anything, except an undocumented date format.

All usages in the templates have been replaced with DateFmtShort and DateFmtLong for convenience.
Unknwon ee6786216a modules/base: clean code with
Unknwon 9ee80e3e54 fix compile error
Mageti e321469884 remove unused code in BasicAuthDecode
Mageti b7ebbb4064 Correction for
Correction for 
Bug was : decode failed if the password contains ```:```
Andrew Burns 35b02997f8 Fix Gravatar images in web view (like commit listing)
Related to 

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.)
Unknwon 340a4595dd support duoshuo mirror of gravatar
Unknwon 8c9338a537 add personal access token panel
Unknwon abc57b6e43 work on
Unknwon f1d8746264 Fix fork repo and macaron API broken
Unknwon 263d409326 Basic xss prevention
Martin van Beurden bb05ef907b Fix AvatarLink when using a suburl and gravatar is disabled or avatars are cached
无闻 568c9b353e Merge pull request from nuss-justin/issue/281
Fix . Add mouse-over precise time and on-click switch listener.
Unknwon 7bbf644dd5 Convert captcha, cache, csrf as middlewares
Justin Nuß 91480f3791 Merge branch 'dev' of https://github.com/gogits/Gogs into issue/281
Conflicts:
	modules/base/tool.go
Unknwon 8dd07c0ddd New UI merge in progress
Justin Nuß 835e85b5ce Fix . Add mouse-over precise time and on-click switch listener.
Unknown 63cc14062a Paging function for users and repositories
slene 4ee6bc4fca fix for new git api
Unknown 688ec6ecbd Fixed
Unknown a641854cad command dump
Christopher Brickley b9a1d13c29 change gravatar image to match URL scheme
Unknown 9d983f27d6 go vet
Unknown e2fe220905 Work on comment
Unknown e7c8a3cb8d Add salt for every single user
Unknown eb803ec5eb Add transfer repository
Unknown 8282828820 Fix action email bug