Commit Graph

6454 Commits

Author SHA1 Message Date
Alexander Neumann 1f33e29ce2 crypto: Fix buffer extension in Decrypt() 2015-05-05 00:12:05 +02:00
Alexander Neumann 589dbaaed2 chunker: Remove unused constant 2015-05-05 00:06:44 +02:00
Alexander Neumann 64a290c8db chunker: Add buffer to New() 2015-05-04 23:25:07 +02:00
Florian Weingarten 282c4379db Remove chunker.Reset() and chunker pool 2015-05-04 16:49:49 -04:00
Alexander Neumann c57c4f0b8f Merge branch 'add_config' 2015-05-04 22:13:59 +02:00
Alexander Neumann ab3da5c8af archiver: Remove trees and packs from dedup test 2015-05-04 22:11:53 +02:00
Alexander Neumann f8804d4265 chunker: Add benchmark for reducibility test 2015-05-04 21:41:57 +02:00
Alexander Neumann 35af933f24 server: Rename CreateMasterKey() to Init() 2015-05-04 20:40:17 +02:00
Alexander Neumann ae1a85c896 server: Check repository version 2015-05-04 20:40:02 +02:00
Alexander Neumann 5399358272 Fix spelling errors in comments 2015-05-04 20:39:45 +02:00
Alexander Neumann be943eaf8b doc: Clarify storage ID 2015-05-04 20:39:07 +02:00
Alexander Neumann 250080db9c sftp: Annotate a few errors 2015-05-03 21:06:20 +02:00
Alexander Neumann 7af918cfdd key: Remove unused convenience methods 2015-05-03 18:56:20 +02:00
Alexander Neumann 1213d87b1a server: Only save crypto.Key
At the moment, the server doesn't need the full server.Key (master and
user key), just the master key.
2015-05-03 18:56:20 +02:00
Alexander Neumann 08fac28e73 crypto: Remove polynomial from key 2015-05-03 18:56:20 +02:00
Alexander Neumann 991a325cc5 server: Test for existing config 2015-05-03 18:56:20 +02:00
Alexander Neumann ddc44ddfb1 server: Check irreducible polynomial in config 2015-05-03 18:56:20 +02:00
Alexander Neumann 765e3dc66f restic: Add 'cat config' command 2015-05-03 18:56:20 +02:00
Alexander Neumann d4bf5bb279 server: Add config 2015-05-03 18:56:20 +02:00
Alexander Neumann bebb08ee7e server/key: Rename CreateKey -> CreateMasterKey 2015-05-03 18:56:20 +02:00
Alexander Neumann 9b54fd7bdb server: rename LoadJSONEncrypted -> LoadJSONUnpacked 2015-05-03 18:56:20 +02:00
Alexander Neumann 2fb1783885 backend/server: remove id and version from backend 2015-05-03 18:56:16 +02:00
Alexander Neumann 1cedff0e9e tests: Simplify key handling 2015-05-03 16:36:52 +02:00
Alexander Neumann 062c328f2d doc: Add config 2015-05-03 15:00:26 +02:00
Alexander Neumann 13a42ec5ec Merge branch 'cleanups' 2015-05-02 17:43:13 +02:00
Alexander Neumann ba1125df10 Cleanup commets with feedback from @fw42 2015-05-02 17:01:31 +02:00
Alexander Neumann c9664e9eac Remove unused function saveTree() 2015-05-02 16:55:29 +02:00
Alexander Neumann d66780a45d Remove unused global variable 2015-05-02 16:39:24 +02:00
Alexander Neumann 71f3fb2dac Rename variables in copyJobs() 2015-05-02 16:39:11 +02:00
Alexander Neumann cd0c537e7e remove unused file 2015-05-02 16:25:26 +02:00
Alexander Neumann 6fe38b0cd8 fix comments to have the standard form 2015-05-02 16:22:43 +02:00
Alexander Neumann cf62eb3e15 chunker: unexport WindowSize and AverageBits 2015-05-02 16:19:16 +02:00
Alexander Neumann 1f94ac724f backend: rename LimitReader to LimitReadCloser 2015-05-02 16:13:56 +02:00
Alexander Neumann 0ca678228d node: add comments 2015-05-02 16:12:19 +02:00
Alexander Neumann ff4dd1f1fb Add more comments 2015-05-02 15:51:40 +02:00
Alexander Neumann 0a65901e18 cache: unexport internal functions 2015-05-02 15:49:47 +02:00
Alexander Neumann 819b6da762 restorer: unexport archive pipe 2015-05-02 15:31:31 +02:00
Alexander Neumann b335de6b81 Add comments to exported methods 2015-05-02 15:23:28 +02:00
Alexander Neumann 4a1cb65645 Merge branch 'replace_arrar' 2015-05-02 14:34:33 +02:00
Alexander Neumann 24f85528dc Merge remote-tracking branch 'fw42/refactor_archiver_savefile' 2015-05-02 14:25:49 +02:00
Florian Weingarten e19c87fa7d Break Archiver.SaveFile() method down into smaller ones 2015-05-02 01:05:49 -04:00
Alexander Neumann b3a75ecc1c Correct usage for backup cmd 2015-05-02 02:05:09 +02:00
Alexander Neumann 85d101c234 Merge branch 'refactor_debug' 2015-05-02 01:33:07 +02:00
Alexander Neumann 97619e743c replace github.com/juju/arrar by /errors 2015-05-02 01:29:54 +02:00
Alexander Neumann 813031a989 debug: Dynamically pad tag in debug log 2015-05-02 01:14:45 +02:00
Alexander Neumann 959da0a76a debug: Add location to log, improve formatting
Before:

    2015/05/02 00:38:46 [restic] main []string{"./restic", "backup", "."}

After:

    2015/05/02 00:47:42 [  restic]   1 main.go:176    main []string{"./restic", "backup", "-f", "."}
2015-05-02 00:48:26 +02:00
Alexander Neumann ccdbc80d5b Add benchmark for NodeFromFileInfo 2015-05-02 00:26:32 +02:00
Alexander Neumann 9308f1493d Merge branch 'fw42/uid_lookup_cache' 2015-05-02 00:18:04 +02:00
Florian Weingarten e9009358a9 catch err 2015-05-02 00:16:13 +02:00
Florian Weingarten 6e20eba852 uid lookup cache 2015-05-02 00:16:13 +02:00