124 lines
4.6 KiB
Markdown
124 lines
4.6 KiB
Markdown
# ObsiGate — Roadmap
|
||
|
||
> **Version :** 1.7.0 | **Dernière mise à jour :** 2026-06-02
|
||
> Voir aussi [CHANGELOG.md](./CHANGELOG.md), [docs/ROADMAP.md](./docs/ROADMAP.md), [AUDIT_TECHNIQUE.md](./docs/AUDIT_TECHNIQUE_2026-05-27.md)
|
||
|
||
---
|
||
|
||
## ✅ Complété (v1.0.0 → v1.7.0)
|
||
|
||
### AI Editor (v1.7.0)
|
||
- [x] Toolbar dropdown menus : Edit, Tone, Translate, Generate, Rewrite, Toolbox
|
||
- [x] Multi-provider : DeepSeek, OpenRouter, Gemini
|
||
- [x] 16 endpoints REST `/api/ai/{action}` + backend `ai.py` / `ai_routes.py`
|
||
- [x] Auto-save silencieux (2s debounce), loading toasts, cache toolbar si pas de clé API
|
||
- [x] Messages d'erreur clairs (401 → clé invalide, etc.)
|
||
|
||
### Vue graphe — Phases 3 & 4 (v1.6.0)
|
||
- [x] Filtre par type (dossier/fichier/.md/autre), mode focus, plein écran, export PNG
|
||
- [x] Barnes-Hut O(n log n), cache graphe
|
||
- [x] Header flat design, sticky panels, navigation historique ← → ↑
|
||
- [x] Ctrl+survol → aperçu contenu formaté
|
||
|
||
### Performance & CI/CD (v1.6.0)
|
||
- [x] `sortedcontainers` — O(log n) insert/remove dans l'index inversé
|
||
- [x] CI/CD Pipeline Gitea Actions (lint → test → security → build)
|
||
- [x] Ruff linting — 0 erreur
|
||
- [x] Mypy type checking — 0 erreur
|
||
- [x] Pytest — **284 tests, 70% coverage** (main.py 61%, router.py 67%, watcher.py 62%)
|
||
- [x] Tests API main.py (84 tests), Auth API (13 tests), Watcher mocké (14 tests)
|
||
- [x] Bandit SAST + Pip-audit + Docker build + coverage artifact
|
||
|
||
### Split app.js en modules ES (v1.5.1)
|
||
- [x] 8 875 lignes → 16 modules dans `frontend/js/`
|
||
- [x] Validateur imports/exports CI
|
||
- [x] Tests unitaires frontend (Node.js)
|
||
|
||
### Stemming français (v1.5.1)
|
||
- [x] `snowballstemmer` — recherche accent-insensitive et morphologique
|
||
- [x] Performance O(T) au lieu de O(S×T), crash guard IndexError
|
||
|
||
### Fonctionnalités avancées (v1.5.0)
|
||
- [x] Publication publique de documents (lien partageable avec token)
|
||
- [x] Webhooks HTTP avec signature HMAC-SHA256
|
||
- [x] Dashboard statistiques (fichiers, tags, taille, vaults)
|
||
- [x] Documentation OpenAPI enrichie (Swagger + Redoc)
|
||
- [x] Gestion des conflits Syncthing
|
||
- [x] Index inversé incrémental (hook pattern)
|
||
|
||
### Sécurité (v1.4.0)
|
||
- [x] JWT + Argon2id
|
||
- [x] Rate limiting login (IP + compte)
|
||
- [x] Audit log avec rotation
|
||
- [x] Backup automatique avant écriture
|
||
- [x] Redaction de secrets
|
||
- [x] Headers CSP
|
||
- [x] Protection path traversal
|
||
- [x] Utilisateur non-root Docker
|
||
|
||
### UX / Qualité
|
||
- [x] `.dockerignore`, `.env` → `.env.example`, Ruff config, Mypy config
|
||
- [x] Compression GZip (SSE-safe), Cache-Control immutable
|
||
- [x] Recherche sans I/O disque
|
||
- [x] Backlinks panel
|
||
- [x] Fichiers non-supportés (UI download)
|
||
|
||
---
|
||
|
||
## 🔜 Prochaines étapes (par priorité)
|
||
|
||
### ✅ 1. Tests & Couverture — FAIT
|
||
- Coverage **49% → 70%** ✅
|
||
- ~~Cibles : main.py (26%), watcher.py (23%), router.py (37%)~~ — **FAIT**
|
||
- ~~Tests E2E Playwright (fondations)~~ — reste à faire
|
||
|
||
### ✅ 2. Export PDF — FAIT
|
||
- WeasyPrint déjà intégré ✅
|
||
- Route API `/api/file/{vault_name}/pdf` ✅
|
||
- Bouton UI "PDF" dans les actions fichier ✅
|
||
- Export dans la vue publique `/s/{token}/pdf` ✅
|
||
- GTK/Pango installé dans le Dockerfile ✅
|
||
|
||
### ✅ 3. Palette de commandes (Ctrl+P) — FAIT
|
||
- Navigation rapide fichiers + commandes (> prefix) ✅
|
||
- Module `frontend/js/palette.js` + intégré dans app.js ✅
|
||
|
||
### 4. Drag & drop de fichiers
|
||
- **Effort** : 1-2 jours | **Impact** : 🟡
|
||
- Déplacer/réorganiser dans l'arborescence
|
||
|
||
### 5. Diff viewer backups
|
||
- **Effort** : 1 jour | **Impact** : 🟢
|
||
- Comparer versions `.obsigate-backup/`
|
||
|
||
### 6. Fichiers récents par vault
|
||
- **Effort** : 0.5 jour | **Impact** : 🟡
|
||
- Dashboard filtré par vault actif
|
||
|
||
### 7. Git tags semver
|
||
- **Effort** : 10 min | **Impact** : 🟢
|
||
- `git tag v1.7.0 && git push --tags`
|
||
|
||
### 8. Filtres search avancés
|
||
- **Effort** : 1 jour | **Impact** : 🟡
|
||
- Opérateurs `created:`, `modified:`, `size:`
|
||
|
||
### 9. Déduplication IGNORED_DIRS
|
||
- **Effort** : 0.5 jour | **Impact** : 🟢
|
||
- `indexer.py` et `watcher.py` ont des définitions séparées → mutualiser
|
||
|
||
---
|
||
|
||
## 📋 Backlog (P3/P4 — Long terme)
|
||
|
||
- **Mode hors-ligne PWA complet** : IndexedDB pour recherche offline + synchro
|
||
- **OAuth2/OIDC** : Google, GitHub, authentification SSO
|
||
- **Plugins système** : Extensions utilisateur (custom renderers, search operators)
|
||
- **Collaboration temps réel** : WebSocket + CRDT (Yjs) pour édition simultanée
|
||
- **i18n** : Support anglais + français
|
||
- **MFA** : TOTP/WebAuthn
|
||
- **Thèmes personnalisés** : CSS variables exposées
|
||
- **Export multi-formats** : HTML, MD bundle, ePub
|
||
- **Notifications web** : Push API pour changements de vault
|
||
- **Health check enrichi** : État de l'index, mémoire, uptime, clients SSE
|