Unknwon
aff4208244
*: rename "gogits" to "gogs"
7 years ago
Cosmin Stroe
54b9311344
pkg/markup/markdown: Issue mentions should also render with square brackets ( #4707 )
...
* gofmt reformat of markdown.go
7 years ago
Unknwon
1b5a418fd3
modules/markup: initial support for org-mode ( #4373 )
8 years ago
Unknwon
90b9f7e08c
pkg/setting: rename {AppUrl, AppSubUrl} -> {AppURL, AppSubURL}
8 years ago
Unknwon
0e271799f2
Refactoring: rename and simplify pkg/tool functions
8 years ago
Unknwon
6fbb984ebf
Refactoring: rename pkg/base -> pkg/tool
8 years ago
Unknwon
d05395fe90
Refactoring: rename modules -> pkg
...
Reasons to change:
1. Shorter than 'modules'
2. More generally used by other Go projects
3. Corresponds to the naming of '$GOPATH/pkg' directory
8 years ago
Unknwon
3a9276307c
modules/markup: move common functions to markup.go
8 years ago
Unknwon
8da16ac302
modules/markup: rename Markdown render fucntions
...
The unified function 'Markdown' accepts both string or []byte type
input and renders to HTML with []byte type.
8 years ago
Unknwon
761bb3cf53
modules/markup: protect sanitizer from possible modification
...
Only expose public APIs for 'Sanitize' and 'SanitizeBytes' to
eliminate unintentional modifications to sanitizer policy. Also
use 'sync.Once' to make sure multiple calls of 'NewSanitizer' is
safe (although should never happen, but this is a better way).
8 years ago
Unknwon
c1c269d9ef
modules: rename markdown -> markup
...
To further support more markup languages (e.g. Org-mode, AsciiDoc,
reStructuredText), the name 'markdown' is inappropriate.
This is the first step towards more markup language support.
8 years ago
Unknwon
9d06ebd01a
markdown: improve filter of class attribute for code blocks
...
Only allow HighlightJS specific classes.
Reported by ChALkeR.
8 years ago
Unknwon
ac8b1e595f
markdown: support Smartypants ( #4162 )
...
Added new config section '[smartypants]', and disabled by default.
8 years ago
Unknwon
8b73c8076f
modules/markdown: fix wrong raw link to internal images
8 years ago
Unknwon
d7954014a4
markdown: fix links for image nested inside a link ( #2636 )
8 years ago
Unknwon
7ac09681a2
markdown: fix mailto: doesn't recognize as valid link ( #3790 )
8 years ago
Unknwon
0d73dcaf0f
Fix cross-repository reference link error ( #4025 )
8 years ago
Unknwon
eb79532812
Minor fix for PR #3436
8 years ago
lstahlman
5feb68a589
Improve issue references in markdown. ( #3436 )
8 years ago
Rémy Boulanouar
6bcff7828f
Fix mention in comments like ( @dblk ) ( #3655 )
...
* Fix mention in comments like (@dblk )
* Better fix to avoid making link for "Hello@DblK"
8 years ago
Rémy Boulanouar
5d35578811
Update size of SHA to fix #3538 ( #3563 )
8 years ago
Unknwon
4a46613916
markdown: fix treating pure number as SHA1
...
- Detect non-exist commit and return 404 not 500
8 years ago
Unknwon
15845cb287
Code clean up for new config options
8 years ago
Richard Mahn
d0a0239bac
Squashed commit of the following:
...
commit 0afcb843d7
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 17:13:29 2016 -0600
Removed Upload stats as the upload table is just a temporary table
commit 7ecd73ff55
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 08:42:41 2016 -0600
Fix for CodeMirror mode
commit c29b9ab531
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 08:03:33 2016 -0600
Made tabbing in editor use spaces
commit 23af384c53
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 07:56:46 2016 -0600
Fix for data-url
commit cfb8a97591
Merge: 7fc8a89
991ce42
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 07:42:53 2016 -0600
Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file
Conflicts:
modules/bindata/bindata.go
public/js/gogs.js
commit 7fc8a89cb4
Merge: fd3d86c
c03d040
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 07:40:00 2016 -0600
Merge branch 'feature-create-and-edit-repo-file' of github.com:richmahn/gogs into feature-create-and-edit-repo-file
commit fd3d86ca6b
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 07:39:44 2016 -0600
Code cleanup
commit c03d0401c1
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Fri Jul 29 15:38:23 2016 -0600
Code cleanup
commit 98e1206ccf
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Thu Jul 28 18:36:01 2016 -0600
Code cleanup and fixes
commit c2895dc742
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Thu Jul 28 18:24:04 2016 -0600
Fixes per Unknwon's requests
commit 6aa7e46b21
Merge: 889e9fa
ad7ea88
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Thu Jul 28 17:13:43 2016 -0600
Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file
Conflicts:
modules/bindata/bindata.go
modules/setting/setting.go
commit 889e9faf1b
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Fri Jul 22 14:09:18 2016 -0600
Fix in gogs.js
commit 47603edf22
Merge: bb57912
cf85e9e
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Fri Jul 22 14:07:36 2016 -0600
Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file
Conflicts:
modules/bindata/bindata.go
public/js/gogs.js
commit bb57912558
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Fri Jul 22 14:02:18 2016 -0600
Update for using CodeMirror mode addon
commit d10d128c51
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Tue Jul 19 16:12:57 2016 -0600
Update for Edit
commit 34a3498202
Merge: fa1b752
1c7dcdd
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Tue Jul 19 11:52:02 2016 -0600
Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file
Conflicts:
modules/bindata/bindata.go
commit fa1b752be2
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Fri Jul 15 18:35:42 2016 -0600
Feature for editing, creating, uploading and deleting files
8 years ago
Thibault Meyer
7eafe3213f
Fix #3321 : commit tag shortener ( #3418 )
...
* Fix #3321 : commit tag shortener
* Check short commit
* remove debug
* Edit unit tests
* Show 10-char short SHA
8 years ago
Thibault Meyer
99812a80fd
Fix #3420 : Bad commit URL generation ( #3424 )
8 years ago
Unknwon
d7bdc1de8d
#3107 fix mention regex does not include dash
8 years ago
Unknwon
f1b8d52eb3
#2854 fix no mail notification when issue is closed/reopened
8 years ago
Cosmin Stroe
84841c8c4b
Stricter parsing of issue URLs and commit URLs. ( #3121 )
8 years ago
Cosmin Stroe
ba314a7a36
Support alphanumeric issue style (ABC-1234) for external issue tracker ( #2992 )
9 years ago
Odin Ugedal
8540043c45
Make separate string variables for space
9 years ago
Odin Ugedal
f57adf3637
Fix relative links in markdown files
...
Replace spaces with "%20" in "urlPrefix", before markdon processing.
The spaces were causing blackfriday (markdown processor) to behave
strange. This fixes #2545 .
9 years ago
Unknwon
d5a3021a7d
Make markdown as an independent module
9 years ago
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.
9 years ago
Unknwon
8e40f86d2c
#2556 handle space in image URL
9 years ago
Unknwon
4848620594
#2229 adjust URL verbose depth for reverse proxy sub-path
9 years ago
Kim "BKC" Carlbäcker
1ab8a60d73
Not working, but slightly better...
9 years ago
Kim "BKC" Carlbäcker
3a9fd81f59
Custom URL-Schemas for Markdown
9 years ago
Kim "BKC" Carlbäcker
8e09e03127
Checklist-rendering implemented
9 years ago
Unknwon
cc8c67ff29
fix markdown autolink error
9 years ago
Unknwon
7e88420bc6
#2161 fix wrong regexp
9 years ago
Unknwon
5911fc3512
#2161 No issue linking in commits when issue number in brackets
9 years ago
Unknwon
e538ff2770
fix #1829 and fix #890
9 years ago
Unknwon
ba92f4687e
minor fix markdown post process
9 years ago
Unknwon
968edb3e44
more link fix
9 years ago
Unknwon
f12832c61e
fix possible panic
9 years ago
Unknwon
126228d146
HTML render fix
9 years ago
Unknwon
9b6c835715
fix #1873
9 years ago
Unknwon
1a901433e2
minor fix for #1949
9 years ago
Howl
ca5678da32
Safely detect urlPrefix in the format /:owner/:repo
9 years ago