0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-03-09 13:12:16 -05:00
forgejo/routers/web/feed
Gusted ff91e5957a
[GITEA] Add repo empty check for branch feed
- If you attempted to get a branch feed on a empty repository, it would
result in a panic as the code expects that the branch exists.
- `context.RepoRefByType` would normally already 404 if the branch
doesn't exist, however if a repository is empty, it would not do this
check.
- Fix bug where `/atom/branch/*` would return a RSS feed.

(cherry picked from commit d27bcd98a4)
(cherry picked from commit c58566403d)
(cherry picked from commit b8b3f6ab8b)
(cherry picked from commit 195520100b)
(cherry picked from commit 6e417087dd)
2023-12-04 14:22:21 +01:00
..
branch.go
convert.go [GITEA] convert feed items' titles to plain text 2023-12-04 14:22:21 +01:00
file.go Pass 'not' to commit count (#24473) 2023-05-08 07:10:53 +00:00
profile.go
release.go
render.go [GITEA] Add repo empty check for branch feed 2023-12-04 14:22:21 +01:00
repo.go