wxiaoguang 
							
						 
					 
					
						
						
							
						
						0cbaa0b662 
					 
					
						
						
							
							Remove incorrect "db.DefaultContext" usages ( #35366 )  
						
						
						
						
					 
					
						2025-08-28 03:52:43 +00:00 
						 
				 
			
				
					
						
							
							
								Lunny Xiao 
							
						 
					 
					
						
						
							
						
						ddd1e6ca83 
					 
					
						
						
							
							Forks repository list page follow other repositories page ( #34784 )  
						
						... 
						
						
						
						Replace #24130  
Before:

After:
 
						
						
					 
					
						2025-06-21 12:27:25 -07:00 
						 
				 
			
				
					
						
							
							
								Kerwin Bryant 
							
						 
					 
					
						
						
							
						
						bbee652e29 
					 
					
						
						
							
							Prevent duplicate form submissions when creating forks ( #34714 )  
						
						... 
						
						
						
						Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com > 
						
						
					 
					
						2025-06-16 04:19:16 +00:00 
						 
				 
			
				
					
						
							
							
								TheFox0x7 
							
						 
					 
					
						
						
							
						
						ee3c82f874 
					 
					
						
						
							
							Enable addtional linters ( #34085 )  
						
						... 
						
						
						
						enable mirror, usestdlibbars and perfsprint 
part of: https://github.com/go-gitea/gitea/issues/34083 
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com > 
						
						
					 
					
						2025-04-01 10:14:01 +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 
							
						 
					 
					
						
						
							
						
						77d14fb6d3 
					 
					
						
						
							
							Fix system admin cannot fork or get private fork with API ( #33401 )  
						
						... 
						
						
						
						Fix  #33368  
					
						2025-01-27 16:25:14 +00:00 
						 
				 
			
				
					
						
							
							
								TheFox0x7 
							
						 
					 
					
						
						
							
						
						33e8e82c4b 
					 
					
						
						
							
							Enable tenv and testifylint rules ( #32852 )  
						
						... 
						
						
						
						Enables tenv and testifylint linters
closes: https://github.com/go-gitea/gitea/issues/32842  
						
						
					 
					
						2024-12-15 10:41:29 +00:00 
						 
				 
			
				
					
						
							
							
								Lunny Xiao 
							
						 
					 
					
						
						
							
						
						f62f68cbdd 
					 
					
						
						
							
							Move team related functions to service layer ( #32537 )  
						
						... 
						
						
						
						There are still some functions under `models` after last big refactor
about `models`. This change will move all team related functions to
service layer with no code change. 
						
						
					 
					
						2024-11-27 21:12:26 +00:00 
						 
				 
			
				
					
						
							
							
								Lunny Xiao 
							
						 
					 
					
						
						
							
						
						4f879a00df 
					 
					
						
						
							
							Refactor find forks and fix possible bugs that weak permissions check ( #32528 )  
						
						... 
						
						
						
						- Move models/GetForks to services/FindForks
- Add doer as a parameter of FindForks to check permissions
- Slight performance optimization for get forks API with batch loading
of repository units
- Add tests for forking repository to organizations
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com > 
						
						
					 
					
						2024-11-18 03:06:25 +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 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
						
						194479a741 
					 
					
						
						
							
							Use a predictiable fork URL to allow forking repositories without providing a repo ID ( #29519 )  
						
						... 
						
						
						
						Close  #29512 
The "fork" URL:
* Before: `/repo/fork/{RepoID}`
* After: `/{OwnerName}/{RepoName}/fork` 
					
						2024-03-01 12:52:30 +00:00 
						 
				 
			
				
					
						
							
							
								Nanguan Lin 
							
						 
					 
					
						
						
							
						
						da50be7360 
					 
					
						
						
							
							Replace 'userxx' with 'orgxx' in all test files when the user type is org  ( #27052 )  
						
						... 
						
						
						
						Currently 'userxx' and 'orgxx' are both used as username in test files
when the user type is org, which is confusing. This PR replaces all
'userxx' with 'orgxx' when the user type is org(`user.type==1`).
Some non-trivial changes
1. Rename `user3` dir to `org3` in `tests/git-repositories-meta` 
2. Change `end` in `issue reference` because 'org3' is one char shorter
than 'user3'

3. Change the search result number of `user/repo2` because
`user3/repo21` can't be searched now

4. Change the first org name getting from API because the result is
ordered by alphabet asc and now `org 17` is before `org25`


Other modifications are just find all and replace all.
Unit tests with SQLite are all passed.
---------
Co-authored-by: caicandong <1290147055@qq.com > 
						
						
					 
					
						2023-09-14 02:59:53 +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