bruno
31d4616baf
feat: garde-fous d'écriture des classeurs Excel #153 (P0)
...
L'édition d'un .xlsx pouvait détruire une partie du classeur, le
concurrencer en silence, ou diffuser une injection de formule.
- BUG-085 : inspect_workbook() détecte ce qu'un round-trip openpyxl perd
(valeurs calculées en cache, slicers, contrôles, connexions, custom
XML, signature, commentaires enrichis, macros) → xlsx_lossy_features
exposé en lecture, bandeau FR/EN, et 409 xlsx_lossy_content sans
`force` (confirmation explicite puis reprise). Périmètre réel
revalidé : graphiques, images et TCD survivent au round-trip.
- BUG-086 : écriture atomique (fichier .tmp + os.replace) : un plantage
ne peut plus tronquer le classeur, le backup reste intact.
- BUG-087 : verrou par fichier autour du read-modify-write (timeout 15 s,
409 conflict) ; endpoint xlsx/save devenu synchrone pour que
l'attente s'exécute dans le threadpool.
- BUG-088 : une saisie en '=' ou '@' est stockée en texte, sauf opt-in
`allow_formula` ou le bouton f(x) de la visionneuse. Le handler
ServiceError expose désormais code + details, que api() propage.
- BUG-084 : la suppression d'une vault purge enfin l'index inversé
(documents fantômes qui continuaient de matcher) et is_stale() devient
is_ready(), le nom étant trompeur (la staleness n'existe plus).
Tests : 1390 pytest, 10 JSDOM (xlsx-viewer.test.mjs, branché au CI),
3 E2E Playwright, suite E2E complète verte, ruff/mypy 0.
🤖 Generated with Codebuff
Co-Authored-By: Codebuff <[email protected] >
2026-09-27 20:39:12 -04:00
bruno
4c4b1222d5
chore: ignore les diagrammes E2E générés (excalidraw)
CI / lint (push) Successful in 2m23s
CI / security (push) Failing after 1m48s
CI / test (push) Successful in 3m49s
CI / build (push) Successful in 2m28s
CI / e2e (push) Successful in 14m5s
2026-09-27 14:46:09 -04:00
bruno
8ddee212e5
feat(desktop): manifeste de mise a jour latest.json + builds locaux signes ( #77 )
...
CI / lint (push) Successful in 1m7s
CI / security (push) Successful in 43s
CI / test (push) Successful in 2m12s
CI / build (push) Successful in 42s
CI / e2e (push) Successful in 10m43s
Desktop Build / build-windows (push) Canceled after 0s
Desktop Build / build-linux (push) Canceled after 0s
- scripts/updater_manifest.py : construit latest.json (version, pub_date, platforms Windows/Linux avec signature .sig et URLs des assets).
- publish_release.py : genere latest.json, upload des .sig + latest.json, rappel de commit.
- tauri.conf.json : endpoint updater -> raw/branch/main/desktop/latest.json.
- build-windows.bat / build-linux.sh : detection automatique de obsigate-updater.key (signature) ou repli non signe.
- .gitignore : ignore desktop/key/ ; tests/test_updater_manifest.py (8 tests).
2026-09-12 10:01:56 -04:00
bruno
d3299166bb
feat(desktop): signature updater Tauri + wizard persistant + protocole E2E ( #77 )
...
CI / lint (push) Successful in 1m11s
CI / security (push) Successful in 43s
CI / test (push) Successful in 2m22s
CI / build (push) Successful in 1m41s
CI / e2e (push) Successful in 10m50s
Desktop Build / build-windows (push) Canceled after 0s
Desktop Build / build-linux (push) Canceled after 0s
- Signature des mises a jour Tauri : paire de cles minisign generee, cle publique dans tauri.conf.json, createUpdaterArtifacts actif, secrets CI exposes (repli build non signe si secret absent).
- Wizard 1er lancement : etat persistant wizard_done cote Rust (get_wizard_state/complete_wizard) pour ne plus reafficher la banniere, retro-compatible.
- Protocole des 6 tests E2E manuels : docs/DESKTOP_E2E_CHECKLIST.md.
- CI : desktop.test.mjs ajoute au job lint.
- Docs : ROADMAP, fiche desktop-tauri, CHANGELOG, README desktop, guide releases.
- fix(build): retirer les libs WeasyPrint inutiles du stage builder Docker.
2026-09-12 09:29:47 -04:00
bruno
3e0940da8c
feat(desktop): v2.0.0 - tests unitaires Rust #77 complets
...
CI / lint (push) Failing after 17s
CI / build (push) Skipped
CI / security (push) Successful in 21s
Desktop Build / build-windows (push) Canceled after 0s
Desktop Build / build-linux (push) Canceled after 0s
- 16 tests Rust: config roundtrip, JSON parsing, vault dedup,
dir remove, backend URL, paths, branding, edge cases
- Ajout tempfile dev-dependency pour tests avec tmpdir
- .gitignore: exclusions junction points backend/frontend
- Build debug + release vérifié et fonctionnel
- Compilation: rustc 1.94.1, tauri-cli 2.11.4
2026-09-06 18:24:45 -04:00
bruno
2115cb9085
chore: ignore desktop/checksums.txt (artefact regenere par publish_release.py)
CI / lint (push) Successful in 29s
CI / security (push) Successful in 26s
CI / test (push) Successful in 39s
CI / build (push) Successful in 13s
CI / e2e (push) Successful in 6m7s
2026-08-25 21:23:21 -04:00
bruno
f6f08eef61
chore: ignore les scripts de debogage _*.py
CI / lint (push) Successful in 29s
CI / security (push) Successful in 27s
CI / test (push) Successful in 38s
CI / build (push) Successful in 21s
CI / e2e (push) Successful in 5m50s
2026-08-25 11:59:18 -04:00
bruno
f6f4dad0ec
test: script e2e local + commande npm test:e2e
...
Reproduit les conditions du job CI e2e (backend natif, auth desactivee, port 2029, projet chromium-desktop) pour valider localement avant chaque push.
2026-08-25 09:13:24 -04:00
bruno
62eabb2944
fix(ci): e2e - fixtures de test versionnees + acces via passerelle docker (dind)
...
CI / lint (push) Successful in 30s
CI / security (push) Successful in 19s
CI / test (push) Successful in 34s
CI / build (push) Successful in 11s
CI / e2e (push) Failing after 25m16s
- test_vault/ et test_dir/ : fixtures markdown pour les tests E2E Playwright (22 fichiers, .obsigate-backup ignore)
- ci.yml e2e : health check et BASE_URL via IP passerelle docker (localhost du job container ne voit pas le port publie sur l hote)
- ci.yml e2e : l etape Start ObsiGate echoue explicitement si l app n est pas joignable
2026-08-24 16:48:37 -04:00
bruno
efb59230e7
fix: VERSION généré par build.sh avant docker build (pas dans Dockerfile)
...
CI / lint (push) Failing after 13s
CI / test (push) Has been skipped
CI / build (push) Has been skipped
CI / e2e (push) Has been skipped
CI / security (push) Successful in 13s
- build.sh: git describe --tags --dirty > backend/VERSION avant docker compose build
- Dockerfile: COPY backend/VERSION (pré-généré, plus fiable que .git dans le contexte)
- .dockerignore: revert (plus besoin d'autoriser .git/HEAD)
- .gitignore: backend/VERSION (généré, pas commité)
2026-07-27 17:19:09 -04:00
bruno
4631168d1d
fix: retirer desktop/backend/ et desktop/frontend/ du .gitignore (Tauri ignore les fichiers gitignorés au bundle)
...
CI / lint (push) Successful in 22s
CI / security (push) Successful in 14s
CI / test (push) Successful in 28s
CI / build (push) Successful in 13s
CI / e2e (push) Failing after 23s
Ces dossiers sont créés par le script de build et nettoyés après — ils ne doivent pas être gitignorés
sinon Tauri ne les inclut pas dans le .exe NSIS
2026-07-27 11:46:48 -04:00
bruno
004bf6f10b
fix: bundle MSI — copier backend/frontend dans desktop/ avant build Tauri
...
CI / lint (push) Successful in 24s
CI / security (push) Successful in 14s
CI / test (push) Successful in 27s
CI / build (push) Successful in 6s
CI / e2e (push) Failing after 23s
Desktop Build / build-windows (push) Has been cancelled
Desktop Build / build-linux (push) Has been cancelled
- tauri.conf.json: resources: backend/**/* + frontend/**/* (local, pas ../)
- build-windows.bat: étape 2b copie backend+frontend dans desktop/, clean après build
- .gitignore: desktop/backend/ + desktop/frontend/
2026-07-26 16:50:46 -04:00
bruno
fd41175ad8
fix: revue complète obsigate-desktop — 6 correctifs pour le prochain build
...
CI / lint (push) Successful in 24s
CI / security (push) Successful in 13s
CI / test (push) Successful in 27s
CI / build (push) Successful in 9s
CI / e2e (push) Failing after 26s
Desktop Build / build-windows (push) Has been cancelled
Desktop Build / build-linux (push) Has been cancelled
1. main.rs: .current_dir(exe_dir) pour que Python trouve backend/ (pas le cwd hérité)
2. build-windows.bat: dir bundles pointe vers target/x86_64-.../release (était target/release)
3. build-windows.bat: supprimer étape 3 inutile (frontend-static) — Tauri utilise ../frontend
4. capabilities/default.json: requis par Tauri v2 (permissions plugins)
5. tauri.conf.json + Cargo.toml: retirer updater (placeholder sans clé)
6. .gitignore: ajouter desktop/target/, python-embed/, frontend-static/
7. build-linux.sh: mêmes corrections (bundles path, simplification)
2026-07-26 11:06:53 -04:00
bruno
8248bb0846
feat: #58 Tests E2E Playwright — 44 tests desktop + CI
...
CI / lint (push) Failing after 6s
CI / test (push) Has been skipped
CI / build (push) Has been skipped
CI / e2e (push) Has been skipped
CI / security (push) Failing after -6s
- playwright.config.ts: chromium-desktop + chromium-mobile
- tests/e2e/obsigate.spec.ts: 44 tests en 11 sections
- Dashboard & Navigation (8 tests)
- Full-Text Search (10 tests)
- File Navigation & Viewer (5 tests)
- Editor (4 tests: Forge, basic modal, Ctrl+S)
- Mermaid Diagrams (2 tests)
- PDF Export, Dark Mode, Responsive, Saved Searches
- Keyboard Shortcuts (Ctrl+K, /, Escape)
- Context Menu directory
- CI: nouveau job e2e dans .gitea/workflows/ci.yml
- ROADMAP: #58 marque FAIT
- .gitignore: node_modules, test-results, playwright-report
2026-06-15 22:54:30 -04:00
bruno
feeb46b873
feat: finalisation éditeur Forge + mode hors-ligne PWA + consolidation roadmap
...
CI / lint (push) Failing after 7s
CI / test (push) Has been skipped
CI / build (push) Has been skipped
CI / security (push) Failing after -7s
- Forge: Tab indent, Ctrl+K, auto-focus, AI status, messages erreur FR
- Forge: slash commands clean, cache-bust iframe, preview serveur
- Forge: iframe 82vh, hauteur auto, table inline, sélecteur langage
- PWA hors-ligne: IndexedDB (offline-db.js + offline.js)
- Mermaid: thème dark complet, highlight.js preview
- Backend: màj CSP, rename chain, bookmarks/history/shares
- Roadmap: consolidation dans docs/ROADMAP.md (75 items)
- Infra: docker-compose.podman.yml, suppression test-vault
- .gitignore: exclusion odysseus/
2026-06-14 20:27:37 -04:00
bruno
51a5162e66
feat: theme-adaptive fullscreen background + wire updateMermaidTheme to applyTheme
CI / lint (push) Successful in 15s
CI / security (push) Successful in 8s
CI / test (push) Successful in 24s
CI / build (push) Successful in 2s
2026-06-05 09:24:19 -04:00
bruno
a0cae4a6a4
fix: close TestClient properly in auth_client fixture to prevent gzip cleanup errors
CI / lint (push) Successful in 14s
CI / security (push) Successful in 11s
CI / test (push) Failing after 23s
CI / build (push) Has been skipped
2026-06-05 07:52:29 -04:00
bruno
edb9e98f81
test: add pytest suite - 97 tests, search + indexer + auth
...
Create comprehensive test suite with 97 passing tests:
- tests/conftest.py: fixtures (TestClient, temp vault dirs, index setup)
- tests/test_search.py (27 tests): tokenizer, snippets, highlight,
tag filter, search API, advanced search, suggest, tags API
- tests/test_indexer.py (32 tests): frontmatter parsing, inline tags,
title extraction, scan_vault, find_file_in_index, backlinks
- tests/test_auth.py (38 tests): password hashing, JWT create/decode,
token revocation, user CRUD, login lockout, rate limiting, middleware
Also fix: lazy WeasyPrint import (graceful fallback when GTK missing),
add data/ to .gitignore (runtime files from test runs).
2026-05-27 22:06:27 -04:00
bruno
58a0ffc76c
feat: quick wins - dockerignore, env secrets, gzip, cache-control
...
- Add .dockerignore to exclude .git, __pycache__, docs, etc. from Docker context
- Create .env.example template with documented env vars
- Move OBSIGATE_ADMIN_PASSWORD from docker-compose.yml to env_file: .env
- Add .env.* to .gitignore (excluding .env.example)
- Enable GZipMiddleware for ~70% bandwidth reduction on text responses
- Add Cache-Control: immutable for /static/ assets
- Update ROADMAP: mark all 4 quick wins as done, add audit findings
- Add comprehensive technical audit report (AUDIT_TECHNIQUE_2026-05-27.md)
2026-05-27 20:35:08 -04:00
bruno
b40fcae62f
Add advanced search engine with inverted index, thread pool execution, configuration API, and comprehensive diagnostics
2026-03-23 13:21:20 -04:00
bruno
e76e9ea962
first commit
2026-03-21 09:52:44 -04:00