gitea/models/issues
KN4CK3R 044c754ea5
Add `context.Context` to more methods ()
This PR adds a context parameter to a bunch of methods. Some helper
`xxxCtx()` methods got replaced with the normal name now.

Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
..
assignees.go Add `context.Context` to more methods ()
assignees_test.go Add `context.Context` to more methods ()
comment.go Add `context.Context` to more methods ()
comment_list.go Add `context.Context` to more methods ()
comment_test.go Refactor AssertExistsAndLoadBean to use generics ()
content_history.go Make every not exist error unwrappable to a fs.ErrNotExist ()
content_history_test.go Move issues related files into models/issues ()
dependency.go Allow detect whether it's in a database transaction for a context.Context ()
dependency_test.go Move issues related files into models/issues ()
issue.go Add `context.Context` to more methods ()
issue_index.go Allow detect whether it's in a database transaction for a context.Context ()
issue_list.go Add `context.Context` to more methods ()
issue_list_test.go Add `context.Context` to more methods ()
issue_lock.go Allow detect whether it's in a database transaction for a context.Context ()
issue_project.go Add `context.Context` to more methods ()
issue_test.go Add `context.Context` to more methods ()
issue_user.go Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) ()
issue_user_test.go Refactor AssertExistsAndLoadBean to use generics ()
issue_watch.go Add more linters to improve code readability ()
issue_watch_test.go Refactor AssertExistsAndLoadBean to use generics ()
issue_xref.go Add `context.Context` to more methods ()
issue_xref_test.go Allow detect whether it's in a database transaction for a context.Context ()
label.go Add `context.Context` to more methods ()
label_test.go Add `context.Context` to more methods ()
main_test.go Move tests as seperate sub packages to reduce duplicated file names ()
milestone.go Allow detect whether it's in a database transaction for a context.Context ()
milestone_test.go Refactor AssertExistsAndLoadBean to use generics ()
pull.go Add `context.Context` to more methods ()
pull_list.go Add `context.Context` to more methods ()
pull_test.go Add `context.Context` to more methods ()
reaction.go Allow detect whether it's in a database transaction for a context.Context ()
reaction_test.go Refactor AssertExistsAndLoadBean to use generics ()
review.go Add `context.Context` to more methods ()
review_test.go Add `context.Context` to more methods ()
stopwatch.go Allow detect whether it's in a database transaction for a context.Context ()
stopwatch_test.go Refactor AssertExistsAndLoadBean to use generics ()
tracked_time.go Allow detect whether it's in a database transaction for a context.Context ()
tracked_time_test.go Refactor AssertExistsAndLoadBean to use generics ()