forgejo/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
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
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