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.
6543 9c349a4277
Move checks for pulls before merge into own function (#19271)
This make checks in one single place so they dont differ and maintainer can not forget a check in one place while adding it to the other .... ( as it's atm )

Fix:
* The API does ignore issue dependencies where Web does not
* The API checks if "IsSignedIfRequired" where Web does not - UI probably do but nothing will some to craft custom requests
* Default merge message is crafted a bit different between API and Web if not set on specific cases ...
2 years ago
..
activity.go Propagate context and ensure git commands run in request context (#17868) 2 years ago
attachment.go Renamed ctx.User to ctx.Doer. (#19161) 2 years ago
blame.go Refactor i18n, use Locale to provide i18n/translation related functions (#18648) 2 years ago
branch.go Make git.OpenRepository accept Context (#19260) 2 years ago
cherry_pick.go Renamed ctx.User to ctx.Doer. (#19161) 2 years ago
commit.go Make git.OpenRepository accept Context (#19260) 2 years ago
compare.go Make git.OpenRepository accept Context (#19260) 2 years ago
download.go format with gofumpt (#18184) 2 years ago
editor.go Update HTTP status codes to modern codes (#18063) 2 years ago
editor_test.go Make git.OpenRepository accept Context (#19260) 2 years ago
http.go Refactor `git.Command.Run*`, introduce `RunWithContextString` and `RunWithContextBytes` (#19266) 2 years ago
http_test.go Fix http path bug (#16117) 3 years ago
issue.go Move reaction to models/issues/ (#19264) 2 years ago
issue_content_history.go Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 2 years ago
issue_dependency.go Update HTTP status codes to modern codes (#18063) 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 Renamed ctx.User to ctx.Doer. (#19161) 2 years ago
issue_test.go format with gofumpt (#18184) 2 years ago
issue_timetrack.go Renamed ctx.User to ctx.Doer. (#19161) 2 years ago
issue_watch.go Update HTTP status codes to modern codes (#18063) 2 years ago
lfs.go Make git.OpenRepository accept Context (#19260) 2 years ago
main_test.go Decouple unit test code from business code (#17623) 3 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 Only view milestones from current repo (#18414) 2 years ago
packages.go Add Package Registry (#16510) 2 years ago
patch.go Renamed ctx.User to ctx.Doer. (#19161) 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 Move checks for pulls before merge into own function (#19271) 2 years ago
pull_review.go Renamed ctx.User to ctx.Doer. (#19161) 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 Move init repository related functions to modules (#19159) 2 years ago
search.go Update HTTP status codes to modern codes (#18063) 2 years ago
setting.go Move organization related structs into sub package (#18518) 2 years ago
setting_protected_branch.go Move organization related structs into sub package (#18518) 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 Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 2 years ago
webhook.go Add Package Registry (#16510) 2 years ago
wiki.go Make git.OpenRepository accept Context (#19260) 2 years ago
wiki_test.go Make git.OpenRepository accept Context (#19260) 2 years ago