1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-23 00:54:28 +00:00
gitea/routers
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
..
api Fix admin team access mode value in team_unit table (#24012) 2023-04-13 21:06:10 +02:00
common Editor preview support for external renderers (#23333) 2023-03-24 14:12:23 +08:00
install Refactor cookie (#24107) 2023-04-13 15:45:33 -04:00
private Refactor internal API for git commands, use meaningful messages instead of "Internal Server Error" (#23687) 2023-03-29 14:32:26 +08:00
utils Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
web Refactor cookie (#24107) 2023-04-13 15:45:33 -04:00
init.go Use a general approach to access custom/static/builtin assets (#24022) 2023-04-12 18:16:45 +08:00