Commit Graph

6 Commits (796c4eca0bacf67c186768de66fcfee21867045f)

Author SHA1 Message Date
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