4 Commits
Author SHA1 Message Date
CatoandClaude Opus 5.5 6669240a92 feat(auth): sign in with OrangeCat (#278)
OrangeCat (OIDC) becomes the primary way into datacat on /login and
/register; email + password stays behind a disclosure, and is the only
form shown when the box has no OrangeCat client credentials.

- next-auth v4 provider "orangecat": client_secret_post, PKCE + state,
  scope "openid profile email", issuer https://orangecat.ch
  (ORANGECAT_OAUTH_ISSUER overrides). Absent, not broken, while
  ORANGECAT_OAUTH_CLIENT_ID/_SECRET are unset.
- Users keyed on the OIDC sub (new nullable unique users.orangecatSub).
  A new sub always creates a new user; it is never linked to an
  existing account by email (OrangeCat email_verified is untrustworthy).
  If the email is already held, the new user gets email NULL, so
  users.email becomes nullable. Additive migration only.
- Identity only: no OrangeCat token is kept or refreshed.

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-02 05:22:05 -07:00
GandClaude Opus 4.8 d18eb00721 chore(infra): remove Vercel references — self-hosted now (#192)
Vercel is decommissioned; datacat runs self-hosted on the Hetzner box
"bitbaum" behind Caddy at datacat.orangecat.ch.

- VISION.md: DB hosting option "Vercel/AWS" → "self-hosted"
- frontend/env.example: BACKEND_URL note now points at the self-hosted
  deployment environment instead of Vercel project settings
- .gitignore + frontend/.gitignore: drop dead `.vercel` ignore blocks

Kept the dated ADR (docs/decisions/2025-08-12-architecture-big-bang.md)
verbatim — it is an immutable historical decision record.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-22 21:49:28 +02:00
g-butandClaude Opus 4.5 cb6c2b5ac0 chore: fix security vulnerabilities
Updated vulnerable packages where possible.
Some vulnerabilities remain due to next-contentlayer peer dependency conflicts.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-07 19:58:41 +01:00
Your NameandClaude 4bb2b2de4b fix: resolve TypeScript compilation errors
- Fix React Hooks rules violation in ConfirmDialog.tsx
- Fix FormPreviewModal props mismatch in ModernFormBuilderLayout.tsx
- Fix SaveTemplateModal props issues
- Fix MultiStepFormBuilderStore missing steps prop
- Fix UnifiedFormCreationHub addField function call
- Fix stage comparison error in UnifiedFormCreationHub
- Add proper Vercel deployment configuration

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-07 14:00:03 +02:00