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/models
ChristopherHX 2b8cfb557d
Artifacts download api for artifact actions v4 (#33510)
* download endpoint has to use 302 redirect
* fake blob download used if direct download not possible
* downloading v3 artifacts not possible

New repo apis based on GitHub Rest V3
- GET /runs/{run}/artifacts (Cannot use run index of url due to not
being unique)
- GET /artifacts
- GET + DELETE /artifacts/{artifact_id}
- GET /artifacts/{artifact_id}/zip
- (GET /artifacts/{artifact_id}/zip/raw this is a workaround for a http
302 assertion in actions/toolkit)
- api docs removed this is protected by a signed url like the internal
artifacts api and no longer usable with any token or swagger
  - returns http 401 if the signature is invalid
    - or change the artifact id
    - or expired after 1 hour

Closes #33353
Closes #32124

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
1 week ago
..
actions Artifacts download api for artifact actions v4 (#33510) 1 week ago
activities Add missed auto merge feed message on dashboard (#33309) 4 weeks ago
admin Fix javascript error when an anonymous user visiting migration page (#32144) 5 months ago
asymkey Improve commits list performance to reduce unnecessary database queries (#33528) 1 week ago
auth Refactor tests (#33021) 2 months ago
avatars Replace 10 more gt- classes with tw- (#29945) 11 months ago
db Refactor context flash msg and global variables (#33375) 1 month ago
dbfs Enable `unparam` linter (#31277) 9 months ago
fixtures Artifacts download api for artifact actions v4 (#33510) 1 week ago
git Improve commits list performance to reduce unnecessary database queries (#33528) 1 week ago
issues Improve commits list performance to reduce unnecessary database queries (#33528) 1 week ago
migrations Automerge supports deleting branch automatically after merging (#32343) 2 months ago
organization Worktime tracking for the organization level (#19808) 3 weeks ago
packages Refactor maven package registry (#33049) 2 months ago
perm Support public code/issue access for private repositories (#33127) 1 month ago
project Add alphabetical project sorting (#33504) 3 weeks ago
pull Automerge supports deleting branch automatically after merging (#32343) 2 months ago
renderhelper Refactor render system (orgmode) (#32671) 3 months ago
repo Refactor repository transfer (#33211) 4 weeks ago
secret Clarify Actions resources ownership (#31724) 7 months ago
shared/types Refactor locale&string&template related code (#29165) 1 year ago
system chore: fix some trivial problems and TODOs (#33473) 3 weeks ago
unit Add `DEFAULT_MIRROR_REPO_UNITS` and `DEFAULT_TEMPLATE_REPO_UNITS` options (#32416) 4 months ago
unittest Refactor ref type (#33242) 1 month ago
user Fix bug when get commit (#33602) 1 week ago
webhook Refactor webhook events (#33337) 1 month ago
main_test.go make writing main test easier (#27270) 1 year ago
repo.go Fix issue comment number (#30556) 2 months ago
repo_test.go Fix issue comment number (#30556) 2 months ago