INSIGHT-MVP/packages/crm-service
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
..
keys feat(crm): add standalone dev environment and test token generator 2026-03-10 16:03:59 +01:00
prisma feat(crm): Phase 2.2-2.4 backend + contract files — vollständige CRM-Service Implementierung 2026-03-12 22:06:58 +01:00
scripts feat(crm): add standalone dev environment and test token generator 2026-03-10 16:03:59 +01:00
src feat: Erweiterte Profilfelder (analog O365) + Profilbild-Sync aus Microsoft 365 2026-03-13 13:08:56 +01:00
.dockerignore feat(crm): scaffold CRM service with full CRUD modules 2026-03-10 15:54:13 +01:00
docker-compose.crm-dev.yml feat(crm): add standalone dev environment and test token generator 2026-03-10 16:03:59 +01:00
Dockerfile feat(crm): scaffold CRM service with full CRUD modules 2026-03-10 15:54:13 +01:00
nest-cli.json feat(crm): scaffold CRM service with full CRUD modules 2026-03-10 15:54:13 +01:00
package-lock.json feat(crm): Phase 2.2-2.4 backend + contract files — vollständige CRM-Service Implementierung 2026-03-12 22:06:58 +01:00
package.json feat(crm): Phase 2.2-2.4 backend + contract files — vollständige CRM-Service Implementierung 2026-03-12 22:06:58 +01:00
Summarize.md feat(crm): Phase 2.2-2.4 backend + contract files — vollständige CRM-Service Implementierung 2026-03-12 22:06:58 +01:00
tsconfig.json feat(crm): scaffold CRM service with full CRUD modules 2026-03-10 15:54:13 +01:00