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.
Lunny Xiao 4ca1d7547a
Move some helper files out of models (#19355)
* Move some helper files out of models

* Some improvements

Co-authored-by: delvh <dev.lh@web.de>
2 years ago
..
activity.go Propagate context and ensure git commands run in request context (#17868) 2 years ago
attachment.go more context for models (#19511) 2 years ago
blame.go Refactor i18n, use Locale to provide i18n/translation related functions (#18648) 2 years ago
branch.go Move some helper files out of models (#19355) 2 years ago
cherry_pick.go Remove `RequireHighlightJS` field, update plantuml example. (#19615) 2 years ago
commit.go Remove `RequireHighlightJS` field, update plantuml example. (#19615) 2 years ago
compare.go Handle the error of a missing blob object fix #19530 (#19552) 2 years ago
download.go format with gofumpt (#18184) 2 years ago
editor.go Remove `RequireHighlightJS` field, update plantuml example. (#19615) 2 years ago
editor_test.go Make git.OpenRepository accept Context (#19260) 2 years ago
http.go Move some helper files out of models (#19355) 2 years ago
http_test.go Fix http path bug (#16117) 3 years ago
issue.go Allow custom default merge message with .gitea/default_merge_message/<merge_style>_TEMPLATE.md (#18177) 2 years ago
issue_content_history.go Remove legacy unmaintained packages, refactor to support change default locale (#19308) 2 years ago
issue_dependency.go Move milestone to models/issues/ (#19278) 2 years ago
issue_label.go Move some issue methods as functions (#19255) 2 years ago
issue_label_test.go Update HTTP status codes to modern codes (#18063) 2 years ago
issue_lock.go Update HTTP status codes to modern codes (#18063) 2 years ago
issue_stopwatch.go Improve Stopwatch behavior (#18930) 2 years ago
issue_test.go format with gofumpt (#18184) 2 years ago
issue_timetrack.go Delete related PullAutoMerge and ReviewState on User/Repo Deletion (#19649) 2 years ago
issue_watch.go Update HTTP status codes to modern codes (#18063) 2 years ago
lfs.go Move some helper files out of models (#19355) 2 years ago
main_test.go Use a struct as test options (#19393) 2 years ago
middlewares.go Renamed ctx.User to ctx.Doer. (#19161) 2 years ago
migrate.go Use a more general (and faster) method to sanitize URLs with credentials (#19239) 2 years ago
milestone.go Move milestone to models/issues/ (#19278) 2 years ago
packages.go Hide private repositories in packages (#19584) 2 years ago
patch.go Remove `RequireHighlightJS` field, update plantuml example. (#19615) 2 years ago
projects.go Move project files into models/project sub package (#17704) 2 years ago
projects_test.go Decouple unit test code from business code (#17623) 3 years ago
pull.go Allow custom default merge message with .gitea/default_merge_message/<merge_style>_TEMPLATE.md (#18177) 2 years ago
pull_review.go Allow to mark files in a PR as viewed (#19007) 2 years ago
release.go Renamed ctx.User to ctx.Doer. (#19161) 2 years ago
release_test.go Decouple unit test, remove intermediate `unittestbridge` package (#17662) 3 years ago
repo.go Improve dashboard's repo list performance (#18963) 2 years ago
search.go Remove `RequireHighlightJS` field, update plantuml example. (#19615) 2 years ago
setting.go Repository level enable package or disable (#19323) 2 years ago
setting_protected_branch.go more context for models (#19511) 2 years ago
settings_test.go Move organization related structs into sub package (#18518) 2 years ago
tag.go Move organization related structs into sub package (#18518) 2 years ago
topic.go Renamed ctx.User to ctx.Doer. (#19161) 2 years ago
view.go Add "Allow edits from maintainer" feature (#18002) 2 years ago
webhook.go Remove `RequireHighlightJS` field, update plantuml example. (#19615) 2 years ago
wiki.go Remove `RequireHighlightJS` field, update plantuml example. (#19615) 2 years ago
wiki_test.go Make git.OpenRepository accept Context (#19260) 2 years ago