Commit Graph

21 Commits

Author SHA1 Message Date
bsiggel
c9bdd021e4 feat(sync): Implement orphan cleanup for xAI documents without EspoCRM equivalents 2026-03-26 14:20:33 +00:00
bsiggel
1e202a6233 feat(sync): Update xAI collection file addition endpoint and improve documentation 2026-03-26 13:22:14 +00:00
bsiggel
459fa41033 feat(sync): Refactor Akte sync status handling and remove deprecated event step 2026-03-26 13:06:32 +00:00
bsiggel
b320f01255 feat(sync): Enhance xAI sync process with collection verification and creation logic 2026-03-26 12:42:35 +00:00
bsiggel
a6dc708954 feat(espocrm): Implement automatic pagination for related records and enforce API max page size 2026-03-26 12:41:45 +00:00
bsiggel
d9193f7993 feat(sync): Update Akte sync process to remove unused entity ID queue and streamline processing 2026-03-26 11:22:04 +00:00
bsiggel
ef32373dc9 feat(sync): Enhance Akte sync process with batch processing and retry logic for failed events 2026-03-26 11:13:37 +00:00
bsiggel
52114a3c95 feat(webhooks): Update Akte webhook handlers to trigger immediate synchronization 2026-03-26 10:16:33 +00:00
bsiggel
bf02b1a4e1 feat(webhooks): Implement Akte webhooks for create, delete, and update operations 2026-03-26 10:16:27 +00:00
bsiggel
3497deeef7 feat: Add Akte Sync Event Handler for unified synchronization across backends 2026-03-26 10:14:39 +00:00
bsiggel
0c97d97726 feat(webhooks): Add webhook handlers for Beteiligte and Document entities
- Implemented create, update, and delete webhook handlers for Beteiligte.
- Implemented create, update, and delete webhook handlers for Document entities.
- Added logging and error handling for each webhook handler.
- Created a universal step for generating document previews.
- Ensured payload validation and entity ID extraction for batch processing.
2026-03-26 10:07:42 +00:00
bsiggel
3459b9342f feat: Implement Akte webhook for EspoCRM to queue entity IDs for synchronization
fix: Refactor Akte sync logic to handle multiple Redis queues and improve logging
refactor: Enhance parameter flattening for EspoCRM API calls
2026-03-26 09:48:46 +00:00
bsiggel
b4d35b1790 Refactor Akte and Document Sync Logic
- Removed the old VMH Document xAI Sync Handler implementation.
- Introduced new xAI Upload Utilities for shared upload logic across sync flows.
- Created a unified Akte sync structure with cron polling and event handling.
- Implemented Akte Sync Cron Poller to manage pending Aktennummern with a debounce mechanism.
- Developed Akte Sync Event Handler for synchronized processing across Advoware and xAI.
- Enhanced logging and error handling throughout the new sync processes.
- Ensured compatibility with existing Redis and EspoCRM services.
2026-03-26 01:23:16 +00:00
bsiggel
86ec4db9db feat: Implement Advoware Document Sync Handler
- Added advoware_document_sync_step.py to handle 3-way merge sync for documents.
- Introduced locking mechanism for per-Akte synchronization to allow parallel processing.
- Integrated data fetching from EspoCRM, Windows files, and Advoware history.
- Implemented 3-way merge logic for document synchronization and metadata updates.
- Triggered document preview generation for new/changed documents.

feat: Create Shared Steps Module

- Added shared/__init__.py for shared steps across multiple modules.
- Introduced generate_document_preview_step.py for generating document previews.
- Implemented logic to download documents, generate previews, and upload to EspoCRM.

feat: Add VMH Document xAI Sync Handler

- Created document_xai_sync_step.py to manage document synchronization with xAI collections.
- Handled create, update, and delete actions for documents in EspoCRM.
- Integrated logic for triggering preview generation and managing xAI collections.
- Implemented error handling and logging for synchronization processes.
2026-03-26 01:00:49 +00:00
bsiggel
d78a4ee67e fix: Update timestamp format for metadata synchronization to match EspoCRM requirements 2026-03-25 21:37:49 +00:00
bsiggel
50c5070894 fix: Update metadata synchronization logic to always sync changes and correct field mappings 2026-03-25 21:34:18 +00:00
bsiggel
1ffc37b0b7 feat: Add Advoware History and Watcher services for document synchronization
- Implement AdvowareHistoryService for fetching and creating history entries.
- Implement AdvowareWatcherService for file operations including listing, downloading, and uploading with Blake3 hash verification.
- Introduce Blake3 utility functions for hash computation and verification.
- Create document sync cron step to poll Redis for pending Aktennummern and emit sync events.
- Develop document sync event handler to manage 3-way merge synchronization for Akten, including metadata updates and error handling.
2026-03-25 21:24:31 +00:00
bsiggel
3c4c1dc852 feat: Add Advoware Filesystem Change Webhook for exploratory logging 2026-03-20 12:28:52 +00:00
bsiggel
71f583481a fix: Remove deprecated AI Chat Completions and Models List API implementations 2026-03-19 23:10:00 +00:00
bsiggel
48d440a860 fix: Remove deprecated VMH xAI Chat Completions API implementation 2026-03-19 21:42:43 +00:00
bsiggel
46085bd8dd update to iii 0.90 and change directory structure 2026-03-19 20:33:49 +00:00