You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/routers/web/repo
merlleu a7d9a70552
allow "latest" to be used in release vTag when downloading file (#26748)
Hello,

In the discord I saw
[someone](https://discord.com/channels/322538954119184384/1069795723178160168/1145061200644800514)
complaining that you can't use the "latest" keyword as release tag to
download a specific file:
In his example:

https://www.uberwald.me/gitea/public/fvtt-ecryme/releases/latest/system.json

However the latest keyword works for the release page, so I think it's a
good thing to implement this on the release attachment download url too.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
1 year ago
..
actions Artifacts retention and auto clean up (#26131) 1 year ago
setting Move web/api context related testing function into a separate package (#26859) 1 year ago
activity.go
attachment.go Less naked returns (#25713) 2 years ago
blame.go Use template context function for avatar rendering (#26385) 2 years ago
branch.go Move web JSON functions to web context and simplify code (#26132) 2 years ago
cherry_pick.go Sync branches into databases (#22743) 2 years ago
commit.go Remove ref name in PR commits page (#25876) 1 year ago
compare.go Fix being unable to use a repo that prohibits accepting PRs as a PR source. (#26785) 1 year ago
download.go Less naked returns (#25713) 2 years ago
editor.go Sync repo's IsEmpty status correctly (#26517) 1 year ago
editor_test.go Move web/api context related testing function into a separate package (#26859) 1 year ago
find.go
helper.go Make web context initialize correctly for different cases (#26726) 1 year ago
helper_test.go Make web context initialize correctly for different cases (#26726) 1 year ago
http.go Pre-register OAuth2 applications for git credential helpers (#26291) 2 years ago
http_test.go
issue.go Redirect from `{repo}/issues/new` to `{repo}/issues/new/choose` when blank issues are disabled (#26813) 1 year ago
issue_content_history.go Check `ctx.Written()` for `GetActionIssue` (#25698) 2 years ago
issue_dependency.go Add context parameter to some database functions (#26055) 2 years ago
issue_label.go Allow to archive labels (#26478) 2 years ago
issue_label_test.go Move web/api context related testing function into a separate package (#26859) 1 year ago
issue_lock.go
issue_pin.go Add context parameter to some database functions (#26055) 2 years ago
issue_stopwatch.go
issue_test.go
issue_timetrack.go Add context parameter to some database functions (#26055) 2 years ago
issue_watch.go
main_test.go
middlewares.go
migrate.go Add `Retry` button when creating a mirror-repo fails (#26228) 2 years ago
milestone.go Move web JSON functions to web context and simplify code (#26132) 2 years ago
packages.go Fix the display of org level badges (#26504) 1 year ago
patch.go Sync branches into databases (#22743) 2 years ago
projects.go Refactor project templates (#26448) 2 years ago
projects_test.go Move web/api context related testing function into a separate package (#26859) 1 year ago
pull.go Move notification interface to services layer (#26915) 1 year ago
pull_review.go Fix nil pointer dereference error when open link with invalid pull index (#26353) 2 years ago
release.go Make web context initialize correctly for different cases (#26726) 1 year ago
release_test.go Move web/api context related testing function into a separate package (#26859) 1 year ago
render.go
repo.go allow "latest" to be used in release vTag when downloading file (#26748) 1 year ago
search.go
topic.go Replace `interface{}` with `any` (#25686) 2 years ago
treelist.go
view.go Some fixes of the prompt of new branches (#26257) 2 years ago
view_test.go
wiki.go Move notification interface to services layer (#26915) 1 year ago
wiki_test.go Move web/api context related testing function into a separate package (#26859) 1 year ago