INSIGHT-MVP/packages/crm-service/src/graph
Thomas Reitz 2348602fb0 feat: Erweiterte Profilfelder (analog O365) + Profilbild-Sync aus Microsoft 365
Neue Felder im Benutzerprofil (analog Microsoft 365 /me):
- Stellenbezeichnung (jobTitle), Abteilung (department)
- Firma (companyName), Standort (officeLocation)

Changes:
- Core: Prisma-Migration + neue Felder in User-Model, UpdateUserDto,
  findById/update/updateProfile
- CRM: M365UserProfile-Interface + getM365Profile um neue Felder erweitert;
  neue Methode getM365Photo() lädt 96x96 JPEG als Base64 Data-URL;
  neuer Endpoint GET /crm/office365/photo
- Frontend: AuthContext User-Interface, M365UserProfile-Typ, office365Api.getM365Photo()
  ProfilePage: Neues Formular-Fieldset "Organisation" mit 4 Feldern;
  manueller Sync-Button übernimmt auch Profilbild (immer überschreiben);
  useO365ProfileSync: Auto-Sync lädt Foto nur wenn noch kein INSIGHT-Avatar

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-13 13:08:56 +01:00
..
graph.controller.ts feat(crm): Microsoft 365 Graph-API Proxy (Phase 3.2) 2026-03-12 22:40:31 +01:00
graph.module.ts feat(crm): Office365-Übersichtsseite + Graph API Bugfixes 2026-03-13 06:59:52 +01:00
graph.service.ts feat: Erweiterte Profilfelder (analog O365) + Profilbild-Sync aus Microsoft 365 2026-03-13 13:08:56 +01:00
office365.controller.ts feat: Erweiterte Profilfelder (analog O365) + Profilbild-Sync aus Microsoft 365 2026-03-13 13:08:56 +01:00