caboose-cms 0.7.81 → 0.7.82
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e51567c1bfeb0099d9ca2a8953255ec891b31b53
|
4
|
+
data.tar.gz: 193f42f0d37cc85d28556c97bcd471a2038a4486
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7e417f24f82605260e6217ead40a68c47df2b318a0c16b477fc53a1c7f9d85e5538b925fa3e0ff00cd3b8589ba2324ec6130fc70cd2bf86b9323f6a028d9b9a
|
7
|
+
data.tar.gz: 352737990690066a06ac50b6d7f9145c1307e5161c7b039a5f1017a9ee605ec9bcae4a973eeacf32f10b87d4bde5ef7da48949ce81443701163095e5460f6b18
|
@@ -29,7 +29,8 @@ module Caboose
|
|
29
29
|
when 'user_name' then sc.user_name = value
|
30
30
|
when 'password' then sc.password = value
|
31
31
|
when 'authentication' then sc.authentication = value
|
32
|
-
when 'enable_starttls_auto' then sc.enable_starttls_auto = value
|
32
|
+
when 'enable_starttls_auto' then sc.enable_starttls_auto = value
|
33
|
+
when 'from_address' then sc.from_address = value
|
33
34
|
end
|
34
35
|
end
|
35
36
|
|
@@ -10,6 +10,7 @@ sc = @smtp_config
|
|
10
10
|
<p><div id='smtpconfig_<%= sc.id %>_password' ></div></p>
|
11
11
|
<p><div id='smtpconfig_<%= sc.id %>_authentication' ></div></p>
|
12
12
|
<p><div id='smtpconfig_<%= sc.id %>_enable_starttls_auto' ></div></p>
|
13
|
+
<p><div id='smtpconfig_<%= sc.id %>_from_address' ></div></p>
|
13
14
|
|
14
15
|
<div id='message'></div>
|
15
16
|
|
@@ -25,13 +26,14 @@ $(document).ready(function() {
|
|
25
26
|
update_url: '/admin/smtp',
|
26
27
|
authenticity_token: '<%= form_authenticity_token %>',
|
27
28
|
attributes: [
|
28
|
-
{ name: 'address' , nice_name: '
|
29
|
+
{ name: 'address' , nice_name: 'Host' , type: 'text' , value: <%= raw Caboose.json(sc.address ) %>, width: 400 },
|
29
30
|
{ name: 'port' , nice_name: 'Port' , type: 'text' , value: <%= raw Caboose.json(sc.port ) %>, width: 400 },
|
30
31
|
{ name: 'domain' , nice_name: 'Domain' , type: 'text' , value: <%= raw Caboose.json(sc.domain ) %>, width: 400 },
|
31
32
|
{ name: 'user_name' , nice_name: 'Username' , type: 'text' , value: <%= raw Caboose.json(sc.user_name ) %>, width: 400 },
|
32
33
|
{ name: 'password' , nice_name: 'Password' , type: 'text' , value: <%= raw Caboose.json(sc.password ) %>, width: 400 },
|
33
34
|
{ name: 'authentication' , nice_name: 'Authentication' , type: 'select' , value: <%= raw Caboose.json(sc.authentication ) %>, width: 400 , options_url: '/admin/smtp/auth-options' },
|
34
|
-
{ name: 'enable_starttls_auto' , nice_name: 'Enable Start TLS Auto' , type: 'checkbox' , value: <%= raw sc.enable_starttls_auto ? 1 : 0 %>, width: 400 }
|
35
|
+
{ name: 'enable_starttls_auto' , nice_name: 'Enable Start TLS Auto' , type: 'checkbox' , value: <%= raw sc.enable_starttls_auto ? 1 : 0 %>, width: 400 },
|
36
|
+
{ name: 'from_address' , nice_name: 'From Address' , type: 'text' , value: <%= raw Caboose.json(sc.from_address ) %>, width: 400 }
|
35
37
|
]
|
36
38
|
});
|
37
39
|
|
data/lib/caboose/version.rb
CHANGED