forgejo/routers/web
Gusted b8b3f6ab8b
[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)
2023-11-06 17:14:55 +01:00
..
admin Refactor Find Sources and fix bug when view a user who belongs to an unactive auth source (#27798) 2023-11-03 01:41:00 +00:00
auth [GITEA] notifies admins on new user registration 2023-11-06 17:14:54 +01:00
devtest
events
explore Penultimate round of db.DefaultContext refactor (#27414) 2023-10-11 04:24:07 +00:00
feed [GITEA] Add repo empty check for branch feed 2023-11-06 17:14:55 +01:00
healthcheck
misc [API] Forgejo API /api/forgejo/v1 2023-11-06 15:04:58 +01:00
org Fix the missing repo count in new team page and edit team page (#27743) 2023-10-25 13:55:56 +08:00
repo [GITEA] Add repo empty check for branch feed 2023-11-06 17:14:55 +01:00
shared Fix typo "GetLatestRunnerToken" (#27680) 2023-10-18 15:52:44 +00:00
user Revert #27870 (#27917) 2023-11-06 06:09:34 +00:00
base.go Fix panic in storageHandler (#27446) 2023-10-06 13:23:14 +00:00
githttp.go Fix http protocol auth (#27875) 2023-11-02 22:14:33 +08:00
goget.go
home.go Enhanced auth token / remember me (#27606) 2023-10-14 00:56:41 +00:00
metrics.go
nodeinfo.go
swagger_json.go
web.go [GITEA] Add repo empty check for branch feed 2023-11-06 17:14:55 +01:00
webfinger.go