1
1
mirror of https://github.com/go-gitea/gitea synced 2024-06-02 01:15:48 +00:00
Commit Graph

349 Commits

Author SHA1 Message Date
Alexey Makhov
563e8b4ea9 gitlab-like hash naming 2015-02-19 00:52:22 +03: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
Peter Smit
5cd887dba5 Fixes #921
Fixes #921 and makes the Mention regexp be in line with the others
2015-02-09 12:56:46 +02:00
Unknwon
afccd0a3ee models/action.go: mirror fix on #892
- modules/base/markdown.go: fix issue link issue
- routers/repo/view.go: remove useless code
2015-02-06 20:34:49 -05:00
Unknwon
0669897226 modules/base: fix markdown mention regex for #826
- conf/locale: add mew translator profile
2015-02-06 19:15:58 -05:00
无闻
ddddad9792 Merge pull request #826 from deringer/dev
Fix user mention bug when parsing markdown documents
2015-02-06 19:03:35 -05:00
Unknwon
bfce0def25 modules/base: fix README filename checker, fix #877 2015-02-02 23:04:36 -05:00
Unknwon
ee6786216a modules/base: clean code with #838 2015-01-30 18:12:30 -05:00
Unknwon
37fcc8daf2 modules/base: add RenderCommitMessage with XSS-safe and special links
- update russian locale
2015-01-30 18:05:20 -05:00
Unknwon
8e384ce46c fix #828, may cause unintentional break in other features, but security is no.1 2015-01-20 13:08:49 +08:00
Peter Smit
e6f97c78ff Change chardet to gogits 2015-01-15 12:40:16 +02:00
Michael Dyrynda
c7cbdd34fb Adjust MentionPattern to not match users mid-sentence (or email addresses)
Fix link to user profile, update based on adjusted MentionPattern
2015-01-03 22:03:41 +10:30
Peter Smit
3af757ed77 Replace mahonia with the standard functions in the Golang Sub-repositories 2014-12-22 11:01:52 +02:00
Unknwon
9ee80e3e54 fix compile error 2014-12-10 05:10:26 -05:00
无闻
b2c6a6920f Merge pull request #727 from Mageti/master
Correction for #723
2014-12-10 05:03:50 -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
Unknwon
9a1fe801e5 fix #711 2014-12-09 02:18:25 -05: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
dennis-smurf
d0a80e432d Addded sha1 pattern in markdown for current repository 2014-12-01 09:30:35 +01:00
Unknwon
340a4595dd support duoshuo mirror of gravatar 2014-11-16 20:27:04 -05:00
Unknwon
52d66ba6c8 #12, use go-gogs-client 2014-11-14 17:11:30 -05:00
Unknwon
9dc3c93a6a #12, add/edit hook 2014-11-13 12:57:00 -05:00
Unknwon
8c9338a537 add personal access token panel #12 2014-11-12 06:48:50 -05:00
Unknwon
35977cd34c continue work on #255 2014-11-07 16:44:25 -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
a342d58d7e Able to fork repo to individuals 2014-10-19 01:35:24 -04:00
Unknwon
9ae92459a5 Fix repo css and rel path img in md 2014-10-14 23:44:34 -04:00
Unknwon
b2632dec09 Page: Compare 2 commits 2014-10-10 21:40:51 -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
Unknwon
f69761563b Fix bug on transfer repo 2014-09-25 16:36:19 -04:00
Unknwon
7ba9257a7f Add suburl support 2014-09-19 20:11:34 -04:00
Martin van Beurden
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
Unknwon
8a09256941 Mirror fix and fix #481 2014-09-17 14:22:51 -04:00
lunnyxiao
ed84adb679 toutf8 improved & add max git diff lines 2014-09-17 12:03:03 +08:00
Unknwon
97a373f5e7 Fix #362, update code with upstream 2014-08-23 21:13:55 +08:00
Unknwon
5605af973b Feature: Social sign in 2014-08-09 18:01:29 -07: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
5c4bc3c848 Huge updates!!!!! Be careful to merge!!!! 2014-07-26 02:28:04 -04: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
Unknown
9924e65ca1 In progress of name template name constant 2014-06-22 13:14:03 -04:00
slene
4ee6bc4fca fix for new git api 2014-05-28 14:01:41 +08:00
Unknown
2f820e01d8 Fixed #209 2014-05-25 20:17:26 -04:00
Unknown
688ec6ecbd Fixed #209 2014-05-25 20:11:25 -04:00
Unknown
5e9a45f74a Code convention 2014-05-21 21:37:13 -04:00
Unknown
5660570d92 Add MustValueRange 2014-05-18 22:05:35 -04:00
Unknown
be82716b66 Clean old LDAP code 2014-05-15 23:03:26 -04:00
Lunny Xiao
7869cfccb9 Merge pull request #192 from DerDackel/ldapssl
Add LDAP over SSL support
2014-05-15 20:52:05 +08:00
Sebastian Jackel
eb264a112b Add LDAP over SSL support 2014-05-15 14:27:16 +02:00
Unknown
f979d0d6b9 Fix #138 2014-05-12 19:32:35 -04:00
Unknown
0970d6cc38 Log to different adapter according to level 2014-05-11 14:37:12 -04:00
Unknown
fd4b123e88 Fix #94 and fix #169 2014-05-11 11:18:10 -04:00
jiangjianxiao
501f70e248 fix news feed repo link 2014-05-09 14:42:50 +08:00
Unknown
8ca14e2109 Improve delete SSH key 2014-05-06 16:28:52 -04:00
Unknown
7cb5a15c9b Batch of mirror fixes 2014-05-06 13:47:47 -04:00
Unknown
bbdfe25769 User code clean and ui improve 2014-05-05 16:21:43 -04:00
Unknown
c1eb4d894a Clean api code 2014-05-05 13:08:01 -04:00
Unknown
07c3d497a7 Fix #145 2014-05-05 02:49:33 -04:00
Unknown
816c0ed5e7 Fix import path 2014-05-05 02:42:52 -04:00
Unknown
a641854cad command dump 2014-05-05 00:55:17 -04:00
Unknown
e7d8fadb08 Add disable gravatar option 2014-05-01 21:30:04 -04:00
Unknown
3bd5fc6d6f Add command dump and move to cmd did 2014-05-01 21:21:46 -04:00
Unknown
100cd181bc Add router log config option 2014-05-01 18:53:41 -04:00
Unknown
2a1dc0085b fix #91 2014-05-01 07:35:21 -04:00
Unknown
62d23e9154 HTTP no follow and offline mode 2014-04-27 01:05:13 -06:00
Unknown
59d0e73c35 Batch mirror fix 2014-04-26 22:34:48 -06:00
Unknown
89b68bdd45 Merge branch 'master' of github.com:gogits/gogs
Conflicts:
	modules/base/conf.go
