Simpl-Resultat/src-tauri/src/commands
le king fu ab78aa9ddc
All checks were successful
PR Check — Frontend / frontend (pull_request) Successful in 1m44s
PR Check — Rust / rust (pull_request) Successful in 3m25s
fix(license): check a revoked key as soon as it is entered
A license key entered during a session was only checked against the
license server at the next start: a revoked key kept its edition until
the app restarted, or until a machine activation was refused (#365
checked at start only).

Front: performSubmitKey launches the revocation check after
VALIDATE_DONE, without waiting for it, and never after a refused key.
SubmitKeyDeps gets a single launcher, startRevocationCheck(wasRevoked),
built once by the provider with revocationCheckLauncher and shared with
the start check, whose starter is unchanged.

Rust: the command runs the checks one at a time. A static
tauri::async_runtime::Mutex (REVOCATION_CHECK_TURN) is held by
check_revocation_in_turn over the whole check, request and verdict
included, and the time is read once the turn has come. A key entered
before the first ready state, checked by the entry and by the start,
sends one request; the check of a key entered while another one is in
flight waits for its verdict instead of overwriting license.check.
check_revocation_in is unchanged, and so are Cargo.toml and Cargo.lock.

Docs: ADR 0017 (amendment #365, point 5), user guide, in-app docs
(docs.settings.tips, docs.editions.tips), architecture, and both
changelogs under [Unreleased] (Fixed / Corrigé).

Resolves #373

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 16:26:10 -04:00
..
account_cache.rs feat: HMAC-sign cached account info to close subscription tampering (#80) 2026-04-14 08:07:47 -04:00
auth_commands.rs feat: HMAC-sign cached account info to close subscription tampering (#80) 2026-04-14 08:07:47 -04:00
backup_commands.rs feat(categories): add restore backup banner and permanent restore action (#122) 2026-04-20 21:47:43 -04:00
balance_commands.rs feat(license): online revocation check — a revoked key falls back to Free (#365) 2026-10-02 14:45:34 -04:00
entitlements.rs fix(license): name key-entry errors, keep the edition off the activation token, flag revoked keys 2026-09-29 21:39:01 -04:00
export_import_commands.rs feat: add data export/import with optional AES-256-GCM encryption (#3) 2026-02-15 11:40:28 +00:00
feedback_commands.rs feat: feedback hub widget in Settings Logs card (#67) 2026-04-17 14:36:26 +00:00
fs_commands.rs feat(onboarding): create_sample_import_folders command, sample CSV templates and detection test (#354) 2026-10-03 19:50:41 -04:00
license_commands.rs fix(license): check a revoked key as soon as it is entered 2026-10-04 16:26:10 -04:00
mod.rs feat(balance): add compute_account_return Tauri command 2026-04-25 16:23:14 -04:00
profile_commands.rs feat(prices): Rust Tauri command fetch_price + tests 2026-04-27 08:23:18 -04:00
return_calculator.rs fix(rust): wrap Modified Dietz formula doc block in text fence (S7) 2026-05-03 16:31:29 -04:00
token_store.rs feat: migrate OAuth tokens to OS keychain via token_store (#78) 2026-04-13 19:41:54 -04:00