pixa/internal
clawbot 40c4b53b01 fix: propagate AllowHTTP to SourceURL() scheme selection
SourceURL() previously hardcoded https:// regardless of the AllowHTTP
config setting. This made testing with HTTP-only test servers impossible.

Add AllowHTTP field to ImageRequest and use it to determine the URL
scheme. The Service propagates the config setting to each request.

Fixes #1
2026-02-08 16:34:42 -08:00
..
config Require signing_key at startup, add default config 2026-01-08 15:48:37 -08:00
database Add mock fetcher and service tests for imgcache 2026-01-08 07:39:18 -08:00
encurl Add 'Never' expiry option for encrypted URLs 2026-01-08 11:08:11 -08:00
globals Remove Buildarch from ldflags, use runtime.GOARCH instead 2026-01-08 12:38:24 -08:00
handlers Add type-safe hash types for cache storage 2026-01-08 16:55:20 -08:00
healthcheck Rename unused parameters to _ to satisfy linter 2026-01-08 02:27:45 -08:00
imgcache fix: propagate AllowHTTP to SourceURL() scheme selection 2026-02-08 16:34:42 -08:00
logger Simplify log source to file.go:line format 2026-01-08 16:13:56 -08:00
middleware Fix logging: add response_bytes to middleware, cache_key to handler 2026-01-08 13:05:10 -08:00
seal Add seal package for authenticated encryption 2026-01-08 07:37:53 -08:00
server Change encrypted URL format to /v1/e/{token}/img.{ext} 2026-01-08 16:14:01 -08:00
session Add session package for encrypted cookie management 2026-01-08 07:37:58 -08:00
static Add static files and HTML templates for web UI 2026-01-08 07:38:09 -08:00
templates Add AVIF option to URL generator 2026-01-08 13:12:51 -08:00