files.com 1.1.328 → 1.1.330

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: 55ec352a68bc861c4214d0a6056bdc9ebccc92c38013d3e6efe50c18f08ea765
4
- data.tar.gz: 8ee70d9136bf5428d6421d41c11a8e640e1a7a706d4ef970879fce623503da6a
3
+ metadata.gz: a493bf6166b6fce51ea6774e1189e6aa3724d016bd1e5b7088434004351460ea
4
+ data.tar.gz: 6d0190883834427eb145c4307783392c429482fc77264635913c98ac6cc6faf8
5
5
  SHA512:
6
- metadata.gz: 1a8e62568c7dc98f66f12aa3b96941d8b6de9ec30f69f69f8093c2bf0f013e09f94b4e54757a7fd6448cf7e8f55b116006c850b0cdd2963d7d83d25aafad683d
7
- data.tar.gz: d85db8bc2eff91b881200d243f635244dc5f3f2185335b75c7d9fd3dd9d4f1b7916223afb07f376a677d698469a564ca58ed8c394f1283a111ccf525024dd67a
6
+ metadata.gz: 1eebe136f5db2efb0bb51b4bc34dfd4142d10c65ff2a8a3a34ef6f4b7ba9ca3d5d8015b00cb40c6439ab91ef405426faa13217bd12a619d7ce078bb54c1f3fbb
7
+ data.tar.gz: 634eeffa1196510241094dde919f3613babac6663c6b85a55ae68913ad448474340330ab527f93f82917a46d6fd1ab641311bd4ee5dd994c67eadb7625874906
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.328
1
+ 1.1.330
data/docs/site.md CHANGED
@@ -22,6 +22,7 @@
22
22
  "allowed_countries": "US,DE",
23
23
  "allowed_ips": "example",
24
24
  "always_mkdir_parents": true,
25
+ "as2_message_retention_days": 1,
25
26
  "ask_about_overwrites": true,
26
27
  "bundle_activity_notifications": "never",
27
28
  "bundle_expiration": 1,
@@ -321,6 +322,7 @@
321
322
  * `allowed_countries` (string): Comma separated list of allowed Country codes
322
323
  * `allowed_ips` (string): List of allowed IP addresses
