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
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
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
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
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
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
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
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
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
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
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
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
d6ae290e56
feat: migrate vanilla js to react vite spa
continuous-integration/webhook Falha no deploy (VPS4)
2026-05-30 18:26:56 +02:00