Commit Graph

545 Commits

Author SHA1 Message Date
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 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
Alexander Neumann d8e1482abe Add benchmark for Node.fillExtra 2015-05-01 23:52:36 +02:00
Alexander Neumann d753a5ffa3 archiver: correct benchmark 2015-05-01 22:58:50 +02:00
Alexander Neumann 0662c14fee Move chunkerBufSize to more appropiate location 2015-05-01 17:40:50 +02:00
Alexander Neumann 9010d7bb3a Add test for invalid (=zero) crypto keys 2015-05-01 17:32:42 +02:00
Alexander Neumann 98dc811536 Add nil-receiver awareness to all Reader/Writer 2015-05-01 17:32:42 +02:00
Alexander Neumann dbc41bb805 Merge remote-tracking branch 'fw42/crypto_nitpicks' 2015-05-01 17:15:58 +02:00
Alexander Neumann a91e7e5c18 Merge remote-tracking branch 'fw42/more_cosmetic_changes' 2015-05-01 16:24:33 +02:00
Alexander Neumann bf900bb6bc Merge branch 'debug_refactor' 2015-05-01 15:40:47 +02:00
Alexander Neumann 9d29a61861 debug: init debug logger before init() methods run 2015-05-01 15:39:01 +02:00