gitea/models
Earl Warren a9ce570298
add Upload URL to release API ()
- Resolves https://codeberg.org/forgejo/forgejo/issues/580
- Return a `upload_field` to any release API response, which points to
the API URL for uploading new assets.
- Adds unit test.
- Adds integration testing to verify URL is returned correctly and that
upload endpoint actually works

---------

Co-authored-by: Gusted <postmaster@gusted.xyz>
..
actions chore(actions): support cron schedule task ()
activities Bypass MariaDB performance bug of the "IN" sub-query, fix incorrect IssueIndex ()
admin Replace `interface{}` with `any` ()
asymkey Update tool dependencies, lock govulncheck and actionlint ()
auth Ignore the trailing slashes when comparing oauth2 redirect_uri ()
avatars Avoid warning for system setting when start up ()
db Fix NuGet search endpoints ()
dbfs Fix content holes in Actions task logs file ()
fixtures Allow to archive labels ()
git Add link to job details and tooltip to commit status in repo list in dashboard ()
issues Add `member`, `collaborator`, `contributor`, and `first-time contributor` roles and tooltips ()
migrations chore(actions): support cron schedule task ()
organization Remove unused code ()
packages Fix NuGet search endpoints ()
perm some less naked returns ()
project Refactor project templates ()
pull refactor some functions to support ctx as first parameter ()
repo add Upload URL to release API ()
secret feat(API): update and delete secret for managing organization secrets ()
shared/types Display owner of a runner as a tooltip instead of static text ()
system Replace `interface{}` with `any` ()
unit Rewrite logger system ()
unittest Replace `interface{}` with `any` ()
user Fix API leaking Usermail if not logged in ()
webhook Replace `interface{}` with `any` ()
error.go Sync branches into databases ()
fixture_generation.go Implement FSFE REUSE for golang files ()
fixture_test.go Implement FSFE REUSE for golang files ()
main_test.go Merge setting.InitXXX into one function with options ()
migrate.go Add context parameter to some database functions ()
migrate_test.go Add context parameter to some database functions ()
org.go refactor some functions to support ctx as first parameter ()
org_team.go Remove org users who belong to no teams ()
org_team_test.go Implement FSFE REUSE for golang files ()
org_test.go Implement FSFE REUSE for golang files ()
repo.go chore(actions): support cron schedule task ()
repo_collaboration.go refactor some functions to support ctx as first parameter ()
repo_collaboration_test.go Rename `repo.GetOwner` to `repo.LoadOwner` ()
repo_test.go Implement FSFE REUSE for golang files ()
repo_transfer.go Fix unclear `IsRepositoryExist` logic ()
repo_transfer_test.go Rename almost all Ctx functions ()