Commit Graph

56 Commits (9bc5552c11f6aca08c8c873a0561882b3e099350)

Author SHA1 Message Date
wxiaoguang 43c7a2e7b1
Refactor names (#31405) 5 months ago
wxiaoguang d32648b204
Refactor route path normalization (#31381) 5 months ago
wxiaoguang 5342a61124
Delete legacy cookie before setting new cookie (#31306) 5 months ago
Lunny Xiao e865de1e9d
Use maintained gziphandler (#30592) 7 months ago
Jason Song 61457cdf6b
Avoid importing `modules/web/middleware` in `modules/session` (#30584) 7 months ago
Jonathan Tran b18c04ebde
fix: Fix to delete cookie when AppSubURL is non-empty (#30375) 7 months ago
wxiaoguang f3eb835886
Refactor locale&string&template related code (#29165) 9 months ago
wxiaoguang b41925cee3
Refactor CORS handler (#28587) 11 months ago
wxiaoguang 7c0ab8b974
Make CORS work for oauth2 handlers (#28184) 12 months ago
wxiaoguang c0ed26f987
Remove some dead code (#27196) 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) 2 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