forgejo/models/repo
Earl Warren a9ce570298
add Upload URL to release API (#26663)
- 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>
2023-08-24 10:36:10 +00:00
..
archiver.go
attachment.go For API attachments, use API URL (#25639) 2023-07-10 09:31:19 +00:00
attachment_test.go
avatar.go
collaboration.go
collaboration_test.go Add unit test for repository collaboration (#25640) 2023-07-03 21:41:14 +00:00
fork.go
fork_test.go
git.go Avoid amending the Rebase and Fast-forward merge if there is no message template (#25779) 2023-07-10 10:12:50 +02:00
issue.go
language_stats.go
main_test.go
mirror.go Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
pushmirror.go Allow editing push mirrors after creation (#26151) 2023-08-01 16:00:59 +00:00
pushmirror_test.go Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
redirect.go
redirect_test.go
release.go add Upload URL to release API (#26663) 2023-08-24 10:36:10 +00:00
repo.go add disable workflow feature (#26413) 2023-08-14 15:14:30 +00:00
repo_indexer.go
repo_list.go Fix counting and filtering on the dashboard page for issues (#26657) 2023-08-23 02:29:17 +00:00
repo_list_test.go Count only visible repos on profile (#25928) 2023-08-11 13:08:05 -04:00
repo_test.go
repo_unit.go add disable workflow feature (#26413) 2023-08-14 15:14:30 +00:00
repo_unit_test.go add disable workflow feature (#26413) 2023-08-14 15:14:30 +00:00
search.go
star.go Remove stars when repo goes private (#19904) 2023-06-05 13:25:43 +00:00
star_test.go Remove stars when repo goes private (#19904) 2023-06-05 13:25:43 +00:00
topic.go Fix the topic validation rule and suport dots (#26286) 2023-08-03 09:18:06 +00:00
topic_test.go Fix the topic validation rule and suport dots (#26286) 2023-08-03 09:18:06 +00:00
update.go Split lfs size from repository size (#22900) 2023-06-28 22:41:02 +00:00
upload.go
user_repo.go
user_repo_test.go
watch.go
watch_test.go
wiki.go
wiki_test.go