gitea/models/fixtures
FuXiaoHei c757765a9e
Implement actions artifacts ()
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.
..
access.yml Fix user visible check ()
access_token.yml Implement actions artifacts ()
action.yml Support "." char as user name for User/Orgs in RSS/ATOM/GPG/KEYS path ... ()
action_run.yml Implement actions artifacts ()
action_run_job.yml Implement actions artifacts ()
action_task.yml Implement actions artifacts ()
attachment.yml Add some api integration tests ()
collaboration.yml Fix "access" fixtures and tests ()
comment.yml [API] Add "before" query to ListIssueComments and ListRepoIssue… ()
commit_status.yml Status-API ()
commit_status_index.yml Fix commit status index problem ()
deleted_branch.yml Add deleted_branch table fixture ()
deploy_key.yml Writable deploy keys (closes ) ()
email_address.yml Always store primary email address into email_address table and also the state ()
external_login_user.yml add test coverage for original author conversion during migrations ()
follow.yml Fix user visible check ()
gpg_key.yml Add missing fixture to clean gpg_key table ()
gpg_key_import.yml add .gpg url (match github behaviour) ()
hook_task.yml Decouple HookTask from Repository ()
issue.yml Scoped labels ()
issue_assignees.yml Fix issue overview for teams ()
issue_index.yml Fix issue overview for teams ()
issue_label.yml Add Organization Wide Labels ()
issue_user.yml [API] ListIssues add more filters ()
issue_watch.yml Refactor Issues Subscription ()
label.yml Scoped labels ()
lfs_meta_object.yml Test views of LFS files ()
login_source.yml Add LDAP integration tests ()
milestone.yml Add some api integration tests ()
notice.yml Unit tests for models/admin
notification.yml [API] Add notification endpoint ()
oauth2_application.yml Record OAuth client type at registration ()
oauth2_authorization_code.yml Record OAuth client type at registration ()
oauth2_grant.yml Record OAuth client type at registration ()
org_user.yml Improve permission check of packages ()
project.yml Fix missed migration in ()
project_board.yml Support org/user level projects ()
project_issue.yml Kanban board ()
protected_branch.yml Don't recreate database in integration tests ()
public_key.yml test: command keys ()
pull_request.yml Add API endpoint to get changed files of a PR ()
reaction.yml [API] Add Reactions ()
release.yml fix: release page for empty or non-existing target ()
renamed_branch.yml Add a simple way to rename branch like gh ()
repo_archiver.yml Rework repository archive ()
repo_indexer_status.yml Code/repo search ()
repo_redirect.yml Unit tests for repo redirects ()
repo_topic.yml Add API endpoint for accessing repo topics ()
repo_transfer.yml Repository transfer has to be confirmed, if user can not create repo for new owner ()
repo_unit.yml Allow adding new files to an empty repo ()
repository.yml Allow adding new files to an empty repo ()
review.yml Add dismiss review feature ()
star.yml Unit tests for models/star ()
stopwatch.yml [API] extend StopWatch ()
system_setting.yml Add system setting table with cache and also add cache supports for user setting ()
team.yml Improve permission check of packages ()
team_repo.yml Restrict permission check on repositories and fix some problems ()
team_unit.yml Improve permission check of packages ()
team_user.yml Improve permission check of packages ()
topic.yml Add some api integration tests ()
tracked_time.yml [API] Extend times API ()
two_factor.yml org/members: display 2FA members states + optimize sql requests ()
user.yml Allow adding new files to an empty repo ()
user_open_id.yml Show user OpenID URIs in their profile ()
user_redirect.yml Redirect on changed user and org name ()
watch.yml Auto-subscribe user to repository when they commit/tag to it ()
webauthn_credential.yml Add some api integration tests ()
webhook.yml Add user webhooks ()