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.
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
11 months ago
..
avatar.go Make "link-action" backend code respond correct JSON content (#26680) 11 months ago
collaboration.go Move web JSON functions to web context and simplify code (#26132) 1 year ago
deploy_key.go Move web JSON functions to web context and simplify code (#26132) 1 year ago
git_hooks.go Move some files under repo/setting (#25585) 1 year ago
lfs.go Move some files under repo/setting (#25585) 1 year ago
main_test.go Move some files under repo/setting (#25585) 1 year ago
protected_branch.go Move web JSON functions to web context and simplify code (#26132) 1 year ago
protected_tag.go Move some files under repo/setting (#25585) 1 year ago
runners.go Add user level action runners (#24995) 1 year ago
secrets.go Support configuration variables on Gitea Actions (#24724) 1 year ago
setting.go Move `modules/mirror` to `services` (#26737) 11 months ago
settings_test.go Move web/api context related testing function into a separate package (#26859) 11 months ago
variables.go Support configuration variables on Gitea Actions (#24724) 1 year ago
webhook.go Use docs.gitea.com instead of docs.gitea.io (#26739) 11 months ago