BtSync 0.6.1 → 0.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/Vagrantfile +2 -2
- data/lib/btsync.rb +14 -17
- data/lib/btsync/directory.rb +4 -10
- data/lib/btsync/version.rb +1 -1
- data/spec/BtSync/bt_sync_spec.rb +11 -4
- data/spec/fixtures/cassettes/Remove-Default-Host.yml +57 -3
- data/spec/fixtures/cassettes/Setup-BtSync-Directory.yml +44 -44
- data/spec/fixtures/cassettes/Setup-BtSync.yml +75 -75
- data/spec/fixtures/cassettes/Setup-Directory-Settings.yml +6 -6
- data/spec/fixtures/cassettes/add-folder-list.yml +33 -30
- data/spec/fixtures/cassettes/add-folder.yml +19 -18
- data/spec/fixtures/cassettes/add-known-host.yml +6 -6
- data/spec/fixtures/cassettes/change_download_limit.yml +9 -9
- data/spec/fixtures/cassettes/change_listening_port.yml +9 -9
- data/spec/fixtures/cassettes/change_name.yml +9 -9
- data/spec/fixtures/cassettes/change_secret_custom.yml +8 -8
- data/spec/fixtures/cassettes/change_secret_empty.yml +8 -8
- data/spec/fixtures/cassettes/change_secret_error.yml +3 -3
- data/spec/fixtures/cassettes/change_upload_limit.yml +9 -9
- data/spec/fixtures/cassettes/check_for_new_version.yml +3 -3
- data/spec/fixtures/cassettes/check_is_writable.yml +4 -4
- data/spec/fixtures/cassettes/check_speeds.yml +7 -7
- data/spec/fixtures/cassettes/delete-directory.yml +64 -64
- data/spec/fixtures/cassettes/get-folders.yml +15 -17
- data/spec/fixtures/cassettes/get-os-type.yml +3 -3
- data/spec/fixtures/cassettes/get-peers.yml +6 -6
- data/spec/fixtures/cassettes/get-preferences.yml +24 -24
- data/spec/fixtures/cassettes/get-settings.yml +3 -3
- data/spec/fixtures/cassettes/get_dir.yml +21 -21
- data/spec/fixtures/cassettes/get_read_only_secret.yml +4 -4
- data/spec/fixtures/cassettes/get_version.yml +3 -3
- data/spec/fixtures/cassettes/remove-folder-list.yml +17 -17
- data/spec/fixtures/cassettes/remove-folder.yml +36 -33
- data/spec/fixtures/cassettes/remove-known-host.yml +63 -9
- data/spec/fixtures/cassettes/reset_device_name.yml +9 -9
- data/spec/fixtures/cassettes/reset_download_limit.yml +9 -9
- data/spec/fixtures/cassettes/reset_listening_port.yml +9 -9
- data/spec/fixtures/cassettes/reset_secret.yml +4 -4
- data/spec/fixtures/cassettes/reset_upload_limit.yml +9 -9
- 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 +3 -3
- metadata +2 -2
@@ -19,23 +19,23 @@ http_interactions:
|
|
19
19
|
Content-Type:
|
20
20
|
- text/html
|
21
21
|
Set-Cookie:
|
22
|
-
- GUID=
|
22
|
+
- GUID=oFYzHDyLDjDxa2Fsvn1u; path=/
|
23
23
|
Cache-Control:
|
24
24
|
- no-cache
|
25
25
|
body:
|
26
26
|
encoding: US-ASCII
|
27
|
-
string: <html><div id='token' style='display:none;'>
|
27
|
+
string: <html><div id='token' style='display:none;'>B0bCq8_ggVZpm46h6RDd8Oci5-eBdtA8AwCA4ILnYifTFGgjgDy6mO1Ay1EAAAAA</div></html>
|
28
28
|
http_version:
|
29
|
-
recorded_at:
|
29
|
+
recorded_at: Wed, 26 Jun 2013 19:28:45 GMT
|
30
30
|
- request:
|
31
31
|
method: get
|
32
|
-
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsyncfolders&output=json&token=
|
32
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsyncfolders&output=json&token=B0bCq8_ggVZpm46h6RDd8Oci5-eBdtA8AwCA4ILnYifTFGgjgDy6mO1Ay1EAAAAA
|
33
33
|
body:
|
34
34
|
encoding: US-ASCII
|
35
35
|
string: ''
|
36
36
|
headers:
|
37
37
|
Cookie:
|
38
|
-
- GUID=
|
38
|
+
- GUID=oFYzHDyLDjDxa2Fsvn1u
|
39
39
|
response:
|
40
40
|
status:
|
41
41
|
code: 200
|
@@ -44,7 +44,7 @@ http_interactions:
|
|
44
44
|
Connection:
|
45
45
|
- keep-alive
|
46
46
|
Content-Length:
|
47
|
-
- '
|
47
|
+
- '253'
|
48
48
|
Content-Type:
|
49
49
|
- application/json; charset=utf-8
|
50
50
|
Cache-Control:
|
@@ -52,11 +52,11 @@ http_interactions:
|
|
52
52
|
body:
|
53
53
|
encoding: US-ASCII
|
54
54
|
string: ! '{ "folders": [ { "iswritable": 1, "name": "\/home\/vagrant", "peers":
|
55
|
-
[ ], "readonlysecret": "
|
56
|
-
"size": "
|
55
|
+
[ ], "readonlysecret": "R3DKA7NYWLC67W3EHXH6NHJ3MIEELAH46", "secret": "DOMTXCNDYNP6G5L46ITYPJYMWX6KF5HI",
|
56
|
+
"size": "7.4 MB in 126 files" } ], "speed": "0.0 kB\/s up, 0.0 kB\/s down"
|
57
57
|
}'
|
58
58
|
http_version:
|
59
|
-
recorded_at:
|
59
|
+
recorded_at: Wed, 26 Jun 2013 19:28:45 GMT
|
60
60
|
- request:
|
61
61
|
method: get
|
62
62
|
uri: http://admin:AdminPassword@localhost:8888/gui/token.html?output=json
|
@@ -76,23 +76,23 @@ http_interactions:
|
|
76
76
|
Content-Type:
|
77
77
|
- text/html
|
78
78
|
Set-Cookie:
|
79
|
-
- GUID=
|
79
|
+
- GUID=ldDL2yMxHBsJgJxfMO1R; path=/
|
80
80
|
Cache-Control:
|
81
81
|
- no-cache
|
82
82
|
body:
|
83
83
|
encoding: US-ASCII
|
84
|
-
string: <html><div id='token' style='display:none;'
|
84
|
+
string: <html><div id='token' style='display:none;'>-WMkZ9ovySmOKlsyrndii0YncC3ETeh0yVD8Uho3uPw3uN72xfSqKe1Ay1EAAAAA</div></html>
|
85
85
|
http_version:
|
86
|
-
recorded_at:
|
86
|
+
recorded_at: Wed, 26 Jun 2013 19:28:45 GMT
|
87
87
|
- request:
|
88
88
|
method: get
|
89
|
-
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsyncfolders&output=json&token
|
89
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsyncfolders&output=json&token=-WMkZ9ovySmOKlsyrndii0YncC3ETeh0yVD8Uho3uPw3uN72xfSqKe1Ay1EAAAAA
|
90
90
|
body:
|
91
91
|
encoding: US-ASCII
|
92
92
|
string: ''
|
93
93
|
headers:
|
94
94
|
Cookie:
|
95
|
-
- GUID=
|
95
|
+
- GUID=ldDL2yMxHBsJgJxfMO1R
|
96
96
|
response:
|
97
97
|
status:
|
98
98
|
code: 200
|
@@ -101,7 +101,7 @@ http_interactions:
|
|
101
101
|
Connection:
|
102
102
|
- keep-alive
|
103
103
|
Content-Length:
|
104
|
-
- '
|
104
|
+
- '253'
|
105
105
|
Content-Type:
|
106
106
|
- application/json; charset=utf-8
|
107
107
|
Cache-Control:
|
@@ -109,20 +109,20 @@ http_interactions:
|
|
109
109
|
body:
|
110
110
|
encoding: US-ASCII
|
111
111
|
string: ! '{ "folders": [ { "iswritable": 1, "name": "\/home\/vagrant", "peers":
|
112
|
-
[ ], "readonlysecret": "
|
113
|
-
"size": "
|
112
|
+
[ ], "readonlysecret": "R3DKA7NYWLC67W3EHXH6NHJ3MIEELAH46", "secret": "DOMTXCNDYNP6G5L46ITYPJYMWX6KF5HI",
|
113
|
+
"size": "7.4 MB in 126 files" } ], "speed": "0.0 kB\/s up, 0.0 kB\/s down"
|
114
114
|
}'
|
115
115
|
http_version:
|
116
|
-
recorded_at:
|
116
|
+
recorded_at: Wed, 26 Jun 2013 19:28:45 GMT
|
117
117
|
- request:
|
118
118
|
method: get
|
119
|
-
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsyncfolders&output=json&token=
|
119
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsyncfolders&output=json&token=B0bCq8_ggVZpm46h6RDd8Oci5-eBdtA8AwCA4ILnYifTFGgjgDy6mO1Ay1EAAAAA
|
120
120
|
body:
|
121
121
|
encoding: US-ASCII
|
122
122
|
string: ''
|
123
123
|
headers:
|
124
124
|
Cookie:
|
125
|
-
- GUID=
|
125
|
+
- GUID=oFYzHDyLDjDxa2Fsvn1u
|
126
126
|
response:
|
127
127
|
status:
|
128
128
|
code: 200
|
@@ -131,7 +131,7 @@ http_interactions:
|
|
131
131
|
Connection:
|
132
132
|
- keep-alive
|
133
133
|
Content-Length:
|
134
|
-
- '
|
134
|
+
- '253'
|
135
135
|
Content-Type:
|
136
136
|
- application/json; charset=utf-8
|
137
137
|
Cache-Control:
|
@@ -139,11 +139,11 @@ http_interactions:
|
|
139
139
|
body:
|
140
140
|
encoding: US-ASCII
|
141
141
|
string: ! '{ "folders": [ { "iswritable": 1, "name": "\/home\/vagrant", "peers":
|
142
|
-
[ ], "readonlysecret": "
|
143
|
-
"size": "
|
142
|
+
[ ], "readonlysecret": "R3DKA7NYWLC67W3EHXH6NHJ3MIEELAH46", "secret": "DOMTXCNDYNP6G5L46ITYPJYMWX6KF5HI",
|
143
|
+
"size": "7.4 MB in 126 files" } ], "speed": "0.0 kB\/s up, 0.0 kB\/s down"
|
144
144
|
}'
|
145
145
|
http_version:
|
146
|
-
recorded_at:
|
146
|
+
recorded_at: Wed, 26 Jun 2013 19:28:45 GMT
|
147
147
|
- request:
|
148
148
|
method: get
|
149
149
|
uri: http://admin:AdminPassword@localhost:8888/gui/token.html?output=json
|
@@ -163,23 +163,23 @@ http_interactions:
|
|
163
163
|
Content-Type:
|
164
164
|
- text/html
|
165
165
|
Set-Cookie:
|
166
|
-
- GUID=
|
166
|
+
- GUID=nFp1dsKbtmNcS9d09C4p; path=/
|
167
167
|
Cache-Control:
|
168
168
|
- no-cache
|
169
169
|
body:
|
170
170
|
encoding: US-ASCII
|
171
|
-
string: <html><div id='token' style='display:none;'>
|
171
|
+
string: <html><div id='token' style='display:none;'>9zUjj2PgNEXsn9djHRP0mv899F5uw01L2Jq7rNehqrBbDI_F67Gree1Ay1EAAAAA</div></html>
|
172
172
|
http_version:
|
173
|
-
recorded_at:
|
173
|
+
recorded_at: Wed, 26 Jun 2013 19:28:45 GMT
|
174
174
|
- request:
|
175
175
|
method: get
|
176
|
-
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsyncfolders&output=json&token=
|
176
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsyncfolders&output=json&token=9zUjj2PgNEXsn9djHRP0mv899F5uw01L2Jq7rNehqrBbDI_F67Gree1Ay1EAAAAA
|
177
177
|
body:
|
178
178
|
encoding: US-ASCII
|
179
179
|
string: ''
|
180
180
|
headers:
|
181
181
|
Cookie:
|
182
|
-
- GUID=
|
182
|
+
- GUID=nFp1dsKbtmNcS9d09C4p
|
183
183
|
response:
|
184
184
|
status:
|
185
185
|
code: 200
|
@@ -188,7 +188,7 @@ http_interactions:
|
|
188
188
|
Connection:
|
189
189
|
- keep-alive
|
190
190
|
Content-Length:
|
191
|
-
- '
|
191
|
+
- '253'
|
192
192
|
Content-Type:
|
193
193
|
- application/json; charset=utf-8
|
194
194
|
Cache-Control:
|
@@ -196,20 +196,20 @@ http_interactions:
|
|
196
196
|
body:
|
197
197
|
encoding: US-ASCII
|
198
198
|
string: ! '{ "folders": [ { "iswritable": 1, "name": "\/home\/vagrant", "peers":
|
199
|
-
[ ], "readonlysecret": "
|
200
|
-
"size": "
|
199
|
+
[ ], "readonlysecret": "R3DKA7NYWLC67W3EHXH6NHJ3MIEELAH46", "secret": "DOMTXCNDYNP6G5L46ITYPJYMWX6KF5HI",
|
200
|
+
"size": "7.4 MB in 126 files" } ], "speed": "0.0 kB\/s up, 0.0 kB\/s down"
|
201
201
|
}'
|
202
202
|
http_version:
|
203
|
-
recorded_at:
|
203
|
+
recorded_at: Wed, 26 Jun 2013 19:28:45 GMT
|
204
204
|
- request:
|
205
205
|
method: get
|
206
|
-
uri: http://admin:AdminPassword@localhost:8888/gui/?action=removefolder&name=/home/vagrant&output=json&secret=
|
206
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=removefolder&name=/home/vagrant&output=json&secret=DOMTXCNDYNP6G5L46ITYPJYMWX6KF5HI&token=B0bCq8_ggVZpm46h6RDd8Oci5-eBdtA8AwCA4ILnYifTFGgjgDy6mO1Ay1EAAAAA
|
207
207
|
body:
|
208
208
|
encoding: US-ASCII
|
209
209
|
string: ''
|
210
210
|
headers:
|
211
211
|
Cookie:
|
212
|
-
- GUID=
|
212
|
+
- GUID=oFYzHDyLDjDxa2Fsvn1u
|
213
213
|
response:
|
214
214
|
status:
|
215
215
|
code: 200
|
@@ -227,16 +227,16 @@ http_interactions:
|
|
227
227
|
encoding: US-ASCII
|
228
228
|
string: ! '{ }'
|
229
229
|
http_version:
|
230
|
-
recorded_at:
|
230
|
+
recorded_at: Wed, 26 Jun 2013 19:28:45 GMT
|
231
231
|
- request:
|
232
232
|
method: get
|
233
|
-
uri: http://admin:AdminPassword@localhost:8888/gui/?action=generatesecret&output=json&token=
|
233
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=generatesecret&output=json&token=B0bCq8_ggVZpm46h6RDd8Oci5-eBdtA8AwCA4ILnYifTFGgjgDy6mO1Ay1EAAAAA
|
234
234
|
body:
|
235
235
|
encoding: US-ASCII
|
236
236
|
string: ''
|
237
237
|
headers:
|
238
238
|
Cookie:
|
239
|
-
- GUID=
|
239
|
+
- GUID=oFYzHDyLDjDxa2Fsvn1u
|
240
240
|
response:
|
241
241
|
status:
|
242
242
|
code: 200
|
@@ -252,19 +252,19 @@ http_interactions:
|
|
252
252
|
- no-cache
|
253
253
|
body:
|
254
254
|
encoding: US-ASCII
|
255
|
-
string: ! '{ "rosecret": "
|
255
|
+
string: ! '{ "rosecret": "RUR3WULEQ5RJOTJOZJ475HLBWCGTKUBDL", "secret": "BYDYGCQYU66P5BP23F4ADOCMO5ZGTX7N"
|
256
256
|
}'
|
257
257
|
http_version:
|
258
|
-
recorded_at:
|
258
|
+
recorded_at: Wed, 26 Jun 2013 19:28:45 GMT
|
259
259
|
- request:
|
260
260
|
method: get
|
261
|
-
uri: http://admin:AdminPassword@localhost:8888/gui/?action=addsyncfolder&name=/home/vagrant&output=json&secret=
|
261
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=addsyncfolder&name=/home/vagrant&output=json&secret=BYDYGCQYU66P5BP23F4ADOCMO5ZGTX7N&token=B0bCq8_ggVZpm46h6RDd8Oci5-eBdtA8AwCA4ILnYifTFGgjgDy6mO1Ay1EAAAAA
|
262
262
|
body:
|
263
263
|
encoding: US-ASCII
|
264
264
|
string: ''
|
265
265
|
headers:
|
266
266
|
Cookie:
|
267
|
-
- GUID=
|
267
|
+
- GUID=oFYzHDyLDjDxa2Fsvn1u
|
268
268
|
response:
|
269
269
|
status:
|
270
270
|
code: 200
|
@@ -282,7 +282,7 @@ http_interactions:
|
|
282
282
|
encoding: US-ASCII
|
283
283
|
string: ! '{ "error": 0 }'
|
284
284
|
http_version:
|
285
|
-
recorded_at:
|
285
|
+
recorded_at: Wed, 26 Jun 2013 19:28:46 GMT
|
286
286
|
- request:
|
287
287
|
method: get
|
288
288
|
uri: http://admin:AdminPassword@localhost:8888/gui/token.html?output=json
|
@@ -302,23 +302,23 @@ http_interactions:
|
|
302
302
|
Content-Type:
|
303
303
|
- text/html
|
304
304
|
Set-Cookie:
|
305
|
-
- GUID=
|
305
|
+
- GUID=8qkgOnrrr4LWVoqgOzgt; path=/
|
306
306
|
Cache-Control:
|
307
307
|
- no-cache
|
308
308
|
body:
|
309
309
|
encoding: US-ASCII
|
310
|
-
string: <html><div id='token' style='display:none;'>
|
310
|
+
string: <html><div id='token' style='display:none;'>sCeWD1AG6ORo43snQHm7P3drYMa2kYopofq8G6O0vosh5OqYwWOTxe5Ay1EAAAAA</div></html>
|
311
311
|
http_version:
|
312
|
-
recorded_at:
|
312
|
+
recorded_at: Wed, 26 Jun 2013 19:28:46 GMT
|
313
313
|
- request:
|
314
314
|
method: get
|
315
|
-
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsyncfolders&output=json&token=
|
315
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsyncfolders&output=json&token=sCeWD1AG6ORo43snQHm7P3drYMa2kYopofq8G6O0vosh5OqYwWOTxe5Ay1EAAAAA
|
316
316
|
body:
|
317
317
|
encoding: US-ASCII
|
318
318
|
string: ''
|
319
319
|
headers:
|
320
320
|
Cookie:
|
321
|
-
- GUID=
|
321
|
+
- GUID=8qkgOnrrr4LWVoqgOzgt
|
322
322
|
response:
|
323
323
|
status:
|
324
324
|
code: 200
|
@@ -335,19 +335,19 @@ http_interactions:
|
|
335
335
|
body:
|
336
336
|
encoding: US-ASCII
|
337
337
|
string: ! '{ "folders": [ { "iswritable": 1, "name": "\/home\/vagrant", "peers":
|
338
|
-
[ ], "readonlysecret": "
|
338
|
+
[ ], "readonlysecret": "RUR3WULEQ5RJOTJOZJ475HLBWCGTKUBDL", "secret": "BYDYGCQYU66P5BP23F4ADOCMO5ZGTX7N",
|
339
339
|
"size": "0 B in 0 files" } ], "speed": "0.0 kB\/s up, 0.0 kB\/s down" }'
|
340
340
|
http_version:
|
341
|
-
recorded_at:
|
341
|
+
recorded_at: Wed, 26 Jun 2013 19:28:46 GMT
|
342
342
|
- request:
|
343
343
|
method: get
|
344
|
-
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsettings&output=json&token=
|
344
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsettings&output=json&token=B0bCq8_ggVZpm46h6RDd8Oci5-eBdtA8AwCA4ILnYifTFGgjgDy6mO1Ay1EAAAAA
|
345
345
|
body:
|
346
346
|
encoding: US-ASCII
|
347
347
|
string: ''
|
348
348
|
headers:
|
349
349
|
Cookie:
|
350
|
-
- GUID=
|
350
|
+
- GUID=oFYzHDyLDjDxa2Fsvn1u
|
351
351
|
response:
|
352
352
|
status:
|
353
353
|
code: 200
|
@@ -356,26 +356,26 @@ http_interactions:
|
|
356
356
|
Connection:
|
357
357
|
- keep-alive
|
358
358
|
Content-Length:
|
359
|
-
- '
|
359
|
+
- '129'
|
360
360
|
Content-Type:
|
361
361
|
- application/json; charset=utf-8
|
362
362
|
Cache-Control:
|
363
363
|
- no-cache
|
364
364
|
body:
|
365
365
|
encoding: US-ASCII
|
366
|
-
string: ! '{ "settings": { "devicename": "
|
367
|
-
0, "listeningport":
|
366
|
+
string: ! '{ "settings": { "devicename": "ubuntu - Default Instance", "dlrate":
|
367
|
+
0, "listeningport": 30348, "portmapping": 0, "ulrate": 0 } }'
|
368
368
|
http_version:
|
369
|
-
recorded_at:
|
369
|
+
recorded_at: Wed, 26 Jun 2013 19:28:46 GMT
|
370
370
|
- request:
|
371
371
|
method: get
|
372
|
-
uri: http://admin:AdminPassword@localhost:8888/gui/?action=setsettings&devicename=
|
372
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=setsettings&devicename=ubuntu%20-%20Default%20Instance&dlrate=0&listeningport=63754&output=json&portmapping=0&token=B0bCq8_ggVZpm46h6RDd8Oci5-eBdtA8AwCA4ILnYifTFGgjgDy6mO1Ay1EAAAAA&ulrate=0
|
373
373
|
body:
|
374
374
|
encoding: US-ASCII
|
375
375
|
string: ''
|
376
376
|
headers:
|
377
377
|
Cookie:
|
378
|
-
- GUID=
|
378
|
+
- GUID=oFYzHDyLDjDxa2Fsvn1u
|
379
379
|
response:
|
380
380
|
status:
|
381
381
|
code: 200
|
@@ -393,16 +393,16 @@ http_interactions:
|
|
393
393
|
encoding: US-ASCII
|
394
394
|
string: ! '{ }'
|
395
395
|
http_version:
|
396
|
-
recorded_at:
|
396
|
+
recorded_at: Wed, 26 Jun 2013 19:28:46 GMT
|
397
397
|
- request:
|
398
398
|
method: get
|
399
|
-
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsettings&output=json&token=
|
399
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsettings&output=json&token=B0bCq8_ggVZpm46h6RDd8Oci5-eBdtA8AwCA4ILnYifTFGgjgDy6mO1Ay1EAAAAA
|
400
400
|
body:
|
401
401
|
encoding: US-ASCII
|
402
402
|
string: ''
|
403
403
|
headers:
|
404
404
|
Cookie:
|
405
|
-
- GUID=
|
405
|
+
- GUID=oFYzHDyLDjDxa2Fsvn1u
|
406
406
|
response:
|
407
407
|
status:
|
408
408
|
code: 200
|
@@ -411,26 +411,26 @@ http_interactions:
|
|
411
411
|
Connection:
|
412
412
|
- keep-alive
|
413
413
|
Content-Length:
|
414
|
-
- '
|
414
|
+
- '129'
|
415
415
|
Content-Type:
|
416
416
|
- application/json; charset=utf-8
|
417
417
|
Cache-Control:
|
418
418
|
- no-cache
|
419
419
|
body:
|
420
420
|
encoding: US-ASCII
|
421
|
-
string: ! '{ "settings": { "devicename": "
|
421
|
+
string: ! '{ "settings": { "devicename": "ubuntu - Default Instance", "dlrate":
|
422
422
|
0, "listeningport": 63754, "portmapping": 0, "ulrate": 0 } }'
|
423
423
|
http_version:
|
424
|
-
recorded_at:
|
424
|
+
recorded_at: Wed, 26 Jun 2013 19:28:46 GMT
|
425
425
|
- request:
|
426
426
|
method: get
|
427
|
-
uri: http://admin:AdminPassword@localhost:8888/gui/?action=setsettings&devicename=
|
427
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=setsettings&devicename=ubuntu%20-%20Default%20Instance&dlrate=0&listeningport=63754&output=json&portmapping=0&token=B0bCq8_ggVZpm46h6RDd8Oci5-eBdtA8AwCA4ILnYifTFGgjgDy6mO1Ay1EAAAAA&ulrate=0
|
428
428
|
body:
|
429
429
|
encoding: US-ASCII
|
430
430
|
string: ''
|
431
431
|
headers:
|
432
432
|
Cookie:
|
433
|
-
- GUID=
|
433
|
+
- GUID=oFYzHDyLDjDxa2Fsvn1u
|
434
434
|
response:
|
435
435
|
status:
|
436
436
|
code: 200
|
@@ -448,16 +448,16 @@ http_interactions:
|
|
448
448
|
encoding: US-ASCII
|
449
449
|
string: ! '{ }'
|
450
450
|
http_version:
|
451
|
-
recorded_at:
|
451
|
+
recorded_at: Wed, 26 Jun 2013 19:28:46 GMT
|
452
452
|
- request:
|
453
453
|
method: get
|
454
|
-
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsettings&output=json&token=
|
454
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=getsettings&output=json&token=B0bCq8_ggVZpm46h6RDd8Oci5-eBdtA8AwCA4ILnYifTFGgjgDy6mO1Ay1EAAAAA
|
455
455
|
body:
|
456
456
|
encoding: US-ASCII
|
457
457
|
string: ''
|
458
458
|
headers:
|
459
459
|
Cookie:
|
460
|
-
- GUID=
|
460
|
+
- GUID=oFYzHDyLDjDxa2Fsvn1u
|
461
461
|
response:
|
462
462
|
status:
|
463
463
|
code: 200
|
@@ -466,26 +466,26 @@ http_interactions:
|
|
466
466
|
Connection:
|
467
467
|
- keep-alive
|
468
468
|
Content-Length:
|
469
|
-
- '
|
469
|
+
- '129'
|
470
470
|
Content-Type:
|
471
471
|
- application/json; charset=utf-8
|
472
472
|
Cache-Control:
|
473
473
|
- no-cache
|
474
474
|
body:
|
475
475
|
encoding: US-ASCII
|
476
|
-
string: ! '{ "settings": { "devicename": "
|
476
|
+
string: ! '{ "settings": { "devicename": "ubuntu - Default Instance", "dlrate":
|
477
477
|
0, "listeningport": 63754, "portmapping": 0, "ulrate": 0 } }'
|
478
478
|
http_version:
|
479
|
-
recorded_at:
|
479
|
+
recorded_at: Wed, 26 Jun 2013 19:28:46 GMT
|
480
480
|
- request:
|
481
481
|
method: get
|
482
|
-
uri: http://admin:AdminPassword@localhost:8888/gui/?action=setsettings&devicename=precise32%20-%20Default%20Instance&dlrate=0&listeningport=63754&output=json&portmapping=0&token=
|
482
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=setsettings&devicename=precise32%20-%20Default%20Instance&dlrate=0&listeningport=63754&output=json&portmapping=0&token=B0bCq8_ggVZpm46h6RDd8Oci5-eBdtA8AwCA4ILnYifTFGgjgDy6mO1Ay1EAAAAA&ulrate=0
|
483
483
|
body:
|
484
484
|
encoding: US-ASCII
|
485
485
|
string: ''
|
486
486
|
headers:
|
487
487
|
Cookie:
|
488
|
-
- GUID=
|
488
|
+
- GUID=oFYzHDyLDjDxa2Fsvn1u
|
489
489
|
response:
|
490
490
|
status:
|
491
491
|
code: 200
|
@@ -503,5 +503,5 @@ http_interactions:
|
|
503
503
|
encoding: US-ASCII
|
504
504
|
string: ! '{ }'
|
505
505
|
http_version:
|
506
|
-
recorded_at:
|
506
|
+
recorded_at: Wed, 26 Jun 2013 19:28:46 GMT
|
507
507
|
recorded_with: VCR 2.5.0
|
@@ -2,13 +2,13 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: http://admin:AdminPassword@localhost:8888/gui/?action=setfolderpref&deletetotrash=1&name=/home/vagrant&output=json&relay=1&searchdht=0&searchlan=1&secret=
|
5
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=setfolderpref&deletetotrash=1&name=/home/vagrant&output=json&relay=1&searchdht=0&searchlan=1&secret=BYDYGCQYU66P5BP23F4ADOCMO5ZGTX7N&token=5OZrwPiPN0PWLLTgTaxBVnXNFGtpvNkFJqM_K86x7E4bbYq2Rz8lnvJAy1EAAAAA&usehosts=1&usetracker=1
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
Cookie:
|
11
|
-
- GUID=
|
11
|
+
- GUID=aLbVst8axvY3uaWPU5gh
|
12
12
|
response:
|
13
13
|
status:
|
14
14
|
code: 200
|
@@ -26,16 +26,16 @@ http_interactions:
|
|
26
26
|
encoding: US-ASCII
|
27
27
|
string: ! '{ }'
|
28
28
|
http_version:
|
29
|
-
recorded_at:
|
29
|
+
recorded_at: Wed, 26 Jun 2013 19:28:50 GMT
|
30
30
|
- request:
|
31
31
|
method: get
|
32
|
-
uri: http://admin:AdminPassword@localhost:8888/gui/?action=addknownhosts&addr=192.168.1.5&name=/home/vagrant&output=json&port=45685&secret=
|
32
|
+
uri: http://admin:AdminPassword@localhost:8888/gui/?action=addknownhosts&addr=192.168.1.5&name=/home/vagrant&output=json&port=45685&secret=BYDYGCQYU66P5BP23F4ADOCMO5ZGTX7N&token=5OZrwPiPN0PWLLTgTaxBVnXNFGtpvNkFJqM_K86x7E4bbYq2Rz8lnvJAy1EAAAAA
|
33
33
|
body:
|
34
34
|
encoding: US-ASCII
|
35
35
|
string: ''
|
36
36
|
headers:
|
37
37
|
Cookie:
|
38
|
-
- GUID=
|
38
|
+
- GUID=aLbVst8axvY3uaWPU5gh
|
39
39
|
response:
|
40
40
|
status:
|
41
41
|
code: 200
|
@@ -53,5 +53,5 @@ http_interactions:
|
|
53
53
|
encoding: US-ASCII
|
54
54
|
string: ! '{ }'
|
55
55
|
http_version:
|
56
|
-
recorded_at:
|
56
|
+
recorded_at: Wed, 26 Jun 2013 19:28:50 GMT
|
57
57
|
recorded_with: VCR 2.5.0
|