Commit Graph

14 Commits (de1a5506d1c1da71415393e6c943f341195e610b)

Author SHA1 Message Date
wxiaoguang 43c7a2e7b1
Refactor names (#31405) 5 months ago
Lunny Xiao 29f149bd9f
Move context from modules to services (#29440) 9 months ago
Nanguan Lin 881806a50b
Replace -1 with GhostUserID (#27703) 1 year ago
JakobDev 76a85a4ce9
Final round of `db.DefaultContext` refactor (#27587) 1 year ago
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