9269a038a4 
								
									
								
							
								 
							
						 
						
							
							
								
								Direct avatar rendering ( #13649 )  
							
							... 
							
							
 
							
							* Direct avatar rendering
This adds new template helpers for avatar rendering which output image
elements with direct links to avatars which makes them cacheable by the
browsers.
This should be a major performance improvment for pages with many avatars.
* fix avatars of other user's profile pages
* fix top border on user avatar name
* uncircle avatars
* remove old incomplete avatar selector
* use title attribute for name and add it back on blame
* minor refactor
* tweak comments
* fix url path join and adjust test to new result
* dedupe functions 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								ffddf3f8a6 
								
									
								
							
								 
							
						 
						
							
							
								
								Make SVG size argument optional ( #12814 )  
							
							... 
							
							
 
							
							Now defaults to 16 on both frontend and backend.
Co-authored-by: techknowlogick <techknowlogick@gitea.io> 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								86fdba177a 
								
									
								
							
								 
							
						 
						
							
							
								
								Add Octicon SVG spritemap ( #10107 )  
							
							... 
							
							
 
							
							* Add octicon SVG sprite
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Static prefix
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* SVG for all repo icons
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* make vendor
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Swap out octicons
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Move octicons to top of less imports
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Fix JS
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Definitely not a search/replace
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Missed regex
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Move to more generic calls and webpack
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* make svg -> make webpack
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Remove svg-sprite
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Update tests
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Missed a test
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Remove svg from makefile
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Suggestions
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Attempt to fix test
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Update tests
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Revert timetracking test
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Swap .octicon for .svg in less
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Add aria-hidden
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Replace mega-octicon
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Fix webpack globbing on Windows
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Revert
Co-Authored-By: silverwind <me@silverwind.io>
* Fix octions from upstream
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Fix Vue and missed JS function
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Add JS helper and PWA
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Preload SVG
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: techknowlogick <matti@mdranta.net> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								fe00886bef 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix followers and following tabs in profile ( #10202 )  
							
							
 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								fcbac38d6f 
								
							
								 
							
						 
						
							
							
								
								Unifies pagination template usage ( #6531 ) ( #6533 )  
							
							
 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								51ba3df5ff 
								
							
								 
							
						 
						
							
							
								
								Add `noreferrer` to rel='noopener` for <a> tags ( #4328 )  
							
							
 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								f2e20c81b6 
								
							
								 
							
						 
						
							
							
								
								Refactor struct's time to remove unnecessary memory usage ( #3142 )  
							
							... 
							
							
 
							
							* refactor struct's time to remove unnecessary memory usage
* use AsTimePtr simple code
* fix tests
* fix time compare
* fix template on gpg
* use AddDuration instead of Add 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								5ab85372da 
								
							
								 
							
						 
						
							
							
								
								Added rel="noopener" to target="_blank" hrefs ( #327 )  
							
							... 
							
							
 
							
							* Added rel="noopener" to target="_blank" hrefs
* Replaced gogs.io/docs with docs.gitea.io 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								50422f1fc2 
								
							
								 
							
						 
						
							
							
								
								#3348  always use relative avatar link in the template  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								1f2e173a74 
								
							
								 
							
						 
						
							
							
								
								Refactor User.Id to User.ID  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								971e2c3bd6 
								
							
								 
							
						 
						
							
							
								
								Upgrade octicon to 4.3.0  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								a49af93faf 
								
							
								 
							
						 
						
							
							
								
								#1692  APIs: Users Followers  
							
							... 
							
							
 
							
							- User profile un/follow
- List user's followers/following 
							
						 
						
							10 years ago