Commit Graph

10 Commits (be541d9877f4c5f27d8c903f021c59d5373094f9)

Author SHA1 Message Date
Yarden Shoham af0468ed8d
Set `X-Gitea-Debug` header once (#23361) 2 years ago
Lunny Xiao bd820aa9c5
Add context cache as a request level cache (#22294) 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 2 years ago
Gusted 5d3dbffa15
Return 404 when user is not found on avatar (#21476) 2 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 3 years ago
wxiaoguang f0ba87fda8
Avatar refactor, move avatar code from `models` to `models.avatars`, remove duplicated code (#17123) 3 years ago
silverwind 9fa6bdb64e
Add Cache-Control to avatar redirects (#16973) 3 years ago
Lunny Xiao 33e0b38287
Rename context.Query to context.Form (#16562) 3 years ago
Lunny Xiao 1bfb0a24d8
Refactor routers directory (#15800) 4 years ago
zeripath 27f9bda769
Prevent NPE on avatar direct rendering if federated avatars disabled (#15434) 4 years ago
silverwind 9269a038a4
Direct avatar rendering (#13649) 4 years ago
zeripath e6baa656f7
make avatar lookup occur at image request (#10540) 5 years ago
6543 d59536c222 [BugFix] use default avatar for ghost user (fix 500 error) (#9536) 5 years ago
Sandro Santilli d958b9db4f Alwaywas return local url for users avatar (#8245) 5 years ago