diff --git a/CHANGELOG.md b/CHANGELOG.md index d53f21e..880d2d7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,7 @@ Format basé sur [Keep a Changelog](https://keepachangelog.com/fr/1.1.0/), et [Semantic Versioning](https://semver.org/spec/v2.0.0.html). > **En cours de développement** : les changements à venir sont listés dans la section -> [Unreleased](#unreleased). La dernière version livrée est **2.95.0**. +> [Unreleased](#unreleased). La dernière version livrée est **2.95.1**. --- @@ -14,6 +14,14 @@ et [Semantic Versioning](https://semver.org/spec/v2.0.0.html). --- +## [2.95.1] — 2026-11-28 + +### Corrigé + +- **Toast 410 au chargement (résidu D5)** : le panneau de synchronisation interrogeait encore l'ancien endpoint `/api/ai/status` au démarrage et affichait le message « L'assistant intégré d'ObsiGate a été retiré » en toast d'erreur. La section « statut IA » du panneau sync, son appel de démarrage et ses styles sont retirés ; test de garde `test_aucun_appel_ia_residuel_sync`. **Redéploiement Docker requis.** + +--- + ## [2.95.0] — 2026-11-28 ### Ajouté diff --git a/README.fr.md b/README.fr.md index 22086c8..53349c4 100644 --- a/README.fr.md +++ b/README.fr.md @@ -4,7 +4,7 @@ **Porte d'entrée web ultra-léger pour vos vaults Obsidian** — Accédez, naviguez et recherchez dans toutes vos notes Obsidian depuis n'importe quel appareil via une interface web moderne et responsive. -[]() +[]() [](https://opensource.org/licenses/MIT) [](https://www.docker.com/) [](https://www.python.org/) @@ -981,8 +981,8 @@ Ce projet est sous licence **MIT** — voir le fichier [LICENSE](LICENSE) pour l ## 📝 Changelog -Consultez le [CHANGELOG.md](./CHANGELOG.md) pour l'historique complet de toutes les versions (v1.0.0 → v2.95.0). +Consultez le [CHANGELOG.md](./CHANGELOG.md) pour l'historique complet de toutes les versions (v1.0.0 → v2.95.1). --- -*Projet : ObsiGate | Version : 2.95.0 | Dernière mise à jour : Septembre 2026* +*Projet : ObsiGate | Version : 2.95.1 | Dernière mise à jour : Septembre 2026* diff --git a/README.md b/README.md index 95f2e6b..bbe7818 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ **Ultra-light web gateway for your Obsidian vaults** — Access, browse, and search all your Obsidian notes from any device via a modern, responsive web interface. -[]() +[]() [](https://opensource.org/licenses/MIT) [](https://www.docker.com/) [](https://www.python.org/) @@ -1156,8 +1156,8 @@ This project is licensed under the **MIT License** - see the [LICENSE](LICENSE) ## 📝 Changelog -See [CHANGELOG.md](./CHANGELOG.md) for the complete version history (v1.0.0 → v2.95.0). +See [CHANGELOG.md](./CHANGELOG.md) for the complete version history (v1.0.0 → v2.95.1). --- -*Project: ObsiGate | Version: 2.95.0 | Last updated: September 2026* +*Project: ObsiGate | Version: 2.95.1 | Last updated: September 2026* diff --git a/VERSION b/VERSION index f3071c0..4d066b3 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.95.0 +2.95.1 diff --git a/desktop/Cargo.lock b/desktop/Cargo.lock index ce8d1d4..c10bd7a 100644 --- a/desktop/Cargo.lock +++ b/desktop/Cargo.lock @@ -2626,7 +2626,7 @@ dependencies = [ [[package]] name = "obsigate-desktop" -version = "2.95.0" +version = "2.95.1" dependencies = [ "chrono", "env_logger", diff --git a/desktop/Cargo.toml b/desktop/Cargo.toml index ac159e5..078eee6 100644 --- a/desktop/Cargo.toml +++ b/desktop/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "obsigate-desktop" -version = "2.95.0" +version = "2.95.1" description = "ObsiGate Desktop — Porte d'entrée native pour vos vaults Obsidian" authors = ["Bruno Charest"] edition = "2021" diff --git a/desktop/tauri.conf.json b/desktop/tauri.conf.json index c5fe866..c5f2a9d 100644 --- a/desktop/tauri.conf.json +++ b/desktop/tauri.conf.json @@ -1,7 +1,7 @@ { "$schema": "https://raw.githubusercontent.com/nicedoc/obsigate/main/desktop/tauri.conf.schema.json", "productName": "ObsiGate", - "version": "2.95.0", + "version": "2.95.1", "identifier": "com.obsigate.desktop", "build": { "frontendDist": "../frontend", diff --git a/docs/ROADMAP.md b/docs/ROADMAP.md index 826078b..808b03e 100644 --- a/docs/ROADMAP.md +++ b/docs/ROADMAP.md @@ -1,6 +1,6 @@ # ObsiGate — Roadmap -> **Version :** 2.95.0 | **Dernière mise à jour :** 2026-11-28 +> **Version :** 2.95.1 | **Dernière mise à jour :** 2026-11-28 > **Ce fichier ne contient que le travail à venir** (🔵 En cours + ⚪ Backlog) et un index compact > vers les fonctionnalités livrées. > - **Méthode de livraison à appliquer pour toute tâche : [DELIVERY_WORKFLOW.md](./DELIVERY_WORKFLOW.md)** diff --git a/frontend/js/sync.js b/frontend/js/sync.js index c647741..c9599c6 100644 --- a/frontend/js/sync.js +++ b/frontend/js/sync.js @@ -286,9 +286,6 @@ function initSyncStatus() { }); IndexUpdateManager.connect(); - - // Initialize AI status tracking - _initAIStatus(); } function toggleSyncPanel() { @@ -366,159 +363,10 @@ function _renderSyncPanel(panel) { } panel.innerHTML = html; - - // ── AI Status section ── - _renderAIStatusSection(panel); } // --------------------------------------------------------------------------- // AI Status Indicator (inside sync panel + header badge animation) -// --------------------------------------------------------------------------- - -let _aiProcessing = false; -let _aiConfigured = null; // null = unknown, true/false -let _aiAutocomplete = null; // null = unknown, {available, server_ok, model_loaded, model, error} - -/** Check if AI is configured by calling the /api/ai/status endpoint. - * Updates _aiConfigured, _aiAutocomplete and refreshes the panel if open. */ -async function _checkAIStatus() { - try { - const status = await api('/api/ai/status'); - _aiConfigured = status.configured === true; - _aiAutocomplete = status.autocomplete || null; - } catch { - _aiConfigured = false; - _aiAutocomplete = null; - } - _updateAIStatusInPanel(); -} - -function _renderAIStatusSection(panel) { - const section = document.createElement('div'); - section.className = 'sync-panel__ai-section'; - section.id = 'sync-panel-ai'; - - // ---- External provider status ---- - let extIcon, extText, extClass; - if (_aiProcessing) { - extIcon = 'loader'; - extText = t('sync.processing'); - extClass = 'sync-panel__ai--processing'; - } else if (_aiConfigured === true) { - extIcon = 'check-circle'; - extText = 'Fournisseur externe actif'; - extClass = 'sync-panel__ai--active'; - } else if (_aiConfigured === false) { - extIcon = 'x-circle'; - extText = t('sync.no_provider'); - extClass = 'sync-panel__ai--inactive'; - } else { - extIcon = 'help-circle'; - extText = t('sync.verifying'); - extClass = 'sync-panel__ai--unknown'; - } - - // ---- Autocomplete (Ollama) status ---- - let acIcon, acText, acClass; - if (_aiAutocomplete && _aiAutocomplete.available) { - acIcon = 'check-circle'; - acText = t('sync.autocomplete_active'); - acClass = 'sync-panel__ai--active'; - } else if (_aiAutocomplete && _aiAutocomplete.server_ok && !_aiAutocomplete.model_loaded) { - acIcon = 'alert-triangle'; - acText = t('sync.model_not_loaded'); - acClass = 'sync-panel__ai--inactive'; - } else if (_aiAutocomplete && _aiAutocomplete.error) { - acIcon = 'x-circle'; - acText = 'Serveur Ollama injoignable'; - acClass = 'sync-panel__ai--inactive'; - } else if (_aiAutocomplete === null) { - acIcon = 'help-circle'; - acText = t('sync.verifying'); - acClass = 'sync-panel__ai--unknown'; - } else { - acIcon = 'x-circle'; - acText = t('sync.not_configured'); - acClass = 'sync-panel__ai--inactive'; - } - - section.innerHTML = '' + - '