158 Commits

Author SHA1 Message Date
922f3f3062 finish create issue with labels 2015-08-10 16:52:08 +08:00
b72e75e522 #1024: OFFLINE_MODE Still Uses Gravatar 2015-03-12 20:32:38 -04:00
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.
2015-02-16 14:44:27 +02:00
ee6786216a modules/base: clean code with #838 2015-01-30 18:12:30 -05:00
9ee80e3e54 fix compile error 2014-12-10 05:10:26 -05:00
e321469884 remove unused code in BasicAuthDecode 2014-12-10 11:01:17 +01:00
b7ebbb4064 Correction for #723
Correction for #723
Bug was : decode failed if the password contains ```:```
2014-12-10 10:51:51 +01:00
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.)
2014-12-05 11:02:59 -07:00
340a4595dd support duoshuo mirror of gravatar 2014-11-16 20:27:04 -05:00
8c9338a537 add personal access token panel #12 2014-11-12 06:48:50 -05:00
abc57b6e43 work on #609 2014-11-07 14:46:13 -05:00
f1d8746264 Fix fork repo and macaron API broken 2014-10-24 18:43:17 -04:00
263d409326 Basic xss prevention 2014-10-04 17:15:22 -04:00
bb05ef907b Fix AvatarLink when using a suburl and gravatar is disabled or avatars are cached 2014-09-28 14:27:13 +02:00
568c9b353e Merge pull request #311 from nuss-justin/issue/281
Fix #281. Add mouse-over precise time and on-click switch listener.
2014-08-01 00:15:06 -04:00
7bbf644dd5 Convert captcha, cache, csrf as middlewares 2014-07-31 17:25:34 -04:00
91480f3791 Merge branch 'dev' of https://github.com/gogits/Gogs into issue/281
Conflicts:
	modules/base/tool.go
2014-07-26 11:23:58 +02:00
8dd07c0ddd New UI merge in progress 2014-07-26 00:24:27 -04:00
835e85b5ce Fix #281. Add mouse-over precise time and on-click switch listener. 2014-07-24 22:31:59 +02:00
63cc14062a Paging function for users and repositories 2014-07-07 04:15:08 -04:00
4ee6bc4fca fix for new git api 2014-05-28 14:01:41 +08:00
688ec6ecbd Fixed #209 2014-05-25 20:11:25 -04:00
a641854cad command dump 2014-05-05 00:55:17 -04:00
b9a1d13c29 change gravatar image to match URL scheme 2014-04-14 22:01:24 -04:00
9d983f27d6 go vet 2014-04-13 03:14:43 -04:00
e2fe220905 Work on comment 2014-04-07 00:47:19 -04:00
e7c8a3cb8d Add salt for every single user 2014-04-06 16:10:57 -04:00
eb803ec5eb Add transfer repository 2014-04-04 18:31:09 -04:00
8282828820 Fix action email bug 2014-03-29 07:50:25 -04:00
a726c125b5 Add PushCommit 2014-03-29 19:29:52 +08:00
eb6021f73f Fix issue pages URL params 2014-03-27 19:42:10 -04:00
dd6246877d Almost done diff page 2014-03-26 16:41:16 -04:00
ed9b7d2db9 More on diff page 2014-03-26 07:24:20 -04:00
d3b8e9daa1 Add notify watcher action 2014-03-25 14:04:57 -04:00
2fa8d0c8dd Added create issue 2014-03-25 12:12:27 -04:00
4bac361605 merge with branch master 2014-03-23 22:40:35 +08:00
97debac185 SSL enable config option 2014-03-23 08:40:40 -04:00
c386bb4bd3 Bug fix 2014-03-23 06:34:41 -04:00
1eb078d0a8 Fix action 2014-03-23 06:27:01 -04:00
964e537479 append route to web 2014-03-23 18:13:23 +08:00
5edd57e482 Merge branch 'master' of github.com:gogits/gogs 2014-03-23 01:45:21 +08:00
076fc98d98 add csrf check 2014-03-23 01:44:02 +08:00
fd1831052c Update session 2014-03-22 09:21:57 -04:00
35d473f04a Finish verify email 2014-03-19 12:50:44 -04:00
ddbd2ce152 Add register mail tpl 2014-03-19 10:46:48 -04:00
de087c7b4a Add send register confirm mail 2014-03-19 08:27:27 -04:00
fbbae2b721 Working on register mail confirmation 2014-03-19 07:21:23 -04:00
0f68930892 Add latest commit in repo viewer 2014-03-17 00:57:18 -04:00
ec65be79f0 Fix commit feed ui 2014-03-16 12:07:35 -04:00
48b2425c1d Push feed 2014-03-16 11:30:35 -04:00