files.com 1.0.473 → 1.0.475
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 +9 -0
- data/lib/files.com/models/site.rb +14 -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: 8d21ba0970c8e89837e22a3331f55582ba72cee4b2427a5b59c48d475fb0d9e0
|
4
|
+
data.tar.gz: 77654a114b8374a0d4f9b09a30f217cde9a47565f90b74b86fc52af989983062
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ca9290f18deead0e0f89c5e0df6636d389d2988ab3cada8933068d881379bca124c443a4defc298b630e41a24a57238eb81864f5a643aed5a487b90832be672
|
7
|
+
data.tar.gz: beeea188350014df0c37a08b4af452ed577251574a9cee00d3689040bb7e926f6e06e7f4787da07666a6cd5b259edc4fac89b5cb3b2dcceaf5f44f5e5262ea08
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.475
|
data/docs/site.md
CHANGED
@@ -18,6 +18,7 @@
|
|
18
18
|
"ask_about_overwrites": true,
|
19
19
|
"bundle_activity_notifications": "never",
|
20
20
|
"bundle_expiration": 1,
|
21
|
+
"bundle_not_found_message": "example",
|
21
22
|
"bundle_password_required": true,
|
22
23
|
"bundle_registration_notifications": "never",
|
23
24
|
"bundle_require_registration": true,
|
@@ -84,6 +85,7 @@
|
|
84
85
|
"ldap_username_field": "sAMAccountName",
|
85
86
|
"login_help_text": "Login page help text.",
|
86
87
|
"logo": null,
|
88
|
+
"login_page_background_image": null,
|
87
89
|
"max_prior_passwords": 1,
|
88
90
|
"motd_text": "example",
|
89
91
|
"motd_use_for_ftp": true,
|
@@ -236,6 +238,7 @@
|
|
236
238
|
* `ask_about_overwrites` (boolean): If false, rename conflicting files instead of asking for overwrite confirmation. Only applies to web interface.
|
237
239
|
* `bundle_activity_notifications` (string): Do Bundle owners receive activity notifications?
|
238
240
|
* `bundle_expiration` (int64): Site-wide Bundle expiration in days
|
241
|
+
* `bundle_not_found_message` (string): Custom error message to show when bundle is not found.
|
239
242
|
* `bundle_password_required` (boolean): Do Bundles require password protection?
|
240
243
|
* `bundle_registration_notifications` (string): Do Bundle owners receive registration notification?
|
241
244
|
* `bundle_require_registration` (boolean): Do Bundles require registration?
|
@@ -300,6 +303,7 @@
|
|
300
303
|
* `ldap_username_field` (string): LDAP username field
|
301
304
|
* `login_help_text` (string): Login help text
|
302
305
|
* `logo` (Image): Branded logo
|
306
|
+
* `login_page_background_image` (Image): Branded login page background
|
303
307
|
* `max_prior_passwords` (int64): Number of prior passwords to disallow
|
304
308
|
* `motd_text` (string): A message to show users when they connect via FTP or SFTP.
|
305
309
|
* `motd_use_for_ftp` (boolean): Show message to users connecting via FTP
|
@@ -452,6 +456,7 @@ Files::Site.update(
|
|
452
456
|
disable_password_reset: true,
|
453
457
|
immutable_files: true,
|
454
458
|
session_pinned_by_ip: true,
|
459
|
+
bundle_not_found_message: "example",
|
455
460
|
bundle_password_required: true,
|
456
461
|
bundle_require_registration: true,
|
457
462
|
bundle_require_share_recipient: true,
|
@@ -519,6 +524,7 @@ Files::Site.update(
|
|
519
524
|
icon128_delete: true,
|
520
525
|
logo_delete: true,
|
521
526
|
bundle_watermark_attachment_delete: true,
|
527
|
+
login_page_background_image_delete: true,
|
522
528
|
disable_2fa_with_delay: true,
|
523
529
|
session_expiry_minutes: 1
|
524
530
|
)
|
@@ -585,6 +591,7 @@ Files::Site.update(
|
|
585
591
|
* `disable_password_reset` (boolean): Is password reset disabled?
|
586
592
|
* `immutable_files` (boolean): Are files protected from modification?
|
587
593
|
* `session_pinned_by_ip` (boolean): Are sessions locked to the same IP? (i.e. do users need to log in again if they change IPs?)
|
594
|
+
* `bundle_not_found_message` (string): Custom error message to show when bundle is not found.
|
588
595
|
* `bundle_password_required` (boolean): Do Bundles require password protection?
|
589
596
|
* `bundle_require_registration` (boolean): Do Bundles require registration?
|
590
597
|
* `bundle_require_share_recipient` (boolean): Do Bundles require recipients for sharing?
|
@@ -658,6 +665,8 @@ Files::Site.update(
|
|
658
665
|
* `logo_delete` (boolean): If true, will delete the file stored in logo
|
659
666
|
* `bundle_watermark_attachment_file` (file):
|
660
667
|
* `bundle_watermark_attachment_delete` (boolean): If true, will delete the file stored in bundle_watermark_attachment
|
668
|
+
* `login_page_background_image_file` (file):
|
669
|
+
* `login_page_background_image_delete` (boolean): If true, will delete the file stored in login_page_background_image
|
661
670
|
* `disable_2fa_with_delay` (boolean): If set to true, we will begin the process of disabling 2FA on this site.
|
662
671
|
* `ldap_password_change` (string): New LDAP password.
|
663
672
|
* `ldap_password_change_confirmation` (string): Confirm new LDAP password.
|
@@ -79,6 +79,11 @@ module Files
|
|
79
79
|
@attributes[:bundle_expiration]
|
80
80
|
end
|
81
81
|
|
82
|
+
# string - Custom error message to show when bundle is not found.
|
83
|
+
def bundle_not_found_message
|
84
|
+
@attributes[:bundle_not_found_message]
|
85
|
+
end
|
86
|
+
|
82
87
|
# boolean - Do Bundles require password protection?
|
83
88
|
def bundle_password_required
|
84
89
|
@attributes[:bundle_password_required]
|
@@ -399,6 +404,11 @@ module Files
|
|
399
404
|
@attributes[:logo]
|
400
405
|
end
|
401
406
|
|
407
|
+
# Image - Branded login page background
|
408
|
+
def login_page_background_image
|
409
|
+
@attributes[:login_page_background_image]
|
410
|
+
end
|
411
|
+
|
402
412
|
# int64 - Number of prior passwords to disallow
|
403
413
|
def max_prior_passwords
|
404
414
|
@attributes[:max_prior_passwords]
|
@@ -804,6 +814,7 @@ module Files
|
|
804
814
|
# disable_password_reset - boolean - Is password reset disabled?
|
805
815
|
# immutable_files - boolean - Are files protected from modification?
|
806
816
|
# session_pinned_by_ip - boolean - Are sessions locked to the same IP? (i.e. do users need to log in again if they change IPs?)
|
817
|
+
# bundle_not_found_message - string - Custom error message to show when bundle is not found.
|
807
818
|
# bundle_password_required - boolean - Do Bundles require password protection?
|
808
819
|
# bundle_require_registration - boolean - Do Bundles require registration?
|
809
820
|
# bundle_require_share_recipient - boolean - Do Bundles require recipients for sharing?
|
@@ -877,6 +888,8 @@ module Files
|
|
877
888
|
# logo_delete - boolean - If true, will delete the file stored in logo
|
878
889
|
# bundle_watermark_attachment_file - file
|
879
890
|
# bundle_watermark_attachment_delete - boolean - If true, will delete the file stored in bundle_watermark_attachment
|
891
|
+
# login_page_background_image_file - file
|
892
|
+
# login_page_background_image_delete - boolean - If true, will delete the file stored in login_page_background_image
|
880
893
|
# disable_2fa_with_delay - boolean - If set to true, we will begin the process of disabling 2FA on this site.
|
881
894
|
# ldap_password_change - string - New LDAP password.
|
882
895
|
# ldap_password_change_confirmation - string - Confirm new LDAP password.
|
@@ -911,6 +924,7 @@ module Files
|
|
911
924
|
raise InvalidParameterError.new("Bad parameter: max_prior_passwords must be an Integer") if params[:max_prior_passwords] and !params[:max_prior_passwords].is_a?(Integer)
|
912
925
|
raise InvalidParameterError.new("Bad parameter: password_validity_days must be an Integer") if params[:password_validity_days] and !params[:password_validity_days].is_a?(Integer)
|
913
926
|
raise InvalidParameterError.new("Bad parameter: password_min_length must be an Integer") if params[:password_min_length] and !params[:password_min_length].is_a?(Integer)
|
927
|
+
raise InvalidParameterError.new("Bad parameter: bundle_not_found_message must be an String") if params[:bundle_not_found_message] and !params[:bundle_not_found_message].is_a?(String)
|
914
928
|
raise InvalidParameterError.new("Bad parameter: bundle_registration_notifications must be an String") if params[:bundle_registration_notifications] and !params[:bundle_registration_notifications].is_a?(String)
|
915
929
|
raise InvalidParameterError.new("Bad parameter: bundle_activity_notifications must be an String") if params[:bundle_activity_notifications] and !params[:bundle_activity_notifications].is_a?(String)
|
916
930
|
raise InvalidParameterError.new("Bad parameter: bundle_upload_receipt_notifications must be an String") if params[:bundle_upload_receipt_notifications] and !params[:bundle_upload_receipt_notifications].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.0.
|
4
|
+
version: 1.0.475
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- files.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-09-
|
11
|
+
date: 2023-09-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|