Commit Graph

7 Commits

Author SHA1 Message Date
7634306832 fix: resolve TypeScript errors for CI pipeline
- Fix pg-boss Job type imports (PgBoss.Job -> Job from pg-boss)
- Replace deprecated teamConcurrency with localConcurrency
- Add null checks for possibly undefined values (clients, import rows)
- Fix tone type narrowing in profile.ts
- Fix test type assertions (non-null assertions, explicit Record types)
- Extract auth middleware into shared module
- Fix rate limiter Map generic type
2026-01-30 03:27:58 +00:00
6c2851e93a feat: audit logging, meeting prep AI, communication style settings
- New audit_logs table for compliance tracking
- Audit logging service with helper functions
- GET /api/audit-logs endpoint (admin only, with filters)
- Communication style JSONB field on userProfiles
- GET/PATCH /api/profile/communication-style endpoints
- AI meeting prep: GET /api/clients/:id/meeting-prep
- AI email generation now incorporates communication style
- Password change audit logging
- 56 passing tests (21 new)
2026-01-30 01:16:12 +00:00
93fce809e2 feat: pg-boss job queue, notifications, client interactions, bulk email 2026-01-30 00:48:07 +00:00
7c53056e6e Add detailed logging to email send endpoint 2026-01-28 02:31:57 +00:00
4bbb9c0586 Add user profile API with name, title, company, phone, signature 2026-01-27 22:59:21 +00:00
e4f900c111 Add detailed error logging to API and email generation 2026-01-27 22:40:46 +00:00
06f1b4e548 Initial API scaffold: Elysia + Bun + Drizzle + BetterAuth + LangChain 2026-01-27 02:43:11 +00:00