forgejo/routers/web/feed
Gusted 50948fa11b
[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)
(cherry picked from commit ff91e5957a)
(cherry picked from commit 6626d5cc75)
(cherry picked from commit 62f8ab793b)
(cherry picked from commit e5bbf1a2d0)
(cherry picked from commit f5b8c8edea)
2024-01-08 16:59:19 +01:00
..
branch.go Add ability to specify '--not' from GetAllCommits (#24409) 2023-04-29 08:34:14 -04:00
convert.go [GITEA] convert feed items' titles to plain text 2024-01-08 16:59:19 +01:00
file.go Pass 'not' to commit count (#24473) 2023-05-08 07:10:53 +00:00
profile.go User/Org Feed render description as per web (#23887) 2023-04-04 04:39:47 +01:00
release.go Add Feed for Releases and Tags (#21696) 2022-12-21 15:06:26 -06:00
render.go [GITEA] Add repo empty check for branch feed 2024-01-08 16:59:19 +01:00
repo.go Add pagination for dashboard and user activity feeds (#22937) 2023-02-24 16:15:10 -05:00