1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-04 08:17:24 -05:00
gitea/routers/web/repo
Rowan Bohde 1310649331
render plain text file if the LFS object doesn't exist (#31812)
We had an issue where a repo was using LFS to store a file, but the user
did not push the file. When trying to view the file, Gitea returned a
500 HTTP status code referencing `ErrLFSObjectNotExist`. It appears the
intent was the render this file as plain text, but the conditional was
flipped. I've also added a test to verify that the file is rendered as
plain text.
2024-08-15 05:50:09 +08:00
..
actions Show latest run when visit /run/latest (#31808) 2024-08-10 08:40:41 +08:00
setting Show lock owner instead of repo owner on LFS setting page (#31788) 2024-08-11 14:48:20 +00:00
activity.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
attachment.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
blame.go
branch.go Hide the "Details" link of commit status when the user cannot access actions (#30156) 2024-07-28 23:11:40 +08:00
cherry_pick.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
code_frequency.go
commit.go Hide the "Details" link of commit status when the user cannot access actions (#30156) 2024-07-28 23:11:40 +08:00
compare.go Hide the "Details" link of commit status when the user cannot access actions (#30156) 2024-07-28 23:11:40 +08:00
contributors.go
download.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
editor_test.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
editor.go
find.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
fork.go
githttp_test.go
githttp.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
helper_test.go
helper.go
issue_content_history.go
issue_dependency.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
issue_label_test.go
issue_label.go
issue_lock.go
issue_pin.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
issue_stopwatch.go
issue_test.go
issue_timetrack.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
issue_watch.go
issue.go Support issue template assignees (#31083) 2024-08-12 16:00:40 +08:00
main_test.go
middlewares.go
migrate.go
milestone.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
packages.go
patch.go
projects_test.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
projects.go Add issue comment when moving issues from one column to another of the project (#29311) 2024-08-09 01:29:02 +00:00
pull_review_test.go
pull_review.go
pull.go Add permission check when creating PR (#31033) 2024-07-29 02:21:22 +00:00
recent_commits.go
release_test.go
release.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
render.go
repo.go Hide the "Details" link of commit status when the user cannot access actions (#30156) 2024-07-28 23:11:40 +08:00
search_test.go
search.go
topic.go
treelist.go
view_test.go
view.go render plain text file if the LFS object doesn't exist (#31812) 2024-08-15 05:50:09 +08:00
wiki_test.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
wiki.go Fix wiki revision pagination (#31760) 2024-08-03 18:35:55 +00:00