Commit Graph

  • 81ba8b1919 feat: add student sexo field and update detailed dashboard main Sidney 2026-05-27 11:37:26 -0300
  • 470eb3163e chore: update Traefik certresolver to leresolver in docker-compose.yml Sidney 2026-05-27 11:13:22 -0300
  • 37d89d690c docs: update memory log and project rules with recent developments Sidney 2026-05-27 09:05:47 -0300
  • 4a922f43ec feat: enforce single attendance justification, automatic contract registration in SQL, default contract checks and class frequency PDF report Sidney 2026-05-26 21:23:58 -0300
  • 3d683ac68a Configura deploy automático via Gitea Actions Sidney 2026-05-26 20:16:49 -0300
  • b76e2eeaa9 ci: ajusta sintaxe do workflow_dispatch com chaves vazias Sidney 2026-05-26 09:04:55 -0300
  • 3cd39d5a8e ci: adiciona trigger manual workflow_dispatch no deploy.yml Sidney 2026-05-26 08:55:04 -0300
  • 2dbe5d3c12 trigger deploy: refazendo push dos contratos e correcao de abas Sidney 2026-05-26 08:49:10 -0300
  • 1dc753c9c9 feat: Contratos 100% SQL-First + cache-buster em todos os módulos + persistência de aba ativa no F5 Sidney 2026-05-26 08:42:13 -0300
  • 15a7a9fef2 fix: Corrige reagendamento de aula nao sincronizando com backend SQL Sidney 2026-05-25 20:16:03 -0300
  • d1743a7188 feat: adiciona botao de exclusao permanente na lixeira de provas Sidney 2026-05-25 19:26:19 -0300
  • b6c61ff070 fix: gera IDs unicos para questoes ao duplicar prova + tabela de migracao SQL Sidney 2026-05-25 19:23:08 -0300
  • 4903bad94d feat: migra Provas/Atividades (Exams.tsx) para 100% SQL-First com questoes e reverse sync Sidney 2026-05-25 19:14:59 -0300
  • a0810b691a fix: torna handleTransferStudent async para corrigir build Sidney 2026-05-25 19:05:01 -0300
  • 7e05ef11dd feat: migra cadastro de alunos (Students.tsx) para 100% SQL-First com reverse sync Sidney 2026-05-25 18:59:39 -0300
  • 094b180f77 fix: preserve face_descriptor during JSONB-relational synchronization Sidney 2026-05-25 18:21:44 -0300
  • 6680202b11 feat(sync): add temporary endpoint to fix missing student data migration Sidney 2026-05-25 17:58:25 -0300
  • b446283cc0 fix(sync): apply camelCase and snake_case fallbacks for student properties during SQL-first sync Sidney 2026-05-25 17:50:50 -0300
  • 27364ca495 fix(portal): handle iso strings correctly in formatDate for birthDate rendering Sidney 2026-05-25 14:27:58 -0300
  • bb4fbe6ebb fix(portal): complete camelCase mapping for student profile data Sidney 2026-05-25 11:21:54 -0300
  • 3e5c9afda2 fix(timezone): enforce BRT explicitly on capture to prevent server UTC offset and restore TO_CHAR constraint Sidney 2026-05-25 11:10:49 -0300
  • 6cdf609f62 fix(students): apply biometrics mapping in getAlunos, persist face_descriptor in postgres and document status in GEMINI.md Sidney 2026-05-25 09:35:07 -0300
  • c5d2979b60 fix(frequencias): apply TO_CHAR for sql date formatting to prevent timezone shifts matching bugs Sidney 2026-05-25 09:03:54 -0300
  • 1932807479 fix(attendance): remove orphaned auto-absences from postgres and auto-clean via processAutoAbsences Sidney 2026-05-25 08:26:28 -0300
  • 3fe0d964a5 fix(attendance): complete SQL-First migration for frequencias and fix portal justification logic Sidney 2026-05-25 08:12:08 -0300
  • d4b73df9b4 feat: edicao individual e propagacao de modelos de contratos e sync sql Sidney 2026-05-24 20:35:31 -0300
  • e33a5aac3d fix: refatoracao para visualizacao de notas, provas na lixeira e listagem de funcionarios Sidney 2026-05-24 20:09:35 -0300
  • bc440d7dbe fix: resolve bugs da tela de alunos, contratos vazios e salva aulas geradas no bd Sidney 2026-05-24 19:39:10 -0300
  • 65119df2f2 feat: Migração SQL-First para Aulas e Contratos Sidney 2026-05-24 19:20:17 -0300
  • b55633a191 refactor: Blindagem do Frontend contra JSON legado (Migrando Turmas, Cursos e Disciplinas para PostgreSQL nas abas restantes) Sidney 2026-05-24 18:26:24 -0300
  • 2e0a041a26 feat: Migracao SQL-First (Fase 1 e Fase 3) - Funcionarios, Cursos, Turmas e Disciplinas Sidney 2026-05-24 17:57:37 -0300
  • 9fe6882174 fix(attendance): resolve biometric presence showing as absence, fix timezone offset in processAutoAbsences, deduplicate auto-generated absences, prioritize presence in frontend matching, and sync aula_id Sidney 2026-05-23 16:20:39 -0300
  • 2f2dec63d5 feat(schedule): automatically remove auto-generated absences when rescheduling past lessons Sidney 2026-05-21 09:41:38 -0300
  • bd972deda3 fix(finance): fix deletion notification order race condition by delegating local deletion to webhook (Rule 34) Sidney 2026-05-21 09:22:43 -0300
  • d9756fe4d4 docs: update MEMORY.md with today's financial migration accomplishments Sidney 2026-05-21 09:10:07 -0300
  • 024ef1f088 feat(finance): configure global numeric parser and await SQL update in handleEditSave Sidney 2026-05-21 09:07:37 -0300
  • 27fcbada35 feat(finance): migrate manually created payments to sql-first architecture with local_id support Sidney 2026-05-21 08:32:22 -0300
  • a9f8559462 fix(sync): correct financial sync logic to prevent inflating installment values with discount Sidney 2026-05-20 10:06:36 -0300
  • 054bd5ef7b feat(dashboard): correct revenue calculations to use actual received value Sidney 2026-05-20 09:42:27 -0300
  • ed52d6a2fa feat: implement robust valor_pago architecture and financial sync hardening for Portal and Manager Sidney 2026-05-15 09:49:07 -0300
  • f6022fd0fc feat(finance): add valor_pago column and implement robust gross/net separation logic Sidney 2026-05-15 08:55:02 -0300
  • 8a42db3e58 fix(finance): implement gross amount recovery and protection against net value overwrites in portal and manager Sidney 2026-05-15 08:33:59 -0300
  • cf1ad968ca Fix: restore and force amount recovery bugfix to run even for JSON values, preventing the Portal UI from double-discounting corrupted historical payments Sidney 2026-05-15 08:16:20 -0300
  • 55c0a06a93 Fix: ensure Portal finance API prioritizes JSON amount/discount to strictly match Manager UI logic; Update GEMINI.md and MEMORY.md to enforce server.js obsolescence Sidney 2026-05-15 08:04:03 -0300
  • c150c70472 Docs: mark original server.js files as obsolete in manager and portal Sidney 2026-05-15 07:56:44 -0300
  • 8d29449666 Fix: synchronize server.js portal logic with server.selfhosted.js to include db.amount_original and db.discount in double discount recovery Sidney 2026-05-15 07:49:53 -0300
  • e7ded2df80 Fix: cast json amount to Number in portal logic to ensure strict equality comparison works for recovering corrupted double discount Sidney 2026-05-14 22:11:26 -0300
  • 58182ff53c Fix: preserve gross amount in webhook and reconstruct it in portal to fix double discount on paid items Sidney 2026-05-14 22:03:18 -0300
  • 7bada2a4e7 Fix: use SELECT * in Portal financial query to prevent column-not-found crash before Phase 1 migration runs Sidney 2026-05-14 21:54:48 -0300
  • ce82f30598 Phase 2: Dual-write for financial edits - new PUT /api/admin/cobrancas/:id route + Finance.tsx sync Sidney 2026-05-14 21:46:39 -0300
  • b440023add Phase 1: Add rich columns to alunos_cobrancas and migrate JSON metadata to SQL on boot Sidney 2026-05-14 21:38:02 -0300
  • 00351031d1 Fix: double discount, dynamic column header, receipt link, remaining installments card Sidney 2026-05-14 21:19:47 -0300
  • c2efa1729f Fix: use PostgreSQL as primary source for Portal financial data (SQL-First) to show paid installments Sidney 2026-05-14 16:39:12 -0300
  • 66139bff0d Fix: implement hybrid finance logic (JSON + SQL) to ensure paid installments visibility Sidney 2026-05-14 16:09:04 -0300
  • 8a444fa660 Revert: restore Financeiro.tsx to original state before column changes Sidney 2026-05-14 15:57:06 -0300
  • 044d846f7d Fix: use school_data (JSON) as the single source of truth for financial values Sidney 2026-05-14 15:48:57 -0300
  • 13b4da1cf7 Fix: expand payment status normalization for better filtering Sidney 2026-05-14 15:41:46 -0300
  • 1ed6a1bc55 Fix: resolve build error caused by syntax glitch in Financeiro.tsx Sidney 2026-05-14 15:23:09 -0300
  • 5bc102dbc9 Fix: ensure financial values are visible and robust in Portal Sidney 2026-05-14 14:40:13 -0300
  • e5e3c5e751 Fix: improve financial visibility with dynamic headers and paid labels in Portal Sidney 2026-05-14 14:21:21 -0300
  • c55ec728e1 Fix: unify frequency percentage logic (Total Course Denominator) on Dashboard and Frequency pages Sidney 2026-05-14 14:16:40 -0300
  • 4c72a9e20d Fix: synchronize Dashboard frequency calculation with Frequency page Sidney 2026-05-14 14:10:05 -0300
  • f1f1c0e84a Fix: frequency visibility and justification submission tracking in Portal Sidney 2026-05-14 13:34:17 -0300
  • d954fc801d fix: resolve ReferenceError in ReportCard by correctly scoping subsMap Sidney 2026-05-14 11:47:47 -0300
  • 650dd752a7 fix: restore grade visibility in ReportCard by ensuring examId mapping and solving race conditions Sidney 2026-05-14 11:21:48 -0300
  • b9e4fdb2fb fix: restore system accessibility by removing redundant node-fetch and optimizing mass messaging Sidney 2026-05-14 09:34:52 -0300
  • 88eee27265 feat: enhance mass send (first name, dual dispatch, emojis, attachments) and refine UI Sidney 2026-05-14 09:06:22 -0300
  • 5a767ab87b Fix: WhatsApp deletion flow, AdminBell attachments and UI stability Sidney 2026-05-13 09:25:19 -0300
  • bfb2bc12db fix: strict attendance window and immediate cloud sync across manager and portal Sidney 2026-05-11 22:19:08 -0300
  • a1b5075e41 fix: biometric attendance timezone shift and mandatory lesson binding Sidney 2026-05-11 21:43:31 -0300
  • 1552e5cb19 feat: garante criação automática de buckets no MinIO Sidney 2026-05-11 20:20:01 -0300
  • 73d86d11b0 feat: organiza recibos em subpasta no MinIO Sidney 2026-05-11 20:17:56 -0300
  • 4970f17d07 fix: remove syntax error (TS in JS) in portal backend Sidney 2026-05-11 20:09:02 -0300
  • e58b38f010 fix: restaura importações vitais e estabiliza lógica de datas Sidney 2026-05-11 19:59:02 -0300
  • 4c8ce88ca1 feat: central de notificações profissionais (financeiro e acadêmico) e estabilização de frequência Sidney 2026-05-11 19:48:43 -0300
  • f1b02f0337 feat: salvamento automático de recibos PDF no MinIO (pasta recibos) Sidney 2026-05-11 19:04:38 -0300
  • 87973065a0 feat: recibo em PDF profissional e correção de duplicidade de mensagens Sidney 2026-05-11 19:00:00 -0300
  • aadcf02cf2 fix: sincronização silenciosa (background) para manter aba financeira aberta Sidney 2026-05-08 14:20:41 -0300
  • 657f7f39ae fix: corrige erro 500 e reference error na sincronização do asaas Sidney 2026-05-08 13:59:00 -0300
  • 41c32d53d2 fix: sincronização financeira JSON-First para restaurar paridade com Asaas Sidney 2026-05-08 13:44:41 -0300
  • ae971bb2dc fix: sincronização atômica retroativa (desde 2026) para resgatar pagamentos perdidos Sidney 2026-05-08 12:25:22 -0300
  • 037690f59f feat: botão de sincronização forçada e busca profunda de pagamentos Asaas Sidney 2026-05-08 12:21:34 -0300
  • 38d8babf0c fix: estabilização total da sincronia Asaas e correção de sintaxe no servidor Sidney 2026-05-08 12:07:07 -0300
  • 84a55c2392 feat: sincronização ativa direta com a API do Asaas ao entrar no financeiro Sidney 2026-05-08 11:57:56 -0300
  • 001e7a19aa docs: oficializada inteligência de disparos e sincronização reversa no GEMINI e MEMORY Sidney 2026-05-08 11:42:20 -0300
  • abe767a7a6 fix: restauração da sincronização SQL -> JSON para estabilidade financeira Sidney 2026-05-08 11:36:00 -0300
  • 790c6d055f deploy: forçando reinício do pipeline de deploy para aplicar atualizações críticas Sidney 2026-05-08 10:47:32 -0300
  • 198ec471cd docs: oficializadas regras de integridade numérica e sincronia em tempo real no GEMINI e MEMORY Sidney 2026-05-08 10:43:32 -0300
  • 839b3ca4eb fix: sincronização em tempo real JSON <-> SQL e correção definitiva de valores no carnê Sidney 2026-05-08 10:41:54 -0300
  • 214629adce fix: sincronização de parâmetros na função de envio para garantir dados corretos nas automações Sidney 2026-05-08 10:26:31 -0300
  • 00655694ca refactor: automação de cobranças agora utiliza JSON (school_data) como fonte primária para garantir sucesso Sidney 2026-05-08 10:11:15 -0300
  • f75b5af4ef feat: sincronização financeira automática JSON -> SQL para automação de mensagens Sidney 2026-05-08 10:07:33 -0300
  • 3fe234827e fix: busca híbrida de alunos e resiliência de telefone nos disparos automáticos Sidney 2026-05-08 09:58:02 -0300
  • 161b074bf2 fix: estabilização final dos lembretes, correção definitiva de timezone e ferramentas de debug para mensagens Sidney 2026-05-08 09:45:31 -0300
  • db7b79fe87 fix: estabilização do sistema de lembretes preventivos e correções de formatação Sidney 2026-05-08 09:07:31 -0300
  • a667368ce3 fix: portal now reads attendance and lessons from school_data JSON; restore amber color for justified absences Sidney 2026-05-06 21:58:04 -0300
  • 5c49093ed0 fix: remove TO_CHAR timezone stripping from portal frequency API - return ISO dates with timezone via pg driver toISOString to match Manager JSON format Sidney 2026-05-06 21:22:32 -0300
  • 8b05fd95f0 docs: update memory and gemini with frequency parity rules; fix: absolute logic parity for portal frequency matching Sidney 2026-05-06 21:08:58 -0300
  • bc9f012129 fix: use exact local time string for justification dates to prevent postgres timezone shift bugs Sidney 2026-05-06 20:44:05 -0300
  • b850d76ba5 fix: match portal attendance stats logic, record selection priority, and UI colors identically with manager Sidney 2026-05-06 20:31:11 -0300