files.com 1.0.258 → 1.0.259
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_VERSION +1 -1
- data/docs/site.md +3 -0
- data/lib/files.com/models/site.rb +7 -0
- 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: d5c3d7ea27933bb474bbff51249d218778770d93fca742c07153d981c6f2590f
|
4
|
+
data.tar.gz: 375a5bc28f28de70f7d353bc182254be316d5381d8e1b43c624417c647a12541
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d6c8fdf579c590329dd9487470ec38f5d50f8d8b7db909f8e48cea45b249629ebc9557ba4dd38a38ae5a6c8af026dd62f2e632fbbc315f525c8169e7c2ac15b
|
7
|
+
data.tar.gz: 19b58031a0c372ddb1c0fe0dd231c8a05aeffc84af95f7706ec1cdb44f6641cee4026e9cba3a9f82cc453379f0125456b6709ae4be077721939ea28c076e1640
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.259
|
data/docs/site.md
CHANGED
@@ -217,6 +217,7 @@
|
|
217
217
|
"user_requests_enabled": true,
|
218
218
|
"welcome_custom_text": "Welcome to my site!",
|
219
219
|
"welcome_email_cc": "",
|
220
|
+
"welcome_email_subject": "",
|
220
221
|
"welcome_email_enabled": true,
|
221
222
|
"welcome_screen": "user_controlled",
|
222
223
|
"windows_mode_ftp": true,
|
@@ -347,6 +348,7 @@
|
|
347
348
|
* `user_requests_enabled` (boolean): Enable User Requests feature
|
348
349
|
* `welcome_custom_text` (string): Custom text send in user welcome email
|
349
350
|
* `welcome_email_cc` (email): Include this email in welcome emails if enabled
|
351
|
+
* `welcome_email_subject` (string): Include this email subject in welcome emails if enabled
|
350
352
|
* `welcome_email_enabled` (boolean): Will the welcome email be sent to new users?
|
351
353
|
* `welcome_screen` (string): Does the welcome screen appear?
|
352
354
|
* `windows_mode_ftp` (boolean): Does FTP user Windows emulation mode?
|
@@ -495,6 +497,7 @@ Files::Site.update(
|
|
495
497
|
* `ask_about_overwrites` (boolean): If false, rename conflicting files instead of asking for overwrite confirmation. Only applies to web interface.
|
496
498
|
* `show_request_access_link` (boolean): Show request access link for users without access? Currently unused.
|
497
499
|
* `welcome_email_cc` (string): Include this email in welcome emails if enabled
|
500
|
+
* `welcome_email_subject` (string): Include this email subject in welcome emails if enabled
|
498
501
|
* `welcome_custom_text` (string): Custom text send in user welcome email
|
499
502
|
* `language` (string): Site default language
|
500
503
|
* `windows_mode_ftp` (boolean): Does FTP user Windows emulation mode?
|
@@ -624,6 +624,11 @@ module Files
|
|
624
624
|
@attributes[:welcome_email_cc]
|
625
625
|
end
|
626
626
|
|
627
|
+
# string - Include this email subject in welcome emails if enabled
|
628
|
+
def welcome_email_subject
|
629
|
+
@attributes[:welcome_email_subject]
|
630
|
+
end
|
631
|
+
|
627
632
|
# boolean - Will the welcome email be sent to new users?
|
628
633
|
def welcome_email_enabled
|
629
634
|
@attributes[:welcome_email_enabled]
|
@@ -669,6 +674,7 @@ module Files
|
|
669
674
|
# ask_about_overwrites - boolean - If false, rename conflicting files instead of asking for overwrite confirmation. Only applies to web interface.
|
670
675
|
# show_request_access_link - boolean - Show request access link for users without access? Currently unused.
|
671
676
|
# welcome_email_cc - string - Include this email in welcome emails if enabled
|
677
|
+
# welcome_email_subject - string - Include this email subject in welcome emails if enabled
|
672
678
|
# welcome_custom_text - string - Custom text send in user welcome email
|
673
679
|
# language - string - Site default language
|
674
680
|
# windows_mode_ftp - boolean - Does FTP user Windows emulation mode?
|
@@ -781,6 +787,7 @@ module Files
|
|
781
787
|
raise InvalidParameterError.new("Bad parameter: reply_to_email must be an String") if params.dig(:reply_to_email) and !params.dig(:reply_to_email).is_a?(String)
|
782
788
|
raise InvalidParameterError.new("Bad parameter: bundle_expiration must be an Integer") if params.dig(:bundle_expiration) and !params.dig(:bundle_expiration).is_a?(Integer)
|
783
789
|
raise InvalidParameterError.new("Bad parameter: welcome_email_cc must be an String") if params.dig(:welcome_email_cc) and !params.dig(:welcome_email_cc).is_a?(String)
|
790
|
+
raise InvalidParameterError.new("Bad parameter: welcome_email_subject must be an String") if params.dig(:welcome_email_subject) and !params.dig(:welcome_email_subject).is_a?(String)
|
784
791
|
raise InvalidParameterError.new("Bad parameter: welcome_custom_text must be an String") if params.dig(:welcome_custom_text) and !params.dig(:welcome_custom_text).is_a?(String)
|
785
792
|
raise InvalidParameterError.new("Bad parameter: language must be an String") if params.dig(:language) and !params.dig(:language).is_a?(String)
|
786
793
|
raise InvalidParameterError.new("Bad parameter: default_time_zone must be an String") if params.dig(:default_time_zone) and !params.dig(:default_time_zone).is_a?(String)
|
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.0.
|
4
|
+
version: 1.0.259
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- files.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-04-
|
11
|
+
date: 2022-04-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|