gitea/models
Kyle D. 66971e591e
Add artifacts test fixture ()
Closes https://github.com/go-gitea/gitea/issues/30296

- Adds a DB fixture for actions artifacts
- Adds artifacts test files
- Clears artifacts test files between each run
- Note: I initially initialized the artifacts only for artifacts tests,
but because the files are small it only takes ~8ms, so I changed it to
always run in test setup for simplicity
- Fix some otherwise flaky tests by making them not depend on previous
tests
..
actions Always update expiration time when creating an artifact ()
activities Don't join repository when loading action table data ()
admin Fix javascript error when an anonymous user visiting migration page ()
asymkey bump to go 1.23 ()
auth Fix nuget/conan/container packages upload bugs ()
avatars Replace 10 more gt- classes with tw- ()
db Fix db engine ()
dbfs Enable `unparam` linter ()
fixtures Add artifacts test fixture ()
git refactor: remove redundant err declarations ()
issues refactor: remove redundant err declarations ()
migrations Refactor the DB migration system slightly ()
organization Add option to filter board cards by labels and assignees ()
packages Fix db engine ()
perm Clarify permission "HasAccess" behavior ()
project Fixes for unreachable project issues when transfer repository from organization ()
pull Add support for sha256 repositories ()
repo Allow code search by filename ()
secret Clarify Actions resources ownership ()
shared/types Refactor locale&string&template related code ()
system Refactor deletion ()
unit Refactor repo unit "disabled" check ()
unittest Fix db engine ()
user Allow code search by filename ()
webhook Store webhook event in database ()
error.go Add merge style `fast-forward-only` ()
fixture_generation.go Replace more db.DefaultContext ()
fixture_test.go Replace more db.DefaultContext ()
main_test.go make writing main test easier ()
org.go Add user blocking ()
org_team.go Clarify permission "HasAccess" behavior ()
org_team_test.go Add user blocking ()
org_test.go Add user blocking ()
repo.go Refactor deletion ()
repo_test.go Penultimate round of `db.DefaultContext` refactor ()
repo_transfer.go chore: use errors.New to replace fmt.Errorf with no parameters will much better ()