files.com 1.1.332 → 1.1.334
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 +4 -4
- data/_VERSION +1 -1
- data/docs/file.md +4 -1
- data/docs/remote_server.md +8 -0
- data/docs/site.md +1 -0
- data/docs/sso_strategy.md +4 -2
- data/docs/user.md +8 -0
- data/lib/files.com/models/file.rb +10 -0
- data/lib/files.com/models/remote_server.rb +12 -0
- data/lib/files.com/models/sso_strategy.rb +6 -1
- data/lib/files.com/models/user.rb +15 -0
- data/lib/files.com/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f9488cfb5b22f57a1844d34b93def327e31405e10072458227754a4282ccd7bb
|
4
|
+
data.tar.gz: ad460ec7456e52ae77ab04bfb2ba4f3ac6d4acad893f9c6e5e8db19efe87148d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b39d39032a8d48a88a8cef3c897e4ba0be8af21a526dc7783a86ab69eb493d18518d2f1bcfc186009ae700d16c61202e8dcd4f156617f2b0da06b7c68929004
|
7
|
+
data.tar.gz: 111dc8e5298f71d990bd7923cb67680880872ce4dc94423935abadce07fa4df127d21ad68a4c73b2ae25feff86c5f76d3f02fef341f4e1561a6149beee8f5a3d
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.334
|
data/docs/file.md
CHANGED
@@ -97,6 +97,7 @@ may places where a Ruby File object can be used.
|
|
97
97
|
* `restart` (int64): File byte offset to restart from.
|
98
98
|
* `structure` (string): If copying folder, copy just the structure?
|
99
99
|
* `with_rename` (boolean): Allow file rename instead of overwrite?
|
100
|
+
* `buffered_upload` (boolean): If true, and the path refers to a destination not stored on Files.com (such as a remote server mount), the upload will be uploaded first to Files.com before being sent to the remote server mount. This can allow clients to upload using parallel parts to a remote server destination that does not offer parallel parts support natively.
|
100
101
|
|
101
102
|
|
102
103
|
---
|
@@ -132,7 +133,8 @@ Files::File.create(path,
|
|
132
133
|
provided_mtime: "2000-01-01T01:00:00Z",
|
133
134
|
restart: 1,
|
134
135
|
size: 1,
|
135
|
-
with_rename: false
|
136
|
+
with_rename: false,
|
137
|
+
buffered_upload: false
|
136
138
|
)
|
137
139
|
```
|
138
140
|
|
@@ -152,6 +154,7 @@ Files::File.create(path,
|
|
152
154
|
* `size` (int64): Size of file.
|
153
155
|
* `structure` (string): If copying folder, copy just the structure?
|
154
156
|
* `with_rename` (boolean): Allow file rename instead of overwrite?
|
157
|
+
* `buffered_upload` (boolean): If true, and the path refers to a destination not stored on Files.com (such as a remote server mount), the upload will be uploaded first to Files.com before being sent to the remote server mount. This can allow clients to upload using parallel parts to a remote server destination that does not offer parallel parts support natively.
|
155
158
|
|
156
159
|
|
157
160
|
---
|
data/docs/remote_server.md
CHANGED
@@ -11,6 +11,7 @@
|
|
11
11
|
"remote_home_path": "/home/user1",
|
12
12
|
"name": "My Remote server",
|
13
13
|
"port": 1,
|
14
|
+
"buffer_uploads_always": true,
|
14
15
|
"max_connections": 1,
|
15
16
|
"pin_to_site_region": true,
|
16
17
|
"pinned_region": "us-east-1",
|
@@ -69,6 +70,7 @@
|
|
69
70
|
* `remote_home_path` (string): Initial home folder on remote server
|
70
71
|
* `name` (string): Internal name for your reference
|
71
72
|
* `port` (int64): Port for remote server. Not needed for S3.
|
73
|
+
* `buffer_uploads_always` (boolean): If true, uploads to this server will be uploaded first to Files.com before being sent to the remote server. This can improve performance in certain access patterns, such as high-latency connections. It will cause data to be temporarily stored in Files.com.
|
72
74
|
* `max_connections` (int64): Max number of parallel connections. Ignored for S3 connections (we will parallelize these as much as possible).
|
73
75
|
* `pin_to_site_region` (boolean): If true, we will ensure that all communications with this remote server are made through the primary region of the site. This setting can also be overridden by a site-wide setting which will force it to true.
|
74
76
|
* `pinned_region` (string): If set, all communications with this remote server are made through the provided region.
|
@@ -198,6 +200,7 @@ Files::RemoteServer.create(
|
|
198
200
|
azure_files_storage_share_name: "share-name",
|
199
201
|
backblaze_b2_bucket: "my-bucket",
|
200
202
|
backblaze_b2_s3_endpoint: "s3.us-west-001.backblazeb2.com",
|
203
|
+
buffer_uploads_always: true,
|
201
204
|
cloudflare_access_key: "example",
|
202
205
|
cloudflare_bucket: "my-bucket",
|
203
206
|
cloudflare_endpoint: "https://<ACCOUNT_ID>.r2.cloudflarestorage.com",
|
@@ -268,6 +271,7 @@ Files::RemoteServer.create(
|
|
268
271
|
* `azure_files_storage_share_name` (string): Azure Files: Storage Share name
|
269
272
|
* `backblaze_b2_bucket` (string): Backblaze B2 Cloud Storage: Bucket name
|
270
273
|
* `backblaze_b2_s3_endpoint` (string): Backblaze B2 Cloud Storage: S3 Endpoint
|
274
|
+
* `buffer_uploads_always` (boolean): If true, uploads to this server will be uploaded first to Files.com before being sent to the remote server. This can improve performance in certain access patterns, such as high-latency connections. It will cause data to be temporarily stored in Files.com.
|
271
275
|
* `cloudflare_access_key` (string): Cloudflare: Access Key.
|
272
276
|
* `cloudflare_bucket` (string): Cloudflare: Bucket name
|
273
277
|
* `cloudflare_endpoint` (string): Cloudflare: endpoint
|
@@ -359,6 +363,7 @@ Files::RemoteServer.update(id,
|
|
359
363
|
azure_files_storage_share_name: "share-name",
|
360
364
|
backblaze_b2_bucket: "my-bucket",
|
361
365
|
backblaze_b2_s3_endpoint: "s3.us-west-001.backblazeb2.com",
|
366
|
+
buffer_uploads_always: true,
|
362
367
|
cloudflare_access_key: "example",
|
363
368
|
cloudflare_bucket: "my-bucket",
|
364
369
|
cloudflare_endpoint: "https://<ACCOUNT_ID>.r2.cloudflarestorage.com",
|
@@ -430,6 +435,7 @@ Files::RemoteServer.update(id,
|
|
430
435
|
* `azure_files_storage_share_name` (string): Azure Files: Storage Share name
|
431
436
|
* `backblaze_b2_bucket` (string): Backblaze B2 Cloud Storage: Bucket name
|
432
437
|
* `backblaze_b2_s3_endpoint` (string): Backblaze B2 Cloud Storage: S3 Endpoint
|
438
|
+
* `buffer_uploads_always` (boolean): If true, uploads to this server will be uploaded first to Files.com before being sent to the remote server. This can improve performance in certain access patterns, such as high-latency connections. It will cause data to be temporarily stored in Files.com.
|
433
439
|
* `cloudflare_access_key` (string): Cloudflare: Access Key.
|
434
440
|
* `cloudflare_bucket` (string): Cloudflare: Bucket name
|
435
441
|
* `cloudflare_endpoint` (string): Cloudflare: endpoint
|
@@ -538,6 +544,7 @@ remote_server.update(
|
|
538
544
|
azure_files_storage_share_name: "share-name",
|
539
545
|
backblaze_b2_bucket: "my-bucket",
|
540
546
|
backblaze_b2_s3_endpoint: "s3.us-west-001.backblazeb2.com",
|
547
|
+
buffer_uploads_always: true,
|
541
548
|
cloudflare_access_key: "example",
|
542
549
|
cloudflare_bucket: "my-bucket",
|
543
550
|
cloudflare_endpoint: "https://<ACCOUNT_ID>.r2.cloudflarestorage.com",
|
@@ -609,6 +616,7 @@ remote_server.update(
|
|
609
616
|
* `azure_files_storage_share_name` (string): Azure Files: Storage Share name
|
610
617
|
* `backblaze_b2_bucket` (string): Backblaze B2 Cloud Storage: Bucket name
|
611
618
|
* `backblaze_b2_s3_endpoint` (string): Backblaze B2 Cloud Storage: S3 Endpoint
|
619
|
+
* `buffer_uploads_always` (boolean): If true, uploads to this server will be uploaded first to Files.com before being sent to the remote server. This can improve performance in certain access patterns, such as high-latency connections. It will cause data to be temporarily stored in Files.com.
|
612
620
|
* `cloudflare_access_key` (string): Cloudflare: Access Key.
|
613
621
|
* `cloudflare_bucket` (string): Cloudflare: Bucket name
|
614
622
|
* `cloudflare_endpoint` (string): Cloudflare: endpoint
|
data/docs/site.md
CHANGED
data/docs/sso_strategy.md
CHANGED
@@ -20,7 +20,7 @@
|
|
20
20
|
"scim_username": "example",
|
21
21
|
"scim_oauth_access_token": "example",
|
22
22
|
"scim_oauth_access_token_expires_at": "example",
|
23
|
-
"subdomain": "
|
23
|
+
"subdomain": "",
|
24
24
|
"provision_users": true,
|
25
25
|
"provision_groups": true,
|
26
26
|
"deprovision_users": true,
|
@@ -41,6 +41,7 @@
|
|
41
41
|
"provision_time_zone": "Eastern Time (US & Canada)",
|
42
42
|
"provision_company": "ACME Corp.",
|
43
43
|
"provision_require_2fa": "always_require",
|
44
|
+
"provision_filesystem_layout": "integration_centric",
|
44
45
|
"provider_identifier": "",
|
45
46
|
"ldap_base_dn": "example",
|
46
47
|
"ldap_domain": "mysite.com",
|
@@ -71,7 +72,7 @@
|
|
71
72
|
* `scim_username` (string): SCIM username.
|
72
73
|
* `scim_oauth_access_token` (string): SCIM OAuth Access Token.
|
73
74
|
* `scim_oauth_access_token_expires_at` (string): SCIM OAuth Access Token Expiration Time.
|
74
|
-
* `subdomain` (string): Subdomain
|
75
|
+
* `subdomain` (string): Subdomain or domain name for your auth provider. Example: `https://[subdomain].okta.com/`
|
75
76
|
* `provision_users` (boolean): Auto-provision users?
|
76
77
|
* `provision_groups` (boolean): Auto-provision group membership based on group memberships on the SSO side?
|
77
78
|
* `deprovision_users` (boolean): Auto-deprovision users?
|
@@ -92,6 +93,7 @@
|
|
92
93
|
* `provision_time_zone` (string): Default time zone for auto provisioned users.
|
93
94
|
* `provision_company` (string): Default company for auto provisioned users.
|
94
95
|
* `provision_require_2fa` (string): 2FA required setting for auto provisioned users.
|
96
|
+
* `provision_filesystem_layout` (string): File System layout to use for auto provisioned users.
|
95
97
|
* `provider_identifier` (string): URL-friendly, unique identifier for Azure SAML configuration
|
96
98
|
* `ldap_base_dn` (string): Base DN for looking up users in LDAP server
|
97
99
|
* `ldap_domain` (string): Domain name that will be appended to LDAP usernames
|
data/docs/user.md
CHANGED
@@ -24,6 +24,7 @@
|
|
24
24
|
"disabled": true,
|
25
25
|
"disabled_expired_or_inactive": true,
|
26
26
|
"email": "john.doe@files.com",
|
27
|
+
"filesystem_layout": "site_root",
|
27
28
|
"first_login_at": "2000-01-01T01:00:00Z",
|
28
29
|
"ftp_permission": true,
|
29
30
|
"group_ids": "example",
|
@@ -93,6 +94,7 @@
|
|
93
94
|
* `disabled` (boolean): Is user disabled? Disabled users cannot log in, and do not count for billing purposes. Users can be automatically disabled after an inactivity period via a Site setting or schedule to be deactivated after specific date.
|
94
95
|
* `disabled_expired_or_inactive` (boolean): Computed property that returns true if user disabled or expired or inactive.
|
95
96
|
* `email` (email): User email address
|
97
|
+
* `filesystem_layout` (string): File system layout
|
96
98
|
* `first_login_at` (date-time): User's first login time
|
97
99
|
* `ftp_permission` (boolean): Can the user access with FTP/FTPS?
|
98
100
|
* `group_ids` (string): Comma-separated list of group IDs of which this user is a member
|
@@ -213,6 +215,7 @@ Files::User.create(
|
|
213
215
|
bypass_site_allowed_ips: false,
|
214
216
|
dav_permission: true,
|
215
217
|
disabled: true,
|
218
|
+
filesystem_layout: "site_root",
|
216
219
|
ftp_permission: true,
|
217
220
|
header_text: "User-specific message.",
|
218
221
|
language: "en",
|
@@ -265,6 +268,7 @@ Files::User.create(
|
|
265
268
|
* `bypass_site_allowed_ips` (boolean): Allow this user to skip site-wide IP blacklists?
|
266
269
|
* `dav_permission` (boolean): Can the user connect with WebDAV?
|
267
270
|
* `disabled` (boolean): Is user disabled? Disabled users cannot log in, and do not count for billing purposes. Users can be automatically disabled after an inactivity period via a Site setting or schedule to be deactivated after specific date.
|
271
|
+
* `filesystem_layout` (string): File system layout
|
268
272
|
* `ftp_permission` (boolean): Can the user access with FTP/FTPS?
|
269
273
|
* `header_text` (string): Text to display to the user in the header of the UI
|
270
274
|
* `language` (string): Preferred language
|
@@ -352,6 +356,7 @@ Files::User.update(id,
|
|
352
356
|
bypass_site_allowed_ips: false,
|
353
357
|
dav_permission: true,
|
354
358
|
disabled: true,
|
359
|
+
filesystem_layout: "site_root",
|
355
360
|
ftp_permission: true,
|
356
361
|
header_text: "User-specific message.",
|
357
362
|
language: "en",
|
@@ -406,6 +411,7 @@ Files::User.update(id,
|
|
406
411
|
* `bypass_site_allowed_ips` (boolean): Allow this user to skip site-wide IP blacklists?
|
407
412
|
* `dav_permission` (boolean): Can the user connect with WebDAV?
|
408
413
|
* `disabled` (boolean): Is user disabled? Disabled users cannot log in, and do not count for billing purposes. Users can be automatically disabled after an inactivity period via a Site setting or schedule to be deactivated after specific date.
|
414
|
+
* `filesystem_layout` (string): File system layout
|
409
415
|
* `ftp_permission` (boolean): Can the user access with FTP/FTPS?
|
410
416
|
* `header_text` (string): Text to display to the user in the header of the UI
|
411
417
|
* `language` (string): Preferred language
|
@@ -518,6 +524,7 @@ user.update(
|
|
518
524
|
bypass_site_allowed_ips: false,
|
519
525
|
dav_permission: true,
|
520
526
|
disabled: true,
|
527
|
+
filesystem_layout: "site_root",
|
521
528
|
ftp_permission: true,
|
522
529
|
header_text: "User-specific message.",
|
523
530
|
language: "en",
|
@@ -572,6 +579,7 @@ user.update(
|
|
572
579
|
* `bypass_site_allowed_ips` (boolean): Allow this user to skip site-wide IP blacklists?
|
573
580
|
* `dav_permission` (boolean): Can the user connect with WebDAV?
|
574
581
|
* `disabled` (boolean): Is user disabled? Disabled users cannot log in, and do not count for billing purposes. Users can be automatically disabled after an inactivity period via a Site setting or schedule to be deactivated after specific date.
|
582
|
+
* `filesystem_layout` (string): File system layout
|
575
583
|
* `ftp_permission` (boolean): Can the user access with FTP/FTPS?
|
576
584
|
* `header_text` (string): Text to display to the user in the header of the UI
|
577
585
|
* `language` (string): Preferred language
|
@@ -958,6 +958,15 @@ module Files
|
|
958
958
|
@attributes[:with_rename] = value
|
959
959
|
end
|
960
960
|
|
961
|
+
# boolean - If true, and the path refers to a destination not stored on Files.com (such as a remote server mount), the upload will be uploaded first to Files.com before being sent to the remote server mount. This can allow clients to upload using parallel parts to a remote server destination that does not offer parallel parts support natively.
|
962
|
+
def buffered_upload
|
963
|
+
@attributes[:buffered_upload]
|
964
|
+
end
|
965
|
+
|
966
|
+
def buffered_upload=(value)
|
967
|
+
@attributes[:buffered_upload] = value
|
968
|
+
end
|
969
|
+
|
961
970
|
# Download File
|
962
971
|
#
|
963
972
|
# Parameters:
|
@@ -1110,6 +1119,7 @@ module Files
|
|
1110
1119
|
# size - int64 - Size of file.
|
1111
1120
|
# structure - string - If copying folder, copy just the structure?
|
1112
1121
|
# with_rename - boolean - Allow file rename instead of overwrite?
|
1122
|
+
# buffered_upload - boolean - If true, and the path refers to a destination not stored on Files.com (such as a remote server mount), the upload will be uploaded first to Files.com before being sent to the remote server mount. This can allow clients to upload using parallel parts to a remote server destination that does not offer parallel parts support natively.
|
1113
1123
|
def self.create(path, params = {}, options = {})
|
1114
1124
|
params ||= {}
|
1115
1125
|
params[:path] = path
|
@@ -72,6 +72,15 @@ module Files
|
|
72
72
|
@attributes[:port] = value
|
73
73
|
end
|
74
74
|
|
75
|
+
# boolean - If true, uploads to this server will be uploaded first to Files.com before being sent to the remote server. This can improve performance in certain access patterns, such as high-latency connections. It will cause data to be temporarily stored in Files.com.
|
76
|
+
def buffer_uploads_always
|
77
|
+
@attributes[:buffer_uploads_always]
|
78
|
+
end
|
79
|
+
|
80
|
+
def buffer_uploads_always=(value)
|
81
|
+
@attributes[:buffer_uploads_always] = value
|
82
|
+
end
|
83
|
+
|
75
84
|
# int64 - Max number of parallel connections. Ignored for S3 connections (we will parallelize these as much as possible).
|
76
85
|
def max_connections
|
77
86
|
@attributes[:max_connections]
|
@@ -740,6 +749,7 @@ module Files
|
|
740
749
|
# azure_files_storage_share_name - string - Azure Files: Storage Share name
|
741
750
|
# backblaze_b2_bucket - string - Backblaze B2 Cloud Storage: Bucket name
|
742
751
|
# backblaze_b2_s3_endpoint - string - Backblaze B2 Cloud Storage: S3 Endpoint
|
752
|
+
# buffer_uploads_always - boolean - If true, uploads to this server will be uploaded first to Files.com before being sent to the remote server. This can improve performance in certain access patterns, such as high-latency connections. It will cause data to be temporarily stored in Files.com.
|
743
753
|
# cloudflare_access_key - string - Cloudflare: Access Key.
|
744
754
|
# cloudflare_bucket - string - Cloudflare: Bucket name
|
745
755
|
# cloudflare_endpoint - string - Cloudflare: endpoint
|
@@ -952,6 +962,7 @@ module Files
|
|
952
962
|
# azure_files_storage_share_name - string - Azure Files: Storage Share name
|
953
963
|
# backblaze_b2_bucket - string - Backblaze B2 Cloud Storage: Bucket name
|
954
964
|
# backblaze_b2_s3_endpoint - string - Backblaze B2 Cloud Storage: S3 Endpoint
|
965
|
+
# buffer_uploads_always - boolean - If true, uploads to this server will be uploaded first to Files.com before being sent to the remote server. This can improve performance in certain access patterns, such as high-latency connections. It will cause data to be temporarily stored in Files.com.
|
955
966
|
# cloudflare_access_key - string - Cloudflare: Access Key.
|
956
967
|
# cloudflare_bucket - string - Cloudflare: Bucket name
|
957
968
|
# cloudflare_endpoint - string - Cloudflare: endpoint
|
@@ -1119,6 +1130,7 @@ module Files
|
|
1119
1130
|
# azure_files_storage_share_name - string - Azure Files: Storage Share name
|
1120
1131
|
# backblaze_b2_bucket - string - Backblaze B2 Cloud Storage: Bucket name
|
1121
1132
|
# backblaze_b2_s3_endpoint - string - Backblaze B2 Cloud Storage: S3 Endpoint
|
1133
|
+
# buffer_uploads_always - boolean - If true, uploads to this server will be uploaded first to Files.com before being sent to the remote server. This can improve performance in certain access patterns, such as high-latency connections. It will cause data to be temporarily stored in Files.com.
|
1122
1134
|
# cloudflare_access_key - string - Cloudflare: Access Key.
|
1123
1135
|
# cloudflare_bucket - string - Cloudflare: Bucket name
|
1124
1136
|
# cloudflare_endpoint - string - Cloudflare: endpoint
|
@@ -89,7 +89,7 @@ module Files
|
|
89
89
|
@attributes[:scim_oauth_access_token_expires_at]
|
90
90
|
end
|
91
91
|
|
92
|
-
# string - Subdomain
|
92
|
+
# string - Subdomain or domain name for your auth provider. Example: `https://[subdomain].okta.com/`
|
93
93
|
def subdomain
|
94
94
|
@attributes[:subdomain]
|
95
95
|
end
|
@@ -194,6 +194,11 @@ module Files
|
|
194
194
|
@attributes[:provision_require_2fa]
|
195
195
|
end
|
196
196
|
|
197
|
+
# string - File System layout to use for auto provisioned users.
|
198
|
+
def provision_filesystem_layout
|
199
|
+
@attributes[:provision_filesystem_layout]
|
200
|
+
end
|
201
|
+
|
197
202
|
# string - URL-friendly, unique identifier for Azure SAML configuration
|
198
203
|
def provider_identifier
|
199
204
|
@attributes[:provider_identifier]
|
@@ -167,6 +167,15 @@ module Files
|
|
167
167
|
@attributes[:email] = value
|
168
168
|
end
|
169
169
|
|
170
|
+
# string - File system layout
|
171
|
+
def filesystem_layout
|
172
|
+
@attributes[:filesystem_layout]
|
173
|
+
end
|
174
|
+
|
175
|
+
def filesystem_layout=(value)
|
176
|
+
@attributes[:filesystem_layout] = value
|
177
|
+
end
|
178
|
+
|
170
179
|
# date-time - User's first login time
|
171
180
|
def first_login_at
|
172
181
|
@attributes[:first_login_at]
|
@@ -753,6 +762,7 @@ module Files
|
|
753
762
|
# bypass_site_allowed_ips - boolean - Allow this user to skip site-wide IP blacklists?
|
754
763
|
# dav_permission - boolean - Can the user connect with WebDAV?
|
755
764
|
# disabled - boolean - Is user disabled? Disabled users cannot log in, and do not count for billing purposes. Users can be automatically disabled after an inactivity period via a Site setting or schedule to be deactivated after specific date.
|
765
|
+
# filesystem_layout - string - File system layout
|
756
766
|
# ftp_permission - boolean - Can the user access with FTP/FTPS?
|
757
767
|
# header_text - string - Text to display to the user in the header of the UI
|
758
768
|
# language - string - Preferred language
|
@@ -797,6 +807,7 @@ module Files
|
|
797
807
|
raise InvalidParameterError.new("Bad parameter: allowed_ips must be an String") if params[:allowed_ips] and !params[:allowed_ips].is_a?(String)
|
798
808
|
raise InvalidParameterError.new("Bad parameter: authenticate_until must be an String") if params[:authenticate_until] and !params[:authenticate_until].is_a?(String)
|
799
809
|
raise InvalidParameterError.new("Bad parameter: authentication_method must be an String") if params[:authentication_method] and !params[:authentication_method].is_a?(String)
|
810
|
+
raise InvalidParameterError.new("Bad parameter: filesystem_layout must be an String") if params[:filesystem_layout] and !params[:filesystem_layout].is_a?(String)
|
800
811
|
raise InvalidParameterError.new("Bad parameter: header_text must be an String") if params[:header_text] and !params[:header_text].is_a?(String)
|
801
812
|
raise InvalidParameterError.new("Bad parameter: language must be an String") if params[:language] and !params[:language].is_a?(String)
|
802
813
|
raise InvalidParameterError.new("Bad parameter: notification_daily_send_time must be an Integer") if params[:notification_daily_send_time] and !params[:notification_daily_send_time].is_a?(Integer)
|
@@ -919,6 +930,7 @@ module Files
|
|
919
930
|
# bypass_site_allowed_ips - boolean - Allow this user to skip site-wide IP blacklists?
|
920
931
|
# dav_permission - boolean - Can the user connect with WebDAV?
|
921
932
|
# disabled - boolean - Is user disabled? Disabled users cannot log in, and do not count for billing purposes. Users can be automatically disabled after an inactivity period via a Site setting or schedule to be deactivated after specific date.
|
933
|
+
# filesystem_layout - string - File system layout
|
922
934
|
# ftp_permission - boolean - Can the user access with FTP/FTPS?
|
923
935
|
# header_text - string - Text to display to the user in the header of the UI
|
924
936
|
# language - string - Preferred language
|
@@ -958,6 +970,7 @@ module Files
|
|
958
970
|
raise InvalidParameterError.new("Bad parameter: allowed_ips must be an String") if params[:allowed_ips] and !params[:allowed_ips].is_a?(String)
|
959
971
|
raise InvalidParameterError.new("Bad parameter: authenticate_until must be an String") if params[:authenticate_until] and !params[:authenticate_until].is_a?(String)
|
960
972
|
raise InvalidParameterError.new("Bad parameter: authentication_method must be an String") if params[:authentication_method] and !params[:authentication_method].is_a?(String)
|
973
|
+
raise InvalidParameterError.new("Bad parameter: filesystem_layout must be an String") if params[:filesystem_layout] and !params[:filesystem_layout].is_a?(String)
|
961
974
|
raise InvalidParameterError.new("Bad parameter: header_text must be an String") if params[:header_text] and !params[:header_text].is_a?(String)
|
962
975
|
raise InvalidParameterError.new("Bad parameter: language must be an String") if params[:language] and !params[:language].is_a?(String)
|
963
976
|
raise InvalidParameterError.new("Bad parameter: notification_daily_send_time must be an Integer") if params[:notification_daily_send_time] and !params[:notification_daily_send_time].is_a?(Integer)
|
@@ -1034,6 +1047,7 @@ module Files
|
|
1034
1047
|
# bypass_site_allowed_ips - boolean - Allow this user to skip site-wide IP blacklists?
|
1035
1048
|
# dav_permission - boolean - Can the user connect with WebDAV?
|
1036
1049
|
# disabled - boolean - Is user disabled? Disabled users cannot log in, and do not count for billing purposes. Users can be automatically disabled after an inactivity period via a Site setting or schedule to be deactivated after specific date.
|
1050
|
+
# filesystem_layout - string - File system layout
|
1037
1051
|
# ftp_permission - boolean - Can the user access with FTP/FTPS?
|
1038
1052
|
# header_text - string - Text to display to the user in the header of the UI
|
1039
1053
|
# language - string - Preferred language
|
@@ -1077,6 +1091,7 @@ module Files
|
|
1077
1091
|
raise InvalidParameterError.new("Bad parameter: allowed_ips must be an String") if params[:allowed_ips] and !params[:allowed_ips].is_a?(String)
|
1078
1092
|
raise InvalidParameterError.new("Bad parameter: authenticate_until must be an String") if params[:authenticate_until] and !params[:authenticate_until].is_a?(String)
|
1079
1093
|
raise InvalidParameterError.new("Bad parameter: authentication_method must be an String") if params[:authentication_method] and !params[:authentication_method].is_a?(String)
|
1094
|
+
raise InvalidParameterError.new("Bad parameter: filesystem_layout must be an String") if params[:filesystem_layout] and !params[:filesystem_layout].is_a?(String)
|
1080
1095
|
raise InvalidParameterError.new("Bad parameter: header_text must be an String") if params[:header_text] and !params[:header_text].is_a?(String)
|
1081
1096
|
raise InvalidParameterError.new("Bad parameter: language must be an String") if params[:language] and !params[:language].is_a?(String)
|
1082
1097
|
raise InvalidParameterError.new("Bad parameter: notification_daily_send_time must be an Integer") if params[:notification_daily_send_time] and !params[:notification_daily_send_time].is_a?(Integer)
|
data/lib/files.com/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: files.com
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.334
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- files.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-10-
|
11
|
+
date: 2025-10-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|