BtSync 0.5.1 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/.gitignore +1 -0
- data/.travis.yml +1 -0
- data/Vagrantfile +31 -0
- data/cookbooks/apt/.gitignore +14 -0
- data/cookbooks/apt/.kitchen.yml +38 -0
- data/cookbooks/apt/Berksfile +8 -0
- data/cookbooks/apt/CHANGELOG.md +97 -0
- data/cookbooks/apt/CONTRIBUTING +29 -0
- data/cookbooks/apt/LICENSE +201 -0
- data/cookbooks/apt/README.md +243 -0
- data/cookbooks/apt/TESTING.md +25 -0
- data/cookbooks/apt/attributes/default.rb +4 -0
- data/cookbooks/apt/files/default/apt-proxy-v2.conf +50 -0
- data/cookbooks/apt/metadata.json +1 -0
- data/cookbooks/apt/metadata.rb +30 -0
- data/cookbooks/apt/providers/preference.rb +61 -0
- data/cookbooks/apt/providers/repository.rb +132 -0
- data/cookbooks/apt/recipes/cacher-client.rb +59 -0
- data/cookbooks/apt/recipes/cacher-ng.rb +40 -0
- data/cookbooks/apt/recipes/default.rb +68 -0
- data/cookbooks/apt/resources/preference.rb +30 -0
- data/cookbooks/apt/resources/repository.rb +40 -0
- data/cookbooks/apt/templates/debian-6.0/acng.conf.erb +174 -0
- data/cookbooks/apt/templates/default/01proxy.erb +2 -0
- data/cookbooks/apt/templates/default/acng.conf.erb +276 -0
- data/cookbooks/apt/templates/ubuntu-10.04/acng.conf.erb +270 -0
- data/cookbooks/btsync/README.md +2 -0
- data/cookbooks/btsync/metadata.rb +14 -0
- data/cookbooks/btsync/recipes/default.rb +13 -0
- data/cookbooks/build-essential/.gitignore +4 -0
- data/cookbooks/build-essential/.kitchen.yml +42 -0
- data/cookbooks/build-essential/Berksfile +3 -0
- data/cookbooks/build-essential/CHANGELOG.md +42 -0
- data/cookbooks/build-essential/CONTRIBUTING +29 -0
- data/cookbooks/build-essential/LICENSE +201 -0
- data/cookbooks/build-essential/README.md +139 -0
- data/cookbooks/build-essential/TESTING.md +25 -0
- data/cookbooks/build-essential/attributes/default.rb +33 -0
- data/cookbooks/build-essential/metadata.json +44 -0
- data/cookbooks/build-essential/metadata.rb +16 -0
- data/cookbooks/build-essential/recipes/debian.rb +45 -0
- data/cookbooks/build-essential/recipes/default.rb +24 -0
- data/cookbooks/build-essential/recipes/fedora.rb +36 -0
- data/cookbooks/build-essential/recipes/mac_os_x.rb +40 -0
- data/cookbooks/build-essential/recipes/rhel.rb +43 -0
- data/cookbooks/build-essential/recipes/smartos.rb +36 -0
- data/cookbooks/build-essential/recipes/solaris2.rb +42 -0
- data/cookbooks/build-essential/recipes/suse.rb +36 -0
- data/lib/btsync.rb +13 -13
- data/lib/btsync/communicator.rb +14 -4
- data/lib/btsync/directory.rb +12 -12
- data/lib/btsync/version.rb +1 -1
- data/spec/BtSync/bt_sync_spec.rb +13 -9
- data/spec/BtSync/directory_spec.rb +13 -20
- data/spec/fixtures/cassettes/{get-known-hosts.yml → Remove-Default-Host.yml} +5 -5
- data/spec/fixtures/cassettes/Setup-BtSync-Directory.yml +289 -12
- data/spec/fixtures/cassettes/Setup-BtSync.yml +252 -0
- data/spec/fixtures/cassettes/Setup-Directory-Settings.yml +8 -38
- data/spec/fixtures/cassettes/add-folder-list.yml +32 -35
- data/spec/fixtures/cassettes/add-folder.yml +10 -94
- data/spec/fixtures/cassettes/add-known-host.yml +6 -6
- data/spec/fixtures/cassettes/change_download_limit.yml +15 -42
- data/spec/fixtures/cassettes/change_listening_port.yml +15 -42
- data/spec/fixtures/cassettes/change_name.yml +13 -40
- data/spec/fixtures/cassettes/change_upload_limit.yml +15 -42
- data/spec/fixtures/cassettes/get-folders.yml +54 -24
- data/spec/fixtures/cassettes/get-os-type.yml +3 -30
- data/spec/fixtures/cassettes/get-peers.yml +7 -8
- data/spec/fixtures/cassettes/get-preferences.yml +24 -24
- data/spec/fixtures/cassettes/get-settings.yml +6 -33
- data/spec/fixtures/cassettes/get-version.yml +3 -30
- data/spec/fixtures/cassettes/remove-folder-list.yml +18 -20
- data/spec/fixtures/cassettes/remove-folder.yml +35 -38
- data/spec/fixtures/cassettes/remove-known-host.yml +6 -6
- data/spec/fixtures/cassettes/reset_device_name.yml +13 -13
- data/spec/fixtures/cassettes/reset_download_limit.yml +15 -15
- data/spec/fixtures/cassettes/reset_listening_port.yml +15 -15
- data/spec/fixtures/cassettes/reset_upload_limit.yml +15 -15
- data/spec/fixtures/cassettes/set-preferences-delete.yml +11 -11
- data/spec/fixtures/cassettes/set-preferences-dht.yml +11 -11
- data/spec/fixtures/cassettes/set-preferences-hosts.yml +11 -11
- data/spec/fixtures/cassettes/set-preferences-lan.yml +11 -11
- data/spec/fixtures/cassettes/set-preferences-relay.yml +11 -11
- data/spec/fixtures/cassettes/set-preferences-tracker.yml +11 -11
- data/spec/fixtures/cassettes/view-folders.yml +5 -5
- metadata +52 -4
@@ -2,40 +2,13 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: http://localhost:8888/gui
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers: {}
|
10
|
-
response:
|
11
|
-
status:
|
12
|
-
code: 200
|
13
|
-
message: OK
|
14
|
-
headers:
|
15
|
-
Connection:
|
16
|
-
- keep-alive
|
17
|
-
Content-Length:
|
18
|
-
- '121'
|
19
|
-
Content-Type:
|
20
|
-
- text/html
|
21
|
-
Set-Cookie:
|
22
|
-
- GUID=ApytqtfI91r4IdudjTIN; path=/
|
23
|
-
Cache-Control:
|
24
|
-
- no-cache
|
25
|
-
body:
|
26
|
-
encoding: US-ASCII
|
27
|
-
string: <html><div id='token' style='display:none;'>L85OZizUmvgobKcrIincEGwEBxBrhyDZuz5OCKYefCakcYZs3SyviX-DtlEAAAAA</div></html>
|
28
|
-
http_version:
|
29
|
-
recorded_at: Tue, 11 Jun 2013 01:55:13 GMT
|
30
|
-
- request:
|
31
|
-
method: get
|
32
|
-
uri: http://localhost:8888/gui/?action=getostype&output=json&token=L85OZizUmvgobKcrIincEGwEBxBrhyDZuz5OCKYefCakcYZs3SyviX-DtlEAAAAA
|
5
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getostype&output=json&token=u_MRSC7A_4Y-0yCWDt6uQvH5BzWrWTuCEuU3A8fvQlrsHlXYAZ4cFgPBuFEAAAAA
|
33
6
|
body:
|
34
7
|
encoding: US-ASCII
|
35
8
|
string: ''
|
36
9
|
headers:
|
37
10
|
Cookie:
|
38
|
-
- GUID=
|
11
|
+
- GUID=7Sb1dvknwuyiiKy9xvYv
|
39
12
|
response:
|
40
13
|
status:
|
41
14
|
code: 200
|
@@ -53,5 +26,5 @@ http_interactions:
|
|
53
26
|
encoding: US-ASCII
|
54
27
|
string: ! '{ "os": "linux" }'
|
55
28
|
http_version:
|
56
|
-
recorded_at:
|
29
|
+
recorded_at: Wed, 12 Jun 2013 18:42:12 GMT
|
57
30
|
recorded_with: VCR 2.5.0
|
@@ -2,13 +2,13 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: http://localhost:8888/gui/?action=getsyncfolders&output=json&token=
|
5
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsyncfolders&output=json&token=RZbVuwWEheFdAfByFpevSH6m3_t2y6Brna0IR68P0vD7nryy2Ktd6gTBuFEAAAAA
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
Cookie:
|
11
|
-
- GUID=
|
11
|
+
- GUID=TotE2NElyDGhazP4Fk3b
|
12
12
|
response:
|
13
13
|
status:
|
14
14
|
code: 200
|
@@ -17,17 +17,16 @@ http_interactions:
|
|
17
17
|
Connection:
|
18
18
|
- keep-alive
|
19
19
|
Content-Length:
|
20
|
-
- '
|
20
|
+
- '180'
|
21
21
|
Content-Type:
|
22
22
|
- application/json; charset=utf-8
|
23
23
|
Cache-Control:
|
24
24
|
- no-cache
|
25
25
|
body:
|
26
26
|
encoding: US-ASCII
|
27
|
-
string: ! '{ "folders": [ { "name": "\/home\/
|
28
|
-
"
|
29
|
-
|
30
|
-
} ], "speed": "0.0 kB\/s up, 0.0 kB\/s down" }'
|
27
|
+
string: ! '{ "folders": [ { "name": "\/home\/vagrant", "peers": [ ], "secret":
|
28
|
+
"XEQRSGSJGGNKCTV4UZG2ZPOJRINGDE2C", "size": "54.7 MB in 8 files" } ], "speed":
|
29
|
+
"0.0 kB\/s up, 0.0 kB\/s down" }'
|
31
30
|
http_version:
|
32
|
-
recorded_at:
|
31
|
+
recorded_at: Wed, 12 Jun 2013 18:42:12 GMT
|
33
32
|
recorded_with: VCR 2.5.0
|
@@ -2,13 +2,13 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: http://localhost:8888/gui/?action=getfolderpref&name=/home/
|
5
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getfolderpref&name=/home/vagrant&output=json&secret=XEQRSGSJGGNKCTV4UZG2ZPOJRINGDE2C&token=RZbVuwWEheFdAfByFpevSH6m3_t2y6Brna0IR68P0vD7nryy2Ktd6gTBuFEAAAAA
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
Cookie:
|
11
|
-
- GUID=
|
11
|
+
- GUID=TotE2NElyDGhazP4Fk3b
|
12
12
|
response:
|
13
13
|
status:
|
14
14
|
code: 200
|
@@ -25,19 +25,19 @@ http_interactions:
|
|
25
25
|
body:
|
26
26
|
encoding: US-ASCII
|
27
27
|
string: ! '{ "folderpref": { "deletetotrash": 1, "iswritable": 1, "readonlysecret":
|
28
|
-
"
|
28
|
+
"R7ND4TVM27INRB34VHJR7M4YSW5PVZTLQ", "relay": 1, "searchdht": 0, "searchlan":
|
29
29
|
1, "usehosts": 1, "usetracker": 1 } }'
|
30
30
|
http_version:
|
31
|
-
recorded_at:
|
31
|
+
recorded_at: Wed, 12 Jun 2013 18:42:13 GMT
|
32
32
|
- request:
|
33
33
|
method: get
|
34
|
-
uri: http://localhost:8888/gui/?action=getfolderpref&name=/home/
|
34
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getfolderpref&name=/home/vagrant&output=json&secret=XEQRSGSJGGNKCTV4UZG2ZPOJRINGDE2C&token=RZbVuwWEheFdAfByFpevSH6m3_t2y6Brna0IR68P0vD7nryy2Ktd6gTBuFEAAAAA
|
35
35
|
body:
|
36
36
|
encoding: US-ASCII
|
37
37
|
string: ''
|
38
38
|
headers:
|
39
39
|
Cookie:
|
40
|
-
- GUID=
|
40
|
+
- GUID=TotE2NElyDGhazP4Fk3b
|
41
41
|
response:
|
42
42
|
status:
|
43
43
|
code: 200
|
@@ -54,19 +54,19 @@ http_interactions:
|
|
54
54
|
body:
|
55
55
|
encoding: US-ASCII
|
56
56
|
string: ! '{ "folderpref": { "deletetotrash": 1, "iswritable": 1, "readonlysecret":
|
57
|
-
"
|
57
|
+
"R7ND4TVM27INRB34VHJR7M4YSW5PVZTLQ", "relay": 1, "searchdht": 0, "searchlan":
|
58
58
|
1, "usehosts": 1, "usetracker": 1 } }'
|
59
59
|
http_version:
|
60
|
-
recorded_at:
|
60
|
+
recorded_at: Wed, 12 Jun 2013 18:42:13 GMT
|
61
61
|
- request:
|
62
62
|
method: get
|
63
|
-
uri: http://localhost:8888/gui/?action=getfolderpref&name=/home/
|
63
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getfolderpref&name=/home/vagrant&output=json&secret=XEQRSGSJGGNKCTV4UZG2ZPOJRINGDE2C&token=RZbVuwWEheFdAfByFpevSH6m3_t2y6Brna0IR68P0vD7nryy2Ktd6gTBuFEAAAAA
|
64
64
|
body:
|
65
65
|
encoding: US-ASCII
|
66
66
|
string: ''
|
67
67
|
headers:
|
68
68
|
Cookie:
|
69
|
-
- GUID=
|
69
|
+
- GUID=TotE2NElyDGhazP4Fk3b
|
70
70
|
response:
|
71
71
|
status:
|
72
72
|
code: 200
|
@@ -83,19 +83,19 @@ http_interactions:
|
|
83
83
|
body:
|
84
84
|
encoding: US-ASCII
|
85
85
|
string: ! '{ "folderpref": { "deletetotrash": 1, "iswritable": 1, "readonlysecret":
|
86
|
-
"
|
86
|
+
"R7ND4TVM27INRB34VHJR7M4YSW5PVZTLQ", "relay": 1, "searchdht": 0, "searchlan":
|
87
87
|
1, "usehosts": 1, "usetracker": 1 } }'
|
88
88
|
http_version:
|
89
|
-
recorded_at:
|
89
|
+
recorded_at: Wed, 12 Jun 2013 18:42:13 GMT
|
90
90
|
- request:
|
91
91
|
method: get
|
92
|
-
uri: http://localhost:8888/gui/?action=getfolderpref&name=/home/
|
92
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getfolderpref&name=/home/vagrant&output=json&secret=XEQRSGSJGGNKCTV4UZG2ZPOJRINGDE2C&token=RZbVuwWEheFdAfByFpevSH6m3_t2y6Brna0IR68P0vD7nryy2Ktd6gTBuFEAAAAA
|
93
93
|
body:
|
94
94
|
encoding: US-ASCII
|
95
95
|
string: ''
|
96
96
|
headers:
|
97
97
|
Cookie:
|
98
|
-
- GUID=
|
98
|
+
- GUID=TotE2NElyDGhazP4Fk3b
|
99
99
|
response:
|
100
100
|
status:
|
101
101
|
code: 200
|
@@ -112,19 +112,19 @@ http_interactions:
|
|
112
112
|
body:
|
113
113
|
encoding: US-ASCII
|
114
114
|
string: ! '{ "folderpref": { "deletetotrash": 1, "iswritable": 1, "readonlysecret":
|
115
|
-
"
|
115
|
+
"R7ND4TVM27INRB34VHJR7M4YSW5PVZTLQ", "relay": 1, "searchdht": 0, "searchlan":
|
116
116
|
1, "usehosts": 1, "usetracker": 1 } }'
|
117
117
|
http_version:
|
118
|
-
recorded_at:
|
118
|
+
recorded_at: Wed, 12 Jun 2013 18:42:13 GMT
|
119
119
|
- request:
|
120
120
|
method: get
|
121
|
-
uri: http://localhost:8888/gui/?action=getfolderpref&name=/home/
|
121
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getfolderpref&name=/home/vagrant&output=json&secret=XEQRSGSJGGNKCTV4UZG2ZPOJRINGDE2C&token=RZbVuwWEheFdAfByFpevSH6m3_t2y6Brna0IR68P0vD7nryy2Ktd6gTBuFEAAAAA
|
122
122
|
body:
|
123
123
|
encoding: US-ASCII
|
124
124
|
string: ''
|
125
125
|
headers:
|
126
126
|
Cookie:
|
127
|
-
- GUID=
|
127
|
+
- GUID=TotE2NElyDGhazP4Fk3b
|
128
128
|
response:
|
129
129
|
status:
|
130
130
|
code: 200
|
@@ -141,19 +141,19 @@ http_interactions:
|
|
141
141
|
body:
|
142
142
|
encoding: US-ASCII
|
143
143
|
string: ! '{ "folderpref": { "deletetotrash": 1, "iswritable": 1, "readonlysecret":
|
144
|
-
"
|
144
|
+
"R7ND4TVM27INRB34VHJR7M4YSW5PVZTLQ", "relay": 1, "searchdht": 0, "searchlan":
|
145
145
|
1, "usehosts": 1, "usetracker": 1 } }'
|
146
146
|
http_version:
|
147
|
-
recorded_at:
|
147
|
+
recorded_at: Wed, 12 Jun 2013 18:42:13 GMT
|
148
148
|
- request:
|
149
149
|
method: get
|
150
|
-
uri: http://localhost:8888/gui/?action=getfolderpref&name=/home/
|
150
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getfolderpref&name=/home/vagrant&output=json&secret=XEQRSGSJGGNKCTV4UZG2ZPOJRINGDE2C&token=RZbVuwWEheFdAfByFpevSH6m3_t2y6Brna0IR68P0vD7nryy2Ktd6gTBuFEAAAAA
|
151
151
|
body:
|
152
152
|
encoding: US-ASCII
|
153
153
|
string: ''
|
154
154
|
headers:
|
155
155
|
Cookie:
|
156
|
-
- GUID=
|
156
|
+
- GUID=TotE2NElyDGhazP4Fk3b
|
157
157
|
response:
|
158
158
|
status:
|
159
159
|
code: 200
|
@@ -170,8 +170,8 @@ http_interactions:
|
|
170
170
|
body:
|
171
171
|
encoding: US-ASCII
|
172
172
|
string: ! '{ "folderpref": { "deletetotrash": 1, "iswritable": 1, "readonlysecret":
|
173
|
-
"
|
173
|
+
"R7ND4TVM27INRB34VHJR7M4YSW5PVZTLQ", "relay": 1, "searchdht": 0, "searchlan":
|
174
174
|
1, "usehosts": 1, "usetracker": 1 } }'
|
175
175
|
http_version:
|
176
|
-
recorded_at:
|
176
|
+
recorded_at: Wed, 12 Jun 2013 18:42:13 GMT
|
177
177
|
recorded_with: VCR 2.5.0
|
@@ -2,40 +2,13 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: http://localhost:8888/gui
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers: {}
|
10
|
-
response:
|
11
|
-
status:
|
12
|
-
code: 200
|
13
|
-
message: OK
|
14
|
-
headers:
|
15
|
-
Connection:
|
16
|
-
- keep-alive
|
17
|
-
Content-Length:
|
18
|
-
- '121'
|
19
|
-
Content-Type:
|
20
|
-
- text/html
|
21
|
-
Set-Cookie:
|
22
|
-
- GUID=h7rsYhEBFJ4m65WcjuHL; path=/
|
23
|
-
Cache-Control:
|
24
|
-
- no-cache
|
25
|
-
body:
|
26
|
-
encoding: US-ASCII
|
27
|
-
string: <html><div id='token' style='display:none;'>gGxWdAsiDAEXDTQnRHzKZRRO0SksuWhA7pDzg_G-n_h1NmZZfB9oCn-DtlEAAAAA</div></html>
|
28
|
-
http_version:
|
29
|
-
recorded_at: Tue, 11 Jun 2013 01:55:13 GMT
|
30
|
-
- request:
|
31
|
-
method: get
|
32
|
-
uri: http://localhost:8888/gui/?action=getsettings&output=json&token=gGxWdAsiDAEXDTQnRHzKZRRO0SksuWhA7pDzg_G-n_h1NmZZfB9oCn-DtlEAAAAA
|
5
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsettings&output=json&token=u_MRSC7A_4Y-0yCWDt6uQvH5BzWrWTuCEuU3A8fvQlrsHlXYAZ4cFgPBuFEAAAAA
|
33
6
|
body:
|
34
7
|
encoding: US-ASCII
|
35
8
|
string: ''
|
36
9
|
headers:
|
37
10
|
Cookie:
|
38
|
-
- GUID=
|
11
|
+
- GUID=7Sb1dvknwuyiiKy9xvYv
|
39
12
|
response:
|
40
13
|
status:
|
41
14
|
code: 200
|
@@ -44,15 +17,15 @@ http_interactions:
|
|
44
17
|
Connection:
|
45
18
|
- keep-alive
|
46
19
|
Content-Length:
|
47
|
-
- '
|
20
|
+
- '132'
|
48
21
|
Content-Type:
|
49
22
|
- application/json; charset=utf-8
|
50
23
|
Cache-Control:
|
51
24
|
- no-cache
|
52
25
|
body:
|
53
26
|
encoding: US-ASCII
|
54
|
-
string: ! '{ "settings": { "devicename": "
|
55
|
-
63754, "portmapping":
|
27
|
+
string: ! '{ "settings": { "devicename": "precise32 - Default Instance", "dlrate":
|
28
|
+
0, "listeningport": 63754, "portmapping": 0, "ulrate": 0 } }'
|
56
29
|
http_version:
|
57
|
-
recorded_at:
|
30
|
+
recorded_at: Wed, 12 Jun 2013 18:42:11 GMT
|
58
31
|
recorded_with: VCR 2.5.0
|
@@ -2,40 +2,13 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: http://localhost:8888/gui
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers: {}
|
10
|
-
response:
|
11
|
-
status:
|
12
|
-
code: 200
|
13
|
-
message: OK
|
14
|
-
headers:
|
15
|
-
Connection:
|
16
|
-
- keep-alive
|
17
|
-
Content-Length:
|
18
|
-
- '121'
|
19
|
-
Content-Type:
|
20
|
-
- text/html
|
21
|
-
Set-Cookie:
|
22
|
-
- GUID=xGDzGTFz7RbifqrU0s0f; path=/
|
23
|
-
Cache-Control:
|
24
|
-
- no-cache
|
25
|
-
body:
|
26
|
-
encoding: US-ASCII
|
27
|
-
string: <html><div id='token' style='display:none;'>uh-aIDG-fW5143nMd4xwweTpopw-LlhIsUgKwzE5HWe8JnJN676efH-DtlEAAAAA</div></html>
|
28
|
-
http_version:
|
29
|
-
recorded_at: Tue, 11 Jun 2013 01:55:13 GMT
|
30
|
-
- request:
|
31
|
-
method: get
|
32
|
-
uri: http://localhost:8888/gui/?action=getversion&output=json&token=uh-aIDG-fW5143nMd4xwweTpopw-LlhIsUgKwzE5HWe8JnJN676efH-DtlEAAAAA
|
5
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getversion&output=json&token=u_MRSC7A_4Y-0yCWDt6uQvH5BzWrWTuCEuU3A8fvQlrsHlXYAZ4cFgPBuFEAAAAA
|
33
6
|
body:
|
34
7
|
encoding: US-ASCII
|
35
8
|
string: ''
|
36
9
|
headers:
|
37
10
|
Cookie:
|
38
|
-
- GUID=
|
11
|
+
- GUID=7Sb1dvknwuyiiKy9xvYv
|
39
12
|
response:
|
40
13
|
status:
|
41
14
|
code: 200
|
@@ -53,5 +26,5 @@ http_interactions:
|
|
53
26
|
encoding: US-ASCII
|
54
27
|
string: ! '{ "version": 16777350 }'
|
55
28
|
http_version:
|
56
|
-
recorded_at:
|
29
|
+
recorded_at: Wed, 12 Jun 2013 18:42:12 GMT
|
57
30
|
recorded_with: VCR 2.5.0
|
@@ -2,13 +2,13 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: http://localhost:8888/gui/?action=getsyncfolders&output=json&token=
|
5
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsyncfolders&output=json&token=u_MRSC7A_4Y-0yCWDt6uQvH5BzWrWTuCEuU3A8fvQlrsHlXYAZ4cFgPBuFEAAAAA
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
Cookie:
|
11
|
-
- GUID=
|
11
|
+
- GUID=7Sb1dvknwuyiiKy9xvYv
|
12
12
|
response:
|
13
13
|
status:
|
14
14
|
code: 200
|
@@ -17,22 +17,21 @@ http_interactions:
|
|
17
17
|
Connection:
|
18
18
|
- keep-alive
|
19
19
|
Content-Length:
|
20
|
-
- '
|
20
|
+
- '180'
|
21
21
|
Content-Type:
|
22
22
|
- application/json; charset=utf-8
|
23
23
|
Cache-Control:
|
24
24
|
- no-cache
|
25
25
|
body:
|
26
26
|
encoding: US-ASCII
|
27
|
-
string: ! '{ "folders": [ { "name": "\/home\/
|
28
|
-
"
|
29
|
-
|
30
|
-
} ], "speed": "0.0 kB\/s up, 0.0 kB\/s down" }'
|
27
|
+
string: ! '{ "folders": [ { "name": "\/home\/vagrant", "peers": [ ], "secret":
|
28
|
+
"XEQRSGSJGGNKCTV4UZG2ZPOJRINGDE2C", "size": "54.7 MB in 8 files" } ], "speed":
|
29
|
+
"0.0 kB\/s up, 0.0 kB\/s down" }'
|
31
30
|
http_version:
|
32
|
-
recorded_at:
|
31
|
+
recorded_at: Wed, 12 Jun 2013 18:42:12 GMT
|
33
32
|
- request:
|
34
33
|
method: get
|
35
|
-
uri: http://localhost:8888/gui/token.html?output=
|
34
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/token.html?output=json
|
36
35
|
body:
|
37
36
|
encoding: US-ASCII
|
38
37
|
string: ''
|
@@ -49,23 +48,23 @@ http_interactions:
|
|
49
48
|
Content-Type:
|
50
49
|
- text/html
|
51
50
|
Set-Cookie:
|
52
|
-
- GUID=
|
51
|
+
- GUID=3PRj0fQOziI7O4ABtid9; path=/
|
53
52
|
Cache-Control:
|
54
53
|
- no-cache
|
55
54
|
body:
|
56
55
|
encoding: US-ASCII
|
57
|
-
string: <html><div id='token' style='display:none;'>
|
56
|
+
string: <html><div id='token' style='display:none;'>jSjEG96tQPMvTyEayd1atViwc-nzM-bnrsw022G3RiN6JneQwtlr9wTBuFEAAAAA</div></html>
|
58
57
|
http_version:
|
59
|
-
recorded_at:
|
58
|
+
recorded_at: Wed, 12 Jun 2013 18:42:12 GMT
|
60
59
|
- request:
|
61
60
|
method: get
|
62
|
-
uri: http://localhost:8888/gui/?action=getsyncfolders&output=json&token=
|
61
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsyncfolders&output=json&token=jSjEG96tQPMvTyEayd1atViwc-nzM-bnrsw022G3RiN6JneQwtlr9wTBuFEAAAAA
|
63
62
|
body:
|
64
63
|
encoding: US-ASCII
|
65
64
|
string: ''
|
66
65
|
headers:
|
67
66
|
Cookie:
|
68
|
-
- GUID=
|
67
|
+
- GUID=3PRj0fQOziI7O4ABtid9
|
69
68
|
response:
|
70
69
|
status:
|
71
70
|
code: 200
|
@@ -74,17 +73,16 @@ http_interactions:
|
|
74
73
|
Connection:
|
75
74
|
- keep-alive
|
76
75
|
Content-Length:
|
77
|
-
- '
|
76
|
+
- '180'
|
78
77
|
Content-Type:
|
79
78
|
- application/json; charset=utf-8
|
80
79
|
Cache-Control:
|
81
80
|
- no-cache
|
82
81
|
body:
|
83
82
|
encoding: US-ASCII
|
84
|
-
string: ! '{ "folders": [ { "name": "\/home\/
|
85
|
-
"
|
86
|
-
|
87
|
-
} ], "speed": "0.0 kB\/s up, 0.0 kB\/s down" }'
|
83
|
+
string: ! '{ "folders": [ { "name": "\/home\/vagrant", "peers": [ ], "secret":
|
84
|
+
"XEQRSGSJGGNKCTV4UZG2ZPOJRINGDE2C", "size": "54.7 MB in 8 files" } ], "speed":
|
85
|
+
"0.0 kB\/s up, 0.0 kB\/s down" }'
|
88
86
|
http_version:
|
89
|
-
recorded_at:
|
87
|
+
recorded_at: Wed, 12 Jun 2013 18:42:12 GMT
|
90
88
|
recorded_with: VCR 2.5.0
|
@@ -2,13 +2,13 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: http://localhost:8888/gui/?action=getsyncfolders&output=json&token=
|
5
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsyncfolders&output=json&token=u_MRSC7A_4Y-0yCWDt6uQvH5BzWrWTuCEuU3A8fvQlrsHlXYAZ4cFgPBuFEAAAAA
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
Cookie:
|
11
|
-
- GUID=
|
11
|
+
- GUID=7Sb1dvknwuyiiKy9xvYv
|
12
12
|
response:
|
13
13
|
status:
|
14
14
|
code: 200
|
@@ -17,23 +17,22 @@ http_interactions:
|
|
17
17
|
Connection:
|
18
18
|
- keep-alive
|
19
19
|
Content-Length:
|
20
|
-
- '
|
20
|
+
- '294'
|
21
21
|
Content-Type:
|
22
22
|
- application/json; charset=utf-8
|
23
23
|
Cache-Control:
|
24
24
|
- no-cache
|
25
25
|
body:
|
26
26
|
encoding: US-ASCII
|
27
|
-
string: ! '{ "folders": [ { "name": "\/home\/
|
28
|
-
"
|
29
|
-
|
30
|
-
},
|
31
|
-
"size": "0 B in 0 files" } ], "speed": "0.0 kB\/s up, 0.0 kB\/s down" }'
|
27
|
+
string: ! '{ "folders": [ { "name": "\/home\/vagrant", "peers": [ ], "secret":
|
28
|
+
"XEQRSGSJGGNKCTV4UZG2ZPOJRINGDE2C", "size": "54.7 MB in 8 files" }, { "name":
|
29
|
+
"\/tmp", "peers": [ ], "secret": "P34SXCT2FYOBCEALZJIHEMBUO745JRNT", "size":
|
30
|
+
"114.8 kB in 48 files" } ], "speed": "0.0 kB\/s up, 0.0 kB\/s down" }'
|
32
31
|
http_version:
|
33
|
-
recorded_at:
|
32
|
+
recorded_at: Wed, 12 Jun 2013 18:42:12 GMT
|
34
33
|
- request:
|
35
34
|
method: get
|
36
|
-
uri: http://localhost:8888/gui/token.html?output=
|
35
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/token.html?output=json
|
37
36
|
body:
|
38
37
|
encoding: US-ASCII
|
39
38
|
string: ''
|
@@ -50,23 +49,23 @@ http_interactions:
|
|
50
49
|
Content-Type:
|
51
50
|
- text/html
|
52
51
|
Set-Cookie:
|
53
|
-
- GUID=
|
52
|
+
- GUID=SORGIxoc3NQ209rBGvgP; path=/
|
54
53
|
Cache-Control:
|
55
54
|
- no-cache
|
56
55
|
body:
|
57
56
|
encoding: US-ASCII
|
58
|
-
string: <html><div id='token' style='display:none;'>
|
57
|
+
string: <html><div id='token' style='display:none;'>xpMlQnCr-BqmXtiRjAGmluzRPtsSg6TTYRnZYsvI6G3Zw0DnJHiUcwTBuFEAAAAA</div></html>
|
59
58
|
http_version:
|
60
|
-
recorded_at:
|
59
|
+
recorded_at: Wed, 12 Jun 2013 18:42:12 GMT
|
61
60
|
- request:
|
62
61
|
method: get
|
63
|
-
uri: http://localhost:8888/gui/?action=getsyncfolders&output=json&token=
|
62
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsyncfolders&output=json&token=xpMlQnCr-BqmXtiRjAGmluzRPtsSg6TTYRnZYsvI6G3Zw0DnJHiUcwTBuFEAAAAA
|
64
63
|
body:
|
65
64
|
encoding: US-ASCII
|
66
65
|
string: ''
|
67
66
|
headers:
|
68
67
|
Cookie:
|
69
|
-
- GUID=
|
68
|
+
- GUID=SORGIxoc3NQ209rBGvgP
|
70
69
|
response:
|
71
70
|
status:
|
72
71
|
code: 200
|
@@ -75,23 +74,22 @@ http_interactions:
|
|
75
74
|
Connection:
|
76
75
|
- keep-alive
|
77
76
|
Content-Length:
|
78
|
-
- '
|
77
|
+
- '294'
|
79
78
|
Content-Type:
|
80
79
|
- application/json; charset=utf-8
|
81
80
|
Cache-Control:
|
82
81
|
- no-cache
|
83
82
|
body:
|
84
83
|
encoding: US-ASCII
|
85
|
-
string: ! '{ "folders": [ { "name": "\/home\/
|
86
|
-
"
|
87
|
-
|
88
|
-
},
|
89
|
-
"size": "0 B in 0 files" } ], "speed": "0.0 kB\/s up, 0.0 kB\/s down" }'
|
84
|
+
string: ! '{ "folders": [ { "name": "\/home\/vagrant", "peers": [ ], "secret":
|
85
|
+
"XEQRSGSJGGNKCTV4UZG2ZPOJRINGDE2C", "size": "54.7 MB in 8 files" }, { "name":
|
86
|
+
"\/tmp", "peers": [ ], "secret": "P34SXCT2FYOBCEALZJIHEMBUO745JRNT", "size":
|
87
|
+
"114.8 kB in 48 files" } ], "speed": "0.0 kB\/s up, 0.0 kB\/s down" }'
|
90
88
|
http_version:
|
91
|
-
recorded_at:
|
89
|
+
recorded_at: Wed, 12 Jun 2013 18:42:12 GMT
|
92
90
|
- request:
|
93
91
|
method: get
|
94
|
-
uri: http://localhost:8888/gui/token.html?output=
|
92
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/token.html?output=json
|
95
93
|
body:
|
96
94
|
encoding: US-ASCII
|
97
95
|
string: ''
|
@@ -108,23 +106,23 @@ http_interactions:
|
|
108
106
|
Content-Type:
|
109
107
|
- text/html
|
110
108
|
Set-Cookie:
|
111
|
-
- GUID=
|
109
|
+
- GUID=4SPMbwyczj5QpnN4TVgK; path=/
|
112
110
|
Cache-Control:
|
113
111
|
- no-cache
|
114
112
|
body:
|
115
113
|
encoding: US-ASCII
|
116
|
-
string: <html><div id='token' style='display:none;'>
|
114
|
+
string: <html><div id='token' style='display:none;'>M4LKuYC_h5XARDXKM65wqI-j-h50q4rEvToC5a6cyE6zdfyoiT5-TwTBuFEAAAAA</div></html>
|
117
115
|
http_version:
|
118
|
-
recorded_at:
|
116
|
+
recorded_at: Wed, 12 Jun 2013 18:42:12 GMT
|
119
117
|
- request:
|
120
118
|
method: get
|
121
|
-
uri: http://localhost:8888/gui/?action=getsyncfolders&output=json&token=
|
119
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsyncfolders&output=json&token=M4LKuYC_h5XARDXKM65wqI-j-h50q4rEvToC5a6cyE6zdfyoiT5-TwTBuFEAAAAA
|
122
120
|
body:
|
123
121
|
encoding: US-ASCII
|
124
122
|
string: ''
|
125
123
|
headers:
|
126
124
|
Cookie:
|
127
|
-
- GUID=
|
125
|
+
- GUID=4SPMbwyczj5QpnN4TVgK
|
128
126
|
response:
|
129
127
|
status:
|
130
128
|
code: 200
|
@@ -133,29 +131,28 @@ http_interactions:
|
|
133
131
|
Connection:
|
134
132
|
- keep-alive
|
135
133
|
Content-Length:
|
136
|
-
- '
|
134
|
+
- '294'
|
137
135
|
Content-Type:
|
138
136
|
- application/json; charset=utf-8
|
139
137
|
Cache-Control:
|
140
138
|
- no-cache
|
141
139
|
body:
|
142
140
|
encoding: US-ASCII
|
143
|
-
string: ! '{ "folders": [ { "name": "\/home\/
|
144
|
-
"
|
145
|
-
|
146
|
-
},
|
147
|
-
"size": "0 B in 0 files" } ], "speed": "0.0 kB\/s up, 0.0 kB\/s down" }'
|
141
|
+
string: ! '{ "folders": [ { "name": "\/home\/vagrant", "peers": [ ], "secret":
|
142
|
+
"XEQRSGSJGGNKCTV4UZG2ZPOJRINGDE2C", "size": "54.7 MB in 8 files" }, { "name":
|
143
|
+
"\/tmp", "peers": [ ], "secret": "P34SXCT2FYOBCEALZJIHEMBUO745JRNT", "size":
|
144
|
+
"114.8 kB in 48 files" } ], "speed": "0.0 kB\/s up, 0.0 kB\/s down" }'
|
148
145
|
http_version:
|
149
|
-
recorded_at:
|
146
|
+
recorded_at: Wed, 12 Jun 2013 18:42:12 GMT
|
150
147
|
- request:
|
151
148
|
method: get
|
152
|
-
uri: http://localhost:8888/gui/?action=removefolder&name=/
|
149
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=removefolder&name=/tmp&output=json&secret=P34SXCT2FYOBCEALZJIHEMBUO745JRNT&token=u_MRSC7A_4Y-0yCWDt6uQvH5BzWrWTuCEuU3A8fvQlrsHlXYAZ4cFgPBuFEAAAAA
|
153
150
|
body:
|
154
151
|
encoding: US-ASCII
|
155
152
|
string: ''
|
156
153
|
headers:
|
157
154
|
Cookie:
|
158
|
-
- GUID=
|
155
|
+
- GUID=7Sb1dvknwuyiiKy9xvYv
|
159
156
|
response:
|
160
157
|
status:
|
161
158
|
code: 200
|
@@ -173,5 +170,5 @@ http_interactions:
|
|
173
170
|
encoding: US-ASCII
|
174
171
|
string: ! '{ }'
|
175
172
|
http_version:
|
176
|
-
recorded_at:
|
173
|
+
recorded_at: Wed, 12 Jun 2013 18:42:12 GMT
|
177
174
|
recorded_with: VCR 2.5.0
|