0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-01-23 06:39:41 -05:00
forgejo/modules/context
wxiaoguang 5b9557aef5
Refactor cookie (#24107)
Close #24062

At the beginning, I just wanted to fix the warning mentioned by #24062

But, the cookie code really doesn't look good to me, so clean up them.

Complete the TODO on `SetCookie`: 

> TODO: Copied from gitea.com/macaron/macaron and should be improved
after macaron removed.
2023-04-13 15:45:33 -04:00
..
access_log.go Correct the access log format (#24085) 2023-04-13 21:14:06 +08:00
api.go Set X-Gitea-Debug header once (#23361) 2023-03-08 15:40:04 -05:00
api_org.go
api_test.go
auth.go Refactor cookie (#24107) 2023-04-13 15:45:33 -04:00
captcha.go
context.go Refactor cookie (#24107) 2023-04-13 15:45:33 -04:00
csrf.go Refactor cookie (#24107) 2023-04-13 15:45:33 -04:00
form.go
org.go Add missing tabs to org projects page (#22705) 2023-03-10 09:18:20 -06:00
package.go Improve permission check of packages (#23879) 2023-04-06 22:18:29 +08:00
pagination.go Make branches list page operations remember current page (#23420) 2023-03-14 13:11:38 +08:00
permission.go
private.go
repo.go Ensure RSS icon is present on all repo tabs (#23904) 2023-04-07 16:48:23 +08:00
response.go
utils.go
xsrf.go
xsrf_test.go