wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4e33481357 
							
						 
					 
					
						
						
							
							Make label templates have consistent behavior and priority ( #23749 )  
						
						... 
						
						
						
						Fix https://github.com/go-gitea/gitea/issues/23715 
Other related PRs:
* #23717 
* #23716 
* #23719 
This PR is different from others, it tries to resolve the problem fundamentally (and brings more benefits)
Although it looks like some more lines are added, actually many new lines are for tests.
----
Before, the code was just "guessing" the file type and try to parse them.
<details>

</details>
This PR:
* Always remember the original option file names, and always use correct parser for them.
* Another benefit is that we can sort the Label Templates now (before there was a map, its key order is undefined)
 
						
						
					 
					
						2023-04-10 16:44:02 +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 
						 
				 
			
				
					
						
					 
					
						
						
							
							
						
						
						
							
						
						
							1a9821f57a 
							
						 
					 
					
						
						
							
							Move issues related files into models/issues ( #19931 )  
						
						... 
						
						
						
						* Move access and repo permission to models/perm/access
* fix test
* fix git test
* Move functions sequence
* Some improvements per @KN4CK3R and @delvh
* Move issues related code to models/issues
* Move some issues related sub package
* Merge
* Fix test
* Fix test
* Fix test
* Fix test
* Rename some files 
						
						
					 
					
						2022-06-13 17:37:59 +08:00 
						 
				 
			
				
					
						
							
							
								KN4CK3R 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3f280f89e7 
							
						 
					 
					
						
						
							
							Update HTTP status codes to modern codes ( #18063 )  
						
						... 
						
						
						
						* 2xx/3xx/4xx/5xx -> http.Status...
* http.StatusFound -> http.StatusTemporaryRedirect
* http.StatusMovedPermanently -> http.StatusPermanentRedirect 
						
						
					 
					
						2022-03-23 12:54:07 +08:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							81926d61db 
							
						 
					 
					
						
						
							
							Decouple unit test, remove intermediate unittestbridge package ( #17662 )  
						
						... 
						
						
						
						Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> 
						
						
					 
					
						2021-11-16 16:53:21 +08:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							df64fa4865 
							
						 
					 
					
						
						
							
							Decouple unit test code from business code ( #17623 )  
						
						
						
						
					 
					
						2021-11-12 22:36:47 +08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
						
						
						
							
						
						
							a4bfef265d 
							
						 
					 
					
						
						
							
							Move db related basic functions to models/db ( #17075 )  
						
						... 
						
						
						
						* Move db related basic functions to models/db
* Fix lint
* Fix lint
* Fix test
* Fix lint
* Fix lint
* revert unnecessary change
* Fix test
* Fix wrong replace string
* Use *Context
* Correct committer spelling and fix wrong replaced words
Co-authored-by: zeripath <art27@cantab.net> 
						
						
					 
					
						2021-09-19 19:49:59 +08:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
						
						
						
							
						
						
							1bfb0a24d8 
							
						 
					 
					
						
						
							
							Refactor routers directory ( #15800 )  
						
						... 
						
						
						
						* refactor routers directory
* move func used for web and api to common
* make corsHandler a function to prohibit side efects
* rm unused func
Co-authored-by: 6543 <6543@obermui.de> 
						
						
					 
					
						2021-06-09 01:33:54 +02:00