Add PDF archive store, raw-body IPC and export file helpers

The searchable PDF can be archived content-addressed under the local data
dir with its sha256 and layout fingerprint; a different PDF for an archived
invoice is refused and reads verify the hash. Export writes go through a
raw-body command that remembers the last folder; reveal-in-folder and open
fall back to xdg-open / explorer. Adds a Windows-safe export file name
builder. Migration M4 adds the archive columns and last export dir.
This commit is contained in:
2026-10-04 05:54:26 +05:30
parent f6c81a7e7f
commit 2ade618fb5
17 changed files with 891 additions and 36 deletions
+2
View File
@@ -4236,10 +4236,12 @@ version = "0.1.0"
dependencies = [
"base64 0.22.1",
"chrono",
"percent-encoding",
"rusqlite",
"rusqlite_migration",
"serde",
"serde_json",
"sha2",
"tauri",
"tauri-build",
"tauri-plugin-dialog",