Commit graph

164 commits

Author SHA1 Message Date
Hongcai Deng 357c002c03 add allow attribute class to <code> 2015-09-09 17:31:14 +08:00
Unknwon a329bbc215 new org dashboard issues 2015-08-25 23:22:05 +08:00
Unknwon 6c2536b89c fix timezone 2015-08-20 00:32:18 +08:00
Unknwon a5b09b30d0 print time to debug 2015-08-20 00:25:32 +08:00
Unknwon 390027496c #1500 use UTC for TimeSince 2015-08-20 00:16:54 +08:00
Unknwon 133b19d0c5 finish view comments on issue page 2015-08-13 16:07:11 +08:00
Unknwon 922f3f3062 finish create issue with labels 2015-08-10 16:52:08 +08:00
Unknwon b72e75e522 #1024: OFFLINE_MODE Still Uses Gravatar 2015-03-12 20:32:38 -04:00
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.
2015-02-16 14:44:27 +02:00
Unknwon ee6786216a modules/base: clean code with #838 2015-01-30 18:12:30 -05:00
Unknwon 9ee80e3e54 fix compile error 2014-12-10 05:10:26 -05:00
Mageti e321469884 remove unused code in BasicAuthDecode 2014-12-10 11:01:17 +01:00
Mageti b7ebbb4064 Correction for #723
Correction for #723
Bug was : decode failed if the password contains ```:```
2014-12-10 10:51:51 +01:00
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.)
2014-12-05 11:02:59 -07:00
Unknwon 340a4595dd support duoshuo mirror of gravatar 2014-11-16 20:27:04 -05:00
Unknwon 8c9338a537 add personal access token panel #12 2014-11-12 06:48:50 -05:00
Unknwon abc57b6e43 work on #609 2014-11-07 14:46:13 -05:00
Unknwon f1d8746264 Fix fork repo and macaron API broken 2014-10-24 18:43:17 -04:00
Unknwon 263d409326 Basic xss prevention 2014-10-04 17:15:22 -04:00
Martin van Beurden 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
Unknwon 7bbf644dd5 Convert captcha, cache, csrf as middlewares 2014-07-31 17:25:34 -04:00
Justin Nuß 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
Unknwon 8dd07c0ddd New UI merge in progress 2014-07-26 00:24:27 -04:00
Justin Nuß 835e85b5ce Fix #281. Add mouse-over precise time and on-click switch listener. 2014-07-24 22:31:59 +02:00
Unknown 63cc14062a Paging function for users and repositories 2014-07-07 04:15:08 -04:00
slene 4ee6bc4fca fix for new git api 2014-05-28 14:01:41 +08:00
Unknown 688ec6ecbd Fixed #209 2014-05-25 20:11:25 -04:00
Unknown a641854cad command dump 2014-05-05 00:55:17 -04:00
Christopher Brickley b9a1d13c29 change gravatar image to match URL scheme 2014-04-14 22:01:24 -04:00
Unknown 9d983f27d6 go vet 2014-04-13 03:14:43 -04:00
Unknown e2fe220905 Work on comment 2014-04-07 00:47:19 -04:00
Unknown e7c8a3cb8d Add salt for every single user 2014-04-06 16:10:57 -04:00
Unknown eb803ec5eb Add transfer repository 2014-04-04 18:31:09 -04:00
Unknown 8282828820 Fix action email bug 2014-03-29 07:50:25 -04:00
Lunny Xiao a726c125b5 Add PushCommit 2014-03-29 19:29:52 +08:00
Unknown eb6021f73f Fix issue pages URL params 2014-03-27 19:42:10 -04:00
Unknown dd6246877d Almost done diff page 2014-03-26 16:41:16 -04:00
Unknown ed9b7d2db9 More on diff page 2014-03-26 07:24:20 -04:00
Unknown d3b8e9daa1 Add notify watcher action 2014-03-25 14:04:57 -04:00
Unknown 2fa8d0c8dd Added create issue 2014-03-25 12:12:27 -04:00
skyblue 4bac361605 merge with branch master 2014-03-23 22:40:35 +08:00
Unknown 97debac185 SSL enable config option 2014-03-23 08:40:40 -04:00
Unknown c386bb4bd3 Bug fix 2014-03-23 06:34:41 -04:00
Unknown 1eb078d0a8 Fix action 2014-03-23 06:27:01 -04:00
Gogs 964e537479 append route to web 2014-03-23 18:13:23 +08:00
slene 5edd57e482 Merge branch 'master' of github.com:gogits/gogs 2014-03-23 01:45:21 +08:00
slene 076fc98d98 add csrf check 2014-03-23 01:44:02 +08:00
Unknown fd1831052c Update session 2014-03-22 09:21:57 -04:00
Unknown 35d473f04a Finish verify email 2014-03-19 12:50:44 -04:00
Unknown ddbd2ce152 Add register mail tpl 2014-03-19 10:46:48 -04:00
Unknown de087c7b4a Add send register confirm mail 2014-03-19 08:27:27 -04:00
Unknown fbbae2b721 Working on register mail confirmation 2014-03-19 07:21:23 -04:00
Unknown 0f68930892 Add latest commit in repo viewer 2014-03-17 00:57:18 -04:00
Unknown ec65be79f0 Fix commit feed ui 2014-03-16 12:07:35 -04:00
Unknown 48b2425c1d Push feed 2014-03-16 11:30:35 -04:00
Unknown 8fb4b3afad Add template func FileSize 2014-03-15 12:31:12 -04:00
Unknown 4224ef142e Add template func FileSize 2014-03-15 12:29:49 -04:00
slene fa5ad1e465 move templateFuncs to one file, add middleware context. 2014-03-15 19:01:50 +08:00
slene 06deed820d Add HomeLink and AvatarLink to User model. Please use .SignedUser in template. 2014-03-15 15:28:06 +08:00
Unknown adb17791bd Add basic render of public act 2014-03-15 00:50:51 -04:00
Unknown d50e18ab6d Clean code 2014-03-14 19:34:59 -04:00
Unknown bd6542c2f1 Add TimeSince 2014-03-14 02:32:11 -04:00
Unknown 5a05d6633d Merge utils to modules 2014-03-07 17:22:15 -05:00
Renamed from utils/tool.go (Browse further)