files.com 1.1.387 → 1.1.388

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: 27ebd943ede649143dedc29facc04503699c7790677dd4a1ae42c5e35f545f5e
4
- data.tar.gz: 24dd337b9546c0cde36cf755d71fdf3086db2e22807aa5f998ed4c1f93f70e09
3
+ metadata.gz: 747c2425ef76a0f1a0e9214dd372f4a17a47e2f399661bd0c3fcd571ac7cb0cf
4
+ data.tar.gz: 4735cd97a9ea2bc38bfcb07a19b51308b4fdf2b2ca4b9ce4734c604d52c63afd
5
5
  SHA512:
6
- metadata.gz: 5a8463af7f64315c68628e3989f13575737ee0e426f52be4d0e8b6cb0a62bd39701fca10a7817f9b0ba902dfeb048e478f8cd3ab3dcc0e50f6a69d3e957ff148
7
- data.tar.gz: aca00c2338c54ded987fe49d6c6f0bdbc5d3aef67b1c5604fff3a50324f0d13f242c2bedd5d61edf827cef8ceb52d06565c081c99566390368ece1a7bd816ad8
6
+ metadata.gz: 354308856330b6a7d8e2c5d69f064ef836aa7c029915882e754138afc9147877bf6a6e10b6b2716193bb0ca7322fdd8ae0c9670a44f3b7d4a841c4435df7c7e9
7
+ data.tar.gz: b097b98c2b9b97e3110f14e766a5a88cd26ce11b4f4d37c9cd4d423dd1702a90b68f074389009a5779852e8d46b67bfc778b33cf1f15065b9989bdec0a0da97b
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.387
1
+ 1.1.388
data/docs/site.md CHANGED
@@ -303,6 +303,7 @@
303
303
  "users_can_create_api_keys": true,
304
304
  "users_can_create_ssh_keys": true,
305
305
  "welcome_custom_text": "Welcome to my site!",
306
+ "email_footer_custom_text": "Copyright © %Y MyCompany Inc.",
306
307
  "welcome_email_cc": "example",
307
308
  "welcome_email_subject": "example",
308
309
  "welcome_email_enabled": true,
@@ -479,6 +480,7 @@
479
480
  * `users_can_create_api_keys` (boolean): Allow users to create their own API keys?
480
481
  * `users_can_create_ssh_keys` (boolean): Allow users to create their own SSH keys?
481
482
  * `welcome_custom_text` (string): Custom text send in user welcome email
483
+ * `email_footer_custom_text` (string): Custom footer text for system-generated emails. Supports standard strftime date/time patterns like %Y (4-digit year), %m (month), %d (day).
482
484
  * `welcome_email_cc` (email): Include this email in welcome emails if enabled
483
485
  * `welcome_email_subject` (string): Include this email subject in welcome emails if enabled
484
486
  * `welcome_email_enabled` (boolean): Will the welcome email be sent to new users?
@@ -635,6 +637,7 @@ Files::Site.update(
635
637
  site_public_footer: "example",
636
638
  login_help_text: "Login page help text.",
637
639
  use_dedicated_ips_for_smtp: false,
640
+ email_footer_custom_text: "Copyright © %Y MyCompany Inc.",
638
641
  smtp_address: "smtp.my-mail-server.com",
639
642
  smtp_authentication: "plain",
640
643
  smtp_from: "me@my-mail-server.com",
@@ -796,6 +799,7 @@ Files::Site.update(
796
799
  * `site_public_footer` (string): Custom site footer text for public pages
797
800
  * `login_help_text` (string): Login help text
798
801
  * `use_dedicated_ips_for_smtp` (boolean): If using custom SMTP, should we use dedicated IPs to deliver emails?
802
+ * `email_footer_custom_text` (string): Custom footer text for system-generated emails. Supports standard strftime date/time patterns like %Y (4-digit year), %m (month), %d (day).
799
803
  * `smtp_address` (string): SMTP server hostname or IP
800
804
  * `smtp_authentication` (string): SMTP server authentication type
801
805
  * `smtp_from` (string): From address to use when mailing through custom SMTP
@@ -844,6 +844,11 @@ module Files
844
844
  @attributes[:welcome_custom_text]
845
845
  end
846
846
 
847
+ # string - Custom footer text for system-generated emails. Supports standard strftime date/time patterns like %Y (4-digit year), %m (month), %d (day).
848
+ def email_footer_custom_text
849
+ @attributes[:email_footer_custom_text]
850
+ end
851
+
847
852
  # email - Include this email in welcome emails if enabled
848
853
  def welcome_email_cc
849
854
  @attributes[:welcome_email_cc]
@@ -1010,6 +1015,7 @@ module Files
1010
1015
  # site_public_footer - string - Custom site footer text for public pages
1011
1016
  # login_help_text - string - Login help text
1012
1017
  # use_dedicated_ips_for_smtp - boolean - If using custom SMTP, should we use dedicated IPs to deliver emails?
1018
+ # email_footer_custom_text - string - Custom footer text for system-generated emails. Supports standard strftime date/time patterns like %Y (4-digit year), %m (month), %d (day).
1013
1019
  # smtp_address - string - SMTP server hostname or IP
1014
1020
  # smtp_authentication - string - SMTP server authentication type
1015
1021
  # smtp_from - string - From address to use when mailing through custom SMTP
@@ -1102,6 +1108,7 @@ module Files
1102
1108
  raise InvalidParameterError.new("Bad parameter: site_public_header must be an String") if params[:site_public_header] and !params[:site_public_header].is_a?(String)
1103
1109
  raise InvalidParameterError.new("Bad parameter: site_public_footer must be an String") if params[:site_public_footer] and !params[:site_public_footer].is_a?(String)
1104
1110
  raise InvalidParameterError.new("Bad parameter: login_help_text must be an String") if params[:login_help_text] and !params[:login_help_text].is_a?(String)
1111
+ raise InvalidParameterError.new("Bad parameter: email_footer_custom_text must be an String") if params[:email_footer_custom_text] and !params[:email_footer_custom_text].is_a?(String)
1105
1112
  raise InvalidParameterError.new("Bad parameter: smtp_address must be an String") if params[:smtp_address] and !params[:smtp_address].is_a?(String)
1106
1113
  raise InvalidParameterError.new("Bad parameter: smtp_authentication must be an String") if params[:smtp_authentication] and !params[:smtp_authentication].is_a?(String)
1107
1114
  raise InvalidParameterError.new("Bad parameter: smtp_from must be an String") if params[:smtp_from] and !params[:smtp_from].is_a?(String)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.387"
4
+ VERSION = "1.1.388"
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.387
4
+ version: 1.1.388
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-28 00:00:00.000000000 Z
11
+ date: 2025-12-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable