Commit Graph

269 Commits

Author SHA1 Message Date
Unknwon d5a3021a7d Make markdown as an independent module 2016-02-20 17:10:05 -05:00
Unknwon 341da3cea7 Fix inappropriate markdown post process end tag check
When <code> is nested inside <pre>, the next end tag token would not able to be the same
as outer-most start tag. So we only check outer-most start and end tag token to be the same.
2016-02-19 17:39:50 -05:00
Unknwon 338af89d56 fix possbility that use email as pusher user name
Remove the possibility of using email as user name when user actually push
through combination of email and password with HTTP.

Also refactor update action function to replcae tons of arguments with
single PushUpdateOptions struct.
And define the user who pushes code as pusher, therefore variable names shouldn't
be confusing any more.
2016-02-17 22:47:06 -05:00
Unknwon 58e004f7da Remove cache avatar support and add its tests 2016-02-14 23:14:55 -05:00
Unknwon 4e96a4a62b Merge pull request from bkcsoft/feature/markdown-custom-url-scheme
Feature/markdown custom url scheme
2016-02-05 13:11:45 -05:00
Unknwon 8e40f86d2c handle space in image URL 2016-02-04 22:51:40 -05:00
Unknwon 4848620594 adjust URL verbose depth for reverse proxy sub-path 2016-01-31 15:38:20 -05:00
Kim "BKC" Carlbäcker 1ab8a60d73 Not working, but slightly better... 2016-01-27 21:48:57 +01:00
Kim "BKC" Carlbäcker 3a9fd81f59 Custom URL-Schemas for Markdown 2016-01-27 02:02:03 +01:00
Kim "BKC" Carlbäcker a1a4f1103c Made Sanitizer-setup cleaner 2016-01-14 03:00:05 +01:00
Kim "BKC" Carlbäcker 8e09e03127 Checklist-rendering implemented 2016-01-13 13:25:52 +01:00
Unknwon f43cc90841 Truncate repository name if too long 2016-01-11 20:41:43 +08:00
Unknwon cc8c67ff29 fix markdown autolink error 2016-01-09 10:59:04 +08:00
Unknwon 4993ab1a76 fall back to use custom chardet lib 2015-12-31 22:13:47 -05:00
Unknwon 44637f03cc fast detection of utf-8 2015-12-27 17:02:36 -05:00
Unknwon 93f03707a7 set text/plain for non-binary files in raw mode 2015-12-25 05:45:07 -05:00
Unknwon 85af36332b fix utf-8 recognized as windows-1252 2015-12-25 05:25:47 -05:00
Unknwon 95f9c85bcc use Go sub-repo to detect encoding 2015-12-13 19:56:33 -05:00
Unknwon 7e88420bc6 fix wrong regexp 2015-12-12 16:13:18 -05:00
Unknwon 5911fc3512 No issue linking in commits when issue number in brackets 2015-12-12 16:01:54 -05:00
Unknwon e538ff2770 fix and fix 2015-12-04 21:30:33 -05:00
Unknwon ba92f4687e minor fix markdown post process 2015-11-24 19:29:35 -05:00
Unknwon 968edb3e44 more link fix 2015-11-24 19:28:24 -05:00
Unknwon 7f9598141b fix 2015-11-24 18:49:34 -05:00
Unknwon f12832c61e fix possible panic 2015-11-21 21:06:11 -05:00
Unknwon 126228d146 HTML render fix 2015-11-20 05:37:51 -05:00
Unknwon 9b6c835715 fix 2015-11-20 01:52:11 -05:00
Unknwon 1a901433e2 minor fix for 2015-11-15 17:37:26 -05:00
Howl ca5678da32 Safely detect urlPrefix in the format /:owner/:repo 2015-11-15 22:22:25 +01:00
Howl 85c58eba90 Fix bad issue links in non-readme markdown files 2015-11-15 12:04:43 +01:00
Unknwon 1d57f0d64f Show custom avatars in commits 2015-11-13 17:10:25 -05:00
Unknwon 3b62a0fe0e fix fix file histrory paging issue 2015-11-10 16:46:17 -05:00
Unknwon 18c841050b fix 1540 and experimental SSH server support 2015-11-08 16:59:56 -05:00
Unknwon 54ca0b2f09 images with links in Markdown
-  minor fix on image link
2015-11-06 11:10:27 -05:00
Unknwon 0af035c37e not show bin when rename a file 2015-11-03 09:52:17 -05:00
Unknwon 022820103d allow forcing all private repos 2015-10-25 04:26:26 -04:00
Unknwon aff49b1c9e unified API error response 2015-10-08 20:36:07 -04:00
Sergio Benitez 7acbcf9ddd Commit messages now rendered with line breaks and prefix spacing. 2015-09-18 19:02:23 -07:00
Unknwon 2729eb998c and other minor fixes 2015-09-16 15:34:46 -04:00
Unknwon c8d92fad30 pushing new branch will rereference issues in previous branch 2015-09-10 07:53:40 -04:00
Hongcai Deng e4d4662074 add regexp to restrict `<code class=""></code>` 2015-09-10 09:06:09 +08:00
Hongcai Deng 357c002c03 add allow attribute `class` to `<code>` 2015-09-09 17:31:14 +08:00
Unknwon 645d4d0c5b Collaborative Repositories missing suburl on Dashboard 2015-09-07 05:57:19 -04:00
Unknwon 85f34ba538 new user profile settings UI
Signed-off-by: Unknwon <u@gogs.io>
2015-09-06 16:31:22 -04:00
Unknwon 8af094967f add rename repo action 2015-09-01 09:29:52 -04:00
Unknwon 90a6553c37 Config option for preserving hard line breaks 2015-09-01 08:32:02 -04:00
Unknwon 55ddf225bb webhook APIs 2015-08-29 11:49:59 +08:00
Unknwon a7686e8749 bundle jquery with gogs 2015-08-28 14:24:05 +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