TheFox0x7 
								
							 
						 
						
							
							
								
							
							
	4de909747b  
						 
						
							
							
								
								
								Add testifylint to lint checks ( #4535 )  
							
							... 
							
							
							
							
							go-require lint is ignored for now
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/4535 
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: TheFox0x7 <thefox0x7@gmail.com>
Co-committed-by: TheFox0x7 <thefox0x7@gmail.com> 
							
						 
						
							2024-07-30 19:41:10 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Lunny Xiao 
								
							 
						 
						
							
							
								
							
							
	
	
	df1e7d0067 
 
						 
						
							
							
								
								
								Use db.Find instead of writing methods for every object ( #28084 )  
							
							... 
							
							
							
							
							For those simple objects, it's unnecessary to write the find and count
methods again and again. 
							
						 
						
							2023-11-24 03:49:41 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									KN4CK3R 
								
							 
						 
						
							
							
								
							
							
	
	
	f1173d6879 
 
						 
						
							
							
								
								
								Use more specific test methods ( #24265 )  
							
							... 
							
							
							
							
							Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-04-22 17:56:27 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									wxiaoguang 
								
							 
						 
						
							
							
								
							
							
	
	
	e422342eeb 
 
						 
						
							
							
								
								
								Allow adding new files to an empty repo ( #24164 )  
							
							... 
							
							
							
							
							 
							
						 
						
							2023-04-19 21:40:42 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									oliverpool 
								
							 
						 
						
							
							
								
							
							
	
	
	bb2783860b 
 
						 
						
							
							
								
								
								fix calReleaseNumCommitsBehind ( #24148 )  
							
							... 
							
							
							
							
							`repoCtx.CommitsCount` is not reliably the commit count of the default
branch (Repository.GetCommitsCount depends on what is currently
displayed).
For instance on the releases page the commit count is correct:
https://codeberg.org/Codeberg/pages-server/releases 

However it is not on the single page:
https://codeberg.org/Codeberg/pages-server/releases/tag/v4.6.2 

This PR fixes this by removing a "fast branch" which was using this
field (I think this field should be removed, since it is a bit
unpredictable - but this would mean a larger refactoring PR).
_contributed in the context of @forgejo_
---------
Co-authored-by: Giteabot <teabot@gitea.io>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> 
							
						 
						
							2023-04-18 21:11:17 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Nick 
								
							 
						 
						
							
							
								
							
							
	
	
	52e24167e5 
 
						 
						
							
							
								
								
								Test renderReadmeFile ( #23185 )  
							
							... 
							
							
							
							
							Add test coverage to the important features of
[`routers.web.repo.renderReadmeFile`](067b0c2664/routers/web/repo/view.go (L273) 
							
						 
						
							2023-03-09 09:24:23 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Lunny Xiao 
								
							 
						 
						
							
							
								
							
							
	
	
	a8c4f8cebc 
 
						 
						
							
							
								
								
								Fix db.Find bug ( #23115 )  
							
							... 
							
							
							
							
							Caused by #20821  
Fix  #23110  
							
						 
						
							2023-02-24 21:17:09 +08:00