Commit graph

8 commits

Author SHA1 Message Date
MatheusAlves96
d99978cd7a fix(backend): never run seed.py in production
All checks were successful
CI/CD → Deploy via SSH / Build & Push Docker Images (push) Successful in 38s
CI/CD → Deploy via SSH / Deploy via SSH (push) Successful in 3m12s
CI/CD → Deploy via SSH / Validate HTTPS & Endpoints (push) Successful in 1m8s
entrypoint.sh now requires RUN_SEED=true to execute the seed script.
Without it, only 'flask db upgrade heads' runs on container start.

docker-compose.yml (dev) sets RUN_SEED=true and RUN_CSV_IMPORT=true
so local development behaviour is unchanged.

Production (docker-compose.prod.yml) does not set these variables,
so the database is no longer wiped on every deploy.
2026-04-23 00:03:56 -03:00
MatheusAlves96
e1a1f71fbd chore: seed sample video data, add spec 033 and update instructions
Some checks failed
CI/CD → Deploy via SSH / Build & Push Docker Images (push) Successful in 1m6s
CI/CD → Deploy via SSH / Deploy via SSH (push) Successful in 4m18s
CI/CD → Deploy via SSH / Validate HTTPS & Endpoints (push) Has been cancelled
2026-04-22 23:57:50 -03:00
MatheusAlves96
d363a09f36 feat(backend): add video_url and video_position to properties
- Model: video_url VARCHAR(512) nullable, video_position VARCHAR(20) default 'section'
- Migration: k3l4m5n6o7p8_add_video_to_properties
- Admin route: expose/accept video_url (sanitize empty->NULL) and video_position
- Public schema: PropertyDetailOut exposes both fields
2026-04-22 23:57:28 -03:00
MatheusAlves96
d3e4438a4f fix: health check route via /api/health to match Traefik PathPrefix rule
Some checks failed
CI/CD → Deploy via SSH / Build & Push Docker Images (push) Successful in 39s
CI/CD → Deploy via SSH / Deploy via SSH (push) Successful in 2m55s
CI/CD → Deploy via SSH / Validate HTTPS & Endpoints (push) Failing after 47s
/health is routed to frontend nginx by Traefik (no /api prefix).
Add /api/health alias so Traefik routes the check to the backend.
Update workflow healthcheck step to call /api/health.
2026-04-22 22:44:43 -03:00
MatheusAlves96
cf5603243c feat: features 025-032 - favoritos, contatos, trabalhe-conosco, area-cliente, navbar, hero-light-dark, performance-homepage
Some checks failed
CI/CD → Deploy via SSH / Build & Push Docker Images (push) Successful in 1m0s
CI/CD → Deploy via SSH / Deploy via SSH (push) Successful in 4m35s
CI/CD → Deploy via SSH / Validate HTTPS & Endpoints (push) Failing after 46s
- feat(025): favoritos locais com FavoritesContext, HeartButton, PublicFavoritesPage
- feat(026): central de contatos admin (leads/contatos unificados)
- feat(027): configuração da página de contato via admin
- feat(028): trabalhe conosco - candidaturas com upload e admin
- feat(029): UX área do cliente - visitas, comparação, perfil
- feat(030): navbar UX - menu mobile, ThemeToggle, useFavorites
- feat(031): hero light/dark - imagens separadas por tema, upload, preview, seed
- feat(032): performance homepage - Promise.all parallel fetches, sessionStorage cache,
  preload hero image, loading=lazy nos cards, useInView hook, will-change carrossel,
  keyframes em index.css, AgentsCarousel e HomeScrollScene via props
- fix: light mode HomeScrollScene - gradiente, cores de texto, scroll hint

migrations: g1h2i3j4k5l6 (source em leads), h1i2j3k4l5m6 (contact_config),
            i1j2k3l4m5n6 (job_applications), j2k3l4m5n6o7 (hero theme images)
2026-04-22 22:35:17 -03:00
MatheusAlves96
849789d376 feat: add /api/version endpoint with IMAGE_TAG; validate in ci healthcheck
Some checks are pending
CI/CD → Deploy via SSH / Build & Push Docker Images (push) Waiting to run
CI/CD → Deploy via SSH / Deploy via SSH (push) Blocked by required conditions
CI/CD → Deploy via SSH / Validate HTTPS & Endpoints (push) Blocked by required conditions
2026-04-21 00:23:25 -03:00
MatheusAlves96
dcd18a07e6 ci: add forgejo actions pipeline with traefik labels and https health checks
Some checks are pending
CI/CD → Portainer / Build & Push Docker Images (push) Waiting to run
CI/CD → Portainer / Deploy to Portainer (push) Blocked by required conditions
CI/CD → Portainer / Validate HTTPS & Endpoints (push) Blocked by required conditions
2026-04-21 00:06:22 -03:00
MatheusAlves96
e6cb06255b feat: add full project - backend, frontend, docker, specs and configs 2026-04-20 23:59:45 -03:00