forked from gitea/gitea
1
0
Fork 0
gitea/modules/auth/sso
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
..
basic.go Remove check on username if AccessToken authentication (#11015) 2020-04-14 13:32:03 -05:00
interface.go Add single sign-on support via SSPI on Windows (#8463) 2019-11-23 01:33:31 +02:00
oauth2.go Skip SSPI authentication attempts for /api/internal (#12556) 2020-08-22 12:09:43 +03:00
reverseproxy.go Use google/uuid to instead satori/go.uuid (#11943) 2020-06-18 17:18:44 +08:00
session.go Add single sign-on support via SSPI on Windows (#8463) 2019-11-23 01:33:31 +02:00
sso.go Skip SSPI authentication attempts for /api/internal (#12556) 2020-08-22 12:09:43 +03:00
sspi_windows.go Direct avatar rendering (#13649) 2020-12-03 19:46:11 +01:00