root
9312586f18
Fix Advoware timestamp parsing bug causing sync loops
...
- Change .replace(tzinfo=BERLIN_TZ) to BERLIN_TZ.localize() for correct pytz TZ handling
- Update Phase 4 to use proper TZ localization for adv_ts
- Add documentation section on correct Advoware timestamp handling
- Add .gitignore, GOOGLE_SETUP_README.md, and check_db.py utility
2025-10-23 12:43:22 +00:00
root
0d54243e9d
Fix Phase 3 logic for symmetric delete handling: remove 'sb' field, add employee_kuerzel to updates, correct missing event recreation/deletion based on source_system
2025-10-23 11:53:24 +00:00
root
9f50f201df
Fix Phase 4 in calendar sync to reset unauthorized changes in target system based on timestamps for source_system_wins strategy
2025-10-23 11:26:25 +00:00
root
7d5403b4af
Fix calendar sync Phase 3 logic for missing Advoware appointments when source is Google; update README with Advoware API peculiarities
2025-10-23 11:13:15 +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