Lunny Xiao 
							
						 
					 
					
						
						
							
						
						e73c1139ac 
					 
					
						
						
							
							Fix panic when comment is nil ( #34257 )  
						
						... 
						
						
						
						Fix  #34254  
					
						2025-04-24 01:58:00 +00:00 
						 
				 
			
				
					
						
							
							
								Lunny Xiao 
							
						 
					 
					
						
						
							
						
						f6474cf2e9 
					 
					
						
						
							
							Fix bug when migrating repository ( #34182 )  
						
						... 
						
						
						
						This PR fixed a bug which is a regression from #31035  
						
						
					 
					
						2025-04-14 04:48:03 +00:00 
						 
				 
			
				
					
						
							
							
								TheFox0x7 
							
						 
					 
					
						
						
							
						
						0fde8ecd55 
					 
					
						
						
							
							Enable testifylint rules ( #34075 )  
						
						... 
						
						
						
						enable testifylint rules disabled in:
https://github.com/go-gitea/gitea/pull/34054  
						
						
					 
					
						2025-03-31 01:53:48 -04:00 
						 
				 
			
				
					
						
							
							
								Lunny Xiao 
							
						 
					 
					
						
						
							
						
						1e7248047c 
					 
					
						
						
							
							Pull request updates will also trigger code owners review requests ( #33744 )  
						
						... 
						
						
						
						Fix  #33490  
It will only read the changed file on the pushed commits but not all the
files of this PR.
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com > 
					
						2025-03-13 19:36:14 -07:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
						
						0ed160ffea 
					 
					
						
						
							
							Refactor tests ( #33021 )  
						
						... 
						
						
						
						1. fix incorrect tests, for example: BeanExists doesn't do assert and
shouldn't be used
2. remove unnecessary test functions
3. introduce DumpQueryResult to help to see the database rows during
test (at least I need it)
```
====== DumpQueryResult: SELECT * FROM action_runner_token ======
- # row[0]
  id: 1
  token: xeiWBL5kuTYxGPynHCqQdoeYmJAeG3IzGXCYTrDX
  owner_id: 0
...
``` 
						
						
					 
					
						2024-12-29 01:05:56 +00:00 
						 
				 
			
				
					
						
							
							
								yp05327 
							
						 
					 
					
						
						
							
						
						daf2a4c047 
					 
					
						
						
							
							Fix wrong display of recently pushed notification ( #25812 )  
						
						... 
						
						
						
						There's a bug in #25715 : 
If user pushed a commit into another repo with same branch name, the
no-related repo will display the recently pushed notification
incorrectly.
It is simple to fix this, we should match the repo id in the sql query.

The latest commit is 2 weeks ago.

The notification comes from another repo with same branch name:

After:
In forked repo:

New PR Link will redirect to the original repo:

In the original repo:

New PR Link:

In the same repo:

New PR Link:

08/15 Update:
Follow #26257 , added permission check and logic fix mentioned in
https://github.com/go-gitea/gitea/pull/26257#discussion_r1294085203 
2024/04/25 Update:
Fix  #30611 
---------
Co-authored-by: silverwind <me@silverwind.io >
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com > 
						
						
					 
					
						2024-05-21 17:00:35 +00:00 
						 
				 
			
				
					
						
							
							
								Lunny Xiao 
							
						 
					 
					
						
						
							
						
						c6cf96d31d 
					 
					
						
						
							
							Fix automerge will not work because of some events haven't been triggered ( #30780 )  
						
						... 
						
						
						
						Replace #25741 
Close  #24445 
Close  #30658 
Close  #20646 
~Depends on #30805~
Since #25741  has been rewritten totally, to make the contribution
easier, I will continue the work in this PR. Thanks @6543
---------
Co-authored-by: 6543 <6543@obermui.de >
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com > 
						
						
					 
					
						2024-05-21 23:23:22 +08:00 
						 
				 
			
				
					
						
							
							
								Kemal Zebari 
							
						 
					 
					
						
						
							
						
						dd301cae1c 
					 
					
						
						
							
							Prevent allow/reject reviews on merged/closed PRs ( #30686 )  
						
						... 
						
						
						
						Resolves  #30675 . 
					
						2024-04-27 11:55:03 +00:00 
						 
				 
			
				
					
						
							
							
								Lunny Xiao 
							
						 
					 
					
						
						
							
						
						c63060b130 
					 
					
						
						
							
							Fix code owners will not be mentioned when a pull request comes from a forked repository ( #30476 )  
						
						... 
						
						
						
						Fix  #30277 
Caused by #29783  
					
						2024-04-15 16:11:07 +02:00 
						 
				 
			
				
					
						
							
							
								Lunny Xiao 
							
						 
					 
					
						
						
							
						
						475b6e839c 
					 
					
						
						
							
							Fix Add/Remove WIP on pull request title failure ( #29999 )  
						
						... 
						
						
						
						Fix  #29997  
					
						2024-03-25 15:51:23 +08:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
						
						828701ff2d 
					 
					
						
						
							
							Fix template error when comment review doesn't exist ( #29888 )  
						
						... 
						
						
						
						Fix  #29885  
					
						2024-03-19 04:19:48 +00:00 
						 
				 
			
				
					
						
							
							
								Lunny Xiao 
							
						 
					 
					
						
						
							
						
						cb78648ad9 
					 
					
						
						
							
							Fix wrong test for TestPullView_CodeOwner ( #29838 )  
						
						... 
						
						
						
						It's weird the previous test was PASS. 
						
						
					 
					
						2024-03-16 13:59:02 +00:00 
						 
				 
			
				
					
						
							
							
								Lunny Xiao 
							
						 
					 
					
						
						
							
						
						277f90d416 
					 
					
						
						
							
							Fix codeowner detected diff base branch to mergebase ( #29783 )  
						
						... 
						
						
						
						Fix  #29763 
This PR fixes 2 problems with CodeOwner in the pull request.
- Don't use the pull request base branch but merge-base as a diff base to
detect the code owner.
- CodeOwner detection in fork repositories will be disabled because
almost all the fork repositories will not change CODEOWNERS files but it
should not be used on fork repositories' pull requests.
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com > 
					
						2024-03-15 05:13:09 +00: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 
						 
				 
			
				
					
						
							
							
								Kyle D 
							
						 
					 
					
						
						
							
						
						c8ded77680 
					 
					
						
						
							
							Kd/ci playwright go test ( #20123 )  
						
						... 
						
						
						
						* Add initial playwright config
* Simplify Makefile
* Simplify Makefile
* Use correct config files
* Update playwright settings
* Fix package-lock file
* Don't use test logger for e2e tests
* fix frontend lint
* Allow passing TEST_LOGGER variable
* Init postgres database
* use standard gitea env variables
* Update playwright
* update drone
* Move empty env var to commands
* Cleanup
* Move integrations to subfolder
* tests integrations to tests integraton
* Run e2e tests with go test
* Fix linting
* install CI deps
* Add files to ESlint
* Fix drone typo
* Don't log to console in CI
* Use go test http server
* Add build step before tests
* Move shared init function to common package
* fix drone
* Clean up tests
* Fix linting
* Better mocking for page + version string
* Cleanup test generation
* Remove dependency on gitea binary
* Fix linting
* add initial support for running specific tests
* Add ACCEPT_VISUAL variable
* don't require git-lfs
* Add initial documentation
* Review feedback
* Add logged in session test
* Attempt fixing drone race
* Cleanup and bump version
* Bump deps
* Review feedback
* simplify installation
* Fix ci
* Update install docs 
						
						
					 
					
						2022-09-02 15:18:23 -04:00