323
324
  * `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.
325
+ * `as2_message_retention_days` (int64): Number of days to retain AS2 messages (incoming and outgoing).
324
326
  * `ask_about_overwrites` (boolean): If false, rename conflicting files instead of asking for overwrite confirmation. Only applies to web interface.
325
327
  * `bundle_activity_notifications` (string): Do Bundle owners receive activity notifications?
326
328
  * `bundle_expiration` (int64): Site-wide Bundle expiration in days
@@ -545,6 +547,7 @@ Files::Site.update(
545
547
  calculate_file_checksums_sha256: false,
546
548
  legacy_checksums_mode: false,
547
549
  migrate_remote_server_sync_to_sync: false,
550
+ as2_message_retention_days: 1,
548
551
  session_expiry: 1.0,
549
552
  ssl_required: false,
550
553
  sftp_insecure_ciphers: false,
@@ -705,6 +708,7 @@ Files::Site.update(
705
708
  * `calculate_file_checksums_sha256` (boolean): Calculate SHA256 checksums for files?
706
709
  * `legacy_checksums_mode` (boolean): Use legacy checksums mode?
707
710
  * `migrate_remote_server_sync_to_sync` (boolean): If true, we will migrate all remote server syncs to the new Sync model.
711
+ * `as2_message_retention_days` (int64): Number of days to retain AS2 messages (incoming and outgoing).
708
712
  * `session_expiry` (double): Session expiry in hours
709
713
  * `ssl_required` (boolean): Is SSL required? Disabling this is insecure.
710
714
  * `sftp_insecure_ciphers` (boolean): If true, we will allow weak and known insecure ciphers to be used for SFTP connections. Enabling this setting severely weakens the security of your site and it is not recommend, except as a last resort for compatibility.
data/docs/sync.md CHANGED
@@ -59,7 +59,6 @@
59
59
  "runtime": 1.0,
60
60
  "log_url": "https://www.example.com/log_file.txt",
61
61
  "completed_at": "2000-01-01T01:00:00Z",
62
- "notified": true,
63
62
  "dry_run": true,
64
63
  "bytes_synced": 1,
65
64
  "estimated_bytes_count": 1,
data/docs/sync_run.md CHANGED
@@ -21,7 +21,6 @@
21
21
  "runtime": 1.0,
22
22
  "log_url": "https://www.example.com/log_file.txt",
23
23
  "completed_at": "2000-01-01T01:00:00Z",
24
- "notified": true,
25
24
  "dry_run": true,
26
25
  "bytes_synced": 1,
27
26
  "estimated_bytes_count": 1,
@@ -45,7 +44,6 @@
45
44
  * `runtime` (double): Total runtime in seconds
46
45
  * `log_url` (string): Link to external log file.
47
46
  * `completed_at` (date-time): When this run was completed
48
- * `notified` (boolean): Whether notifications were sent for this run
49
47
  * `dry_run` (boolean): Whether this run was a dry run (no actual changes made)
50
48
  * `bytes_synced` (int64): Total bytes synced in this run
51
49
  * `estimated_bytes_count` (int64): Estimated bytes count for this run
@@ -89,6 +89,11 @@ module Files
89
89
  @attributes[:always_mkdir_parents]
90
90
  end
91
91
 
92
+ # int64 - Number of days to retain AS2 messages (incoming and outgoing).
93
+ def as2_message_retention_days
94
+ @attributes[:as2_message_retention_days]
95
+ end
96
+
92
97
  # boolean - If false, rename conflicting files instead of asking for overwrite confirmation. Only applies to web interface.
93
98
  def ask_about_overwrites
94
99
  @attributes[:ask_about_overwrites]
@@ -923,6 +928,7 @@ module Files
923
928
  # calculate_file_checksums_sha256 - boolean - Calculate SHA256 checksums for files?
924
929
  # legacy_checksums_mode - boolean - Use legacy checksums mode?
925
930
  # migrate_remote_server_sync_to_sync - boolean - If true, we will migrate all remote server syncs to the new Sync model.
931
+ # as2_message_retention_days - int64 - Number of days to retain AS2 messages (incoming and outgoing).
926
932
  # session_expiry - double - Session expiry in hours
927
933
  # ssl_required - boolean - Is SSL required? Disabling this is insecure.
928
934
  # sftp_insecure_ciphers - boolean - If true, we will allow weak and known insecure ciphers to be used for SFTP connections. Enabling this setting severely weakens the security of your site and it is not recommend, except as a last resort for compatibility.
@@ -1065,6 +1071,7 @@ module Files
1065
1071
  raise InvalidParameterError.new("Bad parameter: motd_text must be an String") if params[:motd_text] and !params[:motd_text].is_a?(String)
1066
1072
  raise InvalidParameterError.new("Bad parameter: left_navigation_visibility must be an Hash") if params[:left_navigation_visibility] and !params[:left_navigation_visibility].is_a?(Hash)
1067
1073
  raise InvalidParameterError.new("Bad parameter: additional_text_file_types must be an Array") if params[:additional_text_file_types] and !params[:additional_text_file_types].is_a?(Array)
1074
+ raise InvalidParameterError.new("Bad parameter: as2_message_retention_days must be an Integer") if params[:as2_message_retention_days] and !params[:as2_message_retention_days].is_a?(Integer)
1068
1075
  raise InvalidParameterError.new("Bad parameter: session_expiry must be an Float") if params[:session_expiry] and !params[:session_expiry].is_a?(Float)
1069
1076
  raise InvalidParameterError.new("Bad parameter: user_lockout_tries must be an Integer") if params[:user_lockout_tries] and !params[:user_lockout_tries].is_a?(Integer)
1070
1077
  raise InvalidParameterError.new("Bad parameter: user_lockout_within must be an Integer") if params[:user_lockout_within] and !params[:user_lockout_within].is_a?(Integer)
@@ -84,11 +84,6 @@ module Files
84
84
  @attributes[:completed_at]
85
85
  end
86
86
 
87
- # boolean - Whether notifications were sent for this run
88
- def notified
89
- @attributes[:notified]
90
- end
91
-
92
87
  # boolean - Whether this run was a dry run (no actual changes made)
93
88
  def dry_run
94
89
  @attributes[:dry_run]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.328"
4
+ VERSION = "1.1.330"
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.328
4
+ version: 1.1.330
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-09-24 00:00:00.000000000 Z
11
+ date: 2025-10-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable