forgejo/routers
silverwind 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
2020-12-03 19:46:11 +01:00
..
admin Handle and propagate errors when checking if paths are Dirs, Files or Exist (#13186) 2020-11-27 21:42:08 -05:00
api/v1 Expose default theme in meta and API (#13809) 2020-12-03 13:53:21 +01:00
dev
events
org
private
repo Direct avatar rendering (#13649) 2020-12-03 19:46:11 +01:00
routes Fix missing stylesheets on installation page (#13736) 2020-11-28 19:52:30 +02:00
user Direct avatar rendering (#13649) 2020-12-03 19:46:11 +01:00
utils
home.go
init.go Flip RUN_MODE detection in router (#13768) 2020-12-01 09:54:44 +08:00
install.go Handle and propagate errors when checking if paths are Dirs, Files or Exist (#13186) 2020-11-27 21:42:08 -05:00
metrics.go
swagger_json.go