Commit Graph

10 Commits (54961f3ac97709238710b2207e8c42f0a9897d80)

Author SHA1 Message Date
KN4CK3R 3f280f89e7
Update HTTP status codes to modern codes (#18063) 3 years ago
zeripath 3f71ab9a12
Clean paths when looking in Storage (#19124) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
wxiaoguang 5bf8d5445e
Refactor Router Logger (#17308) 3 years ago
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