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/routers/web
FuXiaoHei c757765a9e
Implement actions artifacts (#22738)
Implement action artifacts server api.

This change is used for supporting
https://github.com/actions/upload-artifact and
https://github.com/actions/download-artifact in gitea actions. It can
run sample workflow from doc
https://docs.github.com/en/actions/using-workflows/storing-workflow-data-as-artifacts.
The api design is inspired by
https://github.com/nektos/act/blob/master/pkg/artifacts/server.go and
includes some changes from gitea internal structs and methods.

Actions artifacts contains two parts:

- Gitea server api and storage (this pr implement basic design without
some complex cases supports)
- Runner communicate with gitea server api (in comming)

Old pr https://github.com/go-gitea/gitea/pull/22345 is outdated after
actions merged. I create new pr from main branch.


![897f7694-3e0f-4f7c-bb4b-9936624ead45](https://user-images.githubusercontent.com/2142787/219382371-eb3cf810-e4e0-456b-a8ff-aecc2b1a1032.jpeg)

Add artifacts list in actions workflow page.
2 years ago
..
admin Improve queue & process & stacktrace (#24636) 2 years ago
auth Split "modules/context.go" to separate files (#24569) 2 years ago
devtest Remove untranslatable `on_date` key (#24106) 2 years ago
events Implement FSFE REUSE for golang files (#21840) 2 years ago
explore Sort users and orgs on explore by recency by default (#24279) 2 years ago
feed Pass 'not' to commit count (#24473) 2 years ago
healthcheck Refactor `setting.Database.UseXXX` to methods (#23354) 2 years ago
misc Use standard HTTP library to serve files (#24693) 2 years ago
org Fix missing badges in org settings page (#24654) 2 years ago
repo Implement actions artifacts (#22738) 2 years ago
shared Respect original content when creating secrets (#24745) 2 years ago
user Add Alpine package registry (#23714) 2 years ago
auth.go Implement FSFE REUSE for golang files (#21840) 2 years ago
auth_windows.go Implement FSFE REUSE for golang files (#21840) 2 years ago
base.go Use standard HTTP library to serve files (#24693) 2 years ago
goget.go Support SSH for go get (#24664) 2 years ago
home.go Refactor cookie (#24107) 2 years ago
metrics.go Implement FSFE REUSE for golang files (#21840) 2 years ago
nodeinfo.go Implement FSFE REUSE for golang files (#21840) 2 years ago
swagger_json.go Group template helper functions, remove `Printf`, improve template error messages (#23982) 2 years ago
web.go Implement actions artifacts (#22738) 2 years ago
webfinger.go Use User.ID instead of User.Name in ActivityPub API for Person IRI (#23823) 2 years ago