0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-26 01:14:10 -05:00
forgejo/routers/web
wxiaoguang 84ceaa98bd
Refactor CSRF protection modules, make sure CSRF tokens can be up-to-date. (#19337)
Do a refactoring to the CSRF related code, remove most unnecessary functions.
Parse the generated token's issue time, regenerate the token every a few minutes.
2022-04-08 13:21:05 +08:00
..
admin Package registry changes (#19305) 2022-04-06 03:32:09 +02:00
auth Refactor CSRF protection modules, make sure CSRF tokens can be up-to-date. (#19337) 2022-04-08 13:21:05 +08:00
dev Move user related model into models/user (#17781) 2021-11-24 17:49:20 +08:00
events Renamed ctx.User to ctx.Doer. (#19161) 2022-03-22 15:03:22 +08:00
explore Never use /api/v1 from Gitea UI Pages (#19318) 2022-04-07 20:59:56 +02:00
feed Add ContextUser to http request context (#18798) 2022-03-26 17:04:22 +08:00
misc Remove dependent on session auth for api/v1 routers (#19321) 2022-04-08 06:22:10 +02:00
org Never use /api/v1 from Gitea UI Pages (#19318) 2022-04-07 20:59:56 +02:00
repo Never use /api/v1 from Gitea UI Pages (#19318) 2022-04-07 20:59:56 +02:00
user Never use /api/v1 from Gitea UI Pages (#19318) 2022-04-07 20:59:56 +02:00
auth.go Let web and API routes have different auth methods group (#19168) 2022-03-28 12:46:28 +08:00
auth_windows.go Let web and API routes have different auth methods group (#19168) 2022-03-28 12:46:28 +08:00
base.go Update HTTP status codes to modern codes (#18063) 2022-03-23 12:54:07 +08:00
goget.go Refactor legacy unknwon/com package, improve golangci lint (#19284) 2022-04-01 16:47:50 +08:00
home.go Renamed ctx.User to ctx.Doer. (#19161) 2022-03-22 15:03:22 +08:00
metrics.go Update HTTP status codes to modern codes (#18063) 2022-03-23 12:54:07 +08:00
nodeinfo.go
swagger_json.go
web.go Remove dependent on session auth for api/v1 routers (#19321) 2022-04-08 06:22:10 +02:00