JakobDev 
							
						 
					 
					
						
						
							
						
						f3fbb7c67d 
					 
					
						
						
							
							Count only visible repos on profile ( #25928 )  
						
						... 
						
						
						
						Fixes  #25914  
					
						2023-08-11 13:08:05 -04:00 
						 
				 
			
				
					
						
							
							
								sebastian-sauer 
							
						 
					 
					
						
						
							
						
						55532061c8 
					 
					
						
						
							
							Add commits dropdown in PR files view and allow commit by commit review ( #25528 )  
						
						... 
						
						
						
						This PR adds a new dropdown to select a commit or a commit range
(shift-click like github) of a Pull Request.
After selection of a commit only the changes of this commit will be shown.
When selecting a range of commits the diff of this range is shown.
This allows to review a PR commit by commit or by viewing only commit ranges.
The "Show changes since your last review" mechanism github uses is implemented, too.
When reviewing a single commit or a commit range the "Viewed" functionality is disabled.
## Screenshots
### The commit dropdown

### Selecting a commit range

### Show changes of a single commit only

### Show changes of a commit range

Fixes https://github.com/go-gitea/gitea/issues/20989 
Fixes https://github.com/go-gitea/gitea/issues/19263 
---------
Co-authored-by: silverwind <me@silverwind.io >
Co-authored-by: KN4CK3R <admin@oldschoolhack.me >
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
Co-authored-by: delvh <dev.lh@web.de > 
						
						
					 
					
						2023-07-28 21:18:12 +02: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 
						 
				 
			
				
					
						
							
							
								Lunny Xiao 
							
						 
					 
					
						
						
							
						
						36a2d2f919 
					 
					
						
						
							
							Add a simple test for external renderer ( #20033 )  
						
						... 
						
						
						
						Fix  #16402  
					
						2022-12-12 20:45:21 +08:00 
						 
				 
			
				
					
						
							
							
								flynnnnnnnnnn 
							
						 
					 
					
						
						
							
						
						e81ccc406b 
					 
					
						
						
							
							Implement FSFE REUSE for golang files ( #21840 )  
						
						... 
						
						
						
						Change all license headers to comply with REUSE specification.
Fix  #16132 
Co-authored-by: flynnnnnnnnnn <flynnnnnnnnnn@github>
Co-authored-by: John Olheiser <john.olheiser@gmail.com > 
						
						
					 
					
						2022-11-27 18:20:29 +00:00 
						 
				 
			
				
					
						
							
							
								KN4CK3R 
							
						 
					 
					
						
						
							
						
						044c754ea5 
					 
					
						
						
							
							Add context.Context to more methods ( #21546 )  
						
						... 
						
						
						
						This PR adds a context parameter to a bunch of methods. Some helper
`xxxCtx()` methods got replaced with the normal name now.
Co-authored-by: delvh <dev.lh@web.de >
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com > 
						
						
					 
					
						2022-11-19 16:12:33 +08:00 
						 
				 
			
				
					
						
							
							
								Lunny Xiao 
							
						 
					 
					
						
						
							
						
						26095115f4 
					 
					
						
						
							
							Move some repository related code into sub package ( #19711 )  
						
						... 
						
						
						
						* Move some repository related code into sub package
* Move more repository functions out of models
* Fix lint
* Some performance optimization for webhooks and others
* some refactors
* Fix lint
* Fix
* Update modules/repository/delete.go
Co-authored-by: delvh <dev.lh@web.de >
* Fix test
* Merge
* Fix test
* Fix test
* Fix test
* Fix test
Co-authored-by: delvh <dev.lh@web.de > 
						
						
					 
					
						2022-06-06 16:01:49 +08:00