caboose-cms 0.4.119 → 0.4.120
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,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NDg3MDhiMDM5ZTY0MDkyNWM0M2JkMDQ4MTc5ODYzZmQwMGNhMDk2OA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NTNhYzBiYzIxMmY1ZDVlNDQxMzAwNGJjZTJmMTM3Y2EzMWM4YWY1OA==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
N2M2OTAyOWVkZGVmM2UwMjNmZmY2ZTQ4NWFmMWY1MTBkMDcwMjgzMjU3YWIx
|
10
|
+
MTlkODFiY2I2N2Y2OWMxYzU4YmUzMDNlNTU3ZjEwNjZjZWEyNGI3YTY5OWVl
|
11
|
+
MzQxNGM1MzRlNWE2ZTgwMGZmMjY5ZjEyZmYwMjIxOTY2ZWU0NTk=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NzQ2N2U2NDJjMzU4YTEyMjRmNTNlOThhNWM4MDkwZjI1ZGIyOWFkZTdkYjBh
|
14
|
+
YTg0NGM0Nzg2Y2RmMjc3M2UwMjUwMjdlZjQ3ZDA0YmQ5OWFiNmQ3NDYzNWFj
|
15
|
+
MTUxNDY0YjYzY2ZlMWRiY2VjMGU2MTEyYzRhZGQ5ZTY2MmExM2I=
|
@@ -251,11 +251,21 @@ IndexTable.prototype = {
|
|
251
251
|
});
|
252
252
|
if (field.name == that.quick_edit_field)
|
253
253
|
input.prop('checked', 'true');
|
254
|
-
tr.append($('<th/>')
|
254
|
+
tr.append($('<th/>')
|
255
|
+
.append(input).append('<br/>')
|
255
256
|
.append($('<a/>')
|
257
|
+
.attr('id', 'quick_edit_' + field.name).val(field.name)
|
256
258
|
.attr('href', link)
|
257
259
|
.data('sort', s)
|
258
|
-
.html(field.nice_name + arrow)
|
260
|
+
.html(field.nice_name + arrow)
|
261
|
+
//.mousedown(function(e) {
|
262
|
+
// if (e.which == 3) // right click
|
263
|
+
// {
|
264
|
+
// var field_name = $(this).attr('id').replace('quick_edit_', '');
|
265
|
+
// that.quick_edit_field = that.quick_edit_field == field_name ? false : field_name;
|
266
|
+
// that.refresh();
|
267
|
+
// }
|
268
|
+
//})
|
259
269
|
)
|
260
270
|
);
|
261
271
|
}
|
@@ -16,6 +16,20 @@ class Caboose::SmtpConfig < ActiveRecord::Base
|
|
16
16
|
|
17
17
|
AUTH_PLAIN = 'plain'
|
18
18
|
AUTH_LOGIN = 'login'
|
19
|
-
AUTH_MD5 = 'cram_md5'
|
19
|
+
AUTH_MD5 = 'cram_md5'
|
20
|
+
|
21
|
+
def self.configure_mailer_for_site(mailer, site_id)
|
22
|
+
c = self.where(:site_id => site_id).first
|
23
|
+
|
24
|
+
mailer.smtp_settings['user_name'] = c.user_name
|
25
|
+
mailer.smtp_settings['password'] = c.password
|
26
|
+
mailer.smtp_settings['address'] = c.address
|
27
|
+
mailer.smtp_settings['port'] = c.port
|
28
|
+
mailer.smtp_settings['domain'] = c.domain
|
29
|
+
mailer.smtp_settings['authentication'] = c.authentication
|
30
|
+
mailer.smtp_settings['enable_starttls_auto'] = c.enable_starttls_auto
|
31
|
+
|
32
|
+
return mailer
|
33
|
+
end
|
20
34
|
|
21
35
|
end
|
data/lib/caboose/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: caboose-cms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.120
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- William Barry
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-09-
|
11
|
+
date: 2014-09-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|