files.com 1.1.573 → 1.1.575
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/automation.md +6 -6
- data/docs/site.md +12 -0
- data/lib/files.com/models/automation.rb +3 -3
- data/lib/files.com/models/site.rb +18 -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: a4d514eb68a04dde59bab239b898309ed452d61d19116217d00500ac15314ca3
|
|
4
|
+
data.tar.gz: 8f6eaa35cf191e2f54384234dd644c2292b4900a79617548e240baff4b1ab32b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 642e7f3063d046c20109ab26907c737133339817cf6d22d6eed6dabe12ba6abf10d23f1141f5efa18caa64b96f90c815a2f3c7a840e18340c83f6b52ea2333cd
|
|
7
|
+
data.tar.gz: 9c8796a1657116319acaeae44bfec5f69d39fd2e6dffcf81db4a0aaa93d75277eb0cf39d39aa12354199ef2b7cfe907247697cb822e6dfbc0ee36762ff364152
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.575
|
data/docs/automation.md
CHANGED
|
@@ -179,7 +179,7 @@ Files::Automation.find(id)
|
|
|
179
179
|
```
|
|
180
180
|
Files::Automation.create(
|
|
181
181
|
source: "example",
|
|
182
|
-
destinations: ["folder_a/file_a.txt",
|
|
182
|
+
destinations: ["folder_a/file_a.txt","folder_b/","./relative-folder/"],
|
|
183
183
|
destination_replace_from: "example",
|
|
184
184
|
destination_replace_to: "example",
|
|
185
185
|
interval: "year",
|
|
@@ -218,7 +218,7 @@ Files::Automation.create(
|
|
|
218
218
|
### Parameters
|
|
219
219
|
|
|
220
220
|
* `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.
|
|
221
|
-
* `destinations` (array(string)): A list of
|
|
221
|
+
* `destinations` (array(string)): A list of destination paths. Use a trailing slash for folder destinations and omit it for file destinations.
|
|
222
222
|
* `destination_replace_from` (string): If set, this string in the destination path will be replaced with the value in `destination_replace_to`.
|
|
223
223
|
* `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.
|
|
224
224
|
* `interval` (string): How often to run this automation? One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
|
|
@@ -273,7 +273,7 @@ Files::Automation.manual_run(id)
|
|
|
273
273
|
```
|
|
274
274
|
Files::Automation.update(id,
|
|
275
275
|
source: "example",
|
|
276
|
-
destinations: ["folder_a/file_a.txt",
|
|
276
|
+
destinations: ["folder_a/file_a.txt","folder_b/","./relative-folder/"],
|
|
277
277
|
destination_replace_from: "example",
|
|
278
278
|
destination_replace_to: "example",
|
|
279
279
|
interval: "year",
|
|
@@ -312,7 +312,7 @@ Files::Automation.update(id,
|
|
|
312
312
|
|
|
313
313
|
* `id` (int64): Required - Automation ID.
|
|
314
314
|
* `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.
|
|
315
|
-
* `destinations` (array(string)): A list of
|
|
315
|
+
* `destinations` (array(string)): A list of destination paths. Use a trailing slash for folder destinations and omit it for file destinations.
|
|
316
316
|
* `destination_replace_from` (string): If set, this string in the destination path will be replaced with the value in `destination_replace_to`.
|
|
317
317
|
* `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.
|
|
318
318
|
* `interval` (string): How often to run this automation? One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
|
|
@@ -383,7 +383,7 @@ automation = Files::Automation.find(id)
|
|
|
383
383
|
|
|
384
384
|
automation.update(
|
|
385
385
|
source: "example",
|
|
386
|
-
destinations: ["folder_a/file_a.txt",
|
|
386
|
+
destinations: ["folder_a/file_a.txt","folder_b/","./relative-folder/"],
|
|
387
387
|
destination_replace_from: "example",
|
|
388
388
|
destination_replace_to: "example",
|
|
389
389
|
interval: "year",
|
|
@@ -422,7 +422,7 @@ automation.update(
|
|
|
422
422
|
|
|
423
423
|
* `id` (int64): Required - Automation ID.
|
|
424
424
|
* `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.
|
|
425
|
-
* `destinations` (array(string)): A list of
|
|
425
|
+
* `destinations` (array(string)): A list of destination paths. Use a trailing slash for folder destinations and omit it for file destinations.
|
|
426
426
|
* `destination_replace_from` (string): If set, this string in the destination path will be replaced with the value in `destination_replace_to`.
|
|
427
427
|
* `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.
|
|
428
428
|
* `interval` (string): How often to run this automation? One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
|
data/docs/site.md
CHANGED
|
@@ -19,6 +19,9 @@
|
|
|
19
19
|
"admin_user_id": 1,
|
|
20
20
|
"admins_bypass_locked_subfolders": true,
|
|
21
21
|
"allow_bundle_names": true,
|
|
22
|
+
"allow_user_level_2fa_override": true,
|
|
23
|
+
"allow_user_level_allowed_ip_override": true,
|
|
24
|
+
"allow_user_level_ssl_override": true,
|
|
22
25
|
"allowed_countries": "US,DE",
|
|
23
26
|
"allowed_ips": "example",
|
|
24
27
|
"always_mkdir_parents": true,
|
|
@@ -327,6 +330,9 @@
|
|
|
327
330
|
* `admin_user_id` (int64): User ID for the main site administrator
|
|
328
331
|
* `admins_bypass_locked_subfolders` (boolean): Allow admins to bypass the locked subfolders setting.
|
|
329
332
|
* `allow_bundle_names` (boolean): Are manual Bundle names allowed?
|
|
333
|
+
* `allow_user_level_2fa_override` (boolean): Allow the site-wide two-factor authentication requirement to be overriden on a per-user-basis?
|
|
334
|
+
* `allow_user_level_allowed_ip_override` (boolean): Allow the site-wide allowed IP restriction to be overriden on a per-user-basis?
|
|
335
|
+
* `allow_user_level_ssl_override` (boolean): Allow the site-wide FTP SSL requirement to be overriden on a per-user-basis?
|
|
330
336
|
* `allowed_countries` (string): Comma separated list of allowed Country codes
|
|
331
337
|
* `allowed_ips` (string): List of allowed IP addresses
|
|
332
338
|
* `always_mkdir_parents` (boolean): Create parent directories if they do not exist during uploads? This is primarily used to work around broken upload clients that assume servers will perform this step.
|
|
@@ -568,6 +574,9 @@ Files::Site.update(
|
|
|
568
574
|
include_password_in_welcome_email: false,
|
|
569
575
|
allowed_countries: "US,DE",
|
|
570
576
|
allowed_ips: "example",
|
|
577
|
+
allow_user_level_2fa_override: false,
|
|
578
|
+
allow_user_level_allowed_ip_override: false,
|
|
579
|
+
allow_user_level_ssl_override: false,
|
|
571
580
|
disallowed_countries: "US,DE",
|
|
572
581
|
days_to_retain_backups: 1,
|
|
573
582
|
max_prior_passwords: 1,
|
|
@@ -729,6 +738,9 @@ Files::Site.update(
|
|
|
729
738
|
* `include_password_in_welcome_email` (boolean): Include password in emails to new users?
|
|
730
739
|
* `allowed_countries` (string): Comma separated list of allowed Country codes
|
|
731
740
|
* `allowed_ips` (string): List of allowed IP addresses
|
|
741
|
+
* `allow_user_level_2fa_override` (boolean): Allow the site-wide two-factor authentication requirement to be overriden on a per-user-basis?
|
|
742
|
+
* `allow_user_level_allowed_ip_override` (boolean): Allow the site-wide allowed IP restriction to be overriden on a per-user-basis?
|
|
743
|
+
* `allow_user_level_ssl_override` (boolean): Allow the site-wide FTP SSL requirement to be overriden on a per-user-basis?
|
|
732
744
|
* `disallowed_countries` (string): Comma separated list of disallowed Country codes
|
|
733
745
|
* `days_to_retain_backups` (int64): Number of days to keep deleted files
|
|
734
746
|
* `max_prior_passwords` (int64): Number of prior passwords to disallow
|
|
@@ -391,7 +391,7 @@ module Files
|
|
|
391
391
|
|
|
392
392
|
# Parameters:
|
|
393
393
|
# 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.
|
|
394
|
-
# destinations - array(string) - A list of
|
|
394
|
+
# destinations - array(string) - A list of destination paths. Use a trailing slash for folder destinations and omit it for file destinations.
|
|
395
395
|
# destination_replace_from - string - If set, this string in the destination path will be replaced with the value in `destination_replace_to`.
|
|
396
396
|
# 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.
|
|
397
397
|
# interval - string - How often to run this automation? One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
|
|
@@ -530,7 +530,7 @@ module Files
|
|
|
530
530
|
|
|
531
531
|
# Parameters:
|
|
532
532
|
# 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.
|
|
533
|
-
# destinations - array(string) - A list of
|
|
533
|
+
# destinations - array(string) - A list of destination paths. Use a trailing slash for folder destinations and omit it for file destinations.
|
|
534
534
|
# destination_replace_from - string - If set, this string in the destination path will be replaced with the value in `destination_replace_to`.
|
|
535
535
|
# 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.
|
|
536
536
|
# interval - string - How often to run this automation? One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
|
|
@@ -610,7 +610,7 @@ module Files
|
|
|
610
610
|
|
|
611
611
|
# Parameters:
|
|
612
612
|
# 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.
|
|
613
|
-
# destinations - array(string) - A list of
|
|
613
|
+
# destinations - array(string) - A list of destination paths. Use a trailing slash for folder destinations and omit it for file destinations.
|
|
614
614
|
# destination_replace_from - string - If set, this string in the destination path will be replaced with the value in `destination_replace_to`.
|
|
615
615
|
# 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.
|
|
616
616
|
# interval - string - How often to run this automation? One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
|
|
@@ -76,6 +76,21 @@ module Files
|
|
|
76
76
|
@attributes[:allow_bundle_names]
|
|
77
77
|
end
|
|
78
78
|
|
|
79
|
+
# boolean - Allow the site-wide two-factor authentication requirement to be overriden on a per-user-basis?
|
|
80
|
+
def allow_user_level_2fa_override
|
|
81
|
+
@attributes[:allow_user_level_2fa_override]
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
# boolean - Allow the site-wide allowed IP restriction to be overriden on a per-user-basis?
|
|
85
|
+
def allow_user_level_allowed_ip_override
|
|
86
|
+
@attributes[:allow_user_level_allowed_ip_override]
|
|
87
|
+
end
|
|
88
|
+
|
|
89
|
+
# boolean - Allow the site-wide FTP SSL requirement to be overriden on a per-user-basis?
|
|
90
|
+
def allow_user_level_ssl_override
|
|
91
|
+
@attributes[:allow_user_level_ssl_override]
|
|
92
|
+
end
|
|
93
|
+
|
|
79
94
|
# string - Comma separated list of allowed Country codes
|
|
80
95
|
def allowed_countries
|
|
81
96
|
@attributes[:allowed_countries]
|
|
@@ -946,6 +961,9 @@ module Files
|
|
|
946
961
|
# include_password_in_welcome_email - boolean - Include password in emails to new users?
|
|
947
962
|
# allowed_countries - string - Comma separated list of allowed Country codes
|
|
948
963
|
# allowed_ips - string - List of allowed IP addresses
|
|
964
|
+
# allow_user_level_2fa_override - boolean - Allow the site-wide two-factor authentication requirement to be overriden on a per-user-basis?
|
|
965
|
+
# allow_user_level_allowed_ip_override - boolean - Allow the site-wide allowed IP restriction to be overriden on a per-user-basis?
|
|
966
|
+
# allow_user_level_ssl_override - boolean - Allow the site-wide FTP SSL requirement to be overriden on a per-user-basis?
|
|
949
967
|
# disallowed_countries - string - Comma separated list of disallowed Country codes
|
|
950
968
|
# days_to_retain_backups - int64 - Number of days to keep deleted files
|
|
951
969
|
# max_prior_passwords - int64 - Number of prior passwords to disallow
|
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.575
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- files.com
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-03-
|
|
11
|
+
date: 2026-03-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|