2014-04-26 18:34:58 -06:00
Unknown
9dfb7de371 Fix #102 2014-04-26 01:22:22 -06:00
Lunny Xiao
1b734501bd bug fixed 2014-04-26 14:25:51 +08:00
Lunny Xiao
0da329462e bug fixed 2014-04-26 14:14:48 +08:00
无闻
37cbfc032a Merge pull request #112 from juju2013/master
basic support for LDAP/Microsoft Active Directory authentication
2014-04-24 14:25:56 -06:00
juju2013
efc05ea1de initial support for LDAP authentication/MSAD 2014-04-23 23:07:54 +02:00
Unknown
5435b259cc Merge branch 'master' of github.com:gogits/gogs into dev 2014-04-22 05:30:53 -04:00
Unknown
2a9da4b8e5 Fix #92 2014-04-22 03:41:47 -04:00
Bryan Johnson
34d18a19a3 Minor grammatical fix for Disable Registration feature 2014-04-21 18:03:04 -04:00
Unknown
de01f81489 Prepare for v0.3.0 release 2014-04-21 06:54:07 -04:00
Unknown
8bed017557 Add build tag enable prompt 2014-04-19 22:13:22 -04:00
Unknown
eda3f8b3b3 Mirror updates 2014-04-19 06:00:08 -04:00
Christopher Brickley
b9a1d13c29 change gravatar image to match URL scheme 2014-04-14 22:01:24 -04:00
Unknown
c36e7d322e Mirror updates 2014-04-14 04:11:33 -04:00
Unknown
f644cefa86 Finish release 2014-04-14 01:57:25 -04:00
Unknown
d2b53dd43b Add weibo oauth 2014-04-13 21:00:12 -04:00
Unknown
4b9b8024ba Clean oauth code 2014-04-13 18:12:07 -04:00
Unknown
4c1452574a go get 2014-04-13 05:02:11 -04:00
Unknown
ea74be2f2e go get 2014-04-13 04:27:29 -04:00
Unknown
9d983f27d6 go vet 2014-04-13 03:14:43 -04:00
Unknown
5c2da610a2 Move binding as subrepo 2014-04-13 01:57:42 -04:00
Unknown
d305448fa8 Mirror bug fix 2014-04-11 23:52:08 -04:00
Unknown
11f54b1426 Mirror bug fix 2014-04-11 12:14:11 -04:00
zhsso
a4cbe79567 fix 2014-04-10 14:20:58 -04:00
zhsso
f3ed11d177 mistakes 2014-04-10 14:20:01 -04:00
Unknown
5d4025cb5a Add go get meta support 2014-04-09 21:42:25 -04:00
slene
3487f17285 markdown render html 2014-04-10 08:21:51 +08:00
Unknown
115a349131 Fix #67 2014-04-08 12:41:33 -04:00
Unknown
22feddf804 Fix #66 2014-04-07 14:24:58 -04:00
Unknown
7776f407b6 Fix issue with log in with GitHub but need more error handle after 2014-04-07 13:00:59 -04:00
Unknown
9ea9818d32 Fix issue with log in with GitHub but need more error handle after 2014-04-07 12:56:40 -04:00
Unknown
8c9a0494ec Add @ # commit link detect on all markdown render 2014-04-07 01:55:22 -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
db1fe3483e Fix bug related to log 2014-04-06 13:54:48 -04:00
Unknown
6a16866f4e Fix bug related to log 2014-04-06 13:41:58 -04:00
Unknown
2846ff7d31 Fix bug related to log 2014-04-06 13:00:20 -04:00
Unknown
b7c3b0cc73 Add reset password, fix #58 2014-04-05 12:32:34 -04:00
Unknown
eb803ec5eb Add transfer repository 2014-04-04 18:31:09 -04:00
Unknown
2a0066420a Fix bug work with sqlite3 2014-03-30 16:01:50 -04:00
Unknown
9f91dee53f Bug fix #45 2014-03-30 11:09:59 -04:00
slene
66b697a513 add ShortSha template func 2014-03-30 10:05:54 +08:00
Unknown
107a1eadac Finish close and reopen issue, install page, ready going to test stage of v0.2.0 2014-03-29 17:50:51 -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
a55941ff83 Add auto-detect home directory 2014-03-28 17:34:07 -04:00
Unknown
cb05b8325c Update config option 2014-03-28 08:39:35 -04:00
Unknown
0fd754bbe0 Working on install page 2014-03-28 07:26:22 -04:00
Unknown
eb6021f73f Fix issue pages URL params 2014-03-27 19:42:10 -04:00
slene
10b412d237 commit raw file 2014-03-28 00:50:13 +08:00
slene
346db02d89 fix image display 2014-03-28 00:30:20 +08:00
Unknown
dd6246877d Almost done diff page 2014-03-26 16:41:16 -04:00
Unknown
7ab94fe816 Fix issue on windows 2014-03-26 09:22:08 -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
Unknown
197c4d4a5b Fix wrong serve command log location and commit repo action 2014-03-25 08:53:11 -04:00
Unknown
7aa0a97d10 Mirror fix 2014-03-25 07:10:23 -04:00
Unknown
be69e74bc0 Mirror fix 2014-03-25 07:06:56 -04:00
Unknown
e95be2cb3e Merge branch 'master' of github.com:gogits/gogs
Conflicts:
	conf/app.ini
