gitea/models/issues
wxiaoguang f3eb835886
Refactor locale&string&template related code ()
Clarify when "string" should be used (and be escaped), and when
"template.HTML" should be used (no need to escape)

And help PRs like   , to render the error messages correctly.
..
assignees.go Remove GetByBean method because sometimes it's danger when query condition parameter is zero and also introduce new generic methods ()
assignees_test.go Remove deadcode under models/issues ()
comment.go Refactor locale&string&template related code ()
comment_code.go Rework markup link rendering ()
comment_list.go Use ghost user if user was not found ()
comment_test.go More `db.DefaultContext` refactor ()
content_history.go Fix comment permissions ()
content_history_test.go Fix comment permissions ()
dependency.go Penultimate round of `db.DefaultContext` refactor ()
dependency_test.go Penultimate round of `db.DefaultContext` refactor ()
issue.go Remove deadcode under models/issues ()
issue_index.go Another round of `db.DefaultContext` refactor ()
issue_label.go Penultimate round of `db.DefaultContext` refactor ()
issue_label_test.go Penultimate round of `db.DefaultContext` refactor ()
issue_list.go Add context parameter to some database functions ()
issue_list_test.go Add context parameter to some database functions ()
issue_lock.go Penultimate round of `db.DefaultContext` refactor ()
issue_project.go Clean some functions about project issue ()
issue_search.go Remove deadcode under models/issues ()
issue_stats.go Another round of `db.DefaultContext` refactor ()
issue_test.go Refactor deletion ()
issue_update.go Don't use subselect in `DeleteIssuesByRepoID` ()
issue_user.go Add combined index for issue_user.uid and issue_id ()
issue_user_test.go Fix bug with sqlite load read ()
issue_watch.go Even more `db.DefaultContext` refactor ()
issue_watch_test.go Next round of `db.DefaultContext` refactor ()
issue_xref.go bump to use go 1.22 ()
issue_xref_test.go Replace 'userxx' with 'orgxx' in all test files when the user type is org ()
label.go Refactor deletion ()
label_test.go Remove deadcode under models/issues ()
main_test.go make writing main test easier ()
milestone.go Refactor timeutil package ()
milestone_list.go Remove deadcode under models/issues ()
milestone_test.go Remove deadcode under models/issues ()
pull.go Simplify how git repositories are opened ()
pull_list.go More refactoring of `db.DefaultContext` ()
pull_test.go Penultimate round of `db.DefaultContext` refactor ()
reaction.go Another round of `db.DefaultContext` refactor ()
reaction_test.go Another round of `db.DefaultContext` refactor ()
review.go Use ghost user if user was not found ()
review_list.go bump to use go 1.22 ()
review_test.go Fix 500 when deleting a dismissed review ()
stopwatch.go Remove deadcode under models/issues ()
stopwatch_test.go Next round of `db.DefaultContext` refactor ()
tracked_time.go Add ability to see open and closed issues at the same time ()
tracked_time_test.go Add ability to see open and closed issues at the same time ()