b686bd0c94 
								
							
								 
							
						 
						
							
							
								
								Fix markdown image with link ( #4675 )  
							
							... 
							
							
 
							
							* Fix markdown image with link
* Add gitea copyright notice
* add a test for markdown image with link
* remove svg related variables 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								2a60e72fcd 
								
									
								
							
								 
							
						 
						
							
							
								
								Replace src with raw to fix image paths ( #4377 )  
							
							... 
							
							
 
							
							Signed-off-by: Jonas Franz <info@jonasfranz.software> 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								535445c32e 
								
							
								 
							
						 
						
							
							
								
								Rework special link parsing in the post-processing of markup ( #3354 )  
							
							... 
							
							
 
							
							* Get rid of autolink
* autolink in markdown
* Replace email addresses with mailto links
* better handling of links
* Remove autolink.js from footer
* Refactor entire html.go
* fix some bugs
* Make tests green, move what we can to html_internal_test, various other changes to processor logic
* Make markdown tests work again
This is just a description to allow me to force push in order to restart
the drone build.
* Fix failing markdown tests in routers/api/v1/misc
* Add license headers, log errors, future-proof <body>
* fix formatting 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								7b104f0cd0 
								
							
								 
							
						 
						
							
							
								
								Populate URL field of API commits ( #3546 )  
							
							... 
							
							
 
							
							* Populate URL field of API commits
* fix orgmode_test 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								0d80af649a 
								
							
								 
							
						 
						
							
							
								
								Add init support of orgmode document type on file view and readme ( #2525 )  
							
							... 
							
							
 
							
							* add init support of orgmode document type on file view and readme
* fix imports
* fix imports and readmeExist
* fix imports order
* fix format
* remove unnecessary convert 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								52e11b24bf 
								
							
								 
							
						 
						
							
							
								
								Restructure markup & markdown to prepare for multiple markup language… ( #2411 )  
							
							... 
							
							
 
							
							* restructure markup & markdown to prepare for multiple markup languages support
* adjust some functions between markdown and markup
* fix tests
* improve the comments 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								29f3a6e492 
								
							
								 
							
						 
						
							
							
								
								Fix rendering of external links ( #2292 )  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								d05150a331 
								
							
								 
							
						 
						
							
							
								
								Make short link pattern greedy ( #2259 )  
							
							... 
							
							
 
							
							Multiple links on the same line are currently not recognized correctly. 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								89845f6728 
								
							
								 
							
						 
						
							
							
								
								Fix SHA1 hash linking ( #2143 )  
							
							... 
							
							
 
							
							This changes the regex to look for a hash from 7 to 40 characters,
to match the use of abbreviated hash lookups in both git and github.
The restriction of not being a pure number is also removed because
1234567 is now considered a valid abbreviated hash, as is deadbeef.
A note has been added to the top of the code to state that the
literal regex match is fine, but no extra validation is currently
performed so some false positives are expected.
A future change could ensure that the hash exists in the repository
before rendering it as a link, although this might incur a slight
performance penalty.
Reverts part of commit 4a46613fixes  #2053 . 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								e58237ee3f 
								
							
								 
							
						 
						
							
							
								
								Fix import order  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								b1d7348a20 
								
							
								 
							
						 
						
							
							
								
								Fix wiki preview links  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								5ca3046da6 
								
							
								 
							
						 
						
							
							
								
								Fix rendering of issue checkboxes ( #1709 )  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								9a0b0da1fe 
								
							
								 
							
						 
						
							
							
								
								Fix commit sha1 URL rendering in markdown ( #1677 )  
							
							... 
							
							
 
							
							* Fix commit sha1 URL rendering in markdown
* Add unit test for commit sha1 markdown rendering when sha1 has space before it
* Change to better variable name 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								fcc7cdab11 
								
							
								 
							
						 
						
							
							
								
								Fix markdown rendering ( #1530 )  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								52627032bc 
								
							
								 
							
						 
						
							
							
								
								Add markup package to prepare for org markup format ( #1493 )  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								d409d3ab57 
								
							
								 
							
						 
						
							
							
								
								Sanitation fix from Gogs ( #1461 )  
							
							... 
							
							
 
							
							* Santiation fix from Gogs
* Linting
* Fix build-errors
* still not working
* Fix all the things!
* gofmt
* Add code-injection checks 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								0602a44b27 
								
							
								 
							
						 
						
							
							
								
								Fix URL handling in the whole markdown module, improve test coverage ( #1027 )  
							
							... 
							
							
 
							
							Amended with string to bool change in API SDK.
Signed-off-by: Andrew Boyarshin <andrew.boyarshin@gmail.com> 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								dc8248f8a4 
								
							
								 
							
						 
						
							
							
								
								Markdown rendering overhaul ( #186 )  
							
							... 
							
							
 
							
							* Markdown rendering overhaul
Cleaned up and squashed commits into single one.
Signed-off-by: Andrew Boyarshin <boyarshinand@gmail.com>
* Fix markdown API, add markdown module and API tests, improve code coverage
Signed-off-by: Andrew Boyarshin <boyarshinand@gmail.com> 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								25663b5816 
								
							
								 
							
						 
						
							
							
								
								refactor: Remove unnecessary type conversions ( #772 )  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								71634452e1 
								
							
								 
							
						 
						
							
							
								
								Improve issue references in markdown ( #471 )  
							
							... 
							
							
 
							
							* Improve issue references in markdown. (#3436 )
* Fix build
* Fix lint
* Fix comment typo 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								94da472717 
								
							
								 
							
						 
						
							
							
								
								Golint fixed for modules/setting ( #262 )  
							
							... 
							
							
 
							
							* golint fixed for modules/setting
* typo fixed and renamed UNIXSOCKET to UnixSocket 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								304bbd3f25 
								
							
								 
							
						 
						
							
							
								
								golint fixed for modules/markdown  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								4247304f5a 
								
							
								 
							
						 
						
							
							
								
								Update import paths from github.com/go-gitea to code.gitea.io ( #135 )  
							
							... 
							
							
 
							
							- Update import paths from github.com/go-gitea to code.gitea.io
- Fix import path for travis
See https://docs.travis-ci.com/user/languages/go#Go-Import-Path  
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								2d68bd1ef9 
								
							
								 
							
						 
						
							
							
								
								Change import reference to match gitea instead of gogs ( #37 )  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								6bcff7828f 
								
							
								 
							
						 
						
							
							
								
								Fix mention in comments like ( @dblk ) ( #3655 )  
							
							... 
							
							
 
							
							* Fix mention in comments like (@dblk )
* Better fix to avoid making link for "Hello@DblK" 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								5d35578811 
								
							
								 
							
						 
						
							
							
								
								Update size of SHA to  fix   #3538  ( #3563 )  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								4a46613916 
								
							
								 
							
						 
						
							
							
								
								markdown: fix treating pure number as SHA1  
							
							... 
							
							
 
							
							- Detect non-exist commit and return 404 not 500 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								15845cb287 
								
							
								 
							
						 
						
							
							
								
								Code clean up for new config options  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								d0a0239bac 
								
							
								 
							
						 
						
							
							
								
								Squashed commit of the following:  
							
							... 
							
							
 
							
							commit 0afcb843d7ffd596991c4885cab768273a6eb42c
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 7ecd73ff5535612d79d471409173ee7f1fcfa157
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date:   Sun Jul 31 08:42:41 2016 -0600
    Fix for CodeMirror mode
commit c29b9ab531e2e7af0fb5db24dc17e51027dd1174
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date:   Sun Jul 31 08:03:33 2016 -0600
    Made tabbing in editor use spaces
commit 23af384c53206a8a40e11e45bf49d7a149c4adcd
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date:   Sun Jul 31 07:56:46 2016 -0600
    Fix for data-url
commit cfb8a97591cb6fc0a92e49563b7b764c524db0e9
Merge: 7fc8a89 991ce42ad7ea88cf85e9e1c7dcdd 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								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 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								99812a80fd 
								
							
								 
							
						 
						
							
							
								
								Fix   #3420 : Bad commit URL generation ( #3424 )  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								d7bdc1de8d 
								
							
								 
							
						 
						
							
							
								
								#3107  fix mention regex does not include dash  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								f1b8d52eb3 
								
							
								 
							
						 
						
							
							
								
								#2854  fix no mail notification when issue is closed/reopened  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								84841c8c4b 
								
							
								 
							
						 
						
							
							
								
								Stricter parsing of issue URLs and commit URLs. ( #3121 )  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								ba314a7a36 
								
							
								 
							
						 
						
							
							
								
								Support alphanumeric issue style (ABC-1234) for external issue tracker ( #2992 )  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								8540043c45 
								
							
								 
							
						 
						
							
							
								
								Make separate string variables for space  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								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 . 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								d5a3021a7d 
								
							
								 
							
						 
						
							
							
								
								Make markdown as an independent module  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								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. 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								8e40f86d2c 
								
							
								 
							
						 
						
							
							
								
								#2556  handle space in image URL  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								4848620594 
								
							
								 
							
						 
						
							
							
								
								#2229  adjust URL verbose depth for reverse proxy sub-path  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								1ab8a60d73 
								
							
								 
							
						 
						
							
							
								
								Not working, but slightly better...  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								3a9fd81f59 
								
							
								 
							
						 
						
							
							
								
								Custom URL-Schemas for Markdown  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								8e09e03127 
								
							
								 
							
						 
						
							
							
								
								Checklist-rendering implemented  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								cc8c67ff29 
								
							
								 
							
						 
						
							
							
								
								fix markdown autolink error  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								7e88420bc6 
								
							
								 
							
						 
						
							
							
								
								#2161  fix wrong regexp  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								5911fc3512 
								
							
								 
							
						 
						
							
							
								
								#2161  No issue linking in commits when issue number in brackets  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								e538ff2770 
								
							
								 
							
						 
						
							
							
								
								fix   #1829  and  fix   #890  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								ba92f4687e 
								
							
								 
							
						 
						
							
							
								
								minor fix markdown post process  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								968edb3e44 
								
							
								 
							
						 
						
							
							
								
								more link fix  
							
							
 
							
						 
						
							10 years ago