2014-03-25 06:54:22 -04:00
Unknown
eeb793524f Check run user 2014-03-25 06:52:56 -04:00
FuXiaoHei
7f6126dd04 install sample page 2014-03-25 16:51:42 +08:00
Unknown
d2ceb001d0 Merge branch 'master' of github.com:gogits/gogs 2014-03-24 11:58:58 -04:00
Unknown
6337d3bf19 Show dashbard 2014-03-24 11:58:46 -04:00
slene
ff36248419 raw download 2014-03-24 23:56:32 +08:00
Unknown
8aec5e16c4 Locating issue of git push not update repo last updated time 2014-03-24 09:32:24 -04:00
Unknown
b9b82cfe47 Mirror updates 2014-03-23 19:09:11 -04:00
Unknown
6bc7ae971a Mirror fix 2014-03-23 10:58:50 -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
4adb024715 minor fix markdown setting 2014-03-23 16:40:51 +08:00
Unknown
7356153ba3 Batch updates 2014-03-22 17:59:22 -04:00
Unknown
cb52f6d07d Add auto-login 2014-03-22 16:40:09 -04: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
slene
f9c07c4186 update session 2014-03-22 20:49:53 +08:00
Unknown
7a1ff8636c Add config option: Picture cache path 2014-03-22 06:42:19 -04:00
Unknown
f219ddcf4e Add log config panel in admin 2014-03-21 12:13:13 -04:00
Unknown
d40499e7fa Finsih mail resend limit 2014-03-21 10:09:57 -04:00
slene
c7e0d3a499 add cache 2014-03-21 21:06:47 +08:00
Unknown
c1576b4c40 Add admin add user 2014-03-21 03:27:59 -04:00
Unknown
5373a3093e config option: Require sign in to view repository 2014-03-21 01:59:15 -04:00
Unknown
f6596f11c4 All configuration reload-able 2014-03-21 01:48:10 -04:00
Unknown
369ddf76a8 Batch fix 2014-03-21 01:09:22 -04:00
Unknown
06631ab91f Basic admin data table, models changes 2014-03-20 16:04:56 -04:00
slene
47234f1031 fix ext 2014-03-20 21:11:48 +08:00
slene
21379e30a1 fix link 2014-03-20 17:31:18 +08:00
Unknown
ebc3d86e63 Merge branch 'master' of github.com:gogits/gogs
Conflicts:
	routers/repo/single.go
