0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-02-21 09:12:45 +01:00
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>
2025-02-16 08:32:54 +08:00
..
actions Artifacts download api for artifact actions v4 (#33510) 2025-02-16 08:32:54 +08:00
activities Add missed auto merge feed message on dashboard (#33309) 2025-01-26 18:33:05 +00:00
admin
asymkey Improve commits list performance to reduce unnecessary database queries (#33528) 2025-02-14 00:05:55 -08:00
auth
avatars
db Refactor context flash msg and global variables (#33375) 2025-01-25 14:36:47 +00:00
dbfs
fixtures Artifacts download api for artifact actions v4 (#33510) 2025-02-16 08:32:54 +08:00
git Improve commits list performance to reduce unnecessary database queries (#33528) 2025-02-14 00:05:55 -08:00
issues Improve commits list performance to reduce unnecessary database queries (#33528) 2025-02-14 00:05:55 -08:00
migrations Automerge supports deleting branch automatically after merging (#32343) 2025-01-10 03:51:03 +08:00
organization Worktime tracking for the organization level (#19808) 2025-02-03 01:51:12 +08:00
packages Refactor maven package registry (#33049) 2024-12-31 05:30:52 +00:00
perm Support public code/issue access for private repositories (#33127) 2025-01-14 01:53:34 +00:00
project Add alphabetical project sorting (#33504) 2025-02-05 19:09:43 +00:00
pull Automerge supports deleting branch automatically after merging (#32343) 2025-01-10 03:51:03 +08:00
renderhelper
repo Refactor repository transfer (#33211) 2025-01-30 05:40:44 +00:00
secret
shared/types
system chore: fix some trivial problems and TODOs (#33473) 2025-02-02 18:16:56 +00:00
unit
unittest Refactor ref type (#33242) 2025-01-14 15:35:34 +08:00
user Fix bug when get commit (#33602) 2025-02-15 15:16:19 -08:00
webhook Refactor webhook events (#33337) 2025-01-23 18:53:06 +00:00
main_test.go
repo_test.go Fix issue comment number (#30556) 2024-12-30 14:35:46 -08:00
repo.go Fix issue comment number (#30556) 2024-12-30 14:35:46 -08:00