f1173d6879 
					 
					
						
						
							
							Use more specific test methods ( #24265 )  
						
						... 
						
						
						
						Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Giteabot <teabot@gitea.io> 
						
						
					 
					
						2023-04-22 17:56:27 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						19de52e0f4 
					 
					
						
						
							
							Introduce GiteaLocaleNumber custom element to handle number localization on pages. ( #23861 )  
						
						... 
						
						
						
						Follow #21429  & #22861 
Use `<gitea-locale-number>` instead of backend `PrettyNumber`. All old
`PrettyNumber` related functions are removed. A lot of code could be
simplified.
And some functions haven't been used for long time (dead code), so they
are also removed by the way (eg: `SplitStringAtRuneN`, `Dedent`)
This PR only tries to improve the `PrettyNumber` rendering problem, it
doesn't touch the "plural" problem.
Screenshot:

 
						
						
					 
					
						2023-04-03 12:58:09 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						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 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						c7e23401a3 
					 
					
						
						
							
							Fix a panic in NotifyCreateIssueComment (caused by string truncation) ( #17928 )  
						
						... 
						
						
						
						* Fix a panic in NotifyCreateIssueComment (caused by string truncation)
* more unit tests
* refactor
* fix some edge cases
* use SplitStringAtByteN for comment content 
						
						
					 
					
						2021-12-09 05:41:17 +00:00