Commit graph

68 commits

Author SHA1 Message Date
Esdras Renan
c0228c0dad docs(todo): add TODOs for Prisma client/type sync and desktop TS notes; remove unused vars in companies create route 2025-10-09 23:05:11 -03:00
Esdras Renan
b801ebd44f fix(build): adjust create company payload to known Prisma fields; locally suppress single any cast for update due to out-of-sync Prisma types 2025-10-09 23:02:56 -03:00
Esdras Renan
2272c2a10e fix(types): avoid Prisma CompanyUpdateInput strict typing due to out-of-sync generated types; use generic updates map and cast at call site 2025-10-09 23:00:51 -03:00
Esdras Renan
6d69fcfa3c chore(types): fix tsconfig to exclude desktop from Next TS check; remove unused vars and fix hook deps; clean up remaining lint warnings 2025-10-09 22:52:02 -03:00
Esdras Renan
6ffd6c6392 chore(types): remove explicit any, fix hook deps, and unused vars across admin/api/tickets; tighten zod server schemas; adjust UI types; fix pdf export expression; minor cleanup 2025-10-09 22:43:39 -03:00
Esdras Renan
479c66d52c feat(desktop-agent,admin/inventory): secure token storage via keyring; extended inventory collectors per OS; new /api/machines/inventory endpoint; posture rules + tickets; Admin UI inventory with filters, search and export; docs + CI desktop release 2025-10-09 22:08:20 -03:00
Esdras Renan
d9ab863e76 feat(api): incluir detalhes de erro em /api/machines/register e /api/machines/heartbeat (facilita diagnostico em PROD) 2025-10-09 19:04:09 -03:00
Esdras Renan
152550a9a0 feat: habilitar provisionamento desktop e rotas CORS 2025-10-08 23:07:59 -03:00
Esdras Renan
ef25cbe799 Ajusta timeline, comentários internos e contadores de trabalho 2025-10-07 22:12:18 -03:00
Esdras Renan
ee18619519 feat: adicionar painel de máquinas e autenticação por agente 2025-10-07 21:37:41 -03:00
Esdras Renan
384d4411b6 reports(SLA): aplica filtro de período (7d/30d/90d) no Convex e inclui período no filename do CSV; admin(alerts): filtros no servidor; alerts: batch de últimos alertas por slugs; filtros persistentes de empresa (localStorage) em relatórios; prisma: Company.contractedHoursPerMonth; smtp: suporte a múltiplos destinatários e timeout opcional 2025-10-07 16:46:52 -03:00
Esdras Renan
9c8a43a6b1 Hours report: add company filter (select) and CSV support via companyId; include filter metadata in file name 2025-10-07 15:42:35 -03:00
Esdras Renan
08cc8037d5 Hours by client: add search and CSV filtering; add alerts cron (BRT 08:00 guard) + alerts panel filters; admin companies shows last alert; PDF Inter font from public/fonts; fix Select empty value; type cleanups; tests for CSV/TZ; remove Knowledge Base nav 2025-10-07 15:39:55 -03:00
Esdras Renan
2cf399dcb1 feat(filters): ticket company filter + column; reports: company filter in CSVs; dashboard: queue summary; docs: agents.md and roadmap updates 2025-10-07 14:18:59 -03:00
Esdras Renan
70f91f5bbd feat(reports): hours by client (CSV + UI), company contracted hours, UI to manage companies; adjust ticket list spacing 2025-10-07 14:04:36 -03:00
Esdras Renan
3bafcc5a0a feat: CSV exports, PDF improvements, play internal/external with hour split, roles cleanup, admin companies with 'Cliente avulso', ticket list spacing/alignment fixes, status translations and mappings 2025-10-07 13:42:45 -03:00
Esdras Renan
c15f0a5b09 feat: enhance tickets portal and admin flows 2025-10-07 02:26:09 -03:00
Esdras Renan
1cccb852a5 chore: reorganize project structure and ensure default queues 2025-10-06 22:59:35 -03:00