You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/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.
1 year ago
..
actions Use actions job link as commit status URL instead of run link (#24023) 1 year ago
agit add user rename endpoint to admin api (#22789) 1 year ago
asymkey Add context cache as a request level cache (#22294) 1 year ago
attachment Preserve file size when creating attachments (#23406) 1 year ago
auth Refactor cookie (#24107) 1 year ago
automerge Add force_merge to merge request and fix checking mergable (#23010) 1 year ago
context Use User.ID instead of User.Name in ActivityPub API for Person IRI (#23823) 1 year ago
convert Add activity feeds API (#23494) 1 year ago
cron Add Cargo package registry (#21888) 1 year ago
externalaccount Implement FSFE REUSE for golang files (#21840) 2 years ago
forms Title can be empty when creating tag only (#23917) 1 year ago
gitdiff Fix broken code editor diff preview (#23307) 1 year ago
issue Webhooks: for issue close/reopen action, add commit ID that caused it (#22583) 1 year ago
lfs Improve LFS error logs (#24072) 1 year ago
mailer Preserve file size when creating attachments (#23406) 1 year ago
markup Implement FSFE REUSE for golang files (#21840) 2 years ago
migrations Update github.com/google/go-github to v51 (#23946) 1 year ago
mirror Fill head commit to in payload when notifying push commits for mirroring (#23215) 1 year ago
org Implement FSFE REUSE for golang files (#21840) 2 years ago
packages Introduce path Clean/Join helper functions (#23495) 1 year ago
pull [Patch] Fix closed PR also triggers Webhooks and actions (#23782) 1 year ago
release Delete deleted release attachments immediately from storage (#23913) 1 year ago
repository Make label templates have consistent behavior and priority (#23749) 1 year ago
task Implement FSFE REUSE for golang files (#21840) 2 years ago
user add user rename endpoint to admin api (#22789) 1 year ago
webhook Fix incorrect `HookEventType` of pull request review comments (#23650) 1 year ago
wiki Improve utils of slices (#22379) 1 year ago