10dc330640 
								
							
								 
							
						 
						
							
							
								
								#3345  dump content directly to HTTP ResponseWriter  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								dfab54d5a2 
								
							
								 
							
						 
						
							
							
								
								Diff patch ( #3345 )  
							
							... 
							
							
 
							
							* Add support for .diff and .patch
Add the ability to get text-diff and format-patch by adding .diff or
.patch in the end of a commit url. Issue #2641 
* models: git_diff: various fixes
* Renames commitId to commitID.
* Writes stderr to a bytes.Buffer and displays proper error message on
command failure.
* Various style changes.
Signed-off-by: Dennis Chen <barracks510@gmail.com> 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								fe60ca408b 
								
							
								 
							
						 
						
							
							
								
								routers/repo/release: Use correct branch reference ( #3330 )  
							
							... 
							
							
 
							
							When calculating the current behind commit count the calculation should
use the current release target to get the total commit count. Should the
release target not exist anymore the calculation will return zero for
the newest release on that target. Older releases on that target will then
use that calculated commit count as reference.
The only use case that is now somehow invalid is when the release target
was merged / deleted after a tag on that release target:
    master 1 - - - - - - - 6
            \             /
    branch   2 - 3 - 4 - 5
When `4` is the last tag on branch `branch` and the branch `branch` is not
yet deleted the calculated numbers would be:
    1 commits to branch since this release
Now if the branch `branch` gets deleted the calculation function will not
find the branch and use the commit count of the newest release (`4`) as
reference resulting in:
    0 commit to branch since this release
This fixes  #3326  
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								29ccf047d8 
								
							
								 
							
						 
						
							
							
								
								routers/repo/issue: remove redundant format string  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								899e799459 
								
							
								 
							
						 
						
							
							
								
								#1601  support delete issue comment  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								1f2e173a74 
								
							
								 
							
						 
						
							
							
								
								Refactor User.Id to User.ID  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								46e96c008c 
								
							
								 
							
						 
						
							
							
								
								Use struct for UI settings  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								256cd6374a 
								
							
								 
							
						 
						
							
							
								
								#2790  fix not detect diff style in pull request file changes  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								4b5e09e4d6 
								
							
								 
							
						 
						
							
							
								
								#3181  detect situation when base branch is deleted in pull request  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								c912494609 
								
							
								 
							
						 
						
							
							
								
								#3076  detect invalid tag name git error  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								25b3836418 
								
							
								 
							
						 
						
							
							
								
								Refresh repository mirror from database when the repository's name has changed. ( #3276 )  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								5aa2bf86f4 
								
							
								 
							
						 
						
							
							
								
								Update locales and .gopmfile  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								60110adc06 
								
							
								 
							
						 
						
							
							
								
								models/webhook: restrict deletion to be explicitly with repo and org ID  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								3d93532c87 
								
							
								 
							
						 
						
							
							
								
								#3274  fix can't get webhook detail of organization  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								f1b8d52eb3 
								
							
								 
							
						 
						
							
							
								
								#2854  fix no mail notification when issue is closed/reopened  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								7ca5f8f119 
								
							
								 
							
						 
						
							
							
								
								models/repo: remove redundant info for some repo methods  
							
							... 
							
							
 
							
							RepoLink -> Link, RepoRelLink -> RelLink, FullRepoLink -> FullLink 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								f4ab50501e 
								
							
								 
							
						 
						
							
							
								
								[Fix] Don't display way too large files  #1513  ( #3253 )  
							
							... 
							
							
 
							
							* Add MaxDisplayFileSize setting
* Don't show files that are too large
* Localized FileTooLarge
* Change IsFileTooBig => IsFileTooLarge 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								98b152030d 
								
							
								 
							
						 
						
							
							
								
								The pruning for the synchronized mirrors is a option now. Default value: enable_prune = true ( #3246 )  
							
							... 
							
							
 
							
							Executed go fmt
getEngine() not handles DB parameters (#2972 ) (#2974 )
Uses .AllCols() for Update in updateMirror()
Spanish traslation removed
Fixed a wrong way to ommit the --prune option in process.ExecDir() for MirrorUpdate function 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								d62ab49978 
								
							
								 
							
						 
						
							
							
								
								#3057  retrieve webhook with repo_id  
							
							... 
							
							
 
							
							This prevents user retrieve arbitrary webhook by changing URL to
access webhook from other unauthorized repositories. 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								e84ac64964 
								
							
								 
							
						 
						
							
							
								
								Do not show filename not have suffifx .md  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								743d22669a 
								
							
								 
							
						 
						
							
							
								
								Re-work MAX_DIFF_LINES: supress diff per file, not the whole diff ( #3174 )  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								8b35c194ec 
								
							
								 
							
						 
						
							
							
								
								Fixes   #3110  ( #3136 )  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								4bbb878d20 
								
							
								 
							
						 
						
							
							
								
								Minor fix for  #3194  
							
							... 
							
							
 
							
							- Update locale bindata 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								2ce60ff314 
								
							
								 
							
						 
						
							
							
								
								Include repository owner name and description in html title ( #3194 )  
							
							... 
							
							
 
							
							Closes  #3192  
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								c041273dd3 
								
							
								 
							
						 
						
							
							
								
								repo/http: clean code  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								3df8eb60e3 
								
							
								 
							
						 
						
							
							
								
								PDF-Previews in file-lists now working ( #3000 )  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								dfad51fe9e 
								
							
								 
							
						 
						
							
							
								
								Made the issue stats query more secure with parameterized placeholders ( #2895 )  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								ba314a7a36 
								
							
								 
							
						 
						
							
							
								
								Support alphanumeric issue style (ABC-1234) for external issue tracker ( #2992 )  
							
							
 
							
						 
						
							10 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  
				
					
						
							
							
								 
						
							
							
								60ae8ac3d2 
								
							
								 
							
						 
						
							
							
								
								Add route for  #2846  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								9bd9ad4205 
								
							
								 
							
						 
						
							
							
								
								#1692  add CRUD issue APIs  
							
							... 
							
							
 
							
							- Fix go-gogs-client#10
- Related to #809  
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								514382e2eb 
								
							
								 
							
						 
						
							
							
								
								Rename module: middleware -> context  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								1314ba219e 
								
							
								 
							
						 
						
							
							
								
								Updated and created were appended with _unix. Fresh databases have only the newly named fields.  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								0e9bc2d410 
								
							
								 
							
						 
						
							
							
								
								Fix pull request availability check  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								9cf7f3e46f 
								
							
								 
							
						 
						
							
							
								
								Remove duplicated of code  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								a5b0400be7 
								
							
								 
							
						 
						
							
							
								
								#1146  finish new access rights for collaborators  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								045f14fbd0 
								
							
								 
							
						 
						
							
							
								
								#1146  finsih UI work for access mode of collaborators  
							
							... 
							
							
 
							
							Collaborators have write access as default, and can be changed via repository
collaboration settings page to change between read, write and admin. 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								4cb8bf1b75 
								
							
								 
							
						 
						
							
							
								
								#1597  fix premission logic check of pull request  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								2d2d85bba4 
								
							
								 
							
						 
						
							
							
								
								#1597  support pull requests in same repository  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								9df6ce48c5 
								
							
								 
							
						 
						
							
							
								
								Minor fixes for  #2746  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								1ca171dbe9 
								
							
								 
							
						 
						
							
							
								
								Add ability to delete single wiki pages.  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								260723e2cc 
								
							
								 
							
						 
						
							
							
								
								Minor fixes for  #2745  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								f3358f5927 
								
							
								 
							
						 
						
							
							
								
								Repo setting to delete and disable wiki  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								129638117f 
								
							
								 
							
						 
						
							
							
								
								#2697  fix panic when close issue via commit message  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								51f15880d1 
								
							
								 
							
						 
						
							
							
								
								Call PushToBaseRepo() also on Pull Request creation and not only on git push  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								912f7b51e9 
								
							
								 
							
						 
						
							
							
								
								#1821  add actions for close and reopen issues  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								d5a3021a7d 
								
							
								 
							
						 
						
							
							
								
								Make markdown as an independent module  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								7140dbac95 
								
							
								 
							
						 
						
							
							
								
								Fix   #857  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								a1b28fc33c 
								
							
								 
							
						 
						
							
							
								
								Rename MustEnablePulls() to MustAllowPulls() and simplify the contained check to AllowsPulls().  
							
							
 
							
						 
						
							10 years ago