gitea/services/issue
wxiaoguang def4956122
Improve Gitea's web context, decouple "issue template" code into service package ()
1. Remove unused fields/methods in web context.
2. Make callers call target function directly instead of the light
wrapper like "IsUserRepoReaderSpecific"
3. The "issue template" code shouldn't be put in the "modules/context"
package, so move them to the service package.

---------

Co-authored-by: Giteabot <teabot@gitea.io>
..
assignee.go Make more functions use ctx instead of db.DefaultContext ()
assignee_test.go Use more specific test methods ()
comments.go Fix issue attachment handling ()
commit.go Webhooks: for issue close/reopen action, add commit ID that caused it ()
commit_test.go Implement FSFE REUSE for golang files ()
content.go Implement FSFE REUSE for golang files ()
issue.go Make more functions use ctx instead of db.DefaultContext ()
issue_test.go Use more specific test methods ()
label.go Implement FSFE REUSE for golang files ()
label_test.go Implement FSFE REUSE for golang files ()
main_test.go Implement FSFE REUSE for golang files ()
milestone.go Rename almost all Ctx functions ()
milestone_test.go Implement FSFE REUSE for golang files ()
status.go Webhooks: for issue close/reopen action, add commit ID that caused it ()
template.go Improve Gitea's web context, decouple "issue template" code into service package ()