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 add user rename endpoint to admin api (#22789) 2023-03-14 03:45:21 -04:00
asymkey
attachment Preserve file size when creating attachments (#23406) 2023-03-12 03:48:07 -04:00
auth Refactor cookie (#24107) 2023-04-13 15:45:33 -04:00
automerge
context Use User.ID instead of User.Name in ActivityPub API for Person IRI (#23823) 2023-04-04 10:08:23 +08:00
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 Preserve file size when creating attachments (#23406) 2023-03-12 03:48:07 -04:00
markup
migrations Update github.com/google/go-github to v51 (#23946) 2023-04-08 19:27:30 +08:00
mirror
org
packages Introduce path Clean/Join helper functions (#23495) 2023-03-21 16:02:49 -04:00
pull [Patch] Fix closed PR also triggers Webhooks and actions (#23782) 2023-03-30 16:26:02 +08:00
release Delete deleted release attachments immediately from storage (#23913) 2023-04-06 18:01:36 -04:00
repository Make label templates have consistent behavior and priority (#23749) 2023-04-10 16:44:02 +08:00
task
user add user rename endpoint to admin api (#22789) 2023-03-14 03:45:21 -04:00
webhook Fix incorrect `HookEventType` of pull request review comments (#23650) 2023-03-24 13:13:04 +08:00
wiki