Commit Graph

78 Commits

Author SHA1 Message Date
Felix Pojtinger
ad217bb591 fix: Close files immediately in archive cmd 2021-12-18 20:57:30 +01:00
Felix Pojtinger
98ad665fae feat: Add stat cmd 2021-12-17 18:07:07 +01:00
Felix Pojtinger
71e69d6057 fix: Prevent false positives for no-op detection in index 2021-12-17 15:57:20 +01:00
Felix Pojtinger
b58cf7d02f fix: Support no-op move operation 2021-12-17 15:53:53 +01:00
Felix Pojtinger
66a5cd4b9c feat: Add io.Writer-based API to restore and fetch cmds 2021-12-17 15:30:09 +01:00
Felix Pojtinger
99359e09fd feat: Add io.Reader-based API to update cmd 2021-12-16 22:40:47 +01:00
Felix Pojtinger
c54e849c96 feat: Add io.Reader-based API to archive cmd 2021-12-15 23:14:22 +01:00
Felix Pojtinger
5ae914c23a fix: Only overwrite from manager at most once 2021-12-15 22:49:32 +01:00
Felix Pojtinger
fef27b4385 refactor: Use string-backed enums consistently 2021-12-15 21:11:18 +01:00
Felix Pojtinger
e13b835624 feat: Add event type and pre/post-index logging 2021-12-15 02:06:18 +01:00
Felix Pojtinger
b20742cfdc refactor: Introduce config struct for operations 2021-12-15 01:33:01 +01:00
Felix Pojtinger
7565374c5b refactor: Decompose all redudant parameters into Operations struct 2021-12-15 01:18:12 +01:00
Felix Pojtinger
fba58f6ef4 refactor: Inject metadata persister 2021-12-15 00:41:23 +01:00
Felix Pojtinger
32f56cd05d refactor: Clear database tables instead of truncating 2021-12-15 00:40:31 +01:00
Felix Pojtinger
c003317cde feat: Port tape access management to move, restore and update cmds 2021-12-14 22:54:53 +01:00
Felix Pojtinger
022cdfd402 feat: Port tape access management to delete cmd 2021-12-14 22:21:09 +01:00
Felix Pojtinger
3aab0ddc3f feat: Add centralized tape access management to archive cmd 2021-12-14 22:05:55 +01:00
Felix Pojtinger
d8b4c44fa1 refactor: Add automatic indexing for update cmd 2021-12-13 22:20:07 +01:00
Felix Pojtinger
f9868aec50 refactor: Add automatic indexing for archive cmd 2021-12-13 22:01:21 +01:00
Felix Pojtinger
58b407cd4f refactor: Use explicit reader/writer instead of filepath for drive 2021-12-13 00:26:30 +01:00
Felix Pojtinger
734df25820 fix: Use offset to prevent re-indexing encrypted headers 2021-12-10 21:51:12 +01:00
Felix Pojtinger
9516b7db2e refactor: Decompose logger completely 2021-12-10 21:20:35 +01:00
Felix Pojtinger
638e970c2a refactor: Use simpler error messages 2021-12-09 17:48:57 +01:00
Felix Pojtinger
f73c99e5cf fix: Use compression flag for compressor config, not encryption flag 2021-12-08 22:21:07 +01:00
Felix Pojtinger
7b9b528e4f fix: Prevent recipient and identity parsing errors from being indistinguishable 2021-12-08 22:01:30 +01:00
Felix Pojtinger
103e9d1099 refactor: Normalize internal and pkg packages 2021-12-08 21:44:57 +01:00
Felix Pojtinger
15287f7f93 refactor: Decompose all utilities from cmd package 2021-12-08 00:27:46 +01:00
Felix Pojtinger
0e7daed4f3 refactor: Decompose move func 2021-12-07 23:27:47 +01:00
Felix Pojtinger
14e2ffa14b refactor: Decompose delete func 2021-12-07 23:01:44 +01:00
Felix Pojtinger
3c13fe84eb refactor: Decompose update func 2021-12-07 22:53:59 +01:00
Felix Pojtinger
9a0d910146 refactor: Decompose restore func 2021-12-07 22:39:44 +01:00
Felix Pojtinger
ff7803416d refactor: Decompose archive func 2021-12-07 21:12:23 +01:00
Felix Pojtinger
23784eed97 refactor: Decompose keygen func 2021-12-07 01:54:47 +01:00
Felix Pojtinger
62d613ef04 refactor: Unify delete and move indexing behavior 2021-12-07 01:43:04 +01:00
Felix Pojtinger
4278781267 fix: Prevent moving headers from corrupting last indexed record & block 2021-12-07 01:37:16 +01:00
Felix Pojtinger
bcb74057b4 fix: Prevent deletion of headers from corrupting last indexed record & block 2021-12-07 00:41:02 +01:00
Felix Pojtinger
15382ffcfd fix: Enable computation of last known record and block based on lastknownrecord and lastknownblock even if last changes are updates 2021-12-06 23:55:31 +01:00
Felix Pojtinger
7abca5f164 refactor: Drop offset in favor of ignoring the first index 2021-12-06 23:31:55 +01:00
Felix Pojtinger
9d7ae88622 refactor: Decompose find func 2021-12-06 22:51:07 +01:00
Felix Pojtinger
b37214cf1c refactor: Decompose list func 2021-12-06 22:48:23 +01:00
Felix Pojtinger
4f8a6a12a4 refactor: Decompose tell and eject funcs 2021-12-06 22:43:37 +01:00
Felix Pojtinger
01c75dfa65 refactor: Decompose query func 2021-12-06 22:37:40 +01:00
Felix Pojtinger
7ac5346ec0 refactor: Decompose fetch func 2021-12-06 22:15:28 +01:00
Felix Pojtinger
fdafd1a57a refactor: Decompose index func 2021-12-06 21:27:59 +01:00
Felix Pojtinger
3efa2fe308 refactor: Start implementation of public API 2021-12-06 21:01:41 +01:00
Felix Pojtinger
b29460c753 feat: Start implementation of signed headers 2021-12-04 20:55:25 +01:00
Felix Pojtinger
43e23190bc feat: Add basic signature support to archive cmd based on Minisign 2021-12-04 16:44:31 +01:00
Felix Pojtinger
45d08b8d46 feat: Encrypt header by embedding it to prevent metadata sniffing 2021-12-03 00:39:53 +01:00
Felix Pojtinger
22e4f6052b feat: Implement encryption for more text header fields 2021-12-02 23:57:21 +01:00
Felix Pojtinger
7d4214c328 refactor: Decompose key checks 2021-12-02 23:10:34 +01:00