gitea/models/issues
Lunny Xiao 70327d6a92
Improve commits list performance to reduce unnecessary database queries (#33528)
When listing commits, Gitea attempts to retrieve the actual user based
on the commit email. Querying users one by one from the database is
inefficient. This PR optimizes the process by batch querying users by
email, reducing the number of database queries.
2025-02-14 00:05:55 -08:00
..
assignees.go Performance improvements for pull request list API (#30490) 2024-05-31 12:10:11 +00:00
assignees_test.go Remove deadcode under models/issues (#28536) 2023-12-19 20:12:02 +01:00
comment.go Improve commits list performance to reduce unnecessary database queries (#33528) 2025-02-14 00:05:55 -08:00
comment_code.go Performance optimization for pull request files loading comments attachments (#33585) 2025-02-14 06:49:58 +00:00
comment_list.go Some small refactors (#33144) 2025-01-10 06:00:06 +00:00
comment_test.go Fix issue comment number (#30556) 2024-12-30 14:35:46 -08:00
content_history.go Fix issue & comment history bugs (#29525) 2024-03-01 16:46:02 +00:00
content_history_test.go Fix issue & comment history bugs (#29525) 2024-03-01 16:46:02 +00:00
dependency.go Penultimate round of `db.DefaultContext` refactor (#27414) 2023-10-11 04:24:07 +00:00
dependency_test.go Use `CloseIssue` and `ReopenIssue` instead of `ChangeStatus` (#32467) 2024-12-25 07:38:30 +00:00
issue.go Rework suggestion backend (#33538) 2025-02-10 16:24:05 +00:00
issue_index.go Update golangci-lint to v1.62.2, fix issues (#32845) 2024-12-15 02:31:07 +00:00
issue_label.go Performance improvements for pull request list API (#30490) 2024-05-31 12:10:11 +00:00
issue_label_test.go Penultimate round of `db.DefaultContext` refactor (#27414) 2023-10-11 04:24:07 +00:00
issue_list.go Some small refactors (#33144) 2025-01-10 06:00:06 +00:00
issue_list_test.go Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
issue_lock.go Penultimate round of `db.DefaultContext` refactor (#27414) 2023-10-11 04:24:07 +00:00
issue_project.go Fix unnecessary comment when moving issue on the same project column (#33496) 2025-02-05 11:51:10 +08:00
issue_search.go Add label/author/assignee filters to the user/org home issue list (#32779) 2024-12-11 06:33:24 +00:00
issue_stats.go chore: fix some trivial problems and TODOs (#33473) 2025-02-02 18:16:56 +00:00
issue_test.go Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
issue_update.go Add missed transaction on setmerged (#33079) 2025-01-08 03:16:56 +00:00
issue_user.go Add combined index for issue_user.uid and issue_id (#28080) 2023-12-14 09:26:59 +00:00
issue_user_test.go Refactor tests (#33021) 2024-12-29 01:05:56 +00:00
issue_watch.go Strict pagination check (#32548) 2024-11-25 09:56:50 +08:00
issue_watch_test.go Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
issue_xref.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
issue_xref_test.go Use `CloseIssue` and `ReopenIssue` instead of `ChangeStatus` (#32467) 2024-12-25 07:38:30 +00:00
label.go Support org labels when adding labels by label names (#32988) 2024-12-26 19:14:49 +00:00
label_test.go Refactor tests (#33021) 2024-12-29 01:05:56 +00:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
milestone.go Fix milestone deadline and date related problems (#32339) 2024-11-05 07:46:40 +00:00
milestone_list.go Added default sorting milestones by name (#27084) 2024-07-16 10:08:54 +02:00
milestone_test.go Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
pull.go Add missed transaction on setmerged (#33079) 2025-01-08 03:16:56 +00:00
pull_list.go Automerge supports deleting branch automatically after merging (#32343) 2025-01-10 03:51:03 +08:00
pull_list_test.go Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
pull_test.go Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
reaction.go Refactor user package (#33423) 2025-01-29 01:14:35 +02:00
review.go Hide/disable unusable UI elements when a repository is archived (#33459) 2025-01-31 20:47:31 +08:00
review_list.go Filter reviews of one pull request in memory instead of database to reduce slow response because of lacking database index (#33106) 2025-01-07 10:50:09 +08:00
review_test.go Filter reviews of one pull request in memory instead of database to reduce slow response because of lacking database index (#33106) 2025-01-07 10:50:09 +08:00
stopwatch.go Make tracked time representation display as hours (#33315) 2025-01-19 09:30:44 +08:00
stopwatch_test.go Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
tracked_time.go Strict pagination check (#32548) 2024-11-25 09:56:50 +08:00
tracked_time_test.go Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00