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.
gitea/services
wxiaoguang e8aae43f56
Move web/api context related testing function into a separate package (#26859)
Just like `models/unittest`, the testing helper functions should be in a
separate package: `contexttest`

And complete the TODO:

> // TODO: move this function to other packages, because it depends on
"models" package
1 year ago
..
actions chore(actions): support cron schedule task (#26655) 1 year ago
agit Add context parameter to some database functions (#26055) 2 years ago
asymkey Add context cache as a request level cache (#22294) 2 years ago
attachment Preserve file size when creating attachments (#23406) 2 years ago
auth Update team invitation email link (#26550) 1 year ago
automerge Improve queue and logger context (#24924) 2 years ago
context Replace `interface{}` with `any` (#25686) 2 years ago
convert add Upload URL to release API (#26663) 1 year ago
cron chore(actions): support cron schedule task (#26655) 1 year ago
externalaccount Replace `interface{}` with `any` (#25686) 2 years ago
forms Check blocklist for emails when adding them to account (#26812) 1 year ago
gitdiff Fix stderr usages (#26477) 1 year ago
issue Add transaction when creating pull request created dirty data (#26259) 2 years ago
lfs Bump github.com/golang-jwt/jwt to v5 (#25975) 2 years ago
mailer Update team invitation email link (#26550) 1 year ago
markup Move web/api context related testing function into a separate package (#26859) 1 year ago
migrations Use `Set[Type]` instead of `map[Type]bool/struct{}`. (#26804) 1 year ago
mirror Move `modules/mirror` to `services` (#26737) 1 year ago
org Refactor rename user and rename organization (#24052) 2 years ago
packages Reduce some allocations in type conversion (#26772) 1 year ago
pull Reduce some allocations in type conversion (#26772) 1 year ago
release Less naked returns (#25713) 2 years ago
repository Move web/api context related testing function into a separate package (#26859) 1 year ago
task Add `Retry` button when creating a mirror-repo fails (#26228) 2 years ago
user add unit test for user renaming (#26261) 2 years ago
webhook Modify the content format of the Feishu webhook (#25106) 1 year ago
wiki Introduce ctx.PathParamRaw to avoid incorrect unescaping (#26392) 2 years ago