Commit Graph

1914 Commits

Author SHA1 Message Date
e8c751e987 [31e88f42] Erreicht: Die Stabilität des SuperOffice Connectors wurde maßgeblich verbessert, um Endlos-Schleifen bei der Job-Verarbeitung zu verhindern und die Dashboard-Anzeige zu optimieren. Die Verarbeitung relevanter Änderungen wurde präzisiert.
Erreicht: Die Stabilität des SuperOffice Connectors wurde maßgeblich verbessert, um Endlos-Schleifen bei der Job-Verarbeitung zu verhindern und die Dashboard-Anzeige zu optimieren. Die Verarbeitung relevanter Änderungen wurde präzisiert.
Details der Implementierung:
 * Stabile Job-Verarbeitung (Poison Pill): Ein Poison Pill-Mechanismus wurde in queue_manager.py eingeführt. Jobs werden nun nach maximal 5 fehlgeschlagenen Versuchen automatisch als FAILED markiert.
 * Robuste SuperOffice API-Client-Authentifizierung: Die Fehlerbehandlung im superoffice_client.py wurde gehärtet. Authentifizierungsfehler und andere kritische API-Probleme lösen jetzt spezifische Exceptions aus.
 * Behebung des Worker-Startfehlers: Ein ImportError (ContactNotFoundException) im Worker wurde behoben.
 * Präzise Trigger-Logik: Eine Neubewertung von Accounts wird jetzt nur noch bei Änderungen an den Feldern name, urladdress, urls oder dem Vertical-UDF (SuperOffice:83) ausgelöst.
 * Korrekte Datumsanzeige im Dashboard: Die Dashboard-Formatierungslogik wurde angepasst, um updated_at-Zeitstempel anzuzeigen.
2026-03-09 12:38:08 +00:00
3ee995173c Docs: Aktualisierung der Dokumentation für Task [31e88f42] 2026-03-09 12:38:08 +00:00
2f8dd766cf [31988f42] Docs: Added ToDos for MS Bookings tracking via Graph API (pragmatic approach) and CRM sync to SuperOffice 2026-03-09 10:51:42 +00:00
f1e0afe92e [31988f42] Feat: Added lunch break (12:00-12:30) and 2026 Bavarian holidays to slot finding logic 2026-03-09 10:45:57 +00:00
fa3b139164 [31988f42] Feat: Added fallback MS Bookings / WordPress link directly into the email body as an alternative booking option 2026-03-09 10:42:56 +00:00
9fff5e4bde [31988f42] Docs: Updated .env.example with new booking configuration variables 2026-03-09 10:38:14 +00:00
b8e9a9c4f7 [31988f42] Docs: Updated README with WordPress iFrame integration and Race-Condition Protection details 2026-03-09 10:37:12 +00:00
76f1fea4ba [31988f42] Fix: Escaped curly braces in HTML templates to resolve KeyError during format() 2026-03-09 10:26:26 +00:00
68ad818893 [31988f42] Feat: Implemented live calendar check (race-condition prevention) and iframe-ready HTML responses for WP integration 2026-03-09 09:19:35 +00:00
21b9d518fc [31e88f42] Keine neuen Commits in dieser Session.
Keine neuen Commits in dieser Session.
2026-03-09 08:46:33 +00:00
de576e2a9a docs(connector): [31e88f42] Document webhook de-duplication shield
Document the newly implemented de-duplication logic in the SuperOffice Connector README. This explains the problem of duplicate 'contact.created' webhooks from SuperOffice and how the worker now skips redundant jobs.
2026-03-09 08:42:22 +00:00
78461b0e71 fix(connector): [31e88f42] Implement de-duplication for contact.created
SuperOffice sends two 'contact.created' webhooks for a single new contact. This caused the connector to process the same entity twice, leading to duplicate entries and logs.

This commit introduces a de-duplication shield in the worker:
- A new method  is added to  to check for jobs with the same company name that are either 'PROCESSING' or 'COMPLETED' within the last 5 minutes.
- The worker now fetches the company name upon receiving a job, updates the job record with the name, and then calls the new de-duplication method.
- If a duplicate  event is detected, the job is skipped, preventing redundant processing.
2026-03-09 08:39:35 +00:00
a9b7dbaaca [31988f42] Lead-Engine: Produktivsetzung und Anfrage per Teams
Implementiert:
*   **End-to-End Test-Button pro Lead:** Ein neuer Button "🧪 Test-Versand (an floke.com@gmail.com)" wurde in der Lead-Detailansicht hinzugefügt, um spezifische Leads sicher zu testen.
*   **Verbesserte E-Mail-Generierung:**
    *   Der LLM-Prompt wurde optimiert, um redundante Termin-Vorschläge und Betreffzeilen im generierten E-Mail-Text zu vermeiden.
    *   Der E-Mail-Body wurde umstrukturiert für eine klarere und leserlichere Integration des LLM-generierten Textes und der dynamischen Terminvorschläge.
