0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-19 16:31:41 +01:00
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>
2020-08-18 12:23:45 +08:00
..
blob.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
branch.go Add API Endpoint for Branch Creation (#11607) 2020-05-29 19:16:20 +01:00
collaborators.go Remove page size limit comment from swagger (#11806) 2020-06-09 00:57:38 -04:00
commits.go Add Access-Control-Expose-Headers (#12446) 2020-08-13 18:18:18 +01:00
file.go In File Create/Update API return 404 if Branch does not exist (#11791) 2020-06-07 18:30:58 +01:00
fork.go Remove page size limit comment from swagger (#11806) 2020-06-09 00:57:38 -04:00
git_hook.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
git_ref.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
hook.go Remove page size limit comment from swagger (#11806) 2020-06-09 00:57:38 -04:00
hook_test.go
issue.go Add Access-Control-Expose-Headers (#12446) 2020-08-13 18:18:18 +01:00
issue_comment.go Remove page size limit comment from swagger (#11806) 2020-06-09 00:57:38 -04:00
issue_label.go Add Organization Wide Labels (#10814) 2020-04-01 01:14:46 -03:00
issue_reaction.go Remove page size limit comment from swagger (#11806) 2020-06-09 00:57:38 -04:00
issue_stopwatch.go Remove page size limit comment from swagger (#11806) 2020-06-09 00:57:38 -04:00
issue_subscription.go Remove page size limit comment from swagger (#11806) 2020-06-09 00:57:38 -04:00
issue_tracked_time.go Remove page size limit comment from swagger (#11806) 2020-06-09 00:57:38 -04:00
key.go Remove page size limit comment from swagger (#11806) 2020-06-09 00:57:38 -04:00
label.go Remove page size limit comment from swagger (#11806) 2020-06-09 00:57:38 -04:00
language.go Add language statistics API endpoint (#11737) 2020-06-07 14:48:41 +03:00
main_test.go
migrate.go Fix bug with globally disabling mirror (#11760) 2020-06-04 19:06:24 +01:00
milestone.go Add name filter to API for GetMilestoneList (#12336) 2020-07-28 12:30:40 +01:00
mirror.go Refactor api repo dir (#10048) 2020-01-29 13:55:23 +08:00
pull.go Add Access-Control-Expose-Headers (#12446) 2020-08-13 18:18:18 +01:00
pull_review.go Remove page size limit comment from swagger (#11806) 2020-06-09 00:57:38 -04:00
release.go Add action feed for new release (#12324) 2020-07-29 15:20:54 -04:00
release_attachment.go Add a storage layer for attachments (#11387) 2020-08-18 12:23:45 +08:00
repo.go Kanban board (#8346) 2020-08-16 23:07:38 -04:00
repo_test.go Fixes #5960 - Adds API Endpoint for Repo Edit (#7006) 2019-05-30 11:09:05 -04:00
star.go Remove page size limit comment from swagger (#11806) 2020-06-09 00:57:38 -04:00
status.go Add Access-Control-Expose-Headers (#12446) 2020-08-13 18:18:18 +01:00
subscriber.go Remove page size limit comment from swagger (#11806) 2020-06-09 00:57:38 -04:00
tag.go [API] enable paggination for ListRepoTags (#10454) 2020-02-25 14:07:07 -05:00
topic.go Remove page size limit comment from swagger (#11806) 2020-06-09 00:57:38 -04:00
transfer.go Fix bug preventing transfer to private organization (#12497) 2020-08-16 16:27:08 -04:00
tree.go Remove page size limit comment from swagger (#11806) 2020-06-09 00:57:38 -04:00