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 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d6d3c96e65 
							
						 
					 
					
						
						
							
							Fix bug when a token is given public only ( #32204 )  
						
						
						
						
					 
					
						2024-10-08 12:51:09 +03:00 
						 
				 
			
				
					
						
							
							
								Kyle D 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							33439b733a 
							
						 
					 
					
						
						
							
							Disable query token param in integration tests ( #28592 )  
						
						... 
						
						
						
						Follow up to https://github.com/go-gitea/gitea/pull/28484 , this PR
enables the setting for integration tests and migrates a few additional
test queries. 
						
						
					 
					
						2023-12-23 11:29:51 +08: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 
						 
				 
			
				
					
						
							
							
								Lunny Xiao 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							de981c39e6 
							
						 
					 
					
						
						
							
							Fix bug of branches API with tests ( #25578 )  
						
						... 
						
						
						
						Fix  #25558 
Extract from #22743 
This PR added a repository's check when creating/deleting branches via
API. Mirror repository and archive repository cannot do that. 
					
						2023-07-01 10:52:52 +08:00