gitea/services
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
..
actions Use actions job link as commit status URL instead of run link (#24023) 2023-04-10 06:40:30 -04:00
agit
asymkey
attachment
auth Refactor cookie (#24107) 2023-04-13 15:45:33 -04:00
automerge
context
convert Add activity feeds API (#23494) 2023-04-04 21:35:31 +08:00
cron
externalaccount
forms Title can be empty when creating tag only (#23917) 2023-04-06 21:44:52 -04:00
gitdiff
issue
lfs Improve LFS error logs (#24072) 2023-04-12 11:01:41 -04:00
mailer
markup
migrations Update github.com/google/go-github to v51 (#23946) 2023-04-08 19:27:30 +08:00
mirror
org
packages
pull
release
repository Make label templates have consistent behavior and priority (#23749) 2023-04-10 16:44:02 +08:00
task
user
webhook Fix incorrect `HookEventType` of pull request review comments (#23650) 2023-03-24 13:13:04 +08:00
wiki