files.com 1.0.214 → 1.0.215
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 +10 -0
- data/lib/files.com/models/site.rb +12 -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: 3ed7c097919b49afe6a6bb05f1af86859e52b095ba60ddf6789cbf9551026114
|
|
4
|
+
data.tar.gz: 8c8871067fb1b37614a97bc4e575be78ac83881aee152f20f082afb59351de47
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8389dce7eb366abf5825817f1c2d752f93d059277f037274c3b0f7fb9718c35f5ccfb9a9da7f0ab6a935273cbb3582382efc599dc0ced11e65a489b81e5782a8
|
|
7
|
+
data.tar.gz: ddba1e6121b8353e1d10d291a269e5cde4b076d2227372fc0ac2981d70f82fbaacaf62777251cfa62a383e007f8546f3a0ded4e58b4ed7282a82ce02c2a982a7
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.215
|
data/docs/site.md
CHANGED
|
@@ -17,6 +17,11 @@
|
|
|
17
17
|
"bundle_expiration": 1,
|
|
18
18
|
"bundle_password_required": true,
|
|
19
19
|
"bundle_require_share_recipient": true,
|
|
20
|
+
"bundle_watermark_attachment": {
|
|
21
|
+
"name": "My logo",
|
|
22
|
+
"uri": "https://mysite.files.com/.../my_image.png"
|
|
23
|
+
},
|
|
24
|
+
"bundle_watermark_value": "",
|
|
20
25
|
"color2_left": "#0066a7",
|
|
21
26
|
"color2_link": "#d34f5d",
|
|
22
27
|
"color2_text": "#0066a7",
|
|
@@ -228,6 +233,8 @@
|
|
|
228
233
|
* `bundle_expiration` (int64): Site-wide Bundle expiration in days
|
|
229
234
|
* `bundle_password_required` (boolean): Do Bundles require password protection?
|
|
230
235
|
* `bundle_require_share_recipient` (boolean): Do Bundles require recipients for sharing?
|
|
236
|
+
* `bundle_watermark_attachment`: Preview watermark image applied to all bundle items.
|
|
237
|
+
* `bundle_watermark_value` (object): Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value
|
|
231
238
|
* `color2_left` (string): Page link and button color
|
|
232
239
|
* `color2_link` (string): Top bar link color
|
|
233
240
|
* `color2_text` (string): Page link and button color
|
|
@@ -458,6 +465,7 @@ Files::Site.update(
|
|
|
458
465
|
icon48_delete: true,
|
|
459
466
|
icon128_delete: true,
|
|
460
467
|
logo_delete: true,
|
|
468
|
+
bundle_watermark_attachment_delete: true,
|
|
461
469
|
disable_2fa_with_delay: true
|
|
462
470
|
)
|
|
463
471
|
```
|
|
@@ -572,6 +580,8 @@ Files::Site.update(
|
|
|
572
580
|
* `icon128_delete` (boolean): If true, will delete the file stored in icon128
|
|
573
581
|
* `logo_file` (file):
|
|
574
582
|
* `logo_delete` (boolean): If true, will delete the file stored in logo
|
|
583
|
+
* `bundle_watermark_attachment_file` (file):
|
|
584
|
+
* `bundle_watermark_attachment_delete` (boolean): If true, will delete the file stored in bundle_watermark_attachment
|
|
575
585
|
* `disable_2fa_with_delay` (boolean): If set to true, we will begin the process of disabling 2FA on this site.
|
|
576
586
|
* `ldap_password_change` (string): New LDAP password.
|
|
577
587
|
* `ldap_password_change_confirmation` (string): Confirm new LDAP password.
|
|
@@ -74,6 +74,16 @@ module Files
|
|
|
74
74
|
@attributes[:bundle_require_share_recipient]
|
|
75
75
|
end
|
|
76
76
|
|
|
77
|
+
# Preview watermark image applied to all bundle items.
|
|
78
|
+
def bundle_watermark_attachment
|
|
79
|
+
@attributes[:bundle_watermark_attachment]
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
# object - Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value
|
|
83
|
+
def bundle_watermark_value
|
|
84
|
+
@attributes[:bundle_watermark_value]
|
|
85
|
+
end
|
|
86
|
+
|
|
77
87
|
# string - Page link and button color
|
|
78
88
|
def color2_left
|
|
79
89
|
@attributes[:color2_left]
|
|
@@ -738,6 +748,8 @@ module Files
|
|
|
738
748
|
# icon128_delete - boolean - If true, will delete the file stored in icon128
|
|
739
749
|
# logo_file - file
|
|
740
750
|
# logo_delete - boolean - If true, will delete the file stored in logo
|
|
751
|
+
# bundle_watermark_attachment_file - file
|
|
752
|
+
# bundle_watermark_attachment_delete - boolean - If true, will delete the file stored in bundle_watermark_attachment
|
|
741
753
|
# disable_2fa_with_delay - boolean - If set to true, we will begin the process of disabling 2FA on this site.
|
|
742
754
|
# ldap_password_change - string - New LDAP password.
|
|
743
755
|
# ldap_password_change_confirmation - string - Confirm new LDAP password.
|
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.215
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- files.com
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-09-
|
|
11
|
+
date: 2021-09-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|