mirror of
https://github.com/sysadminsmedia/homebox.git
synced 2025-12-21 13:23:14 +01:00
* ent re-generation
* add oidc integration
* document oidc integration
* go fmt
* address backend linter findings
* run prettier on index.vue
* State cookie domain can mismatch when Hostname override is used (breaks CSRF check). Add SameSite.
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* Delete state cookie with matching domain and MaxAge; add SameSite.
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* Fix endpoint path in comments and error to include /api/v1.
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* Also use request context when verifying the ID token.
* Do not return raw auth errors to clients (user-enumeration risk).
* consistently set cookie the same way across function
* remove baseURL after declaration
* only enable OIDC routes if OIDC is enabled
* swagger doc for failure
* Only block when provider=local; move the check after parsing provider
* fix extended session comment
* reduce pii logging
* futher reduce pii logging
* remove unused DiscoveryDocument
* remove unused offline_access from default oidc scopes
* remove offline access from AuthCodeURL
* support host from X-Forwarded-Host
* set sane default claim names if unset
* error strings should not be capitalized
* Revert "run prettier on index.vue"
This reverts commit aa22330a23.
* Add timeout to provider discovery
* Split scopes robustly
* refactor hostname calculation
* address frontend prettier findings
* add property oidc on type APISummary
* LoginOIDC: Normalize inputs, only create if not found
* add oidc email verification
* oidc handleCallback: clear state cookie before each return
* add support for oidc nonce parameter
* Harden first-login race: handle concurrent creates gracefully and fix log key.
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* support email verified claim as bool or string
* fail fast on empty email
* PKCE verifier
* fix: add timing delay to attachment test to resolve CI race condition
The attachment test was failing intermittently in CI due to a race condition
between attachment creation and retrieval. Adding a small 100ms delay after
attachment creation ensures the file system and database operations complete
before the test attempts to verify the attachment exists.
* Revert "fix: add timing delay to attachment test to resolve CI race condition"
This reverts commit 4aa8b2a0d829753e8d2dd1ba76f4b1e04e28c45e.
* oidc error state, use ref
* rename oidc.force to oidc.authRedirect
* remove hardcoded oidc error timeout
* feat: sub/iss based identity matching and userinfo endpoint collection
---------
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Matthew Kilgore <matthew@kilgore.dev>
212 lines
10 KiB
Modula-2
212 lines
10 KiB
Modula-2
module github.com/sysadminsmedia/homebox/backend
|
|
|
|
go 1.24.0
|
|
|
|
toolchain go1.24.3
|
|
|
|
require (
|
|
entgo.io/ent v0.14.5
|
|
github.com/ardanlabs/conf/v3 v3.9.0
|
|
github.com/containrrr/shoutrrr v0.8.0
|
|
github.com/coreos/go-oidc/v3 v3.17.0
|
|
github.com/evanoberholster/imagemeta v0.3.1
|
|
github.com/gen2brain/avif v0.4.4
|
|
github.com/gen2brain/heic v0.4.5
|
|
github.com/gen2brain/jpegxl v0.4.5
|
|
github.com/gen2brain/webp v0.5.5
|
|
github.com/go-chi/chi/v5 v5.2.3
|
|
github.com/go-playground/validator/v10 v10.28.0
|
|
github.com/gocarina/gocsv v0.0.0-20240520201108-78e41c74b4b1
|
|
github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0
|
|
github.com/google/uuid v1.6.0
|
|
github.com/gorilla/schema v1.4.1
|
|
github.com/hay-kot/httpkit v0.0.11
|
|
github.com/lib/pq v1.10.9
|
|
github.com/mattn/go-sqlite3 v1.14.32
|
|
github.com/olahol/melody v1.4.0
|
|
github.com/pkg/errors v0.9.1
|
|
github.com/pressly/goose/v3 v3.26.0
|
|
github.com/rs/zerolog v1.34.0
|
|
github.com/shirou/gopsutil/v4 v4.25.10
|
|
github.com/skip2/go-qrcode v0.0.0-20200617195104-da1b6568686e
|
|
github.com/stretchr/testify v1.11.1
|
|
github.com/swaggo/http-swagger/v2 v2.0.2
|
|
github.com/swaggo/swag v1.16.6
|
|
github.com/yeqown/go-qrcode/v2 v2.2.5
|
|
github.com/yeqown/go-qrcode/writer/standard v1.3.0
|
|
github.com/zeebo/blake3 v0.2.4
|
|
go.balki.me/anyhttp v0.5.2
|
|
gocloud.dev v0.43.0
|
|
gocloud.dev/pubsub/kafkapubsub v0.43.0
|
|
gocloud.dev/pubsub/natspubsub v0.43.0
|
|
gocloud.dev/pubsub/rabbitpubsub v0.43.0
|
|
golang.org/x/crypto v0.45.0
|
|
golang.org/x/image v0.33.0
|
|
golang.org/x/oauth2 v0.33.0
|
|
golang.org/x/text v0.31.0
|
|
modernc.org/sqlite v1.40.0
|
|
)
|
|
|
|
require (
|
|
ariga.io/atlas v0.32.1-0.20250325101103-175b25e1c1b9 // indirect
|
|
cel.dev/expr v0.24.0 // indirect
|
|
cloud.google.com/go v0.121.4 // indirect
|
|
cloud.google.com/go/auth v0.17.0 // indirect
|
|
cloud.google.com/go/auth/oauth2adapt v0.2.8 // indirect
|
|
cloud.google.com/go/compute/metadata v0.9.0 // indirect
|
|
cloud.google.com/go/iam v1.5.2 // indirect
|
|
cloud.google.com/go/monitoring v1.24.2 // indirect
|
|
cloud.google.com/go/pubsub v1.49.0 // indirect
|
|
cloud.google.com/go/storage v1.55.0 // indirect
|
|
github.com/Azure/azure-amqp-common-go/v3 v3.2.3 // indirect
|
|
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.18.1 // indirect
|
|
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.10.1 // indirect
|
|
github.com/Azure/azure-sdk-for-go/sdk/internal v1.11.1 // indirect
|
|
github.com/Azure/azure-sdk-for-go/sdk/messaging/azservicebus v1.9.1 // indirect
|
|
github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.6.1 // indirect
|
|
github.com/Azure/go-amqp v1.4.0 // indirect
|
|
github.com/Azure/go-autorest v14.2.0+incompatible // indirect
|
|
github.com/Azure/go-autorest/autorest/to v0.4.1 // indirect
|
|
github.com/AzureAD/microsoft-authentication-library-for-go v1.4.2 // indirect
|
|
github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.29.0 // indirect
|
|
github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/metric v0.53.0 // indirect
|
|
github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.53.0 // indirect
|
|
github.com/IBM/sarama v1.46.3 // indirect
|
|
github.com/KyleBanks/depth v1.2.1 // indirect
|
|
github.com/agext/levenshtein v1.2.3 // indirect
|
|
github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect
|
|
github.com/aws/aws-sdk-go v1.55.7 // indirect
|
|
github.com/aws/aws-sdk-go-v2 v1.36.5 // indirect
|
|
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.11 // indirect
|
|
github.com/aws/aws-sdk-go-v2/config v1.29.17 // indirect
|
|
github.com/aws/aws-sdk-go-v2/credentials v1.17.70 // indirect
|
|
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.32 // indirect
|
|
github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.17.84 // indirect
|
|
github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.36 // indirect
|
|
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.36 // indirect
|
|
github.com/aws/aws-sdk-go-v2/internal/ini v1.8.3 // indirect
|
|
github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.36 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.12.4 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.7.4 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.12.17 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.18.17 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/s3 v1.84.0 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/sns v1.34.7 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/sqs v1.38.8 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/sso v1.25.5 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.30.3 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/sts v1.34.0 // indirect
|
|
github.com/aws/smithy-go v1.22.4 // indirect
|
|
github.com/bmatcuk/doublestar v1.3.4 // indirect
|
|
github.com/cespare/xxhash/v2 v2.3.0 // indirect
|
|
github.com/cncf/xds/go v0.0.0-20250501225837-2ac532fd4443 // indirect
|
|
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
|
|
github.com/dustin/go-humanize v1.0.1 // indirect
|
|
github.com/eapache/go-resiliency v1.7.0 // indirect
|
|
github.com/eapache/go-xerial-snappy v0.0.0-20230731223053-c322873962e3 // indirect
|
|
github.com/eapache/queue v1.1.0 // indirect
|
|
github.com/ebitengine/purego v0.9.1 // indirect
|
|
github.com/envoyproxy/go-control-plane/envoy v1.32.4 // indirect
|
|
github.com/envoyproxy/protoc-gen-validate v1.2.1 // indirect
|
|
github.com/fatih/color v1.18.0 // indirect
|
|
github.com/felixge/httpsnoop v1.0.4 // indirect
|
|
github.com/fogleman/gg v1.3.0 // indirect
|
|
github.com/gabriel-vasile/mimetype v1.4.11 // indirect
|
|
github.com/go-jose/go-jose/v4 v4.1.3 // indirect
|
|
github.com/go-logr/logr v1.4.3 // indirect
|
|
github.com/go-logr/stdr v1.2.2 // indirect
|
|
github.com/go-ole/go-ole v1.2.6 // indirect
|
|
github.com/go-openapi/inflect v0.19.0 // indirect
|
|
github.com/go-openapi/jsonpointer v0.22.2 // indirect
|
|
github.com/go-openapi/jsonreference v0.21.3 // indirect
|
|
github.com/go-openapi/spec v0.22.1 // indirect
|
|
github.com/go-openapi/swag/conv v0.25.1 // indirect
|
|
github.com/go-openapi/swag/jsonname v0.25.1 // indirect
|
|
github.com/go-openapi/swag/jsonutils v0.25.1 // indirect
|
|
github.com/go-openapi/swag/loading v0.25.1 // indirect
|
|
github.com/go-openapi/swag/stringutils v0.25.1 // indirect
|
|
github.com/go-openapi/swag/typeutils v0.25.1 // indirect
|
|
github.com/go-openapi/swag/yamlutils v0.25.1 // indirect
|
|
github.com/go-playground/locales v0.14.1 // indirect
|
|
github.com/go-playground/universal-translator v0.18.1 // indirect
|
|
github.com/golang-jwt/jwt/v5 v5.2.3 // indirect
|
|
github.com/golang/snappy v1.0.0 // indirect
|
|
github.com/google/go-cmp v0.7.0 // indirect
|
|
github.com/google/s2a-go v0.1.9 // indirect
|
|
github.com/google/wire v0.6.0 // indirect
|
|
github.com/googleapis/enterprise-certificate-proxy v0.3.7 // indirect
|
|
github.com/googleapis/gax-go/v2 v2.15.0 // indirect
|
|
github.com/gorilla/websocket v1.5.3 // indirect
|
|
github.com/hashicorp/go-uuid v1.0.3 // indirect
|
|
github.com/hashicorp/hcl/v2 v2.18.1 // indirect
|
|
github.com/jcmturner/aescts/v2 v2.0.0 // indirect
|
|
github.com/jcmturner/dnsutils/v2 v2.0.0 // indirect
|
|
github.com/jcmturner/gofork v1.7.6 // indirect
|
|
github.com/jcmturner/gokrb5/v8 v8.4.4 // indirect
|
|
github.com/jcmturner/rpc/v2 v2.0.3 // indirect
|
|
github.com/jmespath/go-jmespath v0.4.0 // indirect
|
|
github.com/klauspost/compress v1.18.1 // indirect
|
|
github.com/klauspost/cpuid/v2 v2.3.0 // indirect
|
|
github.com/kylelemons/godebug v1.1.0 // indirect
|
|
github.com/leodido/go-urn v1.4.0 // indirect
|
|
github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 // indirect
|
|
github.com/mattn/go-colorable v0.1.14 // indirect
|
|
github.com/mattn/go-isatty v0.0.20 // indirect
|
|
github.com/mfridman/interpolate v0.0.2 // indirect
|
|
github.com/mitchellh/go-wordwrap v1.0.1 // indirect
|
|
github.com/nats-io/nats.go v1.47.0 // indirect
|
|
github.com/nats-io/nkeys v0.4.11 // indirect
|
|
github.com/nats-io/nuid v1.0.1 // indirect
|
|
github.com/ncruces/go-strftime v1.0.0 // indirect
|
|
github.com/philhofer/fwd v1.2.0 // indirect
|
|
github.com/pierrec/lz4/v4 v4.1.22 // indirect
|
|
github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c // indirect
|
|
github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10 // indirect
|
|
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
|
|
github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55 // indirect
|
|
github.com/rabbitmq/amqp091-go v1.10.0 // indirect
|
|
github.com/rcrowley/go-metrics v0.0.0-20250401214520-65e299d6c5c9 // indirect
|
|
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
|
|
github.com/sethvargo/go-retry v0.3.0 // indirect
|
|
github.com/spiffe/go-spiffe/v2 v2.5.0 // indirect
|
|
github.com/swaggo/files/v2 v2.0.2 // indirect
|
|
github.com/tetratelabs/wazero v1.10.1 // indirect
|
|
github.com/tinylib/msgp v1.5.0 // indirect
|
|
github.com/tklauser/go-sysconf v0.3.15 // indirect
|
|
github.com/tklauser/numcpus v0.10.0 // indirect
|
|
github.com/yeqown/reedsolomon v1.0.0 // indirect
|
|
github.com/yusufpapurcu/wmi v1.2.4 // indirect
|
|
github.com/zclconf/go-cty v1.14.4 // indirect
|
|
github.com/zclconf/go-cty-yaml v1.1.0 // indirect
|
|
github.com/zeebo/errs v1.4.0 // indirect
|
|
go.opentelemetry.io/auto/sdk v1.2.1 // indirect
|
|
go.opentelemetry.io/contrib/detectors/gcp v1.37.0 // indirect
|
|
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.62.0 // indirect
|
|
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.62.0 // indirect
|
|
go.opentelemetry.io/otel v1.38.0 // indirect
|
|
go.opentelemetry.io/otel/metric v1.38.0 // indirect
|
|
go.opentelemetry.io/otel/sdk v1.38.0 // indirect
|
|
go.opentelemetry.io/otel/sdk/metric v1.38.0 // indirect
|
|
go.opentelemetry.io/otel/trace v1.38.0 // indirect
|
|
go.uber.org/multierr v1.11.0 // indirect
|
|
go.yaml.in/yaml/v3 v3.0.4 // indirect
|
|
golang.org/x/exp v0.0.0-20251113190631-e25ba8c21ef6 // indirect
|
|
golang.org/x/mod v0.30.0 // indirect
|
|
golang.org/x/net v0.47.0 // indirect
|
|
golang.org/x/sync v0.18.0 // indirect
|
|
golang.org/x/sys v0.38.0 // indirect
|
|
golang.org/x/time v0.14.0 // indirect
|
|
golang.org/x/tools v0.39.0 // indirect
|
|
golang.org/x/xerrors v0.0.0-20240903120638-7835f813f4da // indirect
|
|
google.golang.org/api v0.256.0 // indirect
|
|
google.golang.org/genproto v0.0.0-20250715232539-7130f93afb79 // indirect
|
|
google.golang.org/genproto/googleapis/api v0.0.0-20250804133106-a7a43d27e69b // indirect
|
|
google.golang.org/genproto/googleapis/rpc v0.0.0-20251111163417-95abcf5c77ba // indirect
|
|
google.golang.org/grpc v1.76.0 // indirect
|
|
google.golang.org/protobuf v1.36.10 // indirect
|
|
gopkg.in/yaml.v3 v3.0.1 // indirect
|
|
modernc.org/libc v1.67.0 // indirect
|
|
modernc.org/mathutil v1.7.1 // indirect
|
|
modernc.org/memory v1.11.0 // indirect
|
|
)
|