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 +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: 747c2425ef76a0f1a0e9214dd372f4a17a47e2f399661bd0c3fcd571ac7cb0cf
|
|
4
|
+
data.tar.gz: 4735cd97a9ea2bc38bfcb07a19b51308b4fdf2b2ca4b9ce4734c604d52c63afd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 354308856330b6a7d8e2c5d69f064ef836aa7c029915882e754138afc9147877bf6a6e10b6b2716193bb0ca7322fdd8ae0c9670a44f3b7d4a841c4435df7c7e9
|
|
7
|
+
data.tar.gz: b097b98c2b9b97e3110f14e766a5a88cd26ce11b4f4d37c9cd4d423dd1702a90b68f074389009a5779852e8d46b67bfc778b33cf1f15065b9989bdec0a0da97b
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
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)
|
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.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
|
+
date: 2025-12-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|