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/api/v1/repo
Lunny Xiao 62e6c9bc6c
Add a storage layer for attachments (#11387)
* Add a storage layer for attachments

* Fix some bug

* fix test

* Fix copyright head and lint

* Fix bug

* Add setting for minio and flags for migrate-storage

* Add documents

* fix lint

* Add test for minio store type on attachments

* fix test

* fix test

* Apply suggestions from code review

Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>

* Add warning when storage migrated successfully

* Fix drone

* fix test

* rebase

* Fix test

* display the error on console

* Move minio test to amd64 since minio docker don't support arm64

* refactor the codes

* add trace

* Fix test

* remove log on xorm

* Fi download bug

* Add a storage layer for attachments

* Add setting for minio and flags for migrate-storage

* fix lint

* Add test for minio store type on attachments

* Apply suggestions from code review

Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>

* Fix drone

* fix test

* Fix test

* display the error on console

* Move minio test to amd64 since minio docker don't support arm64

* refactor the codes

* add trace

* Fix test

* Add URL function to serve attachments directly from S3/Minio

* Add ability to enable/disable redirection in attachment configuration

* Fix typo

* Add a storage layer for attachments

* Add setting for minio and flags for migrate-storage

* fix lint

* Add test for minio store type on attachments

* Apply suggestions from code review

Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>

* Fix drone

* fix test

* Fix test

* display the error on console

* Move minio test to amd64 since minio docker don't support arm64

* don't change unrelated files

* Fix lint

* Fix build

* update go.mod and go.sum

* Use github.com/minio/minio-go/v6

* Remove unused function

* Upgrade minio to v7 and some other improvements

* fix lint

* Fix go mod

Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
Co-authored-by: Tyler <tystuyfzand@gmail.com>
5 years ago
..
blob.go Swagger info corrections (#9441) 5 years ago
branch.go Add API Endpoint for Branch Creation (#11607) 5 years ago
collaborators.go Remove page size limit comment from swagger (#11806) 5 years ago
commits.go Add Access-Control-Expose-Headers (#12446) 5 years ago
file.go In File Create/Update API return 404 if Branch does not exist (#11791) 5 years ago
fork.go Remove page size limit comment from swagger (#11806) 5 years ago
git_hook.go Swagger info corrections (#9441) 5 years ago
git_ref.go Swagger info corrections (#9441) 5 years ago
hook.go Remove page size limit comment from swagger (#11806) 5 years ago
hook_test.go API endpoint for testing webhook (#3550) 7 years ago
issue.go Add Access-Control-Expose-Headers (#12446) 5 years ago
issue_comment.go Remove page size limit comment from swagger (#11806) 5 years ago
issue_label.go Add Organization Wide Labels (#10814) 5 years ago
issue_reaction.go Remove page size limit comment from swagger (#11806) 5 years ago
issue_stopwatch.go Remove page size limit comment from swagger (#11806) 5 years ago
issue_subscription.go Remove page size limit comment from swagger (#11806) 5 years ago
issue_tracked_time.go Remove page size limit comment from swagger (#11806) 5 years ago
key.go Remove page size limit comment from swagger (#11806) 5 years ago
label.go Remove page size limit comment from swagger (#11806) 5 years ago
language.go Add language statistics API endpoint (#11737) 5 years ago
main_test.go API endpoint for testing webhook (#3550) 7 years ago
migrate.go Fix bug with globally disabling mirror (#11760) 5 years ago
milestone.go Add name filter to API for GetMilestoneList (#12336) 5 years ago
mirror.go Refactor api repo dir (#10048) 5 years ago
pull.go Add Access-Control-Expose-Headers (#12446) 5 years ago
pull_review.go Remove page size limit comment from swagger (#11806) 5 years ago
release.go Add action feed for new release (#12324) 5 years ago
release_attachment.go Add a storage layer for attachments (#11387) 5 years ago
repo.go Kanban board (#8346) 5 years ago
repo_test.go Fixes #5960 - Adds API Endpoint for Repo Edit (#7006) 6 years ago
star.go Remove page size limit comment from swagger (#11806) 5 years ago
status.go Add Access-Control-Expose-Headers (#12446) 5 years ago
subscriber.go Remove page size limit comment from swagger (#11806) 5 years ago
tag.go [API] enable paggination for ListRepoTags (#10454) 5 years ago
topic.go Remove page size limit comment from swagger (#11806) 5 years ago
transfer.go Fix bug preventing transfer to private organization (#12497) 5 years ago
tree.go Remove page size limit comment from swagger (#11806) 5 years ago