files.com 1.1.329 → 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 +4 -4
- data/_VERSION +1 -1
- data/docs/site.md +4 -0
- data/lib/files.com/models/site.rb +7 -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: a493bf6166b6fce51ea6774e1189e6aa3724d016bd1e5b7088434004351460ea
|
4
|
+
data.tar.gz: 6d0190883834427eb145c4307783392c429482fc77264635913c98ac6cc6faf8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1eebe136f5db2efb0bb51b4bc34dfd4142d10c65ff2a8a3a34ef6f4b7ba9ca3d5d8015b00cb40c6439ab91ef405426faa13217bd12a619d7ce078bb54c1f3fbb
|
7
|
+
data.tar.gz: 634eeffa1196510241094dde919f3613babac6663c6b85a55ae68913ad448474340330ab527f93f82917a46d6fd1ab641311bd4ee5dd994c67eadb7625874906
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
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.
|
@@ -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)
|
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.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-
|
11
|
+
date: 2025-10-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|