files.com 1.0.295 → 1.0.296
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 +11 -0
- data/lib/files.com/models/site.rb +19 -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: 72076d16be6da0a13bda5440289051a5ad436042d5c7267802a8c1fa45f789d0
|
4
|
+
data.tar.gz: a6d42c5711bdc3a01b1f95f4d90b6b5bb6da11c8166222373c67b9df757b117d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0c0956fbd997e51bb9ff4c5f1951905a90fc35e6b035aa1cb5b7c4a0fe28c438788be524ec4bf4db561761dacd42c60c0ad3099648a9d0174a2e4c4bd84166bc
|
7
|
+
data.tar.gz: da2a16c45b0fb7b828c24bd0e44dc2372b78b623dc1bd3b30ce078bb11f7a5eaec49a083ed86ae24d770353a3fd02686afeb624c843273874eb7d9ecd1ad4a79
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.296
|
data/docs/site.md
CHANGED
@@ -96,6 +96,9 @@
|
|
96
96
|
"uri": "https://mysite.files.com/.../my_image.png"
|
97
97
|
},
|
98
98
|
"max_prior_passwords": 1,
|
99
|
+
"motd_text": "",
|
100
|
+
"motd_use_for_ftp": true,
|
101
|
+
"motd_use_for_sftp": true,
|
99
102
|
"next_billing_amount": 1.0,
|
100
103
|
"next_billing_date": "Apr 20",
|
101
104
|
"office_integration_available": true,
|
@@ -305,6 +308,9 @@
|
|
305
308
|
* `login_help_text` (string): Login help text
|
306
309
|
* `logo` (Image): Branded logo
|
307
310
|
* `max_prior_passwords` (int64): Number of prior passwords to disallow
|
311
|
+
* `motd_text` (string): A message to show users when they connect via FTP or SFTP.
|
312
|
+
* `motd_use_for_ftp` (boolean): Show message to users connecting via FTP
|
313
|
+
* `motd_use_for_sftp` (boolean): Show message to users connecting via SFTP
|
308
314
|
* `next_billing_amount` (double): Next billing amount
|
309
315
|
* `next_billing_date` (string): Next billing date
|
310
316
|
* `office_integration_available` (boolean): Allow users to use Office for the web?
|
@@ -415,6 +421,8 @@ Files::Site.update(
|
|
415
421
|
welcome_screen: "user_controlled",
|
416
422
|
office_integration_available: true,
|
417
423
|
pin_all_remote_servers_to_site_region: true,
|
424
|
+
motd_use_for_ftp: true,
|
425
|
+
motd_use_for_sftp: true,
|
418
426
|
session_expiry: 1.0,
|
419
427
|
ssl_required: true,
|
420
428
|
tls_disabled: true,
|
@@ -526,6 +534,9 @@ Files::Site.update(
|
|
526
534
|
* `welcome_screen` (string): Does the welcome screen appear?
|
527
535
|
* `office_integration_available` (boolean): Allow users to use Office for the web?
|
528
536
|
* `pin_all_remote_servers_to_site_region` (boolean): If true, we will ensure that all internal communications with any remote server are made through the primary region of the site. This setting overrides individual remote server settings.
|
537
|
+
* `motd_text` (string): A message to show users when they connect via FTP or SFTP.
|
538
|
+
* `motd_use_for_ftp` (boolean): Show message to users connecting via FTP
|
539
|
+
* `motd_use_for_sftp` (boolean): Show message to users connecting via SFTP
|
529
540
|
* `session_expiry` (double): Session expiry in hours
|
530
541
|
* `ssl_required` (boolean): Is SSL required? Disabling this is insecure.
|
531
542
|
* `tls_disabled` (boolean): Are Insecure TLS and SFTP Ciphers allowed? Enabling this is insecure.
|
@@ -379,6 +379,21 @@ module Files
|
|
379
379
|
@attributes[:max_prior_passwords]
|
380
380
|
end
|
381
381
|
|
382
|
+
# string - A message to show users when they connect via FTP or SFTP.
|
383
|
+
def motd_text
|
384
|
+
@attributes[:motd_text]
|
385
|
+
end
|
386
|
+
|
387
|
+
# boolean - Show message to users connecting via FTP
|
388
|
+
def motd_use_for_ftp
|
389
|
+
@attributes[:motd_use_for_ftp]
|
390
|
+
end
|
391
|
+
|
392
|
+
# boolean - Show message to users connecting via SFTP
|
393
|
+
def motd_use_for_sftp
|
394
|
+
@attributes[:motd_use_for_sftp]
|
395
|
+
end
|
396
|
+
|
382
397
|
# double - Next billing amount
|
383
398
|
def next_billing_amount
|
384
399
|
@attributes[:next_billing_amount]
|
@@ -709,6 +724,9 @@ module Files
|
|
709
724
|
# welcome_screen - string - Does the welcome screen appear?
|
710
725
|
# office_integration_available - boolean - Allow users to use Office for the web?
|
711
726
|
# pin_all_remote_servers_to_site_region - boolean - If true, we will ensure that all internal communications with any remote server are made through the primary region of the site. This setting overrides individual remote server settings.
|
727
|
+
# motd_text - string - A message to show users when they connect via FTP or SFTP.
|
728
|
+
# motd_use_for_ftp - boolean - Show message to users connecting via FTP
|
729
|
+
# motd_use_for_sftp - boolean - Show message to users connecting via SFTP
|
712
730
|
# session_expiry - double - Session expiry in hours
|
713
731
|
# ssl_required - boolean - Is SSL required? Disabling this is insecure.
|
714
732
|
# tls_disabled - boolean - Are Insecure TLS and SFTP Ciphers allowed? Enabling this is insecure.
|
@@ -819,6 +837,7 @@ module Files
|
|
819
837
|
raise InvalidParameterError.new("Bad parameter: desktop_app_session_lifetime must be an Integer") if params[:desktop_app_session_lifetime] and !params[:desktop_app_session_lifetime].is_a?(Integer)
|
820
838
|
raise InvalidParameterError.new("Bad parameter: mobile_app_session_lifetime must be an Integer") if params[:mobile_app_session_lifetime] and !params[:mobile_app_session_lifetime].is_a?(Integer)
|
821
839
|
raise InvalidParameterError.new("Bad parameter: welcome_screen must be an String") if params[:welcome_screen] and !params[:welcome_screen].is_a?(String)
|
840
|
+
raise InvalidParameterError.new("Bad parameter: motd_text must be an String") if params[:motd_text] and !params[:motd_text].is_a?(String)
|
822
841
|
raise InvalidParameterError.new("Bad parameter: session_expiry must be an Float") if params[:session_expiry] and !params[:session_expiry].is_a?(Float)
|
823
842
|
raise InvalidParameterError.new("Bad parameter: user_lockout_tries must be an Integer") if params[:user_lockout_tries] and !params[:user_lockout_tries].is_a?(Integer)
|
824
843
|
raise InvalidParameterError.new("Bad parameter: user_lockout_within must be an Integer") if params[:user_lockout_within] and !params[:user_lockout_within].is_a?(Integer)
|
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.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: 2022-09-
|
11
|
+
date: 2022-09-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|