2014-03-20 01:48:55 -04:00
Unknown
bbd38829eb Mirror fix 2014-03-20 01:48:03 -04:00
slene
24678d73f5 read single file 2014-03-20 13:31:24 +08:00
Unknown
6f68620860 Pools limit concurrent nums 2014-03-19 21:05:48 -04:00
Unknown
601c10309d Bug fix 2014-03-19 13:24:46 -04:00
Unknown
757f360949 Render data in commit list page 2014-03-19 13:14:56 -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
Gogs
56af7e99a8 fork render 2014-03-19 21:58:51 +08: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
bd9d90d8c4 Add some log 2014-03-19 04:48:45 -04:00
Unknown
cef9bbd530 Add complete log configuration 2014-03-19 04:08:25 -04:00
Unknown
57db97b32c Merge branch 'master' of github.com:gogits/gogs 2014-03-19 03:24:23 -04:00
Unknown
460aa3eaa9 optimize log 2014-03-19 03:24:17 -04:00
Lunny Xiao
9e8e910bd6 merge 2014-03-19 14:40:49 +08:00
Lunny Xiao
3da325591b bug fixed for commits list 2014-03-19 14:39:07 +08:00
Unknown
a3a93aef11 Add some config options 2014-03-18 01:33:53 -04:00
Unknown
e51afe4621 Add postgres support, clean code, code review 2014-03-17 14:03:58 -04:00
slene
4249cec68c resolve relative path in markdown file 2014-03-17 23:22:27 +08:00
slene
5bc2a1a6f9 show readme.md 2014-03-17 18:46:54 +08:00
slene
26f9962b6e clone in ssh 2014-03-17 18:13:07 +08: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
8dd956f88a Move custom dir to custom/ 2014-03-12 21:40:18 -04:00
Unknown
6ce9d800d0 Add custom.ini 2014-03-10 23:03:17 -04:00
Unknown
5a05d6633d Merge utils to modules 2014-03-07 17:22:15 -05:00
Unknown
c6f2c23b05 Add binding form for register user 2014-03-06 02:21:44 -05:00