- v6.8.0 Sites & Forms publics (migrations 24)
- v6.9.0 Recherche sémantique hybride + Ask AI (migration 25)
- v7.0.0 Automations v2 multi-étapes + Workers sandboxés (migration 26)
- v7.1.0 Calendar sync Google/CalDAV + Meeting Notes (migration 27)
- v7.2.0 Enterprise : SCIM 2.0, 2FA TOTP/passkeys, audit UI, agent approvals (migration 28)
- v7.3.0 Wiki/Teamspaces, verified pages, collab polish, charts, unfurl (migration 29)
- docs V68→V73, ROADMAP/CHANGELOG/WORKLOAD à jour, VERSION 7.3.0
- A9 : flowdeck.db, flowdeck_dev.db, test-commit.md, upload_test.txt et e2e/{node_modules,shots,test-results} désindexés + ignorés (.gitignore/.dockerignore)
2.7 KiB
V7.1.0 — Calendar sync + Meeting Notes
Statut : ✅ Livré en v7.1.0 (2026-09-28) —
services/calendar_sync.py,services/meetings.py,routers/meetings.py, migration 27, 15 tests verts · Roadmap :ROADMAP.md § v7.1.0Notes d'implémentation : pas de lib CalDAV/Google (REST + XML bruts) ; refresh OAuth hors scope (relink explicite sur 401) ; conflit = LWW auto + notif (pas de picker « garder ma version ») ; free/busy au jour (pas de créneaux horaires). Référence Notion : Notion Calendar (Google sync) + AI Meeting Notes → trigger Custom Agents (07/2026). Existant : vues jour/semaine/mois, moteurrecurrence.py,reminders.py(scan 60s, dédup), timezones,notify_assignment(), template Meeting Notes.
1. Sync externe bidirectionnelle
CREATE TABLE calendar_links (
id INTEGER PRIMARY KEY AUTOINCREMENT,
user_id INTEGER NOT NULL REFERENCES users(id) ON DELETE CASCADE,
provider TEXT NOT NULL, -- google|caldav
tokens_enc TEXT NOT NULL DEFAULT '', -- Fernet (refresh + access)
calendar_id TEXT NOT NULL DEFAULT 'primary',
sync_token TEXT DEFAULT '',
last_sync TIMESTAMP, UNIQUE(user_id, provider, calendar_id)
);
ALTER TABLE collection_pages ADD COLUMN external_event_id TEXT;
CREATE TABLE meeting_transcripts (
id INTEGER PRIMARY KEY AUTOINCREMENT, page_id INTEGER NOT NULL REFERENCES pages(id) ON DELETE CASCADE,
audio_path TEXT NOT NULL DEFAULT '', transcript TEXT NOT NULL DEFAULT '',
summary TEXT NOT NULL DEFAULT '', language TEXT DEFAULT 'fr',
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);
- OAuth Google (
app/auth/providers/google_calendar.py, scopecalendar.events) + CalDAV générique (URL/user/pass chiffrés). - Pull 15 min : event externe → page (titre +
date+__external_id__) ; push : occurrence FlowDeck → event (sisync_enabledpar collection). - Conflit (modifié des 2 côtés depuis
last_sync) → LWW + notifcalendar.conflict+ lien « garder ma version / prendre externe ». GET /db/{id}/calendar/freebusy?attendees=&from=&to=: créneaux libres (jour ouvré 9h-18h, fuseau user).
2. Meeting Notes v2
Upload .mp3/.wav/.m4a (100 MB) sur page Meeting → meeting_transcripts → transcription (Whisper local si binaire présent, sinon API via llm_config, timeout 10 min, job fond + polling) → résumé ai_writing.py (Décisions, Next steps [[person]], Action items) inséré en blocs + Agenda/Notes existants complétés.
Émet meeting.summarized → automations v7.0 (update tracker, post Slack, file tickets).
3. Tests (tests/test_v71_calendar_meetings.py, ~15)
OAuth mock (tokens chiffrés roundtrip), pull/push, conflit LWW + notif, freebusy, transcription mock → résumé blocs, trigger émis, quota 100 MB refusé.