files.com 1.1.34 → 1.1.36

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b6a5a83fc2a30a2da9edb6dc6f2ca83ea3101647c91a654d4c9e509a77bbfe27
4
- data.tar.gz: ad54b1d3fdc3e2fd8559920d0a3104ee01b798e86f4cf55e5dac21d848acbe8a
3
+ metadata.gz: 1b8ee5d64268999a1cafcb81ffbb3de9a8f6918e7c744d3276e777020a3adcc3
4
+ data.tar.gz: 6ba8c0cf60964cce0358be21490902ff789ff1c5a1a3345814596b5dcf098279
5
5
  SHA512:
6
- metadata.gz: b4154009b8ff423f948378a0aa4c49eb79f180993a5ab03353a7d38da775844d52ceb5bf4261047763e6d20c3a0a9c492b5a070b0ca8c494fc275bbe8b88d183
7
- data.tar.gz: a70d60ccd0249f97c9373a2846dbe35aa90c3f0eee4762e7a4211b134aa1cfe14c862186c26381034553da6d715ba85d0865e34bcfb41c9de64d87a41adfbb42
6
+ metadata.gz: 9d04579d40cb7ac2be23c7631b8a84ef99870a62d3e252dbf4a9e02e5a3b613db318541676e696c397f5ef4a4742fcb5f550436545e38d912b08319b21e380dd
7
+ data.tar.gz: e1aecd172b2fe68022b343c0a338099cae5dae10ba4411a2a9ccd67537ec475669fc255a9f90f568b19598f57ab7a273744a7a489bbe2e0dbd2498267d674dc1
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.34
1
+ 1.1.36
data/docs/automation.md CHANGED
@@ -19,9 +19,11 @@
19
19
  1,
20
20
  2
21
21
  ],
22
+ "ignore_locked_folders": true,
22
23
  "interval": "week",
23
24
  "last_modified_at": "2000-01-01T01:00:00Z",
24
25
  "name": "example",
26
+ "overwrite_files": true,
25
27
  "path": "example",
26
28
  "recurring_day": 25,
27
29
  "schedule": "example",
@@ -67,9 +69,11 @@
67
69
  * `destinations` (array): Destination Paths
68
70
  * `disabled` (boolean): If true, this automation will not run.
69
71
  * `group_ids` (array): IDs of Groups for the Automation (i.e. who to Request File from)
72
+ * `ignore_locked_folders` (boolean): If true, the Lock Folders behavior will be disregarded for automated actions.
70
73
  * `interval` (string): If trigger is `daily`, this specifies how often to run this automation. One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
71
74
  * `last_modified_at` (date-time): Time when automation was last modified. Does not change for name or description updates.
72
75
  * `name` (string): Name for this automation.
76
+ * `overwrite_files` (boolean): If true, existing files will be overwritten with new files on Move/Copy automations. Note: by default files will not be overwritten if they appear to be the same file size as the newly incoming file. Use the `:always_overwrite_size_matching_files` option to override this.
73
77
  * `path` (string): Path on which this Automation runs. Supports globs, except on remote mounts. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
74
78
  * `recurring_day` (int64): If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
75
79
  * `schedule` (object): If trigger is `custom_schedule`, Custom schedule description for when the automation should be run in json format.
@@ -146,7 +150,9 @@ Files::Automation.create(
146
150
  always_overwrite_size_matching_files: true,
147
151
  description: "example",
148
152
  disabled: true,
153
+ ignore_locked_folders: true,
149
154
  name: "example",
155
+ overwrite_files: true,
150
156
  trigger: "daily",
151
157
  trigger_actions: ["create"],
152
158
  value: {"limit":"1"},
@@ -173,7 +179,9 @@ Files::Automation.create(
173
179
  * `always_overwrite_size_matching_files` (boolean): Ordinarily, files with identical size in the source and destination will be skipped from copy operations to prevent wasted transfer. If this flag is `true` we will overwrite the destination file always. Note that this may cause large amounts of wasted transfer usage.
174
180
  * `description` (string): Description for the this Automation.
175
181
  * `disabled` (boolean): If true, this automation will not run.
182
+ * `ignore_locked_folders` (boolean): If true, the Lock Folders behavior will be disregarded for automated actions.
176
183
  * `name` (string): Name for this automation.
184
+ * `overwrite_files` (boolean): If true, existing files will be overwritten with new files on Move/Copy automations. Note: by default files will not be overwritten if they appear to be the same file size as the newly incoming file. Use the `:always_overwrite_size_matching_files` option to override this.
177
185
  * `trigger` (string): How this automation is triggered to run.
178
186
  * `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
179
187
  * `value` (object): A Hash of attributes specific to the automation type.
@@ -215,7 +223,9 @@ Files::Automation.update(id,
215
223
  always_overwrite_size_matching_files: true,
216
224
  description: "example",
217
225
  disabled: true,
226
+ ignore_locked_folders: true,
218
227
  name: "example",
228
+ overwrite_files: true,
219
229
  trigger: "daily",
220
230
  trigger_actions: ["create"],
221
231
  value: {"limit":"1"},
@@ -243,7 +253,9 @@ Files::Automation.update(id,
243
253
  * `always_overwrite_size_matching_files` (boolean): Ordinarily, files with identical size in the source and destination will be skipped from copy operations to prevent wasted transfer. If this flag is `true` we will overwrite the destination file always. Note that this may cause large amounts of wasted transfer usage.
244
254
  * `description` (string): Description for the this Automation.
245
255
  * `disabled` (boolean): If true, this automation will not run.
256
+ * `ignore_locked_folders` (boolean): If true, the Lock Folders behavior will be disregarded for automated actions.
246
257
  * `name` (string): Name for this automation.
258
+ * `overwrite_files` (boolean): If true, existing files will be overwritten with new files on Move/Copy automations. Note: by default files will not be overwritten if they appear to be the same file size as the newly incoming file. Use the `:always_overwrite_size_matching_files` option to override this.
247
259
  * `trigger` (string): How this automation is triggered to run.
248
260
  * `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
249
261
  * `value` (object): A Hash of attributes specific to the automation type.
@@ -302,7 +314,9 @@ automation.update(
302
314
  always_overwrite_size_matching_files: true,
303
315
  description: "example",
304
316
  disabled: true,
317
+ ignore_locked_folders: true,
305
318
  name: "example",
319
+ overwrite_files: true,
306
320
  trigger: "daily",
307
321
  trigger_actions: ["create"],
308
322
  value: {"limit":"1"},
@@ -330,7 +344,9 @@ automation.update(
330
344
  * `always_overwrite_size_matching_files` (boolean): Ordinarily, files with identical size in the source and destination will be skipped from copy operations to prevent wasted transfer. If this flag is `true` we will overwrite the destination file always. Note that this may cause large amounts of wasted transfer usage.
331
345
  * `description` (string): Description for the this Automation.
332
346
  * `disabled` (boolean): If true, this automation will not run.
347
+ * `ignore_locked_folders` (boolean): If true, the Lock Folders behavior will be disregarded for automated actions.
333
348
  * `name` (string): Name for this automation.
349
+ * `overwrite_files` (boolean): If true, existing files will be overwritten with new files on Move/Copy automations. Note: by default files will not be overwritten if they appear to be the same file size as the newly incoming file. Use the `:always_overwrite_size_matching_files` option to override this.
334
350
  * `trigger` (string): How this automation is triggered to run.
335
351
  * `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
336
352
  * `value` (object): A Hash of attributes specific to the automation type.
data/docs/site.md CHANGED
@@ -388,7 +388,7 @@
388
388
  * `sftp_enabled` (boolean): Is SFTP enabled?
389
389
  * `sftp_host_key_type` (string): Sftp Host Key Type
390
390
  * `active_sftp_host_key_id` (int64): Id of the currently selected custom SFTP Host Key
391
- * `sftp_insecure_ciphers` (boolean): Are Insecure Ciphers allowed for SFTP? Note: Settting TLS Disabled -> True will always allow insecure ciphers for SFTP as well. Enabling this is insecure.
391
+ * `sftp_insecure_ciphers` (boolean): Are Insecure Ciphers allowed for SFTP? Note: Setting TLS Disabled -> True will always allow insecure ciphers for SFTP as well. Enabling this is insecure.
392
392
  * `sftp_user_root_enabled` (boolean): Use user FTP roots also for SFTP?
393
393
  * `sharing_enabled` (boolean): Allow bundle creation
394
394
  * `show_request_access_link` (boolean): Show request access link for users without access? Currently unused.
@@ -627,7 +627,7 @@ Files::Site.update(
627
627
  * `session_expiry` (double): Session expiry in hours
628
628
  * `ssl_required` (boolean): Is SSL required? Disabling this is insecure.
629
629
  * `tls_disabled` (boolean): Are Insecure TLS and SFTP Ciphers allowed? Enabling this is insecure.
630
- * `sftp_insecure_ciphers` (boolean): Are Insecure Ciphers allowed for SFTP? Note: Settting TLS Disabled -> True will always allow insecure ciphers for SFTP as well. Enabling this is insecure.
630
+ * `sftp_insecure_ciphers` (boolean): Are Insecure Ciphers allowed for SFTP? Note: Setting TLS Disabled -> True will always allow insecure ciphers for SFTP as well. Enabling this is insecure.
631
631
  * `disable_files_certificate_generation` (boolean): If set, Files.com will not set the CAA records required to generate future SSL certificates for this domain.
632
632
  * `user_lockout` (boolean): Will users be locked out after incorrect login attempts?
633
633
  * `user_lockout_tries` (int64): Number of login tries within `user_lockout_within` hours before users are locked out
@@ -99,6 +99,15 @@ module Files
99
99
  @attributes[:group_ids] = value
100
100
  end
101
101
 
102
+ # boolean - If true, the Lock Folders behavior will be disregarded for automated actions.
103
+ def ignore_locked_folders
104
+ @attributes[:ignore_locked_folders]
105
+ end
106
+
107
+ def ignore_locked_folders=(value)
108
+ @attributes[:ignore_locked_folders] = value
109
+ end
110
+
102
111
  # string - If trigger is `daily`, this specifies how often to run this automation. One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
103
112
  def interval
104
113
  @attributes[:interval]
@@ -126,6 +135,15 @@ module Files
126
135
  @attributes[:name] = value
127
136
  end
128
137
 
138
+ # boolean - If true, existing files will be overwritten with new files on Move/Copy automations. Note: by default files will not be overwritten if they appear to be the same file size as the newly incoming file. Use the `:always_overwrite_size_matching_files` option to override this.
139
+ def overwrite_files
140
+ @attributes[:overwrite_files]
141
+ end
142
+
143
+ def overwrite_files=(value)
144
+ @attributes[:overwrite_files] = value
145
+ end
146
+
129
147
  # string - Path on which this Automation runs. Supports globs, except on remote mounts. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
130
148
  def path
131
149
  @attributes[:path]
@@ -298,7 +316,9 @@ module Files
298
316
  # always_overwrite_size_matching_files - boolean - Ordinarily, files with identical size in the source and destination will be skipped from copy operations to prevent wasted transfer. If this flag is `true` we will overwrite the destination file always. Note that this may cause large amounts of wasted transfer usage.
299
317
  # description - string - Description for the this Automation.
300
318
  # disabled - boolean - If true, this automation will not run.
319
+ # ignore_locked_folders - boolean - If true, the Lock Folders behavior will be disregarded for automated actions.
301
320
  # name - string - Name for this automation.
321
+ # overwrite_files - boolean - If true, existing files will be overwritten with new files on Move/Copy automations. Note: by default files will not be overwritten if they appear to be the same file size as the newly incoming file. Use the `:always_overwrite_size_matching_files` option to override this.
302
322
  # trigger - string - How this automation is triggered to run.
303
323
  # 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
304
324
  # value - object - A Hash of attributes specific to the automation type.
@@ -421,7 +441,9 @@ module Files
421
441
  # always_overwrite_size_matching_files - boolean - Ordinarily, files with identical size in the source and destination will be skipped from copy operations to prevent wasted transfer. If this flag is `true` we will overwrite the destination file always. Note that this may cause large amounts of wasted transfer usage.
422
442
  # description - string - Description for the this Automation.
423
443
  # disabled - boolean - If true, this automation will not run.
444
+ # ignore_locked_folders - boolean - If true, the Lock Folders behavior will be disregarded for automated actions.
424
445
  # name - string - Name for this automation.
446
+ # overwrite_files - boolean - If true, existing files will be overwritten with new files on Move/Copy automations. Note: by default files will not be overwritten if they appear to be the same file size as the newly incoming file. Use the `:always_overwrite_size_matching_files` option to override this.
425
447
  # trigger - string - How this automation is triggered to run.
426
448
  # 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
427
449
  # value - object - A Hash of attributes specific to the automation type.
@@ -482,7 +504,9 @@ module Files
482
504
  # always_overwrite_size_matching_files - boolean - Ordinarily, files with identical size in the source and destination will be skipped from copy operations to prevent wasted transfer. If this flag is `true` we will overwrite the destination file always. Note that this may cause large amounts of wasted transfer usage.
483
505
  # description - string - Description for the this Automation.
484
506
  # disabled - boolean - If true, this automation will not run.
507
+ # ignore_locked_folders - boolean - If true, the Lock Folders behavior will be disregarded for automated actions.
485
508
  # name - string - Name for this automation.
509
+ # overwrite_files - boolean - If true, existing files will be overwritten with new files on Move/Copy automations. Note: by default files will not be overwritten if they appear to be the same file size as the newly incoming file. Use the `:always_overwrite_size_matching_files` option to override this.
486
510
  # trigger - string - How this automation is triggered to run.
487
511
  # 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
488
512
  # value - object - A Hash of attributes specific to the automation type.
@@ -599,7 +599,7 @@ module Files
599
599
  @attributes[:active_sftp_host_key_id]
600
600
  end
601
601
 
602
- # boolean - Are Insecure Ciphers allowed for SFTP? Note: Settting TLS Disabled -> True will always allow insecure ciphers for SFTP as well. Enabling this is insecure.
602
+ # boolean - Are Insecure Ciphers allowed for SFTP? Note: Setting TLS Disabled -> True will always allow insecure ciphers for SFTP as well. Enabling this is insecure.
603
603
  def sftp_insecure_ciphers
604
604
  @attributes[:sftp_insecure_ciphers]
605
605
  end
@@ -821,7 +821,7 @@ module Files
821
821
  # session_expiry - double - Session expiry in hours
822
822
  # ssl_required - boolean - Is SSL required? Disabling this is insecure.
823
823
  # tls_disabled - boolean - Are Insecure TLS and SFTP Ciphers allowed? Enabling this is insecure.
824
- # sftp_insecure_ciphers - boolean - Are Insecure Ciphers allowed for SFTP? Note: Settting TLS Disabled -> True will always allow insecure ciphers for SFTP as well. Enabling this is insecure.
824
+ # sftp_insecure_ciphers - boolean - Are Insecure Ciphers allowed for SFTP? Note: Setting TLS Disabled -> True will always allow insecure ciphers for SFTP as well. Enabling this is insecure.
825
825
  # disable_files_certificate_generation - boolean - If set, Files.com will not set the CAA records required to generate future SSL certificates for this domain.
826
826
  # user_lockout - boolean - Will users be locked out after incorrect login attempts?
827
827
  # user_lockout_tries - int64 - Number of login tries within `user_lockout_within` hours before users are locked out
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.34"
4
+ VERSION = "1.1.36"
5
5
  end
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.34
4
+ version: 1.1.36
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-04-08 00:00:00.000000000 Z
11
+ date: 2024-04-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable