2026-09-19 20:31:14 +02:00
|
|
|
module github.com/danyel/go-guess/backend
|
|
|
|
|
|
|
|
|
|
go 1.27.1
|
|
|
|
|
|
|
|
|
|
require (
|
feat: avatar, account menu, and single sign-on from Go Loose
Signing in now starts at the sign-in screen and one button that hands the
browser to Go Loose, which returns to the welcome page. Nothing redirects to the
identity provider on its own any more: that fired on every anonymous visit and
read as a redirect loop rather than as a choice to sign in. The password form
remains only where the API reports that Go Loose login is not configured for the
host, because otherwise the application is unreachable on a bare localhost.
A person's picture is carried through from the Go Loose identity and rendered in
the account menu and on the profile page, with their initials as the fallback.
Two things make that fallback necessary rather than decorative: Go Loose retires a
picture key when a picture is replaced, so a link cached in a browser can be dead,
and most people have not uploaded one. The URL is deliberately not persisted
locally, since a stored key would keep failing after the picture changed.
The account menu is a disclosure rather than a hover menu: a real button with
aria-expanded, Escape and outside clicks closing it, and focus returning to the
trigger. It is not an ARIA menu, because its actions are a link and a button and
menuitem roles would strip the link semantics from one of them for no gain.
The account URL of the Go Loose identity is resolved on each sign-in and is read
from the live identity provider every time, which is also what makes it correct
after a picture change.
Depends on the Go Loose revision that serves avatar_url through
/connect/userinfo, so the picture URL reaches this application at all.
2026-10-05 21:50:06 +02:00
|
|
|
github.com/danyel/go-loose v0.0.0-20261005194805-49ab89ae46fd
|
2026-09-19 20:31:14 +02:00
|
|
|
github.com/go-chi/chi/v5 v5.2.3
|
|
|
|
|
github.com/golang-jwt/jwt/v5 v5.3.0
|
|
|
|
|
github.com/google/uuid v1.6.0
|
2026-10-02 21:44:26 +02:00
|
|
|
github.com/jackc/pgx/v5 v5.11.0
|
2026-09-19 20:31:14 +02:00
|
|
|
github.com/ledongthuc/pdf v0.0.0-20260907135840-6c8c28e0e8a0
|
2026-09-19 21:58:24 +02:00
|
|
|
github.com/pressly/goose/v3 v3.26.0
|
|
|
|
|
github.com/rabbitmq/amqp091-go v1.15.0
|
|
|
|
|
github.com/testcontainers/testcontainers-go v0.44.0
|
|
|
|
|
github.com/testcontainers/testcontainers-go/modules/postgres v0.44.0
|
2026-09-19 21:11:20 +02:00
|
|
|
golang.org/x/crypto v0.54.0
|
2026-09-19 20:31:14 +02:00
|
|
|
gorm.io/driver/postgres v1.6.0
|
|
|
|
|
gorm.io/gorm v1.31.0
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
require (
|
2026-09-19 21:11:20 +02:00
|
|
|
dario.cat/mergo v1.0.2 // indirect
|
|
|
|
|
github.com/Azure/go-ansiterm v0.0.0-20250102033503-faa5f7b0171c // indirect
|
|
|
|
|
github.com/Microsoft/go-winio v0.6.2 // indirect
|
|
|
|
|
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
|
|
|
|
|
github.com/cespare/xxhash/v2 v2.3.0 // indirect
|
|
|
|
|
github.com/containerd/errdefs v1.0.0 // indirect
|
|
|
|
|
github.com/containerd/errdefs/pkg v0.3.0 // indirect
|
|
|
|
|
github.com/containerd/log v0.1.0 // indirect
|
|
|
|
|
github.com/containerd/platforms v0.2.1 // indirect
|
|
|
|
|
github.com/cpuguy83/dockercfg v0.3.2 // indirect
|
|
|
|
|
github.com/davecgh/go-spew v1.1.1 // indirect
|
|
|
|
|
github.com/distribution/reference v0.6.0 // indirect
|
|
|
|
|
github.com/docker/go-connections v0.7.0 // indirect
|
|
|
|
|
github.com/docker/go-units v0.5.0 // indirect
|
|
|
|
|
github.com/ebitengine/purego v0.10.1 // indirect
|
|
|
|
|
github.com/felixge/httpsnoop v1.1.0 // 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.3.0 // indirect
|
2026-09-19 20:31:14 +02:00
|
|
|
github.com/jackc/pgpassfile v1.0.0 // indirect
|
|
|
|
|
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect
|
|
|
|
|
github.com/jackc/puddle/v2 v2.2.2 // indirect
|
|
|
|
|
github.com/jinzhu/inflection v1.0.0 // indirect
|
|
|
|
|
github.com/jinzhu/now v1.1.5 // indirect
|
2026-09-19 21:11:20 +02:00
|
|
|
github.com/klauspost/compress v1.18.6 // indirect
|
|
|
|
|
github.com/lufia/plan9stats v0.0.0-20260330125221-c963978e514e // indirect
|
|
|
|
|
github.com/magiconair/properties v1.8.10 // indirect
|
|
|
|
|
github.com/mfridman/interpolate v0.0.2 // indirect
|
|
|
|
|
github.com/moby/docker-image-spec v1.3.1 // indirect
|
|
|
|
|
github.com/moby/go-archive v0.2.0 // indirect
|
|
|
|
|
github.com/moby/moby/api v1.55.0 // indirect
|
|
|
|
|
github.com/moby/moby/client v0.5.0 // indirect
|
|
|
|
|
github.com/moby/patternmatcher v0.6.1 // indirect
|
|
|
|
|
github.com/moby/sys/sequential v0.7.0 // indirect
|
|
|
|
|
github.com/moby/sys/user v0.4.0 // indirect
|
|
|
|
|
github.com/moby/sys/userns v0.1.0 // indirect
|
|
|
|
|
github.com/moby/term v0.5.2 // indirect
|
|
|
|
|
github.com/opencontainers/go-digest v1.0.0 // indirect
|
|
|
|
|
github.com/opencontainers/image-spec v1.1.1 // indirect
|
|
|
|
|
github.com/pmezard/go-difflib v1.0.0 // indirect
|
|
|
|
|
github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55 // indirect
|
|
|
|
|
github.com/sethvargo/go-retry v0.3.0 // indirect
|
|
|
|
|
github.com/shirou/gopsutil/v4 v4.26.6 // indirect
|
|
|
|
|
github.com/sirupsen/logrus v1.9.4 // indirect
|
|
|
|
|
github.com/stretchr/testify v1.11.1 // indirect
|
|
|
|
|
github.com/tklauser/go-sysconf v0.4.0 // indirect
|
|
|
|
|
github.com/tklauser/numcpus v0.12.0 // indirect
|
|
|
|
|
github.com/yusufpapurcu/wmi v1.2.4 // indirect
|
|
|
|
|
go.opentelemetry.io/auto/sdk v1.2.1 // indirect
|
|
|
|
|
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.69.0 // indirect
|
|
|
|
|
go.opentelemetry.io/otel v1.44.0 // indirect
|
|
|
|
|
go.opentelemetry.io/otel/metric v1.44.0 // indirect
|
|
|
|
|
go.opentelemetry.io/otel/trace v1.44.0 // indirect
|
|
|
|
|
go.uber.org/multierr v1.11.0 // indirect
|
2026-10-02 21:44:26 +02:00
|
|
|
golang.org/x/sync v0.23.0 // indirect
|
2026-09-19 21:11:20 +02:00
|
|
|
golang.org/x/sys v0.47.0 // indirect
|
2026-10-02 21:44:26 +02:00
|
|
|
golang.org/x/text v0.42.0 // indirect
|
2026-09-19 21:11:20 +02:00
|
|
|
gopkg.in/yaml.v3 v3.0.1 // indirect
|
2026-09-19 20:31:14 +02:00
|
|
|
)
|