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/services
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 Add a transaction to `pickTask` (#33543) 2 weeks ago
agit User facing messages for AGit errors (#33012) 4 weeks ago
asymkey Move delete deploy keys into service layer (#32201) 2 months ago
attachment Include file extension checks in attachment API (#32151) 4 months ago
auth Fix context usage (#33554) 2 weeks ago
automerge Automerge supports deleting branch automatically after merging (#32343) 2 months ago
context Avoid duplicate SetContextValue call (#33564) 2 weeks ago
contexttest Avoid duplicate SetContextValue call (#33564) 2 weeks ago
convert Artifacts download api for artifact actions v4 (#33510) 1 week ago
cron Use default Git timeout when checking repo health (#33593) 2 weeks ago
doctor Refactor older tests to use testify (#33140) 2 months ago
externalaccount allow synchronizing user status from OAuth2 login providers (#31572) 7 months ago
feed Refactor RefName (#33234) 1 month ago
forms Fix commit status events (#33320) 3 weeks ago
gitdiff Performance optimization for pull request files loading comments attachments (#33585) 2 weeks ago
indexer Update issue indexer after merging a PR (#30715) 10 months ago
issue Rework suggestion backend (#33538) 2 weeks ago
lfs Fix SSH LFS memory usage (#33455) 4 weeks ago
mailer chore: fix some trivial problems and TODOs (#33473) 3 weeks ago
markup Fix context usage (#33554) 2 weeks ago
migrations refactor: decouple context from migration structs (#33399) 3 weeks ago
mirror Fix mirror bug (#33597) 1 week ago
notify Refactor repository transfer (#33211) 4 weeks ago
oauth2_provider Introduce OrgList and add LoadTeams, optimaze Load teams for orgs (#32543) 3 months ago
org Refactor tests (#33021) 2 months ago
packages Only show the latest version in the Arch index (#33262) 2 weeks ago
projects Fix unnecessary comment when moving issue on the same project column (#33496) 3 weeks ago
pull Automerge supports deleting branch automatically after merging (#32343) 2 months ago
release Refactor "string truncate" (#32984) 2 months ago
repository Fix various problems (artifact order, api empty slice, assignee check, fuzzy prompt, mirror proxy, adopt git) (#33569) 2 weeks ago
secrets Refactor deletion (#28610) 1 year ago
task Fix "force private" logic (#31012) 9 months ago
uinotification Penultimate round of `db.DefaultContext` refactor (#27414) 1 year ago
user Refactor repository transfer (#33211) 4 weeks ago
webhook Fix commit status events (#33320) 3 weeks ago
webtheme Initial support for colorblindness-friendly themes (#30625) 10 months ago
wiki Refactor older tests to use testify (#33140) 2 months ago