Commit Graph

18 Commits

Author SHA1 Message Date
04ebc91e9f fix: include user relation in admin reports query to resolve Unknown User display
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-13 07:29:55 -05:00
19b1f26254 fix: read Google access_token from Account table, not getToken()
With strategy:"database" there is no JWT cookie, so getToken() always
returns null. The Google access_token is stored in the Account table by
the PrismaAdapter. Query it directly via prisma.account.findFirst()
instead of the JWT helper.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-13 00:56:33 -05:00
8b18566761 fix: pass config object directly to PrismaLibSql, drop @libsql/client
PrismaLibSql constructor takes a Config object (with url), not a
pre-created Client instance. Remove the unnecessary createClient call
and the @libsql/client direct dependency.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-13 00:28:06 -05:00
e7560bedff fix: correct PrismaLibSQL -> PrismaLibSql export name
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-13 00:14:12 -05:00
fcc04915c2 fix: migrate to Prisma 7 driver adapter (libsql) for SQLite
Prisma 7 removed support for `url` in schema.prisma datasources and the
`engineType = "library"` native binary engine. All connections now go
through a driver adapter.

- Remove engineType and url from schema.prisma (no longer supported)
- Configure prisma.config.ts with migrate.adapter using @libsql/client
- Instantiate PrismaClient with PrismaLibSQL adapter in src/lib/prisma.ts
- Add @libsql/client and @prisma/adapter-libsql dependencies
- Remove PRISMA_CLIENT_ENGINE_TYPE from Dockerfile (obsolete)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-12 23:49:58 -05:00
e6f4f6c092 auth drive 2026-03-12 23:29:00 -05:00
8b4a18e29d auth fix 2026-03-12 23:20:49 -05:00
0e50256844 login 2026-03-12 23:05:28 -05:00
cbbaf747bf maybe? 2026-03-12 20:30:36 -05:00
13f53badc3 again? 2026-03-12 20:27:11 -05:00
0801592eb9 more proxy 2026-03-12 20:11:08 -05:00
1d7c564c4a no turbo 2026-03-12 19:59:59 -05:00
7886d60827 more 2026-03-12 19:49:59 -05:00
ebc0c61da4 routes fix 2026-03-12 19:47:28 -05:00
6b0190de81 more fixes 2026-03-12 19:18:01 -05:00
7d7c34bcb1 docker fixes 2026-03-12 19:12:44 -05:00
jason
2743b6ddf1 prisma fix 2026-03-12 17:30:36 -05:00
jason
4982e5392e initial commit 2026-03-12 17:09:22 -05:00