Commit Graph

6 Commits (623c93ff46798e86636dba24f5a48bb35e12b9a5)

Author SHA1 Message Date
Gusted ab1379743e
Fix nil checking on typed interface (#17598) 3 years ago
Lunny Xiao f494776931
Use a variable but a function for IsProd because of a slight performance increment (#17368) 3 years ago
Lunny Xiao 37b29319aa
Fix bug of get context user (#17169) 3 years ago
zeripath afd88a2418
Allow setting X-FRAME-OPTIONS (#16643) 3 years ago
Lunny Xiao fb3ffeb18d
Add sso.Group, context.Auth, context.APIAuth to allow auth special routes (#16086) 4 years ago
Lunny Xiao 1bfb0a24d8
Refactor routers directory (#15800) 4 years ago
zeripath 17c5c654a5
Prevent double-login for Git HTTP and LFS and simplify login (#15303) 4 years ago
Lunny Xiao f4e677edb1
Fix bug on avatar middleware (#15124) 4 years ago
Lunny Xiao 5e20fd6dbf
Move middlewares to web/middleware (#14480) 4 years ago
Lunny Xiao a51cc6dea4
Fix access log (#14475) 4 years ago
Lunny Xiao 6433ba0ec3
Move macaron to chi (#14293) 4 years ago
Lunny Xiao 135b0e502d
Fix log http status is always zero (#14400) 4 years ago
Kyungmin Bae edbc5c86df
Use Request.URL.RequestURI() for fcgi (#14312) (#14314) 4 years ago
Lunny Xiao ce43d38b4f
Fix session bug when introduce chi (#14287) 4 years ago
Lunny Xiao 15a475b7db
Fix recovery middleware to render gitea style page. (#13857) 4 years ago
Simon 8c996c6505
Fix missing stylesheets on installation page (#13736) 4 years ago
silverwind 0615b668dc
HTTP cache rework and enable caching for storage assets (#13569) 4 years ago
Lunny Xiao 9ec5e6c40b
Move metrics from macaron to chi (#13601) 4 years ago
Lunny Xiao 586bfb9f32
Use mount but not register for chi routes (#13555) 4 years ago
Lunny Xiao c296f4fed6
Introduce go chi web framework as frontend of macaron, so that we can move routes from macaron to chi step by step (#7420) 4 years ago