*   **HTML-Signatur mit Inline-Bildern:**
    *   Ein Skript zum Extrahieren von HTML-Signaturen und eingebetteten Bildern aus -Dateien wurde erstellt und ausgeführt.
    *   Die -Funktion wurde überarbeitet, um die neue HTML-Signatur und alle zugehörigen Bilder dynamisch als Inline-Anhänge zu versenden.
*   **Bugfixes und verbesserte Diagnosefähigkeit:**
    *   Der  für  wurde durch Verschieben der Funktion in den globalen Bereich behoben.
    *   Die  im Kalender-Abruf wurde durch die explizite Übergabe der Zeitzoneninformation an die Graph API korrigiert.
    *   Fehlende Uhrzeit in Teams-Nachrichten behoben.
    *   Umfassendes Logging wurde in kritischen Funktionen (, , ) implementiert, um die Diagnosefähigkeit bei zukünftigen Problemen zu verbessern.
2026-03-09 08:21:33 +00:00
14237727b9 Dateien nach "docs" hochladen 2026-03-09 07:24:44 +00:00
3336adf270 [31e88f42] Update weekly summary report to use ASCII bar chart as primary visualization 2026-03-09 03:24:47 +00:00
30b930f18a [31e88f42] Move weekly summaries to 'weekly/' directory and update script paths 2026-03-09 03:21:13 +00:00
d589c8ff39 [31e88f42] Add global executive highlights at the top of the weekly summary report 2026-03-09 02:47:30 +00:00
1b7dda010d [31e88f42] Update weekly summary script to use Gemini AI for executive summarization and add Mermaid charts 2026-03-09 02:37:08 +00:00
4ab7ee5447 [31e88f42] Add initial generated weekly summary report for 2026-03-09 2026-03-09 02:31:23 +00:00
d68aa360e1 [31e88f42] Add weekly summary generation script for Notion tasks 2026-03-09 02:29:37 +00:00
6d4a0564e6 feat(lead-engine): Implement Teams notification and email enhancements [31988f42]
- Enhanced Teams Adaptive Card with precise email send time and re-added emojis to action buttons (" JETZT Aussenden", " STOP Aussendung").
- Modified email sending logic to include HTML signature from `signature.html` and an inline banner image from `RoboPlanetBannerWebinarEinladung.png`.
- Documented future enhancements in `lead-engine/README.md`:
    - Race-condition protection for calendar bookings with a live calendar check.
    - Integration of booking confirmation pages into the WordPress website (iFrame first, then API integration).
2026-03-08 20:01:20 +00:00
8c136174d1 [30388f42] Docs: Add development and production workflow guidelines to RELOCATION.md
This commit introduces comprehensive guidelines for managing development and production environments, addressing the user's strategic questions regarding workflow, webhook handling, and secure email sending.

- **Teil 4: Entwicklungs- vs. Produktions-Workflow:** Documents the 'separated worlds' approach for development on Synology and production on the Wackler VM, detailing configuration separation, webhook handling, and safe email testing.
- **Teil 5: Alternative - Single-Host-Setup:** Provides a robust strategy for running both development and production environments on a single VM, emphasizing directory structure, port conflict resolution, and guaranteed database isolation via Docker volumes.

