files.com 1.0.70 → 1.0.75
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/Gemfile.lock +82 -0
- data/_VERSION +1 -1
- data/docs/bundle.md +13 -3
- data/docs/clickwrap.md +143 -0
- data/docs/remote_server.md +53 -4
- data/docs/site.md +4 -0
- data/docs/user.md +8 -0
- data/files.com.gemspec +3 -3
- data/lib/files.com.rb +2 -1
- data/lib/files.com/models/behavior.rb +2 -2
- data/lib/files.com/models/bundle.rb +24 -0
- data/lib/files.com/models/clickwrap.rb +197 -0
- data/lib/files.com/models/file.rb +4 -4
- data/lib/files.com/models/file_action.rb +3 -1
- data/lib/files.com/models/folder.rb +1 -0
- data/lib/files.com/models/remote_server.rb +114 -0
- data/lib/files.com/models/session.rb +1 -0
- data/lib/files.com/models/site.rb +7 -0
- data/lib/files.com/models/user.rb +15 -0
- data/lib/files.com/sizable_io.rb +2 -2
- data/spec/spec_helper.rb +1 -3
- data/test/test.rb +1 -1
- metadata +18 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4e2a6520ef9479c777f51d37952731010b36853d48689a0bbc5709b335d0a3d2
|
4
|
+
data.tar.gz: 206b9bcf98ff21c55323c5aa11ca0484a169b296049cbbd47b6bcc59e01f44e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b412285db5b0b86422a96528e84a20f63fea5c8d7179e9ed9aa5cd2254246aa6c23aa7da757cd08ac8854659f24ab211e93a3428b4da2e0cffdb09fefce9edd8
|
7
|
+
data.tar.gz: d32fe9ba666a77ec11f4ec4b46e7c1cad7ae48b5911a817bfa43e47d2426bed60c167ff7786ab16ef53313ad68d2ea49dce714bc0eb532236fa6d038fd9eb449
|
data/Gemfile
CHANGED
data/Gemfile.lock
ADDED
@@ -0,0 +1,82 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
files.com (1.0)
|
5
|
+
addressable (>= 2.7.0)
|
6
|
+
concurrent-ruby (>= 1.1.3)
|
7
|
+
faraday (>= 1.0.1)
|
8
|
+
net-http-persistent
|
9
|
+
|
10
|
+
GEM
|
11
|
+
remote: https://rubygems.org/
|
12
|
+
specs:
|
13
|
+
addressable (2.7.0)
|
14
|
+
public_suffix (>= 2.0.2, < 5.0)
|
15
|
+
ast (2.4.1)
|
16
|
+
byebug (11.1.3)
|
17
|
+
coderay (1.1.2)
|
18
|
+
concurrent-ruby (1.1.6)
|
19
|
+
connection_pool (2.2.3)
|
20
|
+
diff-lcs (1.3)
|
21
|
+
faraday (1.0.1)
|
22
|
+
multipart-post (>= 1.2, < 3)
|
23
|
+
memory_profiler (0.9.14)
|
24
|
+
method_source (1.0.0)
|
25
|
+
multipart-post (2.1.1)
|
26
|
+
net-http-persistent (4.0.0)
|
27
|
+
connection_pool (~> 2.2)
|
28
|
+
parallel (1.19.2)
|
29
|
+
parser (2.7.1.4)
|
30
|
+
ast (~> 2.4.1)
|
31
|
+
pry (0.13.1)
|
32
|
+
coderay (~> 1.1)
|
33
|
+
method_source (~> 1.0)
|
34
|
+
pry-byebug (3.9.0)
|
35
|
+
byebug (~> 11.0)
|
36
|
+
pry (~> 0.13.0)
|
37
|
+
public_suffix (4.0.5)
|
38
|
+
rainbow (3.0.0)
|
39
|
+
rake (12.0.0)
|
40
|
+
regexp_parser (1.7.1)
|
41
|
+
rexml (3.2.4)
|
42
|
+
rspec (3.9.0)
|
43
|
+
rspec-core (~> 3.9.0)
|
44
|
+
rspec-expectations (~> 3.9.0)
|
45
|
+
rspec-mocks (~> 3.9.0)
|
46
|
+
rspec-core (3.9.1)
|
47
|
+
rspec-support (~> 3.9.1)
|
48
|
+
rspec-expectations (3.9.0)
|
49
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
50
|
+
rspec-support (~> 3.9.0)
|
51
|
+
rspec-mocks (3.9.1)
|
52
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
53
|
+
rspec-support (~> 3.9.0)
|
54
|
+
rspec-support (3.9.3)
|
55
|
+
rubocop (0.85.1)
|
56
|
+
parallel (~> 1.10)
|
57
|
+
parser (>= 2.7.0.1)
|
58
|
+
rainbow (>= 2.2.2, < 4.0)
|
59
|
+
regexp_parser (>= 1.7)
|
60
|
+
rexml
|
61
|
+
rubocop-ast (>= 0.0.3)
|
62
|
+
ruby-progressbar (~> 1.7)
|
63
|
+
unicode-display_width (>= 1.4.0, < 2.0)
|
64
|
+
rubocop-ast (0.0.3)
|
65
|
+
parser (>= 2.7.0.1)
|
66
|
+
ruby-progressbar (1.10.1)
|
67
|
+
unicode-display_width (1.7.0)
|
68
|
+
|
69
|
+
PLATFORMS
|
70
|
+
ruby
|
71
|
+
|
72
|
+
DEPENDENCIES
|
73
|
+
files.com!
|
74
|
+
memory_profiler
|
75
|
+
pry
|
76
|
+
pry-byebug
|
77
|
+
rake (~> 12.0.0)
|
78
|
+
rspec (~> 3.9.0)
|
79
|
+
rubocop
|
80
|
+
|
81
|
+
BUNDLED WITH
|
82
|
+
2.1.4
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.75
|
data/docs/bundle.md
CHANGED
@@ -9,12 +9,14 @@
|
|
9
9
|
"description": "The public description of the bundle.",
|
10
10
|
"password_protected": true,
|
11
11
|
"require_registration": true,
|
12
|
+
"clickwrap_body": "[Legal text]",
|
12
13
|
"id": 1,
|
13
14
|
"created_at": "2000-01-01T01:00:00Z",
|
14
15
|
"expires_at": "2000-01-01T01:00:00Z",
|
15
16
|
"note": "The internal note on the bundle.",
|
16
17
|
"user_id": 1,
|
17
18
|
"username": "user",
|
19
|
+
"clickwrap_id": 1,
|
18
20
|
"paths": [
|
19
21
|
|
20
22
|
]
|
@@ -26,12 +28,14 @@
|
|
26
28
|
* `description` (string): Public description
|
27
29
|
* `password_protected` (boolean): Is this bundle password protected?
|
28
30
|
* `require_registration` (boolean): Show a registration page that captures the downloader's name and email address?
|
31
|
+
* `clickwrap_body` (string): Legal text that must be agreed to prior to accessing Bundle.
|
29
32
|
* `id` (int64): Bundle ID
|
30
33
|
* `created_at` (date-time): Bundle created at date/time
|
31
34
|
* `expires_at` (date-time): Bundle expiration date/time
|
32
35
|
* `note` (string): Bundle internal note
|
33
36
|
* `user_id` (int64): Bundle creator user ID
|
34
37
|
* `username` (string): Bundle creator username
|
38
|
+
* `clickwrap_id` (int64): ID of the clickwrap to use with this bundle.
|
35
39
|
* `paths` (array): A list of paths in this bundle
|
36
40
|
* `password` (string): Password for this bundle.
|
37
41
|
|
@@ -82,7 +86,8 @@ Files::Bundle.create(
|
|
82
86
|
description: "The public description of the bundle.",
|
83
87
|
note: "The internal note on the bundle.",
|
84
88
|
code: "abc123",
|
85
|
-
require_registration: true
|
89
|
+
require_registration: true,
|
90
|
+
clickwrap_id: 1
|
86
91
|
)
|
87
92
|
```
|
88
93
|
|
@@ -96,6 +101,7 @@ Files::Bundle.create(
|
|
96
101
|
* `note` (string): Bundle internal note
|
97
102
|
* `code` (string): Bundle code. This code forms the end part of the Public URL.
|
98
103
|
* `require_registration` (boolean): Show a registration page that captures the downloader's name and email address?
|
104
|
+
* `clickwrap_id` (int64): ID of the clickwrap to use with this bundle.
|
99
105
|
|
100
106
|
|
101
107
|
---
|
@@ -127,7 +133,8 @@ Files::Bundle.update(id,
|
|
127
133
|
description: "The public description of the bundle.",
|
128
134
|
note: "The internal note on the bundle.",
|
129
135
|
code: "abc123",
|
130
|
-
require_registration: true
|
136
|
+
require_registration: true,
|
137
|
+
clickwrap_id: 1
|
131
138
|
)
|
132
139
|
```
|
133
140
|
|
@@ -140,6 +147,7 @@ Files::Bundle.update(id,
|
|
140
147
|
* `note` (string): Bundle internal note
|
141
148
|
* `code` (string): Bundle code. This code forms the end part of the Public URL.
|
142
149
|
* `require_registration` (boolean): Show a registration page that captures the downloader's name and email address?
|
150
|
+
* `clickwrap_id` (int64): ID of the clickwrap to use with this bundle.
|
143
151
|
|
144
152
|
|
145
153
|
---
|
@@ -188,7 +196,8 @@ bundle.update(
|
|
188
196
|
description: "The public description of the bundle.",
|
189
197
|
note: "The internal note on the bundle.",
|
190
198
|
code: "abc123",
|
191
|
-
require_registration: true
|
199
|
+
require_registration: true,
|
200
|
+
clickwrap_id: 1
|
192
201
|
)
|
193
202
|
```
|
194
203
|
|
@@ -201,6 +210,7 @@ bundle.update(
|
|
201
210
|
* `note` (string): Bundle internal note
|
202
211
|
* `code` (string): Bundle code. This code forms the end part of the Public URL.
|
203
212
|
* `require_registration` (boolean): Show a registration page that captures the downloader's name and email address?
|
213
|
+
* `clickwrap_id` (int64): ID of the clickwrap to use with this bundle.
|
204
214
|
|
205
215
|
|
206
216
|
---
|
data/docs/clickwrap.md
ADDED
@@ -0,0 +1,143 @@
|
|
1
|
+
# Clickwrap
|
2
|
+
|
3
|
+
## Example Clickwrap Object
|
4
|
+
|
5
|
+
```
|
6
|
+
{
|
7
|
+
"name": "Example Site NDA for Files.com Use",
|
8
|
+
"body": "[Legal body text]",
|
9
|
+
"use_with_users": "",
|
10
|
+
"use_with_bundles": "",
|
11
|
+
"use_with_inboxes": ""
|
12
|
+
}
|
13
|
+
```
|
14
|
+
|
15
|
+
* `name` (string): Name of the Clickwrap agreement (used when selecting from multiple Clickwrap agreements.)
|
16
|
+
* `body` (string): Body text of Clickwrap (supports Markdown formatting).
|
17
|
+
* `use_with_users` (string): Use this Clickwrap for User Registrations? Note: This only applies to User Registrations where the User is invited to your Files.com site using an E-Mail invitation process where they then set their own password.
|
18
|
+
* `use_with_bundles` (string): Use this Clickwrap for Bundles?
|
19
|
+
* `use_with_inboxes` (string): Use this Clickwrap for Inboxes?
|
20
|
+
* `id` (int64): Clickwrap ID.
|
21
|
+
|
22
|
+
|
23
|
+
---
|
24
|
+
|
25
|
+
## List Clickwraps
|
26
|
+
|
27
|
+
```
|
28
|
+
Files::Clickwrap.list(
|
29
|
+
page: 1,
|
30
|
+
per_page: 1
|
31
|
+
)
|
32
|
+
```
|
33
|
+
|
34
|
+
### Parameters
|
35
|
+
|
36
|
+
* `page` (int64): Current page number.
|
37
|
+
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
38
|
+
* `action` (string): Deprecated: If set to `count` returns a count of matching records rather than the records themselves.
|
39
|
+
|
40
|
+
|
41
|
+
---
|
42
|
+
|
43
|
+
## Show Clickwrap
|
44
|
+
|
45
|
+
```
|
46
|
+
Files::Clickwrap.find(id)
|
47
|
+
```
|
48
|
+
|
49
|
+
### Parameters
|
50
|
+
|
51
|
+
* `id` (int64): Required - Clickwrap ID.
|
52
|
+
|
53
|
+
|
54
|
+
---
|
55
|
+
|
56
|
+
## Create Clickwrap
|
57
|
+
|
58
|
+
```
|
59
|
+
Files::Clickwrap.create(
|
60
|
+
name: "Example Site NDA for Files.com Use",
|
61
|
+
body: "[Legal body text]"
|
62
|
+
)
|
63
|
+
```
|
64
|
+
|
65
|
+
### Parameters
|
66
|
+
|
67
|
+
* `name` (string): Name of the Clickwrap agreement (used when selecting from multiple Clickwrap agreements.)
|
68
|
+
* `body` (string): Body text of Clickwrap (supports Markdown formatting).
|
69
|
+
* `use_with_bundles` (string): Use this Clickwrap for Bundles?
|
70
|
+
* `use_with_inboxes` (string): Use this Clickwrap for Inboxes?
|
71
|
+
* `use_with_users` (string): Use this Clickwrap for User Registrations? Note: This only applies to User Registrations where the User is invited to your Files.com site using an E-Mail invitation process where they then set their own password.
|
72
|
+
|
73
|
+
|
74
|
+
---
|
75
|
+
|
76
|
+
## Update Clickwrap
|
77
|
+
|
78
|
+
```
|
79
|
+
Files::Clickwrap.update(id,
|
80
|
+
name: "Example Site NDA for Files.com Use",
|
81
|
+
body: "[Legal body text]"
|
82
|
+
)
|
83
|
+
```
|
84
|
+
|
85
|
+
### Parameters
|
86
|
+
|
87
|
+
* `id` (int64): Required - Clickwrap ID.
|
88
|
+
* `name` (string): Name of the Clickwrap agreement (used when selecting from multiple Clickwrap agreements.)
|
89
|
+
* `body` (string): Body text of Clickwrap (supports Markdown formatting).
|
90
|
+
* `use_with_bundles` (string): Use this Clickwrap for Bundles?
|
91
|
+
* `use_with_inboxes` (string): Use this Clickwrap for Inboxes?
|
92
|
+
* `use_with_users` (string): Use this Clickwrap for User Registrations? Note: This only applies to User Registrations where the User is invited to your Files.com site using an E-Mail invitation process where they then set their own password.
|
93
|
+
|
94
|
+
|
95
|
+
---
|
96
|
+
|
97
|
+
## Delete Clickwrap
|
98
|
+
|
99
|
+
```
|
100
|
+
Files::Clickwrap.delete(id)
|
101
|
+
```
|
102
|
+
|
103
|
+
### Parameters
|
104
|
+
|
105
|
+
* `id` (int64): Required - Clickwrap ID.
|
106
|
+
|
107
|
+
|
108
|
+
---
|
109
|
+
|
110
|
+
## Update Clickwrap
|
111
|
+
|
112
|
+
```
|
113
|
+
clickwrap = Files::Clickwrap.list_for(path).first
|
114
|
+
|
115
|
+
clickwrap.update(
|
116
|
+
name: "Example Site NDA for Files.com Use",
|
117
|
+
body: "[Legal body text]"
|
118
|
+
)
|
119
|
+
```
|
120
|
+
|
121
|
+
### Parameters
|
122
|
+
|
123
|
+
* `id` (int64): Required - Clickwrap ID.
|
124
|
+
* `name` (string): Name of the Clickwrap agreement (used when selecting from multiple Clickwrap agreements.)
|
125
|
+
* `body` (string): Body text of Clickwrap (supports Markdown formatting).
|
126
|
+
* `use_with_bundles` (string): Use this Clickwrap for Bundles?
|
127
|
+
* `use_with_inboxes` (string): Use this Clickwrap for Inboxes?
|
128
|
+
* `use_with_users` (string): Use this Clickwrap for User Registrations? Note: This only applies to User Registrations where the User is invited to your Files.com site using an E-Mail invitation process where they then set their own password.
|
129
|
+
|
130
|
+
|
131
|
+
---
|
132
|
+
|
133
|
+
## Delete Clickwrap
|
134
|
+
|
135
|
+
```
|
136
|
+
clickwrap = Files::Clickwrap.list_for(path).first
|
137
|
+
|
138
|
+
clickwrap.delete
|
139
|
+
```
|
140
|
+
|
141
|
+
### Parameters
|
142
|
+
|
143
|
+
* `id` (int64): Required - Clickwrap ID.
|
data/docs/remote_server.md
CHANGED
@@ -22,7 +22,14 @@
|
|
22
22
|
"backblaze_b2_s3_endpoint": "s3.us-west-001.backblazeb2.com",
|
23
23
|
"backblaze_b2_bucket": "my-bucket",
|
24
24
|
"wasabi_bucket": "us-west-1",
|
25
|
-
"wasabi_region": "my-bucket"
|
25
|
+
"wasabi_region": "my-bucket",
|
26
|
+
"rackspace_username": "rackspaceuser",
|
27
|
+
"rackspace_region": "dfw",
|
28
|
+
"rackspace_container": "my-container",
|
29
|
+
"auth_setup_link": "auth/:provider",
|
30
|
+
"auth_status": "in_setup",
|
31
|
+
"auth_account_name": "me@example.com",
|
32
|
+
"one_drive_account_type": "personnel"
|
26
33
|
}
|
27
34
|
```
|
28
35
|
|
@@ -45,6 +52,13 @@
|
|
45
52
|
* `backblaze_b2_bucket` (string): Backblaze B2 Cloud Storage Bucket name
|
46
53
|
* `wasabi_bucket` (string): Wasabi region
|
47
54
|
* `wasabi_region` (string): Wasabi Bucket name
|
55
|
+
* `rackspace_username` (string): Rackspace username used to login to the Rackspace Cloud Control Panel.
|
56
|
+
* `rackspace_region` (string): Three letter airport code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
|
57
|
+
* `rackspace_container` (string): The name of the container (top level directory) where files will sync.
|
58
|
+
* `auth_setup_link` (string): Returns link to login with an Oauth provider
|
59
|
+
* `auth_status` (string): Either `in_setup` or `complete`
|
60
|
+
* `auth_account_name` (string): Describes the authorized account
|
61
|
+
* `one_drive_account_type` (string): Either personnel or business_other account types
|
48
62
|
* `aws_access_key` (string): AWS Access Key.
|
49
63
|
* `aws_secret_key` (string): AWS secret key.
|
50
64
|
* `password` (string): Password if needed.
|
@@ -54,6 +68,8 @@
|
|
54
68
|
* `wasabi_secret_key` (string): Wasabi secret key.
|
55
69
|
* `backblaze_b2_key_id` (string): Backblaze B2 Cloud Storage keyID.
|
56
70
|
* `backblaze_b2_application_key` (string): Backblaze B2 Cloud Storage applicationKey.
|
71
|
+
* `rackspace_api_key` (string): Rackspace API key from the Rackspace Cloud Control Panel.
|
72
|
+
* `reset_authentication` (boolean): Reset authenticated account
|
57
73
|
|
58
74
|
|
59
75
|
---
|
@@ -93,6 +109,7 @@ Files::RemoteServer.find(id)
|
|
93
109
|
|
94
110
|
```
|
95
111
|
Files::RemoteServer.create(
|
112
|
+
reset_authentication: true,
|
96
113
|
hostname: "remote-server.com",
|
97
114
|
name: "My Remote server",
|
98
115
|
max_connections: 1,
|
@@ -109,7 +126,11 @@ Files::RemoteServer.create(
|
|
109
126
|
backblaze_b2_bucket: "my-bucket",
|
110
127
|
backblaze_b2_s3_endpoint: "s3.us-west-001.backblazeb2.com",
|
111
128
|
wasabi_bucket: "us-west-1",
|
112
|
-
wasabi_region: "my-bucket"
|
129
|
+
wasabi_region: "my-bucket",
|
130
|
+
rackspace_username: "rackspaceuser",
|
131
|
+
rackspace_region: "dfw",
|
132
|
+
rackspace_container: "my-container",
|
133
|
+
one_drive_account_type: "personnel"
|
113
134
|
)
|
114
135
|
```
|
115
136
|
|
@@ -124,6 +145,8 @@ Files::RemoteServer.create(
|
|
124
145
|
* `wasabi_secret_key` (string): Wasabi secret key.
|
125
146
|
* `backblaze_b2_key_id` (string): Backblaze B2 Cloud Storage keyID.
|
126
147
|
* `backblaze_b2_application_key` (string): Backblaze B2 Cloud Storage applicationKey.
|
148
|
+
* `rackspace_api_key` (string): Rackspace API key from the Rackspace Cloud Control Panel.
|
149
|
+
* `reset_authentication` (boolean): Reset authenticated account
|
127
150
|
* `hostname` (string): Hostname or IP address
|
128
151
|
* `name` (string): Internal name for your reference
|
129
152
|
* `max_connections` (int64): Max number of parallel connections. Ignored for S3 connections (we will parallelize these as much as possible).
|
@@ -141,6 +164,10 @@ Files::RemoteServer.create(
|
|
141
164
|
* `backblaze_b2_s3_endpoint` (string): Backblaze B2 Cloud Storage S3 Endpoint
|
142
165
|
* `wasabi_bucket` (string): Wasabi region
|
143
166
|
* `wasabi_region` (string): Wasabi Bucket name
|
167
|
+
* `rackspace_username` (string): Rackspace username used to login to the Rackspace Cloud Control Panel.
|
168
|
+
* `rackspace_region` (string): Three letter airport code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
|
169
|
+
* `rackspace_container` (string): The name of the container (top level directory) where files will sync.
|
170
|
+
* `one_drive_account_type` (string): Either personnel or business_other account types
|
144
171
|
|
145
172
|
|
146
173
|
---
|
@@ -149,6 +176,7 @@ Files::RemoteServer.create(
|
|
149
176
|
|
150
177
|
```
|
151
178
|
Files::RemoteServer.update(id,
|
179
|
+
reset_authentication: true,
|
152
180
|
hostname: "remote-server.com",
|
153
181
|
name: "My Remote server",
|
154
182
|
max_connections: 1,
|
@@ -165,7 +193,11 @@ Files::RemoteServer.update(id,
|
|
165
193
|
backblaze_b2_bucket: "my-bucket",
|
166
194
|
backblaze_b2_s3_endpoint: "s3.us-west-001.backblazeb2.com",
|
167
195
|
wasabi_bucket: "us-west-1",
|
168
|
-
wasabi_region: "my-bucket"
|
196
|
+
wasabi_region: "my-bucket",
|
197
|
+
rackspace_username: "rackspaceuser",
|
198
|
+
rackspace_region: "dfw",
|
199
|
+
rackspace_container: "my-container",
|
200
|
+
one_drive_account_type: "personnel"
|
169
201
|
)
|
170
202
|
```
|
171
203
|
|
@@ -181,6 +213,8 @@ Files::RemoteServer.update(id,
|
|
181
213
|
* `wasabi_secret_key` (string): Wasabi secret key.
|
182
214
|
* `backblaze_b2_key_id` (string): Backblaze B2 Cloud Storage keyID.
|
183
215
|
* `backblaze_b2_application_key` (string): Backblaze B2 Cloud Storage applicationKey.
|
216
|
+
* `rackspace_api_key` (string): Rackspace API key from the Rackspace Cloud Control Panel.
|
217
|
+
* `reset_authentication` (boolean): Reset authenticated account
|
184
218
|
* `hostname` (string): Hostname or IP address
|
185
219
|
* `name` (string): Internal name for your reference
|
186
220
|
* `max_connections` (int64): Max number of parallel connections. Ignored for S3 connections (we will parallelize these as much as possible).
|
@@ -198,6 +232,10 @@ Files::RemoteServer.update(id,
|
|
198
232
|
* `backblaze_b2_s3_endpoint` (string): Backblaze B2 Cloud Storage S3 Endpoint
|
199
233
|
* `wasabi_bucket` (string): Wasabi region
|
200
234
|
* `wasabi_region` (string): Wasabi Bucket name
|
235
|
+
* `rackspace_username` (string): Rackspace username used to login to the Rackspace Cloud Control Panel.
|
236
|
+
* `rackspace_region` (string): Three letter airport code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
|
237
|
+
* `rackspace_container` (string): The name of the container (top level directory) where files will sync.
|
238
|
+
* `one_drive_account_type` (string): Either personnel or business_other account types
|
201
239
|
|
202
240
|
|
203
241
|
---
|
@@ -221,6 +259,7 @@ Files::RemoteServer.delete(id)
|
|
221
259
|
remote_server = Files::RemoteServer.list_for(path).first
|
222
260
|
|
223
261
|
remote_server.update(
|
262
|
+
reset_authentication: true,
|
224
263
|
hostname: "remote-server.com",
|
225
264
|
name: "My Remote server",
|
226
265
|
max_connections: 1,
|
@@ -237,7 +276,11 @@ remote_server.update(
|
|
237
276
|
backblaze_b2_bucket: "my-bucket",
|
238
277
|
backblaze_b2_s3_endpoint: "s3.us-west-001.backblazeb2.com",
|
239
278
|
wasabi_bucket: "us-west-1",
|
240
|
-
wasabi_region: "my-bucket"
|
279
|
+
wasabi_region: "my-bucket",
|
280
|
+
rackspace_username: "rackspaceuser",
|
281
|
+
rackspace_region: "dfw",
|
282
|
+
rackspace_container: "my-container",
|
283
|
+
one_drive_account_type: "personnel"
|
241
284
|
)
|
242
285
|
```
|
243
286
|
|
@@ -253,6 +296,8 @@ remote_server.update(
|
|
253
296
|
* `wasabi_secret_key` (string): Wasabi secret key.
|
254
297
|
* `backblaze_b2_key_id` (string): Backblaze B2 Cloud Storage keyID.
|
255
298
|
* `backblaze_b2_application_key` (string): Backblaze B2 Cloud Storage applicationKey.
|
299
|
+
* `rackspace_api_key` (string): Rackspace API key from the Rackspace Cloud Control Panel.
|
300
|
+
* `reset_authentication` (boolean): Reset authenticated account
|
256
301
|
* `hostname` (string): Hostname or IP address
|
257
302
|
* `name` (string): Internal name for your reference
|
258
303
|
* `max_connections` (int64): Max number of parallel connections. Ignored for S3 connections (we will parallelize these as much as possible).
|
@@ -270,6 +315,10 @@ remote_server.update(
|
|
270
315
|
* `backblaze_b2_s3_endpoint` (string): Backblaze B2 Cloud Storage S3 Endpoint
|
271
316
|
* `wasabi_bucket` (string): Wasabi region
|
272
317
|
* `wasabi_region` (string): Wasabi Bucket name
|
318
|
+
* `rackspace_username` (string): Rackspace username used to login to the Rackspace Cloud Control Panel.
|
319
|
+
* `rackspace_region` (string): Three letter airport code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
|
320
|
+
* `rackspace_container` (string): The name of the container (top level directory) where files will sync.
|
321
|
+
* `one_drive_account_type` (string): Either personnel or business_other account types
|
273
322
|
|
274
323
|
|
275
324
|
---
|