files.com 1.1.295 → 1.1.296
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 +12 -4
- data/lib/files.com/models/site.rb +18 -4
- 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: 2e37faa39cb7be8484877c34fe39a436640072e4b2e1be2ee6ce3a03bb94ce37
|
4
|
+
data.tar.gz: 0d16cc9c9a6b6805ae658f1abef6f13b3494c33b7b4bfe5665e0da0cd620abf7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f64e99fd1b185120a73acfda5a3a44dcb913c0809068689323aae1c341eec42fe39d6b2ee168fb07bbd5adc86f47b34a50a7f8627fcdefa2838cd5f2f2a2e9db
|
7
|
+
data.tar.gz: dfd2e7638fb0bff46bbebaea4ff5db9fdf0deb94744e228f36be6ce451412a4cf93ad413ceff6f0e612434e089161df9978f5e641b787d2fbf20ee68808b3d8e
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.296
|
data/docs/site.md
CHANGED
@@ -198,6 +198,8 @@
|
|
198
198
|
"show_request_access_link": true,
|
199
199
|
"site_footer": "example",
|
200
200
|
"site_header": "example",
|
201
|
+
"site_public_footer": "example",
|
202
|
+
"site_public_header": "example",
|
201
203
|
"smtp_address": "smtp.my-mail-server.com",
|
202
204
|
"smtp_authentication": "plain",
|
203
205
|
"smtp_from": "me@my-mail-server.com",
|
@@ -440,8 +442,10 @@
|
|
440
442
|
* `sharing_enabled` (boolean): Allow bundle creation
|
441
443
|
* `show_user_notifications_log_in_link` (boolean): Show log in link in user notifications?
|
442
444
|
* `show_request_access_link` (boolean): Show request access link for users without access? Currently unused.
|
443
|
-
* `site_footer` (string): Custom site footer text
|
444
|
-
* `site_header` (string): Custom site header text
|
445
|
+
* `site_footer` (string): Custom site footer text for authenticated pages
|
446
|
+
* `site_header` (string): Custom site header text for authenticated pages
|
447
|
+
* `site_public_footer` (string): Custom site footer text for public pages
|
448
|
+
* `site_public_header` (string): Custom site header text for public pages
|
445
449
|
* `smtp_address` (string): SMTP server hostname or IP
|
446
450
|
* `smtp_authentication` (string): SMTP server authentication type
|
447
451
|
* `smtp_from` (string): From address to use when mailing through custom SMTP
|
@@ -620,6 +624,8 @@ Files::Site.update(
|
|
620
624
|
color2_top_text: "#ffffff",
|
621
625
|
site_header: "example",
|
622
626
|
site_footer: "example",
|
627
|
+
site_public_header: "example",
|
628
|
+
site_public_footer: "example",
|
623
629
|
login_help_text: "Login page help text.",
|
624
630
|
use_dedicated_ips_for_smtp: false,
|
625
631
|
smtp_address: "smtp.my-mail-server.com",
|
@@ -777,8 +783,10 @@ Files::Site.update(
|
|
777
783
|
* `color2_link` (string): Top bar link color
|
778
784
|
* `color2_text` (string): Page link and button color
|
779
785
|
* `color2_top_text` (string): Top bar text color
|
780
|
-
* `site_header` (string): Custom site header text
|
781
|
-
* `site_footer` (string): Custom site footer text
|
786
|
+
* `site_header` (string): Custom site header text for authenticated pages
|
787
|
+
* `site_footer` (string): Custom site footer text for authenticated pages
|
788
|
+
* `site_public_header` (string): Custom site header text for public pages
|
789
|
+
* `site_public_footer` (string): Custom site footer text for public pages
|
782
790
|
* `login_help_text` (string): Login help text
|
783
791
|
* `use_dedicated_ips_for_smtp` (boolean): If using custom SMTP, should we use dedicated IPs to deliver emails?
|
784
792
|
* `smtp_address` (string): SMTP server hostname or IP
|
@@ -689,16 +689,26 @@ module Files
|
|
689
689
|
@attributes[:show_request_access_link]
|
690
690
|
end
|
691
691
|
|
692
|
-
# string - Custom site footer text
|
692
|
+
# string - Custom site footer text for authenticated pages
|
693
693
|
def site_footer
|
694
694
|
@attributes[:site_footer]
|
695
695
|
end
|
696
696
|
|
697
|
-
# string - Custom site header text
|
697
|
+
# string - Custom site header text for authenticated pages
|
698
698
|
def site_header
|
699
699
|
@attributes[:site_header]
|
700
700
|
end
|
701
701
|
|
702
|
+
# string - Custom site footer text for public pages
|
703
|
+
def site_public_footer
|
704
|
+
@attributes[:site_public_footer]
|
705
|
+
end
|
706
|
+
|
707
|
+
# string - Custom site header text for public pages
|
708
|
+
def site_public_header
|
709
|
+
@attributes[:site_public_header]
|
710
|
+
end
|
711
|
+
|
702
712
|
# string - SMTP server hostname or IP
|
703
713
|
def smtp_address
|
704
714
|
@attributes[:smtp_address]
|
@@ -989,8 +999,10 @@ module Files
|
|
989
999
|
# color2_link - string - Top bar link color
|
990
1000
|
# color2_text - string - Page link and button color
|
991
1001
|
# color2_top_text - string - Top bar text color
|
992
|
-
# site_header - string - Custom site header text
|
993
|
-
# site_footer - string - Custom site footer text
|
1002
|
+
# site_header - string - Custom site header text for authenticated pages
|
1003
|
+
# site_footer - string - Custom site footer text for authenticated pages
|
1004
|
+
# site_public_header - string - Custom site header text for public pages
|
1005
|
+
# site_public_footer - string - Custom site footer text for public pages
|
994
1006
|
# login_help_text - string - Login help text
|
995
1007
|
# use_dedicated_ips_for_smtp - boolean - If using custom SMTP, should we use dedicated IPs to deliver emails?
|
996
1008
|
# smtp_address - string - SMTP server hostname or IP
|
@@ -1081,6 +1093,8 @@ module Files
|
|
1081
1093
|
raise InvalidParameterError.new("Bad parameter: color2_top_text must be an String") if params[:color2_top_text] and !params[:color2_top_text].is_a?(String)
|
1082
1094
|
raise InvalidParameterError.new("Bad parameter: site_header must be an String") if params[:site_header] and !params[:site_header].is_a?(String)
|
1083
1095
|
raise InvalidParameterError.new("Bad parameter: site_footer must be an String") if params[:site_footer] and !params[:site_footer].is_a?(String)
|
1096
|
+
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)
|
1097
|
+
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)
|
1084
1098
|
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)
|
1085
1099
|
raise InvalidParameterError.new("Bad parameter: smtp_address must be an String") if params[:smtp_address] and !params[:smtp_address].is_a?(String)
|
1086
1100
|
raise InvalidParameterError.new("Bad parameter: smtp_authentication must be an String") if params[:smtp_authentication] and !params[:smtp_authentication].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.296
|
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-07-
|
11
|
+
date: 2025-07-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|