7 Commits (eae4857c9dbe159e9479e207848d7647495f2515)

Author SHA1 Message Date
Deardo Satria 21bce758cb Add local MariaDB copy and Drizzle connection for the legacy cleo database
- docker-compose: mariadb:10.4 service on port 3307 (utf8mb4), seeded from a
  mysqldump of the office server so development never writes to production
- drizzle-amigo.config.ts + `pnpm db:amigo:pull` (introspection only)
- scripts/fix-amigo-schema.ts repairs drizzle-kit's MariaDB output: quoted
  defaults, dropped primary keys, missing column-builder imports
- db/amigo: pulled schema and `amigoDb` connection
- README: step-by-step local MariaDB setup (dump, import, cleo_next grants)
- CLAUDE.md: MyISAM, concurrent PHP writes, zero dates, other apps' tables

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2 weeks ago
Deardo Satria a44fb24136 Move login and logout actions into app/(auth)/actions.ts 2 weeks ago
Deardo Satria 248b22dcba Add docker compose Postgres, admin seed script, and setup guide
- docker-compose.yml runs Postgres 17 and reuses the existing cleo-pgdata volume.
- scripts/seed.ts creates the first admin through Better Auth's internal adapter,
  so it works while public sign-up is disabled; skips if the admin exists.
- .env.example documents every variable; README has the new-laptop setup steps.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2 weeks ago
Deardo Satria 6e512a14fc Add login server action, getCurrentUser, and progress notes 2 weeks ago
Deardo Satria 31c211f6ab Add shadcn/ui with base-nova preset 2 weeks ago
Deardo Satria 2f32ec4590 Add Better Auth with username login on Postgres 2 weeks ago
Deardo Satria 2ff639a1ed Add legacy PHP source as reference 2 weeks ago