files.com 1.1.92 → 1.1.93

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: 0e1c1047ac4f593785fa30ad9ad1fe34497c0bcb7f5802efcebf9af8d6096209
4
- data.tar.gz: f1c219b103c914da2941b62c4727a25b311f7d247232cc0d3a16c340827c7ee7
3
+ metadata.gz: 954c5bd62f5d9af83b54e8b9a718c5e773352e7e6f275a2a209ee4b1ee4ad296
4
+ data.tar.gz: a66c35cf3c92b48f6cfb6ea9ddd86b98930cc099f2bbaed45afebc46e93c4e40
5
5
  SHA512:
6
- metadata.gz: 22233ec392e540c85529ddbea5ce32868f18c1b9ae3755b1a7de20437637bf61271dac2de0fbe63c4e57550fcaa811d5b46b45bb0290ca4b0831b10be77eb293
7
- data.tar.gz: 2b5055025210645e7ca00c3f56fcd0dbf083aaf353589dccc27fbf2b3ce3a3a7eaa59029e576b00b7454aca449d1c030cc4d7f587448498ba0605762d0d22ed4
6
+ metadata.gz: 72cf65b5d767c557816661797a46d567a49385f7bdc54c9ecef514b4625863804e0dcfec11db8e11448e79948de5ad7efd5cf689221b856f7c29b6d20fc63b73
7
+ data.tar.gz: 2411bd776705f0a4aa85a95ca60ed946eff9387039cac471d57d4e78e13a4e9b468ad01f70f9bf563a86c638376f808afd8346e0459de05ff13d471cb8accfec
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.92
1
+ 1.1.93
data/docs/site.md CHANGED
@@ -194,6 +194,7 @@
194
194
  "tls_disabled": true,
195
195
  "trial_days_left": 1,
196
196
  "trial_until": "2000-01-01T01:00:00Z",
197
+ "use_dedicated_ips_for_smtp": true,
197
198
  "use_provided_modified_at": true,
198
199
  "user": {
199
200
  "id": 1,
@@ -422,6 +423,7 @@
422
423
  * `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.
423
424
  * `trial_days_left` (int64): Number of days left in trial
424
425
  * `trial_until` (date-time): When does this Site trial expire?
426
+ * `use_dedicated_ips_for_smtp` (boolean): If using custom SMTP, should we use dedicated IPs to deliver emails?
425
427
  * `use_provided_modified_at` (boolean): Allow uploaders to set `provided_modified_at` for uploaded files?
426
428
  * `user` (User): User of current session
427
429
  * `user_lockout` (boolean): Will users be locked out after incorrect login attempts?
@@ -578,6 +580,7 @@ Files::Site.update(
578
580
  site_header: "example",
579
581
  site_footer: "example",
580
582
  login_help_text: "Login page help text.",
583
+ use_dedicated_ips_for_smtp: true,
581
584
  smtp_address: "smtp.my-mail-server.com",
582
585
  smtp_authentication: "plain",
583
586
  smtp_from: "me@my-mail-server.com",
@@ -727,6 +730,7 @@ Files::Site.update(
727
730
  * `site_header` (string): Custom site header text
728
731
  * `site_footer` (string): Custom site footer text
729
732
  * `login_help_text` (string): Login help text
733
+ * `use_dedicated_ips_for_smtp` (boolean): If using custom SMTP, should we use dedicated IPs to deliver emails?
730
734
  * `smtp_address` (string): SMTP server hostname or IP
731
735
  * `smtp_authentication` (string): SMTP server authentication type
732
736
  * `smtp_from` (string): From address to use when mailing through custom SMTP
@@ -714,6 +714,11 @@ module Files
714
714
  @attributes[:trial_until]
715
715
  end
716
716
 
717
+ # boolean - If using custom SMTP, should we use dedicated IPs to deliver emails?
718
+ def use_dedicated_ips_for_smtp
719
+ @attributes[:use_dedicated_ips_for_smtp]
720
+ end
721
+
717
722
  # boolean - Allow uploaders to set `provided_modified_at` for uploaded files?
718
723
  def use_provided_modified_at
719
724
  @attributes[:use_provided_modified_at]
@@ -928,6 +933,7 @@ module Files
928
933
  # site_header - string - Custom site header text
929
934
  # site_footer - string - Custom site footer text
930
935
  # login_help_text - string - Login help text
936
+ # use_dedicated_ips_for_smtp - boolean - If using custom SMTP, should we use dedicated IPs to deliver emails?
931
937
  # smtp_address - string - SMTP server hostname or IP
932
938
  # smtp_authentication - string - SMTP server authentication type
933
939
  # smtp_from - string - From address to use when mailing through custom SMTP
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.92"
4
+ VERSION = "1.1.93"
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.92
4
+ version: 1.1.93
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-06-14 00:00:00.000000000 Z
11
+ date: 2024-06-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable