files.com 1.1.164 → 1.1.166
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_VERSION +1 -1
- data/docs/automation.md +10 -10
- data/docs/file.md +4 -0
- data/docs/folder.md +4 -0
- data/docs/site.md +25 -0
- data/lib/files.com/models/automation.rb +7 -7
- data/lib/files.com/models/file.rb +18 -0
- data/lib/files.com/models/folder.rb +18 -0
- data/lib/files.com/models/site.rb +30 -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: 2ce84bf258bf66a556c98c9016289517dde58ef8cf430b66030f7f89ed2d0da3
|
4
|
+
data.tar.gz: 5ed2276f80f77bf97b5a70cb1f1247f5634556942ea39f7dcc1ab5764fe07eb0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a9e754277865fa14609f5ee1d3812bc95322fac561a8b7fd0234281651f3a16dc03c9cf34ac82a946ebc49d36aa991fbc86aeac30be60fe4026b3bb5a02f17d1
|
7
|
+
data.tar.gz: e91c15254e42ed2e32fd035fafc730d7f65b3306a2981287bc3b958cea500faded073b2b9347f53e6a7bdde1b54c5ec949c6c9a550c1be3098a6d1ef64b05d99
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.166
|
data/docs/automation.md
CHANGED
@@ -89,7 +89,7 @@
|
|
89
89
|
* `schedule_days_of_week` (array(int64)): If trigger is `custom_schedule`, Custom schedule description for when the automation should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc.
|
90
90
|
* `schedule_times_of_day` (array(string)): If trigger is `custom_schedule`, Custom schedule description for when the automation should be run. Times of day in HH:MM format.
|
91
91
|
* `schedule_time_zone` (string): If trigger is `custom_schedule`, Custom schedule Time Zone for when the automation should be run.
|
92
|
-
* `source` (string): Source path. Supports globs, except on remote mounts.
|
92
|
+
* `source` (string): Source path/glob. See Automation docs for exact description, but this is used to filter for files in the `path` to find files to operate on. Supports globs, except on remote mounts.
|
93
93
|
* `sync_ids` (array(int64)): IDs of remote sync folder behaviors to run by this Automation
|
94
94
|
* `trigger_actions` (array(string)): If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, copy
|
95
95
|
* `trigger` (string): How this automation is triggered to run.
|
@@ -138,7 +138,7 @@ Files::Automation.find(id)
|
|
138
138
|
|
139
139
|
```
|
140
140
|
Files::Automation.create(
|
141
|
-
source: "
|
141
|
+
source: "example",
|
142
142
|
destinations: ["folder_a/file_a.txt",{"folder_path":"folder_b","file_path":"file_b.txt"},{"folder_path":"folder_c"}],
|
143
143
|
destination_replace_from: "example",
|
144
144
|
destination_replace_to: "example",
|
@@ -170,12 +170,12 @@ Files::Automation.create(
|
|
170
170
|
|
171
171
|
### Parameters
|
172
172
|
|
173
|
-
* `source` (string): Source
|
173
|
+
* `source` (string): Source path/glob. See Automation docs for exact description, but this is used to filter for files in the `path` to find files to operate on. Supports globs, except on remote mounts.
|
174
174
|
* `destinations` (array(string)): A list of String destination paths or Hash of folder_path and optional file_path.
|
175
175
|
* `destination_replace_from` (string): If set, this string in the destination path will be replaced with the value in `destination_replace_to`.
|
176
176
|
* `destination_replace_to` (string): If set, this string will replace the value `destination_replace_from` in the destination filename. You can use special patterns here.
|
177
177
|
* `interval` (string): How often to run this automation? One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
|
178
|
-
* `path` (string): Path on which this Automation runs. Supports globs.
|
178
|
+
* `path` (string): Path on which this Automation runs. Supports globs, except on remote mounts.
|
179
179
|
* `sync_ids` (string): A list of sync IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
180
180
|
* `user_ids` (string): A list of user IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
181
181
|
* `group_ids` (string): A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
@@ -218,7 +218,7 @@ Files::Automation.manual_run(id)
|
|
218
218
|
|
219
219
|
```
|
220
220
|
Files::Automation.update(id,
|
221
|
-
source: "
|
221
|
+
source: "example",
|
222
222
|
destinations: ["folder_a/file_a.txt",{"folder_path":"folder_b","file_path":"file_b.txt"},{"folder_path":"folder_c"}],
|
223
223
|
destination_replace_from: "example",
|
224
224
|
destination_replace_to: "example",
|
@@ -251,12 +251,12 @@ Files::Automation.update(id,
|
|
251
251
|
### Parameters
|
252
252
|
|
253
253
|
* `id` (int64): Required - Automation ID.
|
254
|
-
* `source` (string): Source
|
254
|
+
* `source` (string): Source path/glob. See Automation docs for exact description, but this is used to filter for files in the `path` to find files to operate on. Supports globs, except on remote mounts.
|
255
255
|
* `destinations` (array(string)): A list of String destination paths or Hash of folder_path and optional file_path.
|
256
256
|
* `destination_replace_from` (string): If set, this string in the destination path will be replaced with the value in `destination_replace_to`.
|
257
257
|
* `destination_replace_to` (string): If set, this string will replace the value `destination_replace_from` in the destination filename. You can use special patterns here.
|
258
258
|
* `interval` (string): How often to run this automation? One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
|
259
|
-
* `path` (string): Path on which this Automation runs. Supports globs.
|
259
|
+
* `path` (string): Path on which this Automation runs. Supports globs, except on remote mounts.
|
260
260
|
* `sync_ids` (string): A list of sync IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
261
261
|
* `user_ids` (string): A list of user IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
262
262
|
* `group_ids` (string): A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
@@ -316,7 +316,7 @@ automation.manual_run
|
|
316
316
|
automation = Files::Automation.find(id)
|
317
317
|
|
318
318
|
automation.update(
|
319
|
-
source: "
|
319
|
+
source: "example",
|
320
320
|
destinations: ["folder_a/file_a.txt",{"folder_path":"folder_b","file_path":"file_b.txt"},{"folder_path":"folder_c"}],
|
321
321
|
destination_replace_from: "example",
|
322
322
|
destination_replace_to: "example",
|
@@ -349,12 +349,12 @@ automation.update(
|
|
349
349
|
### Parameters
|
350
350
|
|
351
351
|
* `id` (int64): Required - Automation ID.
|
352
|
-
* `source` (string): Source
|
352
|
+
* `source` (string): Source path/glob. See Automation docs for exact description, but this is used to filter for files in the `path` to find files to operate on. Supports globs, except on remote mounts.
|
353
353
|
* `destinations` (array(string)): A list of String destination paths or Hash of folder_path and optional file_path.
|
354
354
|
* `destination_replace_from` (string): If set, this string in the destination path will be replaced with the value in `destination_replace_to`.
|
355
355
|
* `destination_replace_to` (string): If set, this string will replace the value `destination_replace_from` in the destination filename. You can use special patterns here.
|
356
356
|
* `interval` (string): How often to run this automation? One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
|
357
|
-
* `path` (string): Path on which this Automation runs. Supports globs.
|
357
|
+
* `path` (string): Path on which this Automation runs. Supports globs, except on remote mounts.
|
358
358
|
* `sync_ids` (string): A list of sync IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
359
359
|
* `user_ids` (string): A list of user IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
360
360
|
* `group_ids` (string): A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
data/docs/file.md
CHANGED
@@ -33,6 +33,8 @@ may places where a Ruby File object can be used.
|
|
33
33
|
"provided_mtime": "2000-01-01T01:00:00Z",
|
34
34
|
"crc32": "70976923",
|
35
35
|
"md5": "17c54824e9931a4688ca032d03f6663c",
|
36
|
+
"sha1": "a94a8fe5ccb19ba61c4c0873d391e987982fbbd3",
|
37
|
+
"sha256": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
|
36
38
|
"mime_type": "application/octet-stream",
|
37
39
|
"region": "us-east-1",
|
38
40
|
"permissions": "rwd",
|
@@ -75,6 +77,8 @@ may places where a Ruby File object can be used.
|
|
75
77
|
* `provided_mtime` (date-time): File last modified date/time, according to the client who set it. Files.com allows desktop, FTP, SFTP, and WebDAV clients to set modified at times. This allows Desktop<->Cloud syncing to preserve modified at times.
|
76
78
|
* `crc32` (string): File CRC32 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
|
77
79
|
* `md5` (string): File MD5 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
|
80
|
+
* `sha1` (string): File SHA1 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
|
81
|
+
* `sha256` (string): File SHA256 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
|
78
82
|
* `mime_type` (string): MIME Type. This is determined by the filename extension and is not stored separately internally.
|
79
83
|
* `region` (string): Region location
|
80
84
|
* `permissions` (string): A short string representing the current user's permissions. Can be `r` (Read),`w` (Write),`d` (Delete), `l` (List) or any combination
|
data/docs/folder.md
CHANGED
@@ -35,6 +35,8 @@ Files::Dir is an alias of Files::Folder
|
|
35
35
|
"provided_mtime": "2000-01-01T01:00:00Z",
|
36
36
|
"crc32": "70976923",
|
37
37
|
"md5": "17c54824e9931a4688ca032d03f6663c",
|
38
|
+
"sha1": "a94a8fe5ccb19ba61c4c0873d391e987982fbbd3",
|
39
|
+
"sha256": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
|
38
40
|
"mime_type": "application/octet-stream",
|
39
41
|
"region": "us-east-1",
|
40
42
|
"permissions": "rwd",
|
@@ -77,6 +79,8 @@ Files::Dir is an alias of Files::Folder
|
|
77
79
|
* `provided_mtime` (date-time): File last modified date/time, according to the client who set it. Files.com allows desktop, FTP, SFTP, and WebDAV clients to set modified at times. This allows Desktop<->Cloud syncing to preserve modified at times.
|
78
80
|
* `crc32` (string): File CRC32 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
|
79
81
|
* `md5` (string): File MD5 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
|
82
|
+
* `sha1` (string): File SHA1 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
|
83
|
+
* `sha256` (string): File SHA256 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
|
80
84
|
* `mime_type` (string): MIME Type. This is determined by the filename extension and is not stored separately internally.
|
81
85
|
* `region` (string): Region location
|
82
86
|
* `permissions` (string): A short string representing the current user's permissions. Can be `r` (Read),`w` (Write),`d` (Delete), `l` (List) or any combination
|
data/docs/site.md
CHANGED
@@ -44,6 +44,10 @@
|
|
44
44
|
"bundle_watermark_value": {
|
45
45
|
"key": "example value"
|
46
46
|
},
|
47
|
+
"calculate_file_checksums_crc32": true,
|
48
|
+
"calculate_file_checksums_md5": true,
|
49
|
+
"calculate_file_checksums_sha1": true,
|
50
|
+
"calculate_file_checksums_sha256": true,
|
47
51
|
"uploads_via_email_authentication": true,
|
48
52
|
"color2_left": "#0066a7",
|
49
53
|
"color2_link": "#d34f5d",
|
@@ -62,6 +66,7 @@
|
|
62
66
|
"desktop_app": true,
|
63
67
|
"desktop_app_session_ip_pinning": true,
|
64
68
|
"desktop_app_session_lifetime": 1,
|
69
|
+
"legacy_checksums_mode": true,
|
65
70
|
"mobile_app": true,
|
66
71
|
"mobile_app_session_ip_pinning": true,
|
67
72
|
"mobile_app_session_lifetime": 1,
|
@@ -170,6 +175,11 @@
|
|
170
175
|
"allowed_2fa_method_totp": true,
|
171
176
|
"allowed_2fa_method_webauthn": true,
|
172
177
|
"allowed_2fa_method_yubi": true,
|
178
|
+
"calculate_file_checksums_crc32": true,
|
179
|
+
"calculate_file_checksums_md5": true,
|
180
|
+
"calculate_file_checksums_sha1": true,
|
181
|
+
"calculate_file_checksums_sha256": true,
|
182
|
+
"legacy_checksums_mode": true,
|
173
183
|
"use_provided_modified_at": true,
|
174
184
|
"windows_mode_ftp": false,
|
175
185
|
"user_belongs_to_parent_site": false
|
@@ -321,6 +331,10 @@
|
|
321
331
|
* `bundle_upload_receipt_notifications` (string): Do Bundle uploaders receive upload confirmation notifications?
|
322
332
|
* `bundle_watermark_attachment` (Image): Preview watermark image applied to all bundle items.
|
323
333
|
* `bundle_watermark_value` (object): Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value
|
334
|
+
* `calculate_file_checksums_crc32` (boolean): Calculate CRC32 checksums for files?
|
335
|
+
* `calculate_file_checksums_md5` (boolean): Calculate MD5 checksums for files?
|
336
|
+
* `calculate_file_checksums_sha1` (boolean): Calculate SHA1 checksums for files?
|
337
|
+
* `calculate_file_checksums_sha256` (boolean): Calculate SHA256 checksums for files?
|
324
338
|
* `uploads_via_email_authentication` (boolean): Do incoming emails in the Inboxes require checking for SPF/DKIM/DMARC?
|
325
339
|
* `color2_left` (string): Page link and button color
|
326
340
|
* `color2_link` (string): Top bar link color
|
@@ -339,6 +353,7 @@
|
|
339
353
|
* `desktop_app` (boolean): Is the desktop app enabled?
|
340
354
|
* `desktop_app_session_ip_pinning` (boolean): Is desktop app session IP pinning enabled?
|
341
355
|
* `desktop_app_session_lifetime` (int64): Desktop app session lifetime (in hours)
|
356
|
+
* `legacy_checksums_mode` (boolean): Use legacy checksums mode?
|
342
357
|
* `mobile_app` (boolean): Is the mobile app enabled?
|
343
358
|
* `mobile_app_session_ip_pinning` (boolean): Is mobile app session IP pinning enabled?
|
344
359
|
* `mobile_app_session_lifetime` (int64): Mobile app session lifetime (in hours)
|
@@ -516,6 +531,11 @@ Files::Site.update(
|
|
516
531
|
additional_text_file_types: ["example"],
|
517
532
|
bundle_require_note: true,
|
518
533
|
bundle_send_shared_receipts: true,
|
534
|
+
calculate_file_checksums_crc32: true,
|
535
|
+
calculate_file_checksums_md5: true,
|
536
|
+
calculate_file_checksums_sha1: true,
|
537
|
+
calculate_file_checksums_sha256: true,
|
538
|
+
legacy_checksums_mode: true,
|
519
539
|
session_expiry: 1.0,
|
520
540
|
ssl_required: true,
|
521
541
|
tls_disabled: true,
|
@@ -669,6 +689,11 @@ Files::Site.update(
|
|
669
689
|
* `additional_text_file_types` (array(string)): Additional extensions that are considered text files
|
670
690
|
* `bundle_require_note` (boolean): Do Bundles require internal notes?
|
671
691
|
* `bundle_send_shared_receipts` (boolean): Do Bundle creators receive receipts of invitations?
|
692
|
+
* `calculate_file_checksums_crc32` (boolean): Calculate CRC32 checksums for files?
|
693
|
+
* `calculate_file_checksums_md5` (boolean): Calculate MD5 checksums for files?
|
694
|
+
* `calculate_file_checksums_sha1` (boolean): Calculate SHA1 checksums for files?
|
695
|
+
* `calculate_file_checksums_sha256` (boolean): Calculate SHA256 checksums for files?
|
696
|
+
* `legacy_checksums_mode` (boolean): Use legacy checksums mode?
|
672
697
|
* `session_expiry` (double): Session expiry in hours
|
673
698
|
* `ssl_required` (boolean): Is SSL required? Disabling this is insecure.
|
674
699
|
* `tls_disabled` (boolean): DO NOT ENABLE. This setting allows TLSv1.0 and TLSv1.1 to be used on your site. We intend to remove this capability entirely in early 2024. If set, the `sftp_insecure_ciphers` flag will be automatically set to true.
|
@@ -243,7 +243,7 @@ module Files
|
|
243
243
|
@attributes[:schedule_time_zone] = value
|
244
244
|
end
|
245
245
|
|
246
|
-
# string - Source path. Supports globs, except on remote mounts.
|
246
|
+
# string - Source path/glob. See Automation docs for exact description, but this is used to filter for files in the `path` to find files to operate on. Supports globs, except on remote mounts.
|
247
247
|
def source
|
248
248
|
@attributes[:source]
|
249
249
|
end
|
@@ -327,12 +327,12 @@ module Files
|
|
327
327
|
end
|
328
328
|
|
329
329
|
# Parameters:
|
330
|
-
# source - string - Source
|
330
|
+
# source - string - Source path/glob. See Automation docs for exact description, but this is used to filter for files in the `path` to find files to operate on. Supports globs, except on remote mounts.
|
331
331
|
# destinations - array(string) - A list of String destination paths or Hash of folder_path and optional file_path.
|
332
332
|
# destination_replace_from - string - If set, this string in the destination path will be replaced with the value in `destination_replace_to`.
|
333
333
|
# destination_replace_to - string - If set, this string will replace the value `destination_replace_from` in the destination filename. You can use special patterns here.
|
334
334
|
# interval - string - How often to run this automation? One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
|
335
|
-
# path - string - Path on which this Automation runs. Supports globs.
|
335
|
+
# path - string - Path on which this Automation runs. Supports globs, except on remote mounts.
|
336
336
|
# sync_ids - string - A list of sync IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
337
337
|
# user_ids - string - A list of user IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
338
338
|
# group_ids - string - A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
@@ -455,12 +455,12 @@ module Files
|
|
455
455
|
end
|
456
456
|
|
457
457
|
# Parameters:
|
458
|
-
# source - string - Source
|
458
|
+
# source - string - Source path/glob. See Automation docs for exact description, but this is used to filter for files in the `path` to find files to operate on. Supports globs, except on remote mounts.
|
459
459
|
# destinations - array(string) - A list of String destination paths or Hash of folder_path and optional file_path.
|
460
460
|
# destination_replace_from - string - If set, this string in the destination path will be replaced with the value in `destination_replace_to`.
|
461
461
|
# destination_replace_to - string - If set, this string will replace the value `destination_replace_from` in the destination filename. You can use special patterns here.
|
462
462
|
# interval - string - How often to run this automation? One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
|
463
|
-
# path - string - Path on which this Automation runs. Supports globs.
|
463
|
+
# path - string - Path on which this Automation runs. Supports globs, except on remote mounts.
|
464
464
|
# sync_ids - string - A list of sync IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
465
465
|
# user_ids - string - A list of user IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
466
466
|
# group_ids - string - A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
@@ -522,12 +522,12 @@ module Files
|
|
522
522
|
end
|
523
523
|
|
524
524
|
# Parameters:
|
525
|
-
# source - string - Source
|
525
|
+
# source - string - Source path/glob. See Automation docs for exact description, but this is used to filter for files in the `path` to find files to operate on. Supports globs, except on remote mounts.
|
526
526
|
# destinations - array(string) - A list of String destination paths or Hash of folder_path and optional file_path.
|
527
527
|
# destination_replace_from - string - If set, this string in the destination path will be replaced with the value in `destination_replace_to`.
|
528
528
|
# destination_replace_to - string - If set, this string will replace the value `destination_replace_from` in the destination filename. You can use special patterns here.
|
529
529
|
# interval - string - How often to run this automation? One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
|
530
|
-
# path - string - Path on which this Automation runs. Supports globs.
|
530
|
+
# path - string - Path on which this Automation runs. Supports globs, except on remote mounts.
|
531
531
|
# sync_ids - string - A list of sync IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
532
532
|
# user_ids - string - A list of user IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
533
533
|
# group_ids - string - A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
@@ -778,6 +778,24 @@ module Files
|
|
778
778
|
@attributes[:md5] = value
|
779
779
|
end
|
780
780
|
|
781
|
+
# string - File SHA1 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
|
782
|
+
def sha1
|
783
|
+
@attributes[:sha1]
|
784
|
+
end
|
785
|
+
|
786
|
+
def sha1=(value)
|
787
|
+
@attributes[:sha1] = value
|
788
|
+
end
|
789
|
+
|
790
|
+
# string - File SHA256 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
|
791
|
+
def sha256
|
792
|
+
@attributes[:sha256]
|
793
|
+
end
|
794
|
+
|
795
|
+
def sha256=(value)
|
796
|
+
@attributes[:sha256] = value
|
797
|
+
end
|
798
|
+
|
781
799
|
# string - MIME Type. This is determined by the filename extension and is not stored separately internally.
|
782
800
|
def mime_type
|
783
801
|
@attributes[:mime_type]
|
@@ -362,6 +362,24 @@ module Files
|
|
362
362
|
@attributes[:md5] = value
|
363
363
|
end
|
364
364
|
|
365
|
+
# string - File SHA1 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
|
366
|
+
def sha1
|
367
|
+
@attributes[:sha1]
|
368
|
+
end
|
369
|
+
|
370
|
+
def sha1=(value)
|
371
|
+
@attributes[:sha1] = value
|
372
|
+
end
|
373
|
+
|
374
|
+
# string - File SHA256 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
|
375
|
+
def sha256
|
376
|
+
@attributes[:sha256]
|
377
|
+
end
|
378
|
+
|
379
|
+
def sha256=(value)
|
380
|
+
@attributes[:sha256] = value
|
381
|
+
end
|
382
|
+
|
365
383
|
# string - MIME Type. This is determined by the filename extension and is not stored separately internally.
|
366
384
|
def mime_type
|
367
385
|
@attributes[:mime_type]
|
@@ -164,6 +164,26 @@ module Files
|
|
164
164
|
@attributes[:bundle_watermark_value]
|
165
165
|
end
|
166
166
|
|
167
|
+
# boolean - Calculate CRC32 checksums for files?
|
168
|
+
def calculate_file_checksums_crc32
|
169
|
+
@attributes[:calculate_file_checksums_crc32]
|
170
|
+
end
|
171
|
+
|
172
|
+
# boolean - Calculate MD5 checksums for files?
|
173
|
+
def calculate_file_checksums_md5
|
174
|
+
@attributes[:calculate_file_checksums_md5]
|
175
|
+
end
|
176
|
+
|
177
|
+
# boolean - Calculate SHA1 checksums for files?
|
178
|
+
def calculate_file_checksums_sha1
|
179
|
+
@attributes[:calculate_file_checksums_sha1]
|
180
|
+
end
|
181
|
+
|
182
|
+
# boolean - Calculate SHA256 checksums for files?
|
183
|
+
def calculate_file_checksums_sha256
|
184
|
+
@attributes[:calculate_file_checksums_sha256]
|
185
|
+
end
|
186
|
+
|
167
187
|
# boolean - Do incoming emails in the Inboxes require checking for SPF/DKIM/DMARC?
|
168
188
|
def uploads_via_email_authentication
|
169
189
|
@attributes[:uploads_via_email_authentication]
|
@@ -254,6 +274,11 @@ module Files
|
|
254
274
|
@attributes[:desktop_app_session_lifetime]
|
255
275
|
end
|
256
276
|
|
277
|
+
# boolean - Use legacy checksums mode?
|
278
|
+
def legacy_checksums_mode
|
279
|
+
@attributes[:legacy_checksums_mode]
|
280
|
+
end
|
281
|
+
|
257
282
|
# boolean - Is the mobile app enabled?
|
258
283
|
def mobile_app
|
259
284
|
@attributes[:mobile_app]
|
@@ -877,6 +902,11 @@ module Files
|
|
877
902
|
# additional_text_file_types - array(string) - Additional extensions that are considered text files
|
878
903
|
# bundle_require_note - boolean - Do Bundles require internal notes?
|
879
904
|
# bundle_send_shared_receipts - boolean - Do Bundle creators receive receipts of invitations?
|
905
|
+
# calculate_file_checksums_crc32 - boolean - Calculate CRC32 checksums for files?
|
906
|
+
# calculate_file_checksums_md5 - boolean - Calculate MD5 checksums for files?
|
907
|
+
# calculate_file_checksums_sha1 - boolean - Calculate SHA1 checksums for files?
|
908
|
+
# calculate_file_checksums_sha256 - boolean - Calculate SHA256 checksums for files?
|
909
|
+
# legacy_checksums_mode - boolean - Use legacy checksums mode?
|
880
910
|
# session_expiry - double - Session expiry in hours
|
881
911
|
# ssl_required - boolean - Is SSL required? Disabling this is insecure.
|
882
912
|
# tls_disabled - boolean - DO NOT ENABLE. This setting allows TLSv1.0 and TLSv1.1 to be used on your site. We intend to remove this capability entirely in early 2024. If set, the `sftp_insecure_ciphers` flag will be automatically set to true.
|
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.166
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- files.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-10-
|
11
|
+
date: 2024-10-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|