~bigbes/core-go

ref: 522372683c08fc166e1a0da0e05cbf18d4e2fa7f core-go/objects/middleware.go -rw-r--r-- 2.7 KiB
20be483e — Conrad Hoffmann 9 months ago
Don't uppercase error messages
3e875f28 — Conrad Hoffmann 10 months ago
objects: bring back support for plain HTTP

This got lost during the transition from minio to S3 client.
3686f7e2 — Drew DeVault 1 year, 17 days ago
objects: improve support for our s3 deployment

Not sure how well this generalizes but we can improve it when someone
complains.
42a4b67b — Drew DeVault 1 year, 18 days ago
Switch from minio to AWS SDK S3 client

Moves s3 => objects to avoid conflicting with the AWS module.
465a6f71 — Drew DeVault 1 year, 6 months ago
all: pass errors to panic, not strings

GraphQL's recovery middleware can't handle strings so it just logs a
very not useful <nil>
942e19c3 — Simon Ser 2 years ago
s3: add Enabled
d99f0983 — Simon Ser 2 years ago
s3: add [objects]s3-insecure

Disables TLS. Useful for local development.
e81358e2 — Simon Ser 2 years ago
s3: add NewClient and URL

Centralizes the logic to create an S3 client and get the base URL.
156c5e26 — Adnan Maolood 3 years ago
s3: Import middleware from pages.sr.ht

Closes: https://todo.sr.ht/~sircmpwn/pages.sr.ht/19