gotosocial/internal/processing/account
Dominik Süß 9d0df426da
[feature] S3 support (#674)
* feat: vendor minio client

* feat: introduce storage package with s3 support

* feat: serve s3 files directly

this saves a lot of bandwith as the files are fetched from the object
store directly

* fix: use explicit local storage in tests

* feat: integrate s3 storage with the main server

* fix: add s3 config to cli tests

* docs: explicitly set values in example config

also adds license header to the storage package

* fix: use better http status code on s3 redirect

HTTP 302 Found is the best fit, as it signifies that the resource
requested was found but not under its presumed URL

307/TemporaryRedirect would mean that this resource is usually located
here, not in this case

303/SeeOther indicates that the redirection does not link to the
requested resource but to another page

* refactor: use context in storage driver interface
2022-07-03 12:08:30 +02:00
..
account.go [feature] More consistent API error handling (#637) 2022-06-08 20:38:03 +02:00
account_test.go [feature] S3 support (#674) 2022-07-03 12:08:30 +02:00
create.go [feature] More consistent API error handling (#637) 2022-06-08 20:38:03 +02:00
createblock.go [bugfix] disallow following or blocking yoursel (#667) 2022-06-25 11:14:05 +02:00
createfollow.go [bugfix] disallow following or blocking yoursel (#667) 2022-06-25 11:14:05 +02:00
delete.go replace async client API / federator msg processing with worker pools (#497) 2022-04-28 13:23:11 +01:00
get.go [chore] Webfinger rework (#627) 2022-06-11 11:01:34 +02:00
getfollowers.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
getfollowing.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
getrelationship.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
getstatuses.go [feature] Add paging via Link header for notifications and account statuses (#629) 2022-06-08 20:22:49 +02:00
removeblock.go replace async client API / federator msg processing with worker pools (#497) 2022-04-28 13:23:11 +01:00
removefollow.go replace async client API / federator msg processing with worker pools (#497) 2022-04-28 13:23:11 +01:00
update.go [feature] More consistent API error handling (#637) 2022-06-08 20:38:03 +02:00
update_test.go [feature] More consistent API error handling (#637) 2022-06-08 20:38:03 +02:00