f9ec2f89f2 
								
							
								 
							
						 
						
							
							
								
								Add golangci ( #6418 )  
							
							
 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								d578b71d61 
								
									
								
							
								 
							
						 
						
							
							
								
								move code.gitea.io/git to code.gitea.io/gitea/modules/git ( #6364 )  
							
							... 
							
							
 
							
							* move code.gitea.io/git to code.gitea.io/gitea/modules/git
* fix imports
* fix fmt
* fix misspell
* remove wrong tests data
* fix unit tests
* fix tests
* fix tests
* fix tests
* fix tests
* fix tests
* enable Debug to trace the failure tests
* fix tests
* fix tests
* fix tests
* fix tests
* fix tests
* comment commit count tests since git clone depth is 50
* fix tests
* update from code.gitea.io/git
* revert change to makefile 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								2a03e96bce 
								
									
								
							
								 
							
						 
						
							
							
								
								Allow markdown files to read from the LFS ( #5787 )  
							
							... 
							
							
 
							
							This PR makes it possible for the markdown renderer to render images and media straight from the LFS.
Fix  #5746 
Signed-off-by: Andrew Thornton [art27@cantab.net ](mailto:art27@cantab.net) 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								e08c7e521b 
								
							
								 
							
						 
						
							
							
								
								Add raw blob endpoint to get objects by SHA ID ( #5334 )  
							
							... 
							
							
 
							
							* Add raw blob endpoint
This should make it possible to download raw blobs directly from
/:repo/:username/raw/blob/:sha1 URLs.
* fix: Make it work
* As an SHA-ID is no path getRefNameFromPath can't be used to verify
file specifying parameter
* added relevant change in go-gitea/git #132 
Signed-off-by: Berengar W. Lehr <Berengar.Lehr@kompetenztest.de>
* Update Gopkg.lock
Can't update all vendors due to errors
Signed-off-by: Berengar W. Lehr <Berengar.Lehr@kompetenztest.de>
* style: Add Gitea copyright header
* feat: Added integration test for /repo/u/r/raw/blob
* fix: correct year in copyright header 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								65861900cd 
								
							
								 
							
						 
						
							
							
								
								Handle refactor ( #3339 )  
							
							... 
							
							
 
							
							* Replace all ctx.Handle with ctx.ServerError or ctx.NotFound
* Change Handle(403) to NotFound, avoid using macaron's NotFound 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								551f3cbe42 
								
							
								 
							
						 
						
							
							
								
								Memory usage improvements ( #3013 )  
							
							... 
							
							
 
							
							* govendor update code.gitea.io/git
Signed-off-by: Duncan Ogilvie <mr.exodia.tpodt@gmail.com>
* Greatly improve memory usage
Signed-off-by: Duncan Ogilvie <mr.exodia.tpodt@gmail.com> 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								935caa7f95 
								
							
								 
							
						 
						
							
							
								
								Download files to their original filename ( #1676 )  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								bb14c97d40 
								
							
								 
							
						 
						
							
							
								
								Fix empty file download ( #1506 )  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								d647d02c2f 
								
							
								 
							
						 
						
							
							
								
								Fix Chrome not liking commas  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								638dd24cec 
								
							
								 
							
						 
						
							
							
								
								Fix HTTP headers for issue attachment download  
							
							... 
							
							
 
							
							- Download filename was wrong for files other than images. Example: It was `download` instead of `file.pdf`
- PDF was downloading instead of showing on browser 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								3917ed45de 
								
							
								 
							
						 
						
							
							
								
								golint fixed for routers ( #208 )  
							
							
 
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								6e4252dad4 
								
							
								 
							
						 
						
							
							
								
								Replace gogits/git-module dependency with go-gitea/git ( #94 )  
							
							... 
							
							
 
							
							* Replace gogits/git-module dependency with go-gitea/git
Fixes  #92 
* Remove git alias for git module import (not needed) 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								2d68bd1ef9 
								
							
								 
							
						 
						
							
							
								
								Change import reference to match gitea instead of gogs ( #37 )  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								780cc2d110 
								
							
								 
							
						 
						
							
							
								
								router/repo: code refactoring  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								f8a48ffaad 
								
							
								 
							
						 
						
							
							
								
								Web editor: improve code quality  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								ab9c5fb5e7 
								
							
								 
							
						 
						
							
							
								
								#2593  allow render raw content  
							
							... 
							
							
 
							
							Use URL query parameter render=1 to render content in raw mode. 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								39356f4238 
								
							
								 
							
						 
						
							
							
								
								Set utf-8 charset for text files when serving raw content ( #2898 )  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								dd36c431ec 
								
							
								 
							
						 
						
							
							
								
								#2842  add quotes to attachment file name  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								514382e2eb 
								
							
								 
							
						 
						
							
							
								
								Rename module: middleware -> context  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								93f03707a7 
								
							
								 
							
						 
						
							
							
								
								#2283  set text/plain for non-binary files in raw mode  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								19423957b1 
								
							
								 
							
						 
						
							
							
								
								rename import path  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								9a2e43bff2 
								
							
								 
							
						 
						
							
							
								
								move out git module and  #1573  send push hook  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								4137426c88 
								
							
								 
							
						 
						
							
							
								
								43bfee0d48 reverted my change  
							
							... 
							
							
 
							
							423b1c69be 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								599e904020 
								
							
								 
							
						 
						
							
							
								
								43bfee0d48 reverted my change  
							
							... 
							
							
 
							
							423b1c69be 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								9e6bd31d76 
								
							
								 
							
						 
						
							
							
								
								fixes for binary  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								e67659bf8e 
								
							
								 
							
						 
						
							
							
								
								fix serve attachment content type  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								2cc050e21e 
								
							
								 
							
						 
						
							
							
								
								Fix UTF-8 in upper-case, use ansi charset for all non UTF-8 encodings  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								43bfee0d48 
								
							
								 
							
						 
						
							
							
								
								Raw text file view returns correct charset in content-type header if not utf-8  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								423b1c69be 
								
							
								 
							
						 
						
							
							
								
								don't set mime type to text/plain. This will break serving e.g. raw images,  
							
							... 
							
							
 
							
							html, etc
According to http://golang.org/pkg/net/http/#DetectContentType 
"If the Header does not contain a Content-Type line, Write adds
a Content-Type set to the result of passing the initial 512 bytes
of written data to DetectContentType." 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								32152d2363 
								
							
								 
							
						 
						
							
							
								
								routers/repo: set raw page content type to 'text/plain'  #828  
							
							
 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								a0f9197b45 
								
							
								 
							
						 
						
							
							
								
								GetFile api  
							
							
 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								23eec25274 
								
							
								 
							
						 
						
							
							
								
								Fix   #605 ,  fix   #255 ,  fix   #101  
							
							
 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								5c4bc3c848 
								
							
								 
							
						 
						
							
							
								
								Huge updates!!!!! Be careful to merge!!!!  
							
							
 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								8dd07c0ddd 
								
							
								 
							
						 
						
							
							
								
								New UI merge in progress  
							
							
 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								6fe43eb8d4 
								
							
								 
							
						 
						
							
							
								
								Fixed directory permissions for the zip download router  
							
							... 
							
							
 
							
							If the archives/ directory is created with 0655, it results in a permission error. 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								4ee6bc4fca 
								
							
								 
							
						 
						
							
							
								
								fix for new git api  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								688ec6ecbd 
								
							
								 
							
						 
						
							
							
								
								Fixed   #209  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								04890904f9 
								
							
								 
							
						 
						
							
							
								
								fix   #195  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								956f011dd3 
								
							
								 
							
						 
						
							
							
								
								Fix   #186  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								4fafc76052 
								
							
								 
							
						 
						
							
							
								
								zip archive download  
							
							
 
							
						 
						
							12 years ago