gitea/routers/web/repo
wxiaoguang 6cc1067884
Fix incorrect ref commit ID usage (#33331)
After the RefName refactoring, the `ctx.Repo.CommitID` is only set when
there is a `RepoRefByType` middleware.

Many handlers do not use that middleware and they only use "default
branch"
2025-01-20 07:43:49 +00:00
..
actions Trivial fixes (#33304) 2025-01-17 08:55:02 +00:00
setting Fix incorrect ref commit ID usage (#33331) 2025-01-20 07:43:49 +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 Refactor context repository (#33202) 2025-01-12 03:39:46 +00:00
branch.go Fix incorrect ref usages (#33301) 2025-01-16 13:52:21 +00:00
cherry_pick.go Refactor context repository (#33202) 2025-01-12 03:39:46 +00:00
code_frequency.go Fix incorrect ref commit ID usage (#33331) 2025-01-20 07:43:49 +00:00
commit.go Fix incorrect ref usages (#33301) 2025-01-16 13:52:21 +00:00
compare.go Refactor "string truncate" (#32984) 2024-12-26 11:56:03 +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.go Refactor context repository (#33202) 2025-01-12 03:39:46 +00:00
editor_test.go Clarify path param naming (#32969) 2024-12-24 13:47:45 +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.go Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
githttp_test.go Fix http protocol auth (#27875) 2023-11-02 22:14:33 +08:00
helper.go Refactor context RefName and RepoAssignment (#33226) 2025-01-13 01:07:05 +00:00
issue.go Merge updatecommentattachment functions (#33044) 2024-12-30 18:21:57 +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.go Refactor template & test related code (#32938) 2024-12-22 15:33:19 +00:00
issue_label_test.go Refactor tests (#33021) 2024-12-29 01:05:56 +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 Use project's redirect url instead of composing url (#33058) 2024-12-31 19:19:53 +08:00
issue_page_meta.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
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 Fix suggestions for issues (#32380) 2024-10-30 20:06:36 +00:00
issue_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
issue_timetrack.go Make tracked time representation display as hours (#33315) 2025-01-19 09:30:44 +08:00
issue_view.go Some small refactors (#33144) 2025-01-10 06:00:06 +00:00
issue_watch.go Trivial fixes (#33304) 2025-01-17 08:55:02 +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 Refactor context repository (#33202) 2025-01-12 03:39:46 +00:00
projects.go Use project's redirect url instead of composing url (#33058) 2024-12-31 19:19:53 +08:00
projects_test.go Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
pull.go Automerge supports deleting branch automatically after merging (#32343) 2025-01-10 03:51:03 +08:00
pull_review.go Refactor template & test related code (#32938) 2024-12-22 15:33:19 +00:00
pull_review_test.go Refactor older tests to use testify (#33140) 2025-01-09 09:21:47 +08:00
recent_commits.go Fix incorrect ref commit ID usage (#33331) 2025-01-20 07:43:49 +00:00
release.go Fix incorrect TagName/BranchName usages (#33279) 2025-01-15 17:34:55 +08: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
render.go Fix incorrect ref "blob" (#33240) 2025-01-13 16:27:11 +08:00
repo.go Refactor ref type (#33242) 2025-01-14 15:35:34 +08:00
search.go Fix incorrect ref commit ID usage (#33331) 2025-01-20 07:43:49 +00:00
search_test.go Improve grep search (#30843) 2024-05-03 09:13:48 +00:00
topic.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
treelist.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
view.go Refactor context repository (#33202) 2025-01-12 03:39:46 +00:00
view_file.go Simplify context ref name (#33267) 2025-01-15 11:15:47 +08:00
view_home.go Fix push message behavior (#33215) 2025-01-17 19:37:17 +00:00
view_readme.go Refactor context repository (#33202) 2025-01-12 03:39:46 +00:00
view_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
wiki.go Refactor pagination (#33037) 2024-12-30 01:57:38 +00:00
wiki_test.go Refactor older tests to use testify (#33140) 2025-01-09 09:21:47 +08:00