0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-25 22:55:17 +01:00
gitea/modules
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
..
analyze
auth Kanban board (#8346) 2020-08-16 23:07:38 -04:00
avatar
base Update Octicons to v10 (#12240) 2020-07-17 18:15:12 +03:00
cache Use hash of repo path, ref and entrypath as cache key (#12151) 2020-07-06 01:40:34 +03:00
charset
context Add a storage layer for attachments (#11387) 2020-08-18 12:23:45 +08:00
convert Honor DEFAULT_PAGING_NUM for API (#11805) 2020-06-08 22:46:51 -04:00
cron Mirror System Notice reports are too frequent (#12438) 2020-08-05 21:40:36 +01:00
emoji Fix emoji detection in certain cases (#12320) 2020-07-25 16:40:04 +03:00
eventsource Move EventSource to SharedWorker (#12095) 2020-07-03 10:55:36 +01:00
generate
git go1.15 (#12475) 2020-08-13 10:11:24 -04:00
gitgraph Render the git graph on the server (#12333) 2020-08-06 09:04:08 +01:00
graceful Re-attempt to delete temporary upload if the file is locked by another process (#12447) 2020-08-11 21:05:34 +01:00
highlight Ensure syntax highlighting is the same inside diffs (#12205) 2020-07-11 13:43:12 +08:00
httplib
indexer Re-attempt to delete temporary upload if the file is locked by another process (#12447) 2020-08-11 21:05:34 +01:00
lfs Add Access-Control-Expose-Headers (#12446) 2020-08-13 18:18:18 +01:00
log Re-attempt to delete temporary upload if the file is locked by another process (#12447) 2020-08-11 21:05:34 +01:00
markup Re-attempt to delete temporary upload if the file is locked by another process (#12447) 2020-08-11 21:05:34 +01:00
metrics
migrations Add a storage layer for attachments (#11387) 2020-08-18 12:23:45 +08:00
notification Add action feed for new release (#12324) 2020-07-29 15:20:54 -04:00
options
password
pprof
private Pause, Resume, Release&Reopen, Add and Remove Logging from command line (#11777) 2020-07-05 20:07:07 -04:00
process Only write to global gitconfig if necessary (#11876) 2020-06-13 17:47:31 -04:00
public go1.15 (#12475) 2020-08-13 10:11:24 -04:00
queue Re-attempt to delete temporary upload if the file is locked by another process (#12447) 2020-08-11 21:05:34 +01:00
recaptcha
references Detect full references to issues and pulls in commit messages (#12399) 2020-08-06 20:20:05 +01:00
repofiles Detect full references to issues and pulls in commit messages (#12399) 2020-08-06 20:20:05 +01:00
repository Re-attempt to delete temporary upload if the file is locked by another process (#12447) 2020-08-11 21:05:34 +01:00
secret
session
setting Add a storage layer for attachments (#11387) 2020-08-18 12:23:45 +08:00
ssh
storage Add a storage layer for attachments (#11387) 2020-08-18 12:23:45 +08:00
structs Kanban board (#8346) 2020-08-16 23:07:38 -04:00
svg Fix filepath basename on Windows for SVG bindata (#12241) 2020-07-13 21:16:40 +01:00
sync
task
templates Render the git graph on the server (#12333) 2020-08-06 09:04:08 +01:00
test
timeutil
upload
user
util Re-attempt to delete temporary upload if the file is locked by another process (#12447) 2020-08-11 21:05:34 +01:00
validation
webhook Don't use legacy method to send Matrix Webhook (#12348) 2020-07-30 18:04:19 -04:00