itdoxy-lab/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
2023-09-01 11:26:07 +00:00
..
actions chore(actions): support cron schedule task (#26655) 2023-08-24 03:06:51 +00:00
agit Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
asymkey Add context cache as a request level cache (#22294) 2023-02-15 21:37:34 +08:00
attachment Preserve file size when creating attachments (#23406) 2023-03-12 03:48:07 -04:00
auth Update team invitation email link (#26550) 2023-08-31 16:26:13 +00:00
automerge Improve queue and logger context (#24924) 2023-05-26 07:31:55 +00:00
context Replace `interface{}` with `any` (#25686) 2023-07-04 18:36:08 +00:00
convert add Upload URL to release API (#26663) 2023-08-24 10:36:10 +00:00
cron chore(actions): support cron schedule task (#26655) 2023-08-24 03:06:51 +00:00
externalaccount Replace `interface{}` with `any` (#25686) 2023-07-04 18:36:08 +00:00
forms Check blocklist for emails when adding them to account (#26812) 2023-08-30 10:46:49 -05:00
gitdiff Fix stderr usages (#26477) 2023-08-13 20:49:30 +08:00
issue Add transaction when creating pull request created dirty data (#26259) 2023-08-10 02:39:21 +00:00
lfs Bump github.com/golang-jwt/jwt to v5 (#25975) 2023-07-19 09:57:10 +00:00
mailer Update team invitation email link (#26550) 2023-08-31 16:26:13 +00:00
markup Move web/api context related testing function into a separate package (#26859) 2023-09-01 11:26:07 +00:00
migrations Use `Set[Type]` instead of `map[Type]bool/struct{}`. (#26804) 2023-08-30 06:55:25 +00:00
mirror Move `modules/mirror` to `services` (#26737) 2023-08-27 10:24:45 +08:00
org Refactor rename user and rename organization (#24052) 2023-05-21 23:13:47 +08:00
packages Reduce some allocations in type conversion (#26772) 2023-08-29 00:43:16 +08:00
pull Reduce some allocations in type conversion (#26772) 2023-08-29 00:43:16 +08:00
release Less naked returns (#25713) 2023-07-07 05:31:56 +00:00
repository Move web/api context related testing function into a separate package (#26859) 2023-09-01 11:26:07 +00:00
task Add `Retry` button when creating a mirror-repo fails (#26228) 2023-08-04 10:21:32 +08:00
user add unit test for user renaming (#26261) 2023-08-03 09:38:51 +08:00
webhook Modify the content format of the Feishu webhook (#25106) 2023-08-24 09:00:11 +08:00
wiki Introduce ctx.PathParamRaw to avoid incorrect unescaping (#26392) 2023-08-09 14:57:45 +08:00