Commit Graph

48 Commits (376fa0d8c49ca8a290ebb328281a56af346f5785)

Author SHA1 Message Date
wxiaoguang 7a2786ca6c
Refactor CORS handler (#28587) (#28611) 11 months ago
Giteabot 23838c2c2e
Make CORS work for oauth2 handlers (#28184) (#28185) 1 year ago
silverwind 3db3f5daae
Update tool dependencies (#26607) 1 year ago
wxiaoguang 3e4a4f9c67
Fix incorrect router logger (#26137) 1 year ago
wxiaoguang 9b25bfa8f4
Remove redundant "RouteMethods" method (#26024) 1 year ago
wxiaoguang 9672085d94
Fix "Flash" message usage (#25895) 1 year ago
wxiaoguang 819aed35bf
Make route middleware/handler mockable (#25766) 1 year ago
silverwind 88f835192d
Replace `interface{}` with `any` (#25686) 1 year ago
wxiaoguang 4e2f1ee58d
Refactor web package and context package (#25298) 1 year ago
wxiaoguang abcf5a7b5e
Fix install page context, make the install page tests really test (#24858) 2 years ago
wxiaoguang 4647660776
Rewrite logger system (#24726) 2 years ago
wxiaoguang 6b33152b7d
Decouple the different contexts from each other (#24786) 2 years ago
wxiaoguang 5d77691d42
Improve template system and panic recovery (#24461) 2 years ago
wxiaoguang 92fd3fc4fd
Refactor "route" related code, fix Safari cookie bug (#24330) 2 years ago
silverwind 47748df9b3
Enable forbidigo linter (#24278) 2 years ago
wxiaoguang b9a97ccd0e
Refactor web route (#24080) 2 years ago
wxiaoguang 5b9557aef5
Refactor cookie (#24107) 2 years ago
KN4CK3R e8186f1c0f
Map OIDC groups to Orgs/Teams (#21441) 2 years ago
Lunny Xiao 6398ca745a
refactor bind functions based on generics (#22055) 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 2 years ago
wxiaoguang 2900dc90a7
Improve valid user name check (#20136) 2 years ago
oliverpool c81b26b0e5
refactor webhook *NewPost (#20729) 2 years ago
luzpaz d29d6d1991
Fix various typos (#20338) 2 years ago
Wim cb50375e2b
Add more linters to improve code readability (#19989) 2 years ago
Gusted edf14202fe
Unify repo settings & show better error (#19828) 2 years ago
zeripath 730b9a5a62
Ensure responses are context.ResponseWriters (#19843) 3 years ago
wxiaoguang 84ceaa98bd
Refactor CSRF protection modules, make sure CSRF tokens can be up-to-date. (#19337) 3 years ago
wxiaoguang d242511e86
Remove legacy unmaintained packages, refactor to support change default locale (#19308) 3 years ago
wxiaoguang 65f17bfc31
Refactor legacy `unknwon/com` package, improve golangci lint (#19284) 3 years ago
zeripath c88547ce71
Add Goroutine stack inspector to admin/monitor (#19207) 3 years ago
KN4CK3R 3f280f89e7
Update HTTP status codes to modern codes (#18063) 3 years ago
wxiaoguang 5ff899d5ac
Fix route wrap (#18360) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
wxiaoguang 5bf8d5445e
Refactor Router Logger (#17308) 3 years ago
zeripath 5cb0c9aa0d
Propagate context and ensure git commands run in request context (#17868) 3 years ago
Gusted ff2fd08228
Simplify parameter types (#18006) 3 years ago
Gusted c98dd7a3e0
Remove unnecessary variable assignments (#17695) 3 years ago
Lunny Xiao d47798ccc7
Upgrade chi to v5 (#17298) 3 years ago
zeripath 8de44d1995
Clean-up HookPreReceive and restore functionality for pushing non-standard refs (#16705) 3 years ago
zeripath 28f6f7bb03
Restore CORS on git smart http protocol (#16496) 3 years ago
KN4CK3R 44b8b07631
Add tag protection (#15629) 3 years ago
zeripath 6d39053711
Fix setting of SameSite on cookies (#15989) 4 years ago
zeripath eedc0c8324
Defer closing the gitrepo until the end of the wrapped context functions (#15653) 4 years ago
Naohisa Murakami 1426601cf7
Use index of the supported tags to choose user lang (#15452) 4 years ago
zeripath b101fa83a6
Fix bug in Wrap (#15302) 4 years ago
zeripath 9b261f52f0
Add SameSite setting for cookies (#14900) 4 years ago
Lunny Xiao 5e20fd6dbf
Move middlewares to web/middleware (#14480) 4 years ago
Lunny Xiao 6433ba0ec3
Move macaron to chi (#14293) 4 years ago