0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-02-19 15:58:50 +01:00
gitea/routers/web/repo
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
..
actions Feature: Support workflow event dispatch via API (#33545) 2025-02-11 03:05:42 +08:00
setting Enhance routers for the Actions runner operations (#33549) 2025-02-11 01:39:10 +00:00
activity.go Refactor template & test related code (#32938) 2024-12-22 15:33:19 +00:00
attachment.go Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
blame.go Improve commits list performance to reduce unnecessary database queries (#33528) 2025-02-14 00:05:55 -08:00
branch.go Fix "redirect link" handling (#33440) 2025-01-31 04:12:14 +08:00
cherry_pick.go Support choose email when creating a commit via web UI (more) (#33445) 2025-01-31 02:36:18 +00:00
code_frequency.go Fix incorrect ref commit ID usage (#33331) 2025-01-20 07:43:49 +00:00
commit.go Improve commits list performance to reduce unnecessary database queries (#33528) 2025-02-14 00:05:55 -08:00
compare.go Improve commits list performance to reduce unnecessary database queries (#33528) 2025-02-14 00:05:55 -08:00
contributors.go Fix incorrect ref commit ID usage (#33331) 2025-01-20 07:43:49 +00:00
download.go Use gitrepo.GetTreePathLatestCommit to get file lastest commit instead from latest commit cache (#32987) 2024-12-30 03:30:01 +00:00
editor_test.go Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
editor.go Support choose email when creating a commit via web UI (more) (#33445) 2025-01-31 02:36:18 +00:00
find.go Refactor template & test related code (#32938) 2024-12-22 15:33:19 +00:00
fork.go Refactor template & test related code (#32938) 2024-12-22 15:33:19 +00:00
githttp_test.go Fix http protocol auth (#27875) 2023-11-02 22:14:33 +08:00
githttp.go Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
helper.go Refactor context RefName and RepoAssignment (#33226) 2025-01-13 01:07:05 +00:00
issue_comment.go Use CloseIssue and ReopenIssue instead of ChangeStatus (#32467) 2024-12-25 07:38:30 +00:00
issue_content_history.go Refactor DateUtils and merge TimeSince (#32409) 2024-11-04 11:30:00 +00:00
issue_dependency.go Trivial fixes (#33304) 2025-01-17 08:55:02 +00:00
issue_label_test.go Remove duplicate "ResponseWriter.Status" method (#33346) 2025-01-22 06:37:52 +00:00
issue_label.go Refactor template & test related code (#32938) 2024-12-22 15:33:19 +00:00
issue_list.go Use CloseIssue and ReopenIssue instead of ChangeStatus (#32467) 2024-12-25 07:38:30 +00:00
issue_lock.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
issue_new.go Fix various problems (artifact order, api empty slice, assignee check, fuzzy prompt, mirror proxy, adopt git) (#33569) 2025-02-13 03:26:27 +08:00
issue_page_meta.go Fix PR's target branch dropdown (#33589) 2025-02-14 05:21:31 +00:00
issue_pin.go Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
issue_poster.go Support public code/issue access for private repositories (#33127) 2025-01-14 01:53:34 +00:00
issue_stopwatch.go Issue time estimate, meaningful time tracking (#23113) 2024-12-05 13:07:53 +00:00
issue_suggestions.go Rework suggestion backend (#33538) 2025-02-10 16:24:05 +00:00
issue_test.go
issue_timetrack.go Make tracked time representation display as hours (#33315) 2025-01-19 09:30:44 +08:00
issue_view.go Add a option "--user-type bot" to admin user create, improve role display (#27885) 2025-02-07 08:41:55 +00:00
issue_watch.go Trivial fixes (#33304) 2025-01-17 08:55:02 +00:00
issue.go Merge updatecommentattachment functions (#33044) 2024-12-30 18:21:57 +00:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
middlewares.go Refactor context repository (#33202) 2025-01-12 03:39:46 +00:00
migrate.go Refactor template & test related code (#32938) 2024-12-22 15:33:19 +00:00
milestone.go Refactor pagination (#33037) 2024-12-30 01:57:38 +00:00
packages.go Refactor context repository (#33202) 2025-01-12 03:39:46 +00:00
patch.go Support choose email when creating a commit via web UI (more) (#33445) 2025-01-31 02:36:18 +00:00
projects_test.go Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
projects.go Use project's redirect url instead of composing url (#33058) 2024-12-31 19:19:53 +08:00
pull_review_test.go Refactor older tests to use testify (#33140) 2025-01-09 09:21:47 +08:00
pull_review.go Refactor template & test related code (#32938) 2024-12-22 15:33:19 +00:00
pull.go Improve commits list performance to reduce unnecessary database queries (#33528) 2025-02-14 00:05:55 -08:00
recent_commits.go Fix incorrect ref commit ID usage (#33331) 2025-01-20 07:43:49 +00:00
release_test.go Validate that the tag doesn't exist when creating a tag via the web (#33241) 2025-01-14 09:27:35 +08:00
release.go Fix incorrect TagName/BranchName usages (#33279) 2025-01-15 17:34:55 +08:00
render.go Fix incorrect ref "blob" (#33240) 2025-01-13 16:27:11 +08:00
repo.go Refactor web route handler (#33488) 2025-02-05 02:14:03 +08:00
search_test.go Improve grep search (#30843) 2024-05-03 09:13:48 +00:00
search.go Fix incorrect ref commit ID usage (#33331) 2025-01-20 07:43:49 +00:00
star.go Refactor web route handler (#33488) 2025-02-05 02:14:03 +08:00
topic.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
transfer.go Refactor web route handler (#33488) 2025-02-05 02:14:03 +08:00
treelist.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
view_file.go Simplify context ref name (#33267) 2025-01-15 11:15:47 +08:00
view_home.go Fix "redirect link" handling (#33440) 2025-01-31 04:12:14 +08:00
view_readme.go Refactor context repository (#33202) 2025-01-12 03:39:46 +00:00
view_test.go
view.go Refactor context repository (#33202) 2025-01-12 03:39:46 +00:00
watch.go Refactor web route handler (#33488) 2025-02-05 02:14:03 +08:00
webgit.go Support choose email when creating a commit via web UI (more) (#33445) 2025-01-31 02:36:18 +00:00
wiki_test.go Remove duplicate "ResponseWriter.Status" method (#33346) 2025-01-22 06:37:52 +00:00
wiki.go Improve commits list performance to reduce unnecessary database queries (#33528) 2025-02-14 00:05:55 -08:00