Simpl-Resultat/src-tauri/src/commands
le king fu e3e043644d fix: scrub the errors of repair_migrations through repair_at (#497)
repair_migrations built its two errors without scrub: rusqlite appends
the full path of a database it cannot open, so "Cannot open database"
carried the profile folder, and the OS user name with it, to the
Journal. The body moves to repair_at(db_path), which passes every error
it returns through scrub once, at its exit, with the database's parent
folder; the command resolves the path, then calls it.

The test replaces the database file with a folder of the same name: the
exists() guard passes and rusqlite fails to open it even as root, where
a read-only file would simply open read-only. It first checks that
rusqlite's own message names the folder, then that repair_at's error
names the file and <profile folder>, and no segment of the folder.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 21:24:25 -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 fix(profiles): catch secondary profiles up on missed migrations (#390) 2026-10-06 20:35:00 -04:00
entitlements.rs docs(release): name what the step-0 commands cannot see (#466) 2026-10-24 23:42:19 -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 test(rust): a file named like a sample folder is refused, nothing created (#384) 2026-10-19 21:09:01 -04:00
license_commands.rs fix(license): apply the review follow-ups on the license stack head 2026-10-05 19:13:36 -04:00
mod.rs feat(balance): add compute_account_return Tauri command 2026-04-25 16:23:14 -04:00
profile_commands.rs fix: scrub the errors of repair_migrations through repair_at (#497) 2026-10-26 21:24:25 -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