gitea/routers/web/repo
zeripath 76e3111596
Collaborator trust model should trust collaborators ()
* Collaborator trust model should trust collaborators

There was an unintended regression in  which leads to only
repository admin commits being trusted. This PR restores the old logic.

Fix 

Signed-off-by: Andrew Thornton <art27@cantab.net>
..
activity.go Propagate context and ensure git commands run in request context ()
attachment.go format with gofumpt ()
blame.go format with gofumpt ()
branch.go format with gofumpt ()
commit.go Collaborator trust model should trust collaborators ()
compare.go format with gofumpt ()
download.go format with gofumpt ()
editor.go Propagate context and ensure git commands run in request context ()
editor_test.go format with gofumpt ()
http.go Fix partial cloning a repo ()
http_test.go Fix http path bug ()
issue.go Automatically pause queue if index service is unavailable ()
issue_content_history.go format with gofumpt ()
issue_dependency.go Rename context.Query to context.Form ()
issue_label.go Use a standalone struct name for Organization ()
issue_label_test.go Decouple unit test, remove intermediate `unittestbridge` package ()
issue_lock.go format with gofumpt ()
issue_stopwatch.go Multiple Escaping Improvements ()
issue_test.go format with gofumpt ()
issue_timetrack.go Refactor routers directory ()
issue_watch.go Refactor routers directory ()
lfs.go format with gofumpt ()
main_test.go Decouple unit test code from business code ()
middlewares.go Move user related model into models/user ()
migrate.go format with gofumpt ()
milestone.go Only view milestones from current repo ()
projects.go format with gofumpt ()
projects_test.go Decouple unit test code from business code ()
pull.go format with gofumpt ()
pull_review.go Propagate context and ensure git commands run in request context ()
release.go format with gofumpt ()
release_test.go Decouple unit test, remove intermediate `unittestbridge` package ()
repo.go format with gofumpt ()
search.go Automatically pause queue if index service is unavailable ()
setting.go Use base32 for 2FA scratch token ()
setting_protected_branch.go Move repository model into models/repo ()
settings_test.go format with gofumpt ()
tag.go Move repository model into models/repo ()
topic.go format with gofumpt ()
view.go Collaborator trust model should trust collaborators ()
webhook.go Add packagist webhook ()
wiki.go format with gofumpt ()
wiki_test.go format with gofumpt ()