caboose-cms 0.7.81 → 0.7.82

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bae6f86f96023f55f5a3cc9653d5127c662295e5
4
- data.tar.gz: c548d5f7eef07f7817483201d6e3ea1fe03e0860
3
+ metadata.gz: e51567c1bfeb0099d9ca2a8953255ec891b31b53
4
+ data.tar.gz: 193f42f0d37cc85d28556c97bcd471a2038a4486
5
5
  SHA512:
6
- metadata.gz: d288f567fb500896d1beb68332f12333d955c782dc1b5917087bea691385a8e36cfff6cd4f321ad4a0e9862bc91164f56fcb0d835ec4948fc54db6370d010341
7
- data.tar.gz: 57ed8bad6421bc2ef0164ca3b16bff5af27f86be454672c72dcaec9298b925a3df87dcd6d878c79e9397f930573628aac2fe1b4324501a4fc027073e32be0734
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: 'Address' , type: 'text' , value: <%= raw Caboose.json(sc.address ) %>, width: 400 },
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
 
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.7.81'
2
+ VERSION = '0.7.82'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caboose-cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.81
4
+ version: 0.7.82
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry