forgejo/routers
Gergely Nagy fc635f1014
Restore the ability to view tags without a release
The `repo.SingleRelease` handler was broken by gitea#29149, as the
switch to `getReleaseInfos` stopped returning tags without an associated
release. This resulted in the web UI showing a 404 when trying to view a
tag without a release.

This restores the functionality by explicitly including tags in the
search, and also adds tests to exercise the fix.

Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>
2024-02-27 13:32:55 +01:00
..
api Add API to get merged PR of a commit (#29243) 2024-02-26 22:30:26 +01:00
common [BRANDING] Use forgejo binary name 2024-02-05 16:05:02 +01:00
install Fix validity of the FROM email address not being checked (#29347) 2024-02-26 22:30:26 +01:00
private Use the database object format name but not read from git repoisitory everytime and fix possible migration wrong objectformat when migrating a sha256 repository (#29294) 2024-02-26 22:30:26 +01:00
utils Improve user search display name (#29002) 2024-02-01 17:10:16 +00:00
web Restore the ability to view tags without a release 2024-02-27 13:32:55 +01:00
init.go [API] Forgejo API /api/forgejo/v1 2024-02-05 14:44:32 +01:00