From 3a42bc034da6311f056817c00f7e9a0543a475b0 Mon Sep 17 00:00:00 2001 From: bruno Date: Wed, 28 Oct 2026 08:25:32 -0400 Subject: [PATCH 1/3] fix(tests): declare le tag OpenAPI 'Coffres Secrets' (test_used_tags_are_declared) --- backend/openapi_docs.py | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/openapi_docs.py b/backend/openapi_docs.py index f454c09..15a4785 100644 --- a/backend/openapi_docs.py +++ b/backend/openapi_docs.py @@ -41,6 +41,7 @@ TAGS_METADATA: list[dict[str, str]] = [ {"name": "Webhooks", "description": "HTTP callbacks signed with HMAC-SHA256 for file events."}, {"name": "Conflicts", "description": "Detect and resolve Syncthing sync-conflict files."}, {"name": "Admin", "description": "Admin-only system monitoring: stats, audit log, backup stats and live stream."}, + {"name": "Coffres Secrets", "description": "Secret vaults: encrypted coffres, secrets, consumers, grants and distribution — metadata only, values are never exposed."}, {"name": "Plugins", "description": "Install, enable and manage user plugins."}, {"name": "Push", "description": "Web Push (VAPID) subscription management and test notifications."}, {"name": "Duplicates", "description": "Duplicate-note detection and confirmed merge (#166)."}, -- 2.54.0 From be05ec99b5cbe43cbec52fdcb0455df137548c76 Mon Sep 17 00:00:00 2001 From: bruno Date: Wed, 28 Oct 2026 08:25:35 -0400 Subject: [PATCH 2/3] fix(tests): test_theme_count 15 -> 16 (theme spark ajoute en 2.80.2) --- tests/test_themes.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_themes.py b/tests/test_themes.py index 65e1b7d..88d1504 100644 --- a/tests/test_themes.py +++ b/tests/test_themes.py @@ -2,7 +2,7 @@ Validates: - Theme JSON structure validity -- All 15 built-in themes have required keys and valid CSS colors +- All 16 built-in themes have required keys and valid CSS colors - High-contrast and sepia mode generators produce valid CSS vars - Import/export round-trip - AVAILABLE_MODES includes all 4 modes @@ -80,9 +80,9 @@ class TestThemeStructure: assert '_genSepia' in self.content def test_theme_count(self): - """Should have 15 built-in themes.""" + """Should have 16 built-in themes.""" names = _extract_theme_names(self.content) - assert len(names) == 15, f"Expected 15 themes, found {len(names)}: {names}" + assert len(names) == 16, f"Expected 16 themes, found {len(names)}: {names}" def test_required_export_functions(self): """All required functions should be exported.""" -- 2.54.0 From 2a1780b43d76eec9b3ae47ee7cf87510e7b4464b Mon Sep 17 00:00:00 2001 From: bruno Date: Wed, 28 Oct 2026 08:25:38 -0400 Subject: [PATCH 3/3] docs: commentaire 15 -> 16 themes integres (meme compteur obsolete que test_themes.py) --- frontend/js/themes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/js/themes.js b/frontend/js/themes.js index 91d7224..01541d4 100644 --- a/frontend/js/themes.js +++ b/frontend/js/themes.js @@ -653,7 +653,7 @@ function applyTheme(themeKey, mode) { root.style.setProperty(key, vars[key]); }); // #180 — the spreadsheet grid follows the active theme: derive its tokens - // from the generic surfaces so every theme (15 built-in × 4 modes, custom + // from the generic surfaces so every theme (16 built-in × 4 modes, custom // imports) gets a matching grid instead of the hardcoded dark/light pair. // color-mix keeps the zebra stripe subtle on both dark and light grounds. // #185 — `--grid-border` no longer reuses `--border` (which sits 1-2% off the -- 2.54.0