Commit Graph

16 Commits

Author SHA1 Message Date
root
a58e6d10a6 Fix Advoware API call to return None on JSON parse error instead of raising, for methods like DELETE that return 200 with no body. 2025-10-23 10:56:44 +00:00
root
96fa1f58f5 Update log message for Phase 3 delete operation to reflect the corrected logic. 2025-10-23 10:51:08 +00:00
root
6a72809817 Fix Phase 3 logic for source_system_wins: when Google event is missing and source is Google, propagate delete to Advoware instead of recreating. 2025-10-23 10:49:25 +00:00
root
ed669f8561 Fix Phase 3 delete logic for source_system_wins: propagate delete to Google when Advoware appointment is missing and source is Advoware, instead of recreating. 2025-10-23 10:42:49 +00:00
root
9ab90fef5a Fix timestamp-based update logic and remove global last_sync update to prevent redundant syncs and race conditions. Update README with anonymization and latest changes. 2025-10-23 10:40:00 +00:00
root
1de5bcd369 Pre-optimization commit: Calendar sync implementation with hub design 2025-10-23 08:29:46 +00:00
root
2f9203cac2 Add calendar sync step files: API, cron, and event handlers for bidirectional Advoware-Google Calendar sync 2025-10-22 23:37:28 +00:00
root
0a4317c44a Update README.md with comprehensive documentation of Advoware Calendar Sync implementation, including API quirks, token security, and known issues 2025-10-22 23:36:21 +00:00
root
c897f4c39d Fix: Logger-Aufrufe durch print statements ersetzt
- Alle context.logger Aufrufe durch print() ersetzt
- Behebt 'Logger object has no attribute' Fehler
- Temporäre Lösung bis Logger-API geklärt ist
2025-10-22 19:08:00 +00:00
root
805a1cce3e Fix: context Parameter für get_google_service Funktion
- context als Parameter an get_google_service() übergeben
- Behebt 'name context is not defined' Fehler
2025-10-22 19:06:07 +00:00
root
76a236ac37 Google Calendar Sync graceful handling für fehlende Credentials
- Graceful Fallback wenn token.pickle nicht vorhanden
- Warning statt Exception bei fehlenden Google Credentials
- Sync wird übersprungen statt zu crashen
2025-10-22 19:05:16 +00:00
root
83a154a4a5 Neuer Advoware Calendar Sync implementiert
- steps/advoware_cal_sync/advoware_calendar_sync_step.py: Bidirektionale Sync zwischen Advoware und Google Calendar
- Automatische Kalender-Erstellung für jeden Mitarbeiter (AW-{Kuerzel})
- Konfigurierbare Sync-Optionen (volle Details vs. nur 'blocked')
- Google Calendar API Integration mit OAuth
- Mitarbeiter- und Termin-API Integration
- Umfassende Fehlerbehandlung und Logging
- steps/advoware_cal_sync/README.md: Detaillierte Dokumentation
- requirements.txt: Google API Dependencies hinzugefügt
- motia-workbench.json: Neuer advoware_cal_sync Flow
2025-10-22 19:01:30 +00:00
root
d715fca5f5 Aufteilung der README.md in modulare Dokumentation
- Haupt-README.md behält Übersicht und Links zu detaillierten READMEs
- steps/advoware_proxy/README.md: Detaillierte Dokumentation der 4 Proxy-Steps
- steps/vmh/README.md: Detaillierte Dokumentation der Webhook-Receiver und Sync-Steps
- Verbesserte Navigation und modulare Dokumentationsstruktur
2025-10-20 11:46:30 +00:00
root
805d8c7362 Vollständige Advoware-EspoCRM Integration implementiert
- Advoware API Proxy für alle HTTP-Methoden (GET/POST/PUT/DELETE)
- EspoCRM Webhook-Receiver für Beteiligte CRUD-Operationen
- Redis-basierte Deduplikation für Webhook-Events
- Event-driven Synchronisations-Handler (Placeholder)
- Detaillierte README.md mit Setup und Verwendungsanleitung
- Fehlerbehebungen für Context-Attribute und Redis-Verbindungen
2025-10-20 11:42:52 +00:00
root
1f893812b2 Clean up Advoware proxy steps: remove redundant /api/ from paths, simplify method-specific code, and fix DELETE json_data 2025-10-19 16:03:11 +00:00
root
273aa8b549 Initial commit with Advoware proxy 2025-10-19 14:57:07 +00:00