Commit Graph

205 Commits

Author SHA1 Message Date
VPS 4 Deploy Agent 8796558fa3 feat(clinics): wipe cirúrgico por dispositivo — apaga banco + pasta Wasabi só da clínica; remove Zerar Sistema da sidebar
continuous-integration/webhook Deploy concluído (VPS4)
- DELETE /admin/clinics/:id/wipe: apaga images/gto_images do banco (WHERE client_name),
  lista e deleta em batch todos os objetos Wasabi com prefixo 'clinic_name/',
  e remove o registro do dispositivo
- UI: botão 'Limpar dados' (🧹) separado do 🗑️ (remove só o cadastro),
  modal com aviso, confirmação e log da operação
- Sidebar: remove link 'Zerar Sistema'
2026-05-30 23:42:46 +02:00
VPS 4 Deploy Agent e0ddb7e0ec chore(deploy): bump version
continuous-integration/webhook Ignorado: bump version
2026-05-30 23:29:56 +02:00
VPS 4 Deploy Agent c7f24fc8d2 fix(a11y): add id/name and htmlFor to all form fields — fix browser warnings about unlabeled inputs
continuous-integration/webhook Deploy concluído (VPS4)
2026-05-30 23:27:00 +02:00
VPS 4 Deploy Agent 61a4c3ab76 chore(deploy): bump version
continuous-integration/webhook Ignorado: bump version
2026-05-30 23:11:45 +02:00
VPS 4 Deploy Agent 7861ad5870 fix(transform): overflow:hidden no painel + imagem 65% (65%×√2≈92% — cabe em qualquer ângulo)
continuous-integration/webhook Deploy concluído (VPS4)
2026-05-30 23:08:17 +02:00
VPS 4 Deploy Agent 2bdd78ec59 chore(deploy): bump version
continuous-integration/webhook Ignorado: bump version
2026-05-30 21:29:25 +02:00
VPS 4 Deploy Agent 3f3e5fc33b fix(transform): imagens não cortadas nas 4 posições (70%=1/√2) e no ajuste fino (sem overflow hidden)
continuous-integration/webhook Deploy concluído (VPS4)
2026-05-30 21:26:48 +02:00
VPS 4 Deploy Agent ca74ccf0d4 chore(deploy): bump version
continuous-integration/webhook Ignorado: bump version
2026-05-30 21:20:47 +02:00
VPS 4 Deploy Agent 568e42abdd fix(transform): botão Posições no header antes do nome + imagens não estouram no ajuste fino
continuous-integration/webhook Deploy concluído (VPS4)
2026-05-30 21:17:06 +02:00
VPS 4 Deploy Agent f90188b6f3 chore(deploy): bump version
continuous-integration/webhook Ignorado: bump version
2026-05-30 21:08:06 +02:00
VPS 4 Deploy Agent 74a8fa7fc4 feat(transform): páginas de orientação (flip H/V), downloads (orientada+original), vincular GTO no ajuste fino e marcar GTO enviada
continuous-integration/webhook Deploy concluído (VPS4)
- Passo de escolha: Avançar/Voltar entre rotações, espelho H e espelho V (12 orientações)
- Ajuste fino: botões Baixar orientada/original (canvas), Vincular à GTO, Salvar imagem e orientação
- View GTO: badge ENVIADA + botão 'Imagem enviada' (persiste via POST /gtos/:id/sent), baixar imagem
- Backend: coluna gtos.sent/sent_at + rota POST /gtos/:id/sent
2026-05-30 21:04:42 +02:00
VPS 4 Deploy Agent 79c6012fbe chore(deploy): bump version
continuous-integration/webhook Ignorado: bump version
2026-05-30 20:19:53 +02:00
VPS 4 Deploy Agent 60d6474b25 feat(transform): passo de escolha entre 4 posições (0/90/180/270) antes do ajuste fino
continuous-integration/webhook Deploy concluído (VPS4)
Ao clicar em Orientar, primeiro mostra 4 rotações da imagem para escolher a
orientação grossa; ao clicar numa, abre o ajuste fino (escolhida + original)
com botão para voltar. Rotação salva = orientação escolhida + ajuste fino.
2026-05-30 20:14:56 +02:00
VPS 4 Deploy Agent 38209048b8 perf(thumbnail): cache imutável de 1 ano no navegador (repeat visit = 0 request) 2026-05-30 19:48:19 +02:00
VPS 4 Deploy Agent 3f624111f4 chore(deploy): bump version
continuous-integration/webhook Ignorado: bump version
2026-05-30 19:40:49 +02:00
VPS 4 Deploy Agent 5962a9ef81 style(sidebar): reduz espaço vertical no topo e base (padding 24->10, header sem vertical)
continuous-integration/webhook Deploy concluído (VPS4)
2026-05-30 19:36:13 +02:00
VPS 4 Deploy Agent 3674a9650d chore(deploy): bump version
continuous-integration/webhook Ignorado: bump version
2026-05-30 19:26:54 +02:00
VPS 4 Deploy Agent c393b8394c style(sidebar): espaço acima do header e remove padding inferior
continuous-integration/webhook Deploy concluído (VPS4)
2026-05-30 19:23:07 +02:00
VPS 4 Deploy Agent 928aedccc4 chore(deploy): bump version
continuous-integration/webhook Ignorado: bump version
2026-05-30 19:09:15 +02:00
VPS 4 Deploy Agent b59eae1641 fix(wasabi): reload S3 client after saving credentials (403 persistia com chave antiga em memória)
continuous-integration/webhook Deploy concluído (VPS4)
2026-05-30 19:03:30 +02:00
VPS 4 Deploy Agent ed21e67686 chore(deploy): bump version
continuous-integration/webhook Ignorado: bump version
2026-05-30 18:54:32 +02:00
VPS 4 Deploy Agent 69794a5688 fix(deploy): force devDependencies install for React build (NODE_ENV=production skips vite)
continuous-integration/webhook Deploy concluído (VPS4)
2026-05-30 18:51:24 +02:00
VPS 4 Deploy Agent 12891da889 fix(thumbnail): serve image bytes directly + on-demand thumb generation with Wasabi backfill
continuous-integration/webhook Falha no deploy (VPS4)
O endpoint /api/images/:id/thumbnail retornava JSON {url}, mas o React aponta
<img src> direto para ele, causando placeholders cinza (sem erro no devtools).
Agora serve image/jpeg diretamente. Quando thumb_filename é null, puxa a original,
gera a thumb na hora, serve imediatamente e faz backfill no Wasabi + atualiza o banco.
2026-05-30 18:48:25 +02:00
VPS 4 Deploy Agent 1a5ac83f53 chore(deploy): bump version
continuous-integration/webhook Ignorado: bump version
2026-05-30 18:37:59 +02:00
VPS 4 Deploy Agent 19d74cdde9 fix: remove legacy html routes causing 500 error
continuous-integration/webhook Falha no deploy (VPS4)
2026-05-30 18:35:25 +02:00
VPS 4 Deploy Agent 23cbbf1275 chore(deploy): bump version
continuous-integration/webhook Ignorado: bump version
2026-05-30 18:31:22 +02:00
VPS 4 Deploy Agent d6ae290e56 feat: migrate vanilla js to react vite spa
continuous-integration/webhook Falha no deploy (VPS4)
2026-05-30 18:26:56 +02:00
VPS 4 Deploy Agent 3bc1161d95 chore(deploy): bump version
continuous-integration/webhook Ignorado: bump version
2026-05-30 17:49:16 +02:00
VPS 4 Deploy Agent e232a81d66 fix: include latest_image_id in patients query — fix /api/images/undefined/thumbnail
continuous-integration/webhook Deploy concluído (VPS4)
2026-05-30 17:46:47 +02:00
VPS 4 Deploy Agent 83f4b708ee chore(deploy): bump version
continuous-integration/webhook Ignorado: bump version
2026-05-30 17:37:53 +02:00
VPS 4 Deploy Agent 558c3a3ce5 fix: register public thumbnail route before auth middleware — use router before authenticateToken
continuous-integration/webhook Deploy concluído (VPS4)
2026-05-30 17:34:50 +02:00
VPS 4 Deploy Agent 879a307761 chore(deploy): bump version
continuous-integration/webhook Ignorado: bump version
2026-05-30 17:34:28 +02:00
VPS 4 Deploy Agent 76f76f3c90 fix: add public thumbnail endpoint without auth — allow images to load without login
continuous-integration/webhook Deploy concluído (VPS4)
2026-05-30 17:32:09 +02:00
VPS 4 Deploy Agent b6c7ee4255 chore(deploy): bump version
continuous-integration/webhook Ignorado: bump version
2026-05-30 17:30:24 +02:00
VPS 4 Deploy Agent 02dcbc3fae fix: lazy-load Wasabi URLs to prevent socket.io timeout — check local files first, generate signed URLs on-demand
continuous-integration/webhook Deploy concluído (VPS4)
2026-05-30 17:27:44 +02:00
VPS 4 Deploy Agent 39d162c282 chore(deploy): bump version
continuous-integration/webhook Ignorado: bump version
2026-05-30 17:26:16 +02:00
VPS 4 Deploy Agent b76bb14b0a fix: serve Wasabi image URLs instead of local /uploads/ paths — prevent broken image links
continuous-integration/webhook Deploy concluído (VPS4)
2026-05-30 17:22:11 +02:00
VPS 4 Deploy Agent cf653558c4 chore(deploy): bump version
continuous-integration/webhook Ignorado: bump version
2026-05-30 17:13:14 +02:00
VPS 4 Deploy Agent 41dadfb620 chore(deploy): bump version
continuous-integration/webhook Ignorado: bump version
2026-05-30 16:57:44 +02:00
VPS 4 Deploy Agent 8f3e040b58 chore(deploy): bump version
continuous-integration/webhook Ignorado: bump version
2026-05-30 16:31:42 +02:00
VPS 4 Deploy Agent e8af3a975b fix: remove previewStyle error, compact logout button padding
continuous-integration/webhook Deploy concluído (VPS4)
2026-05-30 16:28:14 +02:00
VPS 4 Deploy Agent 098fe4692e chore(deploy): bump version
continuous-integration/webhook Ignorado: bump version
2026-05-30 16:25:28 +02:00
VPS 4 Deploy Agent 6901da52f0 fix: thumbnail system - 500px, always show placeholder, compact sidebar footer
continuous-integration/webhook Deploy concluído (VPS4)
2026-05-30 16:22:15 +02:00
VPS 4 Deploy Agent ce2a394962 chore(deploy): bump version
continuous-integration/webhook Ignorado: bump version
2026-05-30 16:03:54 +02:00
VPS 4 Deploy Agent 7f9381169f perf: preserve Docker npm cache - version bumps only touch version.txt, not package.json
continuous-integration/webhook Deploy concluído (VPS4)
2026-05-30 16:00:18 +02:00
VPS 4 Deploy Agent 653654cad4 chore(deploy): bump version
continuous-integration/webhook Ignorado: bump version
2026-05-30 15:58:16 +02:00
VPS 4 Deploy Agent dcfc221e9a fix: version injection server-side, sidebar spacing, thumb quality 80%, backfill, modal original full-res
continuous-integration/webhook Deploy concluído (VPS4)
2026-05-30 15:51:48 +02:00
VPS 4 Deploy Agent 0c31ed7670 chore(deploy): bump version
continuous-integration/webhook Ignorado: bump version
2026-05-30 15:39:57 +02:00
VPS 4 Deploy Agent 610c183b35 feat(deploy): add GitOps automation - listener 9003, update-version.js, deploy-prod.sh GitOps
continuous-integration/webhook Deploy concluído (VPS4)
2026-05-30 15:32:11 +02:00
VPS 4 Deploy Agent 6dfce6723b feat: consolidate backend improvements, frontend UX fixes and Wasabi storage support 2026-05-30 15:23:27 +02:00