1
0
Fork 0
forgejo/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 Exclude generated files from language statistics (#11653) 2020-05-29 09:20:01 +03:00
auth Kanban board (#8346) 2020-08-16 23:07:38 -04:00
avatar Improve handling of non-square avatars (#7025) 2019-05-25 14:46:14 +03:00
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 Fix chardet test and add ordering option (#11621) 2020-06-02 19:20:19 -03:00
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 Add gitea-vet (#10948) 2020-04-05 07:20:50 +01:00
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 Add golangci (#6418) 2019-06-12 15:41:28 -04:00
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 Prometheus endpoint (#5256) 2018-11-04 22:20:00 -05:00
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 Rename scripts to build and add revive command as a new build tool command (#10942) 2020-04-03 22:29:12 +03:00
password Add password requirement info on error (#9074) 2019-11-19 22:44:58 +00:00
pprof Add golangci (#6418) 2019-06-12 15:41:28 -04:00
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 fixed reCAPTCHA URL (#9083) 2019-11-22 08:03:45 +00:00
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 Integrate OAuth2 Provider (#5378) 2019-03-08 11:42:50 -05:00
session Prevent (caught) panic on login (#11590) 2020-05-23 20:59:04 -03:00
setting Add a storage layer for attachments (#11387) 2020-08-18 12:23:45 +08:00
ssh log.Fatal on failure to listen to SSH port (#10795) 2020-03-23 07:59:38 +00:00
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 Fix missing unlock in uniquequeue (#9790) 2020-01-15 23:58:33 +02:00
task Move create/fork repository from models to modules/repository (#9489) 2020-01-12 20:11:17 +08:00
templates Render the git graph on the server (#12333) 2020-08-06 09:04:08 +01:00
test Add Organization Wide Labels (#10814) 2020-04-01 01:14:46 -03:00
timeutil Fix timezone on issue deadline (#11697) 2020-06-05 18:51:10 -04:00
upload Fix upload file type check (#7890) 2019-08-17 13:10:17 +03:00
user Add gitea-vet (#10948) 2020-04-05 07:20:50 +01:00
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 [API] Get a single commit via Ref (#10915) 2020-04-07 22:54:46 -04:00
webhook Don't use legacy method to send Matrix Webhook (#12348) 2020-07-30 18:04:19 -04:00