INSIGHT-MVP/packages/core-service/prisma/migrations
Thomas Reitz 28f6ba84b0 feat(core): Microsoft 365 OAuth-Integration — UserIntegration + IntegrationsModule
- Neues Prisma-Model UserIntegration (AES-256-GCM verschluesselte Tokens)
- Migration: 20260312_user_integrations
- EntraIdService: getIntegrationAuthUrl(), handleIntegrationCallback(), refreshIntegrationToken()
  — erweiterte Scopes: Mail.Read, Calendars.Read, Tasks.ReadWrite, offline_access
- IntegrationsModule mit Controller + Service:
  GET  /auth/integrations/microsoft-365          → OAuth-Flow starten
  GET  /auth/integrations/microsoft-365/callback → Token speichern
  GET  /users/me/integrations                    → Verbindungen auflisten
  DELETE /users/me/integrations/microsoft-365    → Verbindung trennen
  GET  /users/me/integrations/microsoft-365/token → Token fuer CRM-Service
- Env: AZURE_INTEGRATION_REDIRECT_URI, INTEGRATION_ENCRYPTION_KEY

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-12 22:36:03 +01:00
..
20260312_user_integrations feat(core): Microsoft 365 OAuth-Integration — UserIntegration + IntegrationsModule 2026-03-12 22:36:03 +01:00
20260308000000_init feat: adapt codebase for IP-based HTTP deployment on 172.20.10.59 2026-03-08 16:21:45 +01:00
20260308200000_add_user_avatar feat: add profile picture upload, sidebar hint, and fix 2FA bugs 2026-03-09 06:51:27 +01:00
20260309000000_add_user_contact_fields feat: restructure profile page with new layout, contact fields, and 2FA relocation 2026-03-09 09:03:15 +01:00
20260309100000_add_expert_profile feat: implement expert profile with skills, experience, languages, projects, certifications and attachments 2026-03-09 10:23:47 +01:00
migration_lock.toml feat: adapt codebase for IP-based HTTP deployment on 172.20.10.59 2026-03-08 16:21:45 +01:00