These additions clarify the operational guidelines for maintaining system stability and data integrity post-migration.
2026-03-08 19:37:57 +00:00
36252f4ea2 [30388f42] docs: Finalize relocation plan and streamline root README 2026-03-08 15:43:03 +00:00
479a1cdb87 [30388f42] fix: Correct root endpoint in heatmap-backend 2026-03-08 15:36:33 +00:00
d32e6bf7a4 [30388f42] fix: Finalize health check script with correct paths 2026-03-08 15:32:19 +00:00
42d9eb4660 [30388f42] fix: Create robust docker-native health check script 2026-03-08 15:21:40 +00:00
f38b76ffae [30388f42] fix: Stabilize competitor-analysis and content-engine services 2026-03-08 14:50:00 +00:00
c467d62580 [30388f42] feat: Add automated test infrastructure for core services 2026-03-08 13:41:58 +00:00
3a6183a85e [30388f42] ui: Add robot favicon to dashboard 2026-03-08 12:42:22 +00:00
cb9ced2e3c [30388f42] docs: Streamline root README and move technical details to infrastructure doc 2026-03-08 12:36:28 +00:00
bd1657e7f4 [30388f42] docs: Final restructuring - Separate active knowledge from legacy archive 2026-03-08 12:34:08 +00:00
ff3932b3e1 [30388f42] docs: Restore full legacy content and structure project documentation 2026-03-08 12:27:07 +00:00
7879b2193c [30388f42] feat: Full stack integration and documentation overhaul 2026-03-08 12:24:35 +00:00
6e0479f8bd [30388f42] feat: Integrate Heatmap and Competitor Analysis tools 2026-03-08 11:09:11 +00:00
44502e5b2b Stabilize Lead Engine calendar logic (v1.4) and integrate GTM Architect, B2B Assistant, and Transcription Tool into Docker stack [30388f42] 2026-03-08 08:46:25 +00:00
57081bf102 [30388f42] Infrastructure Hardening & Final Touches: Stabilized Lead Engine (Nginx routing, manager.py, Dockerfile fixes), restored known-good Nginx configs, and ensured all recent fixes are committed. System is ready for migration.
- Fixed Nginx proxy for /feedback/ and /lead/ routes.
- Restored manager.py to use persistent SQLite DB and corrected test lead triggers.
- Refined Dockerfile for lead-engine to ensure clean dependency installs.
- Applied latest API configs (.env) to lead-engine and duckdns services.
- Updated documentation (GEMINI.md, readme.md, RELOCATION.md, lead-engine/README.md) to reflect final state and lessons learned.
- Committed all pending changes to main branch.
2026-03-07 20:01:48 +00:00
592d04a32a [30388f42] Documentation Update: Refined RELOCATION.md with 1:1 instructions for Monday's migration based on today's lessons learned (DB schema, Echo Shield, Streamlit Proxy). 2026-03-07 14:10:59 +00:00
ae2303b733 [30388f42] Infrastructure Hardening: Repaired CE/Connector DB schema, fixed frontend styling build, implemented robust echo shield in worker v2.1.1, and integrated Lead Engine into gateway. 2026-03-07 14:08:42 +00:00
efcaa57cf0 [30388f42] Recovery & Stabilization: Restored productive core stack, implemented Docker Volumes for DB persistence, and fixed frontend build issues. 2026-03-07 08:06:50 +00:00
193b7b0e7d fix: Docker-Compose FINAL FINAL FIX: YAML-Reparatur und Konsolidierung -- Manuelle Bereinigung nach Desaster 2026-03-06 22:15:59 +01:00
17346b3fcb [2ff88f42] Full End-to-End integration: Webhooks, Auto-Enrichment, Notion-Sync, UI updates and new Connector Architecture 2026-02-19 16:13:16 +00:00
Moltbot-Jarvis
262add256f docs: Add scale-up plan for SuperOffice batch processing 2026-02-19 08:14:44 +00:00
Moltbot-Jarvis
6b6fe4db1f fix: Emergency restoration of complete MIGRATION_PLAN 2026-02-18 19:50:39 +00:00
Moltbot-Jarvis
19f9ab64e6 docs: finalized Task 2 (Excel Importer) with detailed logic and PLZ safety 2026-02-18 19:47:56 +00:00
0d60ad03de [30b88f42] Läuft wieder
Läuft wieder
2026-02-18 14:35:21 +00:00
Moltbot-Jarvis
2e18552981 docs: RESTORED complete MIGRATION_PLAN with full logic and tasks 2026-02-18 13:07:32 +00:00
Moltbot-Jarvis
5c98d548e8 docs: highly detailed logic for database fields and CLI tasks 2026-02-18 13:04:17 +00:00
Moltbot-Jarvis
5e9c0e8d72 docs: force sync of migration plan in root and company-explorer 2026-02-18 12:35:12 +00:00
Moltbot-Jarvis
31dc43b62b docs: finalized MIGRATION_PLAN with DB schema and CLI tasks 2026-02-18 12:32:20 +00:00
Moltbot-Jarvis
e95aa786ba refactor: Remove root TASKS.md, moving tasks to project-specific docs 2026-02-18 12:00:44 +00:00