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.
wxiaoguang def4956122
Improve Gitea's web context, decouple "issue template" code into service package (#24590)
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>
1 year ago
..
assignee.go Make more functions use ctx instead of db.DefaultContext (#24068) 1 year ago
assignee_test.go Use more specific test methods (#24265) 1 year ago
comments.go Fix issue attachment handling (#24202) 1 year ago
commit.go Webhooks: for issue close/reopen action, add commit ID that caused it (#22583) 1 year ago
commit_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
content.go Implement FSFE REUSE for golang files (#21840) 2 years ago
issue.go Make more functions use ctx instead of db.DefaultContext (#24068) 1 year ago
issue_test.go Use more specific test methods (#24265) 1 year ago
label.go Implement FSFE REUSE for golang files (#21840) 2 years ago
label_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
main_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
milestone.go Rename almost all Ctx functions (#22071) 2 years ago
milestone_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
status.go Webhooks: for issue close/reopen action, add commit ID that caused it (#22583) 1 year ago
template.go Improve Gitea's web context, decouple "issue template" code into service package (#24590) 1 year ago