9 Commits
Author SHA1 Message Date
Andre RDS bc8ac7b74f fix: log detalhado de envio whatsapp e suporte a desativacao explicita de telegram 2026-11-28 11:28:49 -03:00
Andre RDS cc6a77612b fix: persistencia dinamica em configs e filtro de tabelas ativas status publish 2026-11-27 09:00:08 -03:00
Andre RDS 9e6c38ff37 fix: conectar container table-watcher a rede proxy e adicionar labels do Traefik 2026-11-27 08:36:18 -03:00
Andre RDS 933eebc5e6 fix: ajuste sintaxe na checagem HTTPS no deploy.sh 2026-11-26 14:37:47 -03:00
Andre RDS 23305c5b2a feat: suporte à API v3 do CMS, detecção is_stale/vesting_status, redirect raiz e script de deploy com fallback 2026-11-26 14:37:00 -03:00
Andre RDSandCoder c77158b13f feat: adicionar Dockerfile multi-stage para table-watcher
- Base oven/bun:1.4-alpine
- Install deps com cache
- Volume /data para SQLite
- Expõe porta 3002

Co-Authored-By: Coder <coder@agent.local>
2026-11-26 09:37:15 -03:00
2252561b9e feat(config): persistir configurações em SQLite com UI Apple/Planium
Adiciona persistência de configurações via SQLite com precedência UI > .env > default

- Novo domínio: SettingDefinition, SettingValue, SettingsRepository
- Nova infraestrutura: SqliteSettingsRepository com defaults
- API /api/v1/configs GET/PUT protegida por cookie session
- UI /configs atualizada para ler/escrever do banco
- Login/logout com cookie HttpOnly
- Precedência correta: SQLite (UI) > .env > defaultValue
- Todos os 30 testes passam

Co-Authored-By: Coder <coder@agent.local>
Co-Authored-By: Review <review@agent.local>
Co-Authored-By: Testing <testing@agent.local>
2026-11-25 23:32:22 -03:00
Andre RDS da10e17a56 fix: add cookie auth for /configs UI 2026-11-25 15:20:12 -03:00
6e8e640738 feat: initial commit - Table Expiration Watcher
- Monitor de tabelas de planos de saúde prestes a vencer/vencidas
- Stack: Bun + Hono + SQLite + Zod + date-fns
- Alertas via Telegram e WhatsApp (AstraCalls MCP)
- UI de configuração estilo Apple/Planium em /configs
- Scheduler periódico com intervalo configurável
- Testes unitários e de integração (30 testes passando)

Co-Authored-By: Coder <coder@agent.local>
Co-Authored-By: Review <review@agent.local>
Co-Authored-By: Testing <testing@agent.local>
2026-11-25 09:43:00 -03:00