46 Commits

Author SHA1 Message Date
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
37fcc8daf2 modules/base: add RenderCommitMessage with XSS-safe and special links
- update russian locale
2015-01-30 18:05:20 -05:00
8e384ce46c fix #828, may cause unintentional break in other features, but security is no.1 2015-01-20 13:08:49 +08:00
e6f97c78ff Change chardet to gogits 2015-01-15 12:40:16 +02:00
3af757ed77 Replace mahonia with the standard functions in the Golang Sub-repositories 2014-12-22 11:01:52 +02:00
9a1fe801e5 fix #711 2014-12-09 02:18:25 -05:00
35977cd34c continue work on #255 2014-11-07 16:44:25 -05:00
a342d58d7e Able to fork repo to individuals 2014-10-19 01:35:24 -04:00
b2632dec09 Page: Compare 2 commits 2014-10-10 21:40:51 -04:00
f69761563b Fix bug on transfer repo 2014-09-25 16:36:19 -04:00
7ba9257a7f Add suburl support 2014-09-19 20:11:34 -04:00
0055cbd365 Allow Gogs to run from a suburl behind a reverse proxy. e.g. http://mydomain.com/gogs/
Conflicts:
	modules/setting/setting.go

Conflicts:
	templates/repo/release/list.tmpl
	templates/user/dashboard/dashboard.tmpl

Conflicts:
	routers/repo/setting.go
2014-09-18 20:50:48 +02:00
8a09256941 Mirror fix and fix #481 2014-09-17 14:22:51 -04:00
ed84adb679 toutf8 improved & add max git diff lines 2014-09-17 12:03:03 +08:00
5605af973b Feature: Social sign in 2014-08-09 18:01:29 -07:00
7bbf644dd5 Convert captcha, cache, csrf as middlewares 2014-07-31 17:25:34 -04:00
5c4bc3c848 Huge updates!!!!! Be careful to merge!!!! 2014-07-26 02:28:04 -04:00
8dd07c0ddd New UI merge in progress 2014-07-26 00:24:27 -04:00
688ec6ecbd Fixed #209 2014-05-25 20:11:25 -04:00
5e9a45f74a Code convention 2014-05-21 21:37:13 -04:00
501f70e248 fix news feed repo link 2014-05-09 14:42:50 +08:00
7cb5a15c9b Batch of mirror fixes 2014-05-06 13:47:47 -04:00
bbdfe25769 User code clean and ui improve 2014-05-05 16:21:43 -04:00
62d23e9154 HTTP no follow and offline mode 2014-04-27 01:05:13 -06:00
d2b53dd43b Add weibo oauth 2014-04-13 21:00:12 -04:00
4c1452574a go get 2014-04-13 05:02:11 -04:00
ea74be2f2e go get 2014-04-13 04:27:29 -04:00
11f54b1426 Mirror bug fix 2014-04-11 12:14:11 -04:00
a4cbe79567 fix 2014-04-10 14:20:58 -04:00
f3ed11d177 mistakes 2014-04-10 14:20:01 -04:00
115a349131 Fix #67 2014-04-08 12:41:33 -04:00
e2fe220905 Work on comment 2014-04-07 00:47:19 -04:00
b7c3b0cc73 Add reset password, fix #58 2014-04-05 12:32:34 -04:00
66b697a513 add ShortSha template func 2014-03-30 10:05:54 +08: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
369ddf76a8 Batch fix 2014-03-21 01:09:22 -04:00
757f360949 Render data in commit list page 2014-03-19 13:14:56 -04:00
35d473f04a Finish verify email 2014-03-19 12:50:44 -04:00
56af7e99a8 fork render 2014-03-19 21:58:51 +08:00
3da325591b bug fixed for commits list 2014-03-19 14:39:07 +08:00
26f9962b6e clone in ssh 2014-03-17 18:13:07 +08:00
0f68930892 Add latest commit in repo viewer 2014-03-17 00:57:18 -04:00
4224ef142e Add template func FileSize 2014-03-15 12:29:49 -04:00
fa5ad1e465 move templateFuncs to one file, add middleware context. 2014-03-15 19:01:50 +08:00