11 Commits
Author SHA1 Message Date
smacksandClaude Sonnet 4.6 86fbd8e4bb Remove static JSON files and seed step; migrate site settings to Postgres
All content (recipes + imprint/privacy settings) now lives exclusively in
Postgres. The app no longer requires a seed step on first deploy.

Changes:
- helpers.php: load_site_settings() returns defaults when site_settings
  table is empty instead of throwing DatabaseUnavailableException; removes
  legacy JSONB migration path
- data/recipes.json, data/site.json: deleted (content already in DB)
- scripts/db-seed.php: deleted (no longer needed)
- docker-compose.yml: remove RUN_DB_SEED env var and data/ volume mount
- docker/entrypoint.sh: remove RUN_DB_SEED seed block
- docs/COOLIFY.md: update deployment guide to reflect seedless workflow
- .claude/launch.json: add dev server configurations for preview tool

Fresh deploys now start with placeholder legal pages and an empty recipe
list; the admin fills in real content via /admin.php without any CLI step.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-18 09:53:39 +02:00
smacks b338e2bc30 Refactor recipe saving logic in helpers.php to include featured recipe handling and update execution order for tags, ingredients, utensils, and steps. Remove redundant featured recipe clearing from admin.php. 2026-05-23 23:18:19 +02:00
smacks 6577db475a Refactor database handling to require PostgreSQL connection, removing fallback to JSON. Implement error handling for database unavailability in key files. Update .env.example to reflect mandatory DATABASE_URL for local development. Remove Firebase configuration and related code from the project. 2026-05-23 10:23:28 +02:00
smacks 99a04db1c6 T 2026-05-22 19:25:06 +02:00
smacks e7f35d71e3 postgres database implementation 2026-05-22 19:07:03 +02:00
smacks dacc9ce2bc firebase integration 2026-05-22 16:16:34 +02:00
smacks 21833fa05b feat(auth-firebase): implement Phase 2 integration - Firebase Auth, Session Sync, Favorites Grid, and Firestore Newsletter 2026-05-21 14:14:10 +02:00
smacks 548c7605bc fix(phase-1): resolve preloader freeze, lock dark mode, perfectly center hamburger & mark complete 2026-05-21 14:02:09 +02:00
smacks 622e1442ea Update ODR notice to consumer-redress site after platform closure 2026-03-23 16:34:39 +01:00
smacks 1478aa932b Add configurable legal pages and admin settings 2026-03-23 16:26:45 +01:00
smacks 9049e7cc58 Stable Website before landingpage 2026-03-22 22:16:44 +01:00