gitea/models/issues
Lunny Xiao 09ab64dfad
Remove duplicated issues options and some more refactors ()
This PR 

- [x] Move some code from `issue.go` to `issue_search.go` and
`issue_update.go`
- [x] Use `IssuesOptions` instead of `IssueStatsOptions` becuase they
are too similiar.
- [x] Rename some functions
..
assignees.go Make more functions use ctx instead of db.DefaultContext ()
assignees_test.go Make more functions use ctx instead of db.DefaultContext ()
comment.go Fix issue attachment handling ()
comment_code.go some refactor about code comments ()
comment_list.go Load reviewer for comments when dismissing a review ()
comment_test.go Fix issue attachment handling ()
content_history.go Implement FSFE REUSE for golang files ()
content_history_test.go Implement FSFE REUSE for golang files ()
dependency.go Add API to manage issue dependencies ()
dependency_test.go refactor some functions to support ctx as first parameter ()
issue.go Remove duplicated issues options and some more refactors ()
issue_index.go Implement FSFE REUSE for golang files ()
issue_list.go Implement actions ()
issue_list_test.go Implement FSFE REUSE for golang files ()
issue_lock.go Rename almost all Ctx functions ()
issue_project.go Improve issues.LoadProject ()
issue_search.go Remove duplicated issues options and some more refactors ()
issue_test.go Remove duplicated issues options and some more refactors ()
issue_update.go Remove duplicated issues options and some more refactors ()
issue_user.go Implement FSFE REUSE for golang files ()
issue_user_test.go Implement FSFE REUSE for golang files ()
issue_watch.go Implement FSFE REUSE for golang files ()
issue_watch_test.go Implement FSFE REUSE for golang files ()
issue_xref.go Fix more HTMLURL in templates ()
issue_xref_test.go Make more functions use ctx instead of db.DefaultContext ()
label.go Modify luminance calculation and extract related functions into single files ()
label_test.go Modify luminance calculation and extract related functions into single files ()
main_test.go Merge setting.InitXXX into one function with options ()
milestone.go Localize milestone related time strings ()
milestone_test.go Implement FSFE REUSE for golang files ()
pull.go Refresh the refernce of the closed PR when reopening ()
pull_list.go Remove duplicated issues options and some more refactors ()
pull_test.go Refresh the refernce of the closed PR when reopening ()
reaction.go refactor some functions to support ctx as first parameter ()
reaction_test.go Implement FSFE REUSE for golang files ()
review.go Review fixes and enhancements ()
review_test.go Restore previous official review when an official review is deleted ()
stopwatch.go Speed up HasUserStopwatch & GetActiveStopwatch ()
stopwatch_test.go Speed up HasUserStopwatch & GetActiveStopwatch ()
tracked_time.go Rename almost all Ctx functions ()
tracked_time_test.go Use more specific test methods ()