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/routers/web/repo
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 Make web context initialize correctly for different cases (#26726) 1 year ago
setting Move web/api context related testing function into a separate package (#26859) 1 year ago
activity.go
attachment.go
blame.go Use template context function for avatar rendering (#26385) 2 years ago
branch.go Move web JSON functions to web context and simplify code (#26132) 2 years ago
cherry_pick.go
commit.go Remove ref name in PR commits page (#25876) 1 year ago
compare.go Fix being unable to use a repo that prohibits accepting PRs as a PR source. (#26785) 1 year ago
download.go
editor.go Sync repo's IsEmpty status correctly (#26517) 2 years ago
editor_test.go Move web/api context related testing function into a separate package (#26859) 1 year ago
find.go
helper.go Make web context initialize correctly for different cases (#26726) 1 year ago
helper_test.go Make web context initialize correctly for different cases (#26726) 1 year ago
http.go Pre-register OAuth2 applications for git credential helpers (#26291) 2 years ago
http_test.go
issue.go Redirect from `{repo}/issues/new` to `{repo}/issues/new/choose` when blank issues are disabled (#26813) 1 year ago
issue_content_history.go
issue_dependency.go Add context parameter to some database functions (#26055) 2 years ago
issue_label.go Allow to archive labels (#26478) 2 years ago
issue_label_test.go Move web/api context related testing function into a separate package (#26859) 1 year ago
issue_lock.go
issue_pin.go Add context parameter to some database functions (#26055) 2 years ago
issue_stopwatch.go
issue_test.go
issue_timetrack.go Add context parameter to some database functions (#26055) 2 years ago
issue_watch.go
main_test.go
middlewares.go
migrate.go Add `Retry` button when creating a mirror-repo fails (#26228) 2 years ago
milestone.go Move web JSON functions to web context and simplify code (#26132) 2 years ago
packages.go
patch.go
projects.go Refactor project templates (#26448) 2 years ago
projects_test.go Move web/api context related testing function into a separate package (#26859) 1 year ago
pull.go Make web context initialize correctly for different cases (#26726) 1 year ago
pull_review.go Fix nil pointer dereference error when open link with invalid pull index (#26353) 2 years ago
release.go Make web context initialize correctly for different cases (#26726) 1 year ago
release_test.go Move web/api context related testing function into a separate package (#26859) 1 year ago
render.go
repo.go Add link to job details and tooltip to commit status in repo list in dashboard (#26326) 1 year ago
search.go
topic.go
treelist.go
view.go Some fixes of the prompt of new branches (#26257) 2 years ago
view_test.go
wiki.go Introduce ctx.PathParamRaw to avoid incorrect unescaping (#26392) 2 years ago
wiki_test.go Move web/api context related testing function into a separate package (#26859) 1 year ago