gotosocial/internal/api/client/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] Web profile pages for accounts (#449) 2022-04-15 14:33:01 +02:00
account_test.go [feature] S3 support (#674) 2022-07-03 12:08:30 +02:00
accountcreate.go [feature] More consistent API error handling (#637) 2022-06-08 20:38:03 +02:00
accountcreate_test.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
accountdelete.go [feature] More consistent API error handling (#637) 2022-06-08 20:38:03 +02:00
accountdelete_test.go [feature] Federate local account deletion (#431) 2022-03-15 16:12:35 +01:00
accountget.go [feature] More consistent API error handling (#637) 2022-06-08 20:38:03 +02:00
accountupdate.go [feature] More consistent API error handling (#637) 2022-06-08 20:38:03 +02:00
accountupdate_test.go [feature] More consistent API error handling (#637) 2022-06-08 20:38:03 +02:00
accountverify.go [feature] More consistent API error handling (#637) 2022-06-08 20:38:03 +02:00
accountverify_test.go [bugfix] Fix multiple dereferences of boosted status causing media duplication (#589) 2022-05-23 16:40:03 +01:00
block.go [feature] More consistent API error handling (#637) 2022-06-08 20:38:03 +02:00
block_test.go [bugfix] disallow following or blocking yoursel (#667) 2022-06-25 11:14:05 +02:00
follow.go [feature] More consistent API error handling (#637) 2022-06-08 20:38:03 +02:00
follow_test.go [bugfix] disallow following or blocking yoursel (#667) 2022-06-25 11:14:05 +02:00
followers.go [feature] More consistent API error handling (#637) 2022-06-08 20:38:03 +02:00
following.go [feature] More consistent API error handling (#637) 2022-06-08 20:38:03 +02:00
relationships.go [feature] More consistent API error handling (#637) 2022-06-08 20:38:03 +02:00
statuses.go [feature] More consistent API error handling (#637) 2022-06-08 20:38:03 +02:00
statuses_test.go [feature] Add paging via Link header for notifications and account statuses (#629) 2022-06-08 20:22:49 +02:00
unblock.go [feature] More consistent API error handling (#637) 2022-06-08 20:38:03 +02:00
unfollow.go [feature] More consistent API error handling (#637) 2022-06-08 20:38:03 +02:00