Jan Bader
6041cc0a33
fix: locking
2026-10-07 10:37:50 +02:00
Jan Bader
c8a16d3f3e
fix: case-insensitive ids via query language and caching
2026-09-19 23:47:18 +02:00
Jan Bader
3b91a26b2c
feat: mount lazyly
2026-09-19 23:36:10 +02:00
Jan Bader
cf391172a1
fix: prevent overwrite when document has multiple files
2026-09-13 16:45:35 +02:00
Jan Bader
5e88eaea97
Add export command and shared item tree
...
Introduces a pure, FUSE-independent item tree (buildItemTree) shared by the mount and export commands. The new export subcommand downloads Docspell search results into a local directory, mirroring the mount's friendly folder/year/month hierarchy without the by-id directory or metadata JSON file, for archival or migration.
- itemtree.go: pure item tree builder shared by mount and export
- mount.go: buildMountTree now converts the pure tree into FUSE nodes, with a shared fileNode per attachment across friendly and by-id paths
- export.go: export command with concurrent downloads, --dry-run, --skip-existing, --concurrency, --query, --limit, --auth-header
- main.go: wires up the export subcommand and its flags
- export_test.go: tests for plan collection, writes, skip-existing, failures, modtime
- README.md: documents the export command
2026-07-21 23:35:03 +02:00
Jan Bader
c4a2e9d085
Replace dsc import calls with Docspell API
2026-07-20 20:48:08 +02:00
Jan Bader
608dc99c45
Remove legacy config path handling
2026-07-20 20:45:09 +02:00
Jan Bader
12aa0d4e21
Move config file to XDG config dir
2026-07-20 20:41:24 +02:00
Jan Bader
f603bbb8b8
Use flaggy for CLI argument parsing
2026-07-20 20:39:50 +02:00
Jan Bader
882027f622
Move import flow behind subcommand
2026-07-20 20:34:49 +02:00
Jan Bader
aaf7be0b90
Rename get-local-path subcommand to get-path
2026-07-20 20:30:36 +02:00
Jan Bader
eda8ba9aab
Translate and expand README
2026-07-20 20:30:05 +02:00
Jan Bader
ce1f9290b8
Use mount metadata for path lookups
2026-07-19 23:17:38 +02:00
Jan Bader
4b96db068a
Prefer friendly paths for get-local-path
2026-07-19 22:20:59 +02:00
Jan Bader
fc499af504
Rename project to docspell-cli
2026-07-19 20:28:05 +02:00
Jan Bader
9b5a9899b8
Add configurable mount query
2026-07-19 19:57:35 +02:00
Jan Bader
7edd1b8d7f
Add background mount path helpers
2026-07-19 19:48:49 +02:00
Jan Bader
ef8caef37b
Shard by-id mount entries
2026-07-13 23:14:21 +02:00
Jan Bader
385ad6adad
Add by-id mount directory
2026-07-13 23:12:32 +02:00
Jan Bader
621fbe4913
Fix FUSE attachment sizes and item filenames
2026-07-13 23:07:30 +02:00
Jan Bader
d57724151a
Fix FUSE reads for unknown attachment sizes
2026-07-13 23:03:41 +02:00
Jan Bader
2e0f0939b3
Fix Docspell search pagination
2026-07-13 23:02:24 +02:00
Jan Bader
952d3d8532
Add read-only Docspell FUSE mount
2026-07-13 22:58:59 +02:00
Jan Bader
c8219ed79b
ui: more layout improvements
2025-01-03 00:47:49 +01:00
Jan Bader
e477265690
build: initialize go mod
2025-01-03 00:34:18 +01:00
jacob1123
b8c2bb7c10
build: remove unneeded packages from flake
2025-01-03 00:33:24 +01:00
Jan Bader
2fa79f142f
doc: rename app
2025-01-03 00:32:34 +01:00
jacob1123
fae750d702
doc: rename app
2025-01-03 00:32:30 +01:00
jacob1123
d3da26e2b2
doc: link to example config
2025-01-03 00:31:17 +01:00
Jan Bader
6e53b0cf51
doc: add readme
2025-01-03 00:29:32 +01:00
Jan Bader
95c91b530f
chore: remove jq check as it's not used anymore
2025-01-03 00:29:20 +01:00
Jan Bader
6c38703cf2
feat: make cross device moves possible
2025-01-03 00:26:43 +01:00
Jan Bader
051e257fba
feat: improve output
2025-01-03 00:15:05 +01:00
Jan Bader
cfa8c7e9f9
feat: use flag to enable upload
...
fallback to env var is kept
2025-01-03 00:10:49 +01:00
Jan Bader
a8c452d246
refactor: use struct instead of map for dsc get
2025-01-03 00:04:40 +01:00
Jan Bader
28bcfb826c
feat: add example config
2025-01-02 23:48:03 +01:00
Jan Bader
fb741e2615
refactor: use struct instead of map for dsc responses
2025-01-02 23:47:53 +01:00
Jan Bader
d919f5ce9e
feat: actually read config
2025-01-02 23:44:05 +01:00
Jan Bader
7d4cd72bb7
feat: handle multiple directories
2025-01-02 23:31:49 +01:00
Jan Bader
93f3ccd59d
refactor: introduce config file
2025-01-02 23:30:50 +01:00
Jan Bader
de39350aa5
Initial
2025-01-02 23:23:18 +01:00