Roy Marples 
							
						 
					 
					
						
						
						
						
							
						
						
							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 . 
						
					 
					
						2017-07-12 04:26:54 +02:00 
						 
				 
			
				
					
						
							
							
								Ethan Koenig 
							
						 
					 
					
						
						
						
						
							
						
						
							e58237ee3f 
							
						 
					 
					
						
						
							
							Fix import order  
						
						
						
					 
					
						2017-07-06 16:38:38 -04:00 
						 
				 
			
				
					
						
							
							
								Ethan Koenig 
							
						 
					 
					
						
						
						
						
							
						
						
							e14ea9979b 
							
						 
					 
					
						
						
							
							Relative URL tests  
						
						
						
					 
					
						2017-07-06 12:46:31 -04:00 
						 
				 
			
				
					
						
							
							
								Ethan Koenig 
							
						 
					 
					
						
						
						
						
							
						
						
							b1d7348a20 
							
						 
					 
					
						
						
							
							Fix wiki preview links  
						
						
						
					 
					
						2017-07-06 12:07:15 -04:00 
						 
				 
			
				
					
						
							
							
								Ethan Koenig 
							
						 
					 
					
						
						
						
						
							
						
						
							5ca3046da6 
							
						 
					 
					
						
						
							
							Fix rendering of issue checkboxes ( #1709 )  
						
						
						
					 
					
						2017-05-12 15:52:45 +08:00 
						 
				 
			
				
					
						
							
							
								Lauris BH 
							
						 
					 
					
						
						
						
						
							
						
						
							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 
						
					 
					
						2017-05-05 16:49:13 +08:00 
						 
				 
			
				
					
						
							
							
								Morlinest 
							
						 
					 
					
						
						
						
						
							
						
						
							fcc7cdab11 
							
						 
					 
					
						
						
							
							Fix markdown rendering ( #1530 )  
						
						
						
					 
					
						2017-04-24 12:18:36 +08:00 
						 
				 
			
				
					
						
							
							
								Lunny Xiao 
							
						 
					 
					
						
						
						
						
							
						
						
							52627032bc 
							
						 
					 
					
						
						
							
							Add markup package to prepare for org markup format ( #1493 )  
						
						
						
					 
					
						2017-04-21 09:01:08 +02:00 
						 
				 
			
				
					
						
							
							
								Lunny Xiao 
							
						 
					 
					
						
						
						
						
							
						
						
							a2d365c81f 
							
						 
					 
					
						
						
							
							fix   #1501  ssh hangs caused by  #1461  ( #1513 )  
						
						
						
					 
					
						2017-04-19 19:16:36 +08:00 
						 
				 
			
				
					
						
							
							
								Kim "BKC" Carlbäcker 
							
						 
					 
					
						
						
						
						
							
						
						
							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 
						
					 
					
						2017-04-13 10:52:24 +08:00 
						 
				 
			
				
					
						
							
							
								Bo-Yi Wu 
							
						 
					 
					
						
						
						
						
							
						
						
							28a5bc313a 
							
						 
					 
					
						
						
							
							fix: gofmt errors. ( #1106 )  
						
						
						
					 
					
						2017-03-03 16:21:31 +08:00 
						 
				 
			
				
					
						
							
							
								Andrew Boyarshin 
							
						 
					 
					
						
						
						
						
							
						
						
							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> 
						
					 
					
						2017-02-24 22:59:56 +08:00 
						 
				 
			
				
					
						
							
							
								Andrew Boyarshin 
							
						 
					 
					
						
						
						
						
							
						
						
							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> 
						
					 
					
						2017-02-14 09:13:59 +08:00 
						 
				 
			
				
					
						
							
							
								Ethan Koenig 
							
						 
					 
					
						
						
						
						
							
						
						
							d2329e1c26 
							
						 
					 
					
						
						
							
							Use assert in legacy unit tests ( #867 )  
						
						
						
					 
					
						2017-02-08 14:29:07 +08:00 
						 
				 
			
				
					
						
							
							
								Bo-Yi Wu 
							
						 
					 
					
						
						
						
						
							
						
						
							25663b5816 
							
						 
					 
					
						
						
							
							refactor: Remove unnecessary type conversions ( #772 )  
						
						
						
					 
					
						2017-01-27 23:03:32 +08:00 
						 
				 
			
				
					
						
							
							
								Sandro Santilli 
							
						 
					 
					
						
						
						
						
							
						
						
							71634452e1 
							
						 
					 
					
						
						
							
							Improve issue references in markdown ( #471 )  
						
						... 
						
						
						
						* Improve issue references in markdown. (#3436 )
* Fix build
* Fix lint
* Fix comment typo 
						
					 
					
						2016-12-26 18:52:04 +08:00 
						 
				 
			
				
					
						
							
							
								Lunny Xiao 
							
						 
					 
					
						
						
						
						
							
						
						
							94da472717 
							
						 
					 
					
						
						
							
							Golint fixed for modules/setting ( #262 )  
						
						... 
						
						
						
						* golint fixed for modules/setting
* typo fixed and renamed UNIXSOCKET to UnixSocket 
						
					 
					
						2016-11-27 18:14:25 +08:00 
						 
				 
			
				
					
						
							
							
								Lunny Xiao 
							
						 
					 
					
						
						
						
						
							
						
						
							76604d8f90 
							
						 
					 
					
						
						
							
							fixed test build error  
						
						
						
					 
					
						2016-11-25 16:02:10 +08:00 
						 
				 
			
				
					
						
							
							
								Lunny Xiao 
							
						 
					 
					
						
						
						
						
							
						
						
							304bbd3f25 
							
						 
					 
					
						
						
							
							golint fixed for modules/markdown  
						
						
						
					 
					
						2016-11-25 09:58:05 +08:00 
						 
				 
			
				
					
						
							
							
								Sandro Santilli 
							
						 
					 
					
						
						
						
						
							
						
						
							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  
						
					 
					
						2016-11-10 17:24:48 +01:00 
						 
				 
			
				
					
						
							
							
								Matthias Loibl 
							
						 
					 
					
						
						
						
						
							
						
						
							a4fa889ced 
							
						 
					 
					
						
						
							
							Run goimports on the whole project ( #34 )  
						
						... 
						
						
						
						Signed-off-by: Matthias Loibl <mail@matthiasloibl.com> 
						
					 
					
						2016-11-04 09:57:27 -02:00 
						 
				 
			
				
					
						
							
							
								Rémy Boulanouar 
							
						 
					 
					
						
						
						
						
							
						
						
							2d68bd1ef9 
							
						 
					 
					
						
						
							
							Change import reference to match gitea instead of gogs ( #37 )  
						
						
						
					 
					
						2016-11-03 10:29:56 -02:00 
						 
				 
			
				
					
						
							
							
								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" 
						
					 
					
						2016-10-16 22:17:59 -04:00 
						 
				 
			
				
					
						
							
							
								Rémy Boulanouar 
							
						 
					 
					
						
						
						
						
							
						
						
							5d35578811 
							
						 
					 
					
						
						
							
							Update size of SHA to  fix   #3538  ( #3563 )  
						
						
						
					 
					
						2016-08-31 14:22:17 -07:00 
						 
				 
			
				
					
						
							
							
								Unknwon 
							
						 
					 
					
						
						
						
						
							
						
						
							4a46613916 
							
						 
					 
					
						
						
							
							markdown: fix treating pure number as SHA1  
						
						... 
						
						
						
						- Detect non-exist commit and return 404 not 500 
						
					 
					
						2016-08-15 15:27:19 -07:00 
						 
				 
			
				
					
						
							
							
								Unknwon 
							
						 
					 
					
						
						
						
						
							
						
						
							15845cb287 
							
						 
					 
					
						
						
							
							Code clean up for new config options  
						
						
						
					 
					
						2016-08-14 23:52:24 -07:00 
						 
				 
			
				
					
						
							
							
								Richard Mahn 
							
						 
					 
					
						
						
						
						
							
						
						
							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 
						
					 
					
						2016-08-14 23:52:24 -07:00 
						 
				 
			
				
					
						
							
							
								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 
						
					 
					
						2016-08-11 15:34:00 -07:00 
						 
				 
			
				
					
						
							
							
								Thibault Meyer 
							
						 
					 
					
						
						
						
						
							
						
						
							99812a80fd 
							
						 
					 
					
						
						
							
							Fix   #3420 : Bad commit URL generation ( #3424 )  
						
						
						
					 
					
						2016-08-10 11:35:06 -07:00 
						 
				 
			
				
					
						
							
							
								Unknwon 
							
						 
					 
					
						
						
						
						
							
						
						
							d7bdc1de8d 
							
						 
					 
					
						
						
							
							#3107  fix mention regex does not include dash  
						
						
						
					 
					
						2016-07-23 17:29:34 +08:00 
						 
				 
			
				
					
						
							
							
								Unknwon 
							
						 
					 
					
						
						
						
						
							
						
						
							f1b8d52eb3 
							
						 
					 
					
						
						
							
							#2854  fix no mail notification when issue is closed/reopened  
						
						
						
					 
					
						2016-07-16 00:36:39 +08:00 
						 
				 
			
				
					
						
							
							
								Cosmin Stroe 
							
						 
					 
					
						
						
						
						
							
						
						
							84841c8c4b 
							
						 
					 
					
						
						
							
							Stricter parsing of issue URLs and commit URLs. ( #3121 )  
						
						
						
					 
					
						2016-06-29 23:07:39 +08:00 
						 
				 
			
				
					
						
							
							
								Cosmin Stroe 
							
						 
					 
					
						
						
						
						
							
						
						
							ba314a7a36 
							
						 
					 
					
						
						
							
							Support alphanumeric issue style (ABC-1234) for external issue tracker ( #2992 )  
						
						
						
					 
					
						2016-04-22 18:28:08 -04:00 
						 
				 
			
				
					
						
							
							
								Odin Ugedal 
							
						 
					 
					
						
						
						
						
							
						
						
							8540043c45 
							
						 
					 
					
						
						
							
							Make separate string variables for space  
						
						
						
					 
					
						2016-03-15 21:28:55 +01:00 
						 
				 
			
				
					
						
							
							
								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 . 
						
					 
					
						2016-03-15 20:43:46 +01:00 
						 
				 
			
				
					
						
							
							
								Unknwon 
							
						 
					 
					
						
						
						
						
							
						
						
							d5a3021a7d 
							
						 
					 
					
						
						
							
							Make markdown as an independent module  
						
						
						
					 
					
						2016-02-20 17:10:05 -05:00