0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-24 16:16:35 -05:00
forgejo/models/repo
Gusted bef38ce382
[GITEA] 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

(cherry picked from commit 074413a2dc)
(cherry picked from commit 33feed4723)
(cherry picked from commit 1ca21b95ff)
(cherry picked from commit 874f07cec2)
(cherry picked from commit a78c538d8e)
2023-08-01 09:56:36 +02:00
..
archiver.go Display when a repo was archived (#22664) 2023-04-26 10:46:26 -04:00
attachment.go For API attachments, use API URL (#25639) 2023-07-10 09:31:19 +00:00
attachment_test.go
avatar.go Add context cache as a request level cache (#22294) 2023-02-15 21:37:34 +08:00
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 Replace interface{} with any (#25686) 2023-07-04 18:36:08 +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 [GITEA] Add Upload URL to release API 2023-08-01 09:56:36 +02:00
repo.go Newly pushed branches hints on repository home page (#25715) 2023-07-08 05:19:00 +02:00
repo_indexer.go
repo_list.go Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
repo_list_test.go Add commits dropdown in PR files view and allow commit by commit review (#25528) 2023-07-28 21:18:12 +02:00
repo_test.go Set repository link based on the url in package.json for npm packages (#20379) 2023-03-28 13:55:03 -04:00
repo_unit.go Pull Requests: setting to allow edits by maintainers by default, tweak UI (#22862) 2023-02-13 14:09:52 +08:00
search.go Split "modules/context.go" to separate files (#24569) 2023-05-08 17:36:54 +08:00
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 topics deleted via API not being deleted in org page (#24825) 2023-05-21 11:03:20 +02:00
topic_test.go
update.go Split lfs size from repository size (#22900) 2023-06-28 22:41:02 +00:00
upload.go
user_repo.go Refactor authors dropdown (send get request from frontend to avoid long wait time) (#23890) 2023-04-07 08:11:02 +08:00
user_repo_test.go
watch.go
watch_test.go
wiki.go
wiki_test.go