wco_email 0.1.1.44 → 0.1.1.46

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
  SHA256:
3
- metadata.gz: 1e7b22857d5f395c1bfed4fe2eaf073687aa56dc9770f67c1222edb8d24cf94e
4
- data.tar.gz: d5208aab447a17ad911f48862b1f6a3d84715b22dc8f1c8754aa83f092e38239
3
+ metadata.gz: a693de7c53f9529c8ac7bf074ea581230e0f05dc9abac73a8d30dbce517e25bf
4
+ data.tar.gz: 84da211e1a8f49ab2203e72739a74405dbc6e5c830710679da0101edbec818cb
5
5
  SHA512:
6
- metadata.gz: b0ffdec195f3e74bef7f79612f5e13a15d686e84f397073f552edaffe6d51f509712718c795361fb9252fb9a7db47acbbe6b998c731b2e6e04766e4ec782b16f
7
- data.tar.gz: 5593fba9077f69ad8ba0d95e45e7c16224b63253e1da6e2334dfa21130e2055d0a3c3bb240596d89ae18c7b2771678883ab7d430c60722fc06c6aa3e98a304f4
6
+ metadata.gz: fa65916f53a146e2b92987757dd79691b1d6c8917749b48114efe375d1174368258882057a73337bac1b60c57c838652f4bbeeacb1580b1aef481675ab8da69c
7
+ data.tar.gz: c302b109b9f163cede8997dd1dc26865c495cfaba8931a3b2ccd1e15128a29b81d480d45db9b7449244f114f3fac301fd0c982ab0838bda6cd276caac9cf76fb
@@ -14,7 +14,7 @@
14
14
  %li= render '/wco_email/email_campaigns/header'
15
15
  %li= render '/wco_email/email_filters/header'
16
16
  %li= render '/wco_email/contexts/header'
17
- %li= render '/wco_email/unsubscribes/header'
17
+ %li= render '/wco/unsubscribes/header'
18
18
 
19
19
 
20
20
  %ul
@@ -12,14 +12,13 @@
12
12
  = f.select :lead, options_for_select( @leads_list, selected: lead_id ), {}, class: 'select2', required: true
13
13
  .flex-row
14
14
  = f.label :template
15
- = f.select :email_template_id, options_for_select( @email_templates_list ), {}, class: 'select2', required: true
15
+ = f.select :email_template_id, options_for_select( @email_templates_list, selected: ctx.email_template_id ), {}, class: 'select2', required: true
16
16
  = link_to '[+]', new_email_template_path, target: :_blank
17
17
  .flex-row
18
18
  %label Subject
19
19
  = f.text_field :subject, class: 'w-100'
20
20
  .field
21
- -## No tinymce, b/c I must allow body to be empty, to be overridden by the template.
22
- = f.text_area :body
21
+ = f.text_area :body, class: 'tinymce'
23
22
  .flex-row
24
23
  .flex-row
25
24
  %label Respond inline?
@@ -24,4 +24,4 @@
24
24
  = render '/wco_email/messages/meta', message: msg
25
25
  %iframe.message-iframe{ src: message_iframe_path(msg) }
26
26
 
27
- = render '/wco_email/contexts/form_reply', lead_id: msg.lead_id, message: msg, ctx: WcoEmail::Context.new({ from_email: msg.to&.downcase, subject: msg.subject })
27
+ = render '/wco_email/contexts/form_reply', lead_id: msg.lead_id, message: msg, ctx: WcoEmail::Context.new({ from_email: msg.to&.downcase, subject: msg.subject, email_template_id: ET.find_by( slug: 'blank').id })
data/config/routes.rb CHANGED
@@ -41,4 +41,7 @@ WcoEmail::Engine.routes.draw do
41
41
 
42
42
  get '/obf/:id', to: 'obfuscated_redirects#show', as: :obf
43
43
 
44
+ ## In order to have unsubscribes_url , unsubscribes must be in wco .
45
+ # resources :unsubscribes
46
+
44
47
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wco_email
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1.44
4
+ version: 0.1.1.46
5
5
  platform: ruby
6
6
  authors:
7
7
  - Victor Pudeyev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-18 00:00:00.000000000 Z
11
+ date: 2024-02-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-s3
@@ -108,6 +108,20 @@ dependencies:
108
108
  - - ">="
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: jbuilder
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: 2.11.5
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: 2.11.5
111
125
  - !ruby/object:Gem::Dependency
112
126
  name: kaminari-mongoid
113
127
  requirement: !ruby/object:Gem::Requirement
@@ -314,7 +328,7 @@ files:
314
328
  - app/controllers/wco_email/messages_controller.rb
315
329
  - app/controllers/wco_email/obfuscated_redirects_controller.rb
316
330
  - app/controllers/wco_email/sessions_controller.rb
317
- - app/controllers/wco_email/unsubscribes_controller.rb-trash
331
+ - app/controllers/wco_email/unsubscribes_controller.rb
318
332
  - app/helpers/wco_email/application_helper.rb
319
333
  - app/jobs/wco_email/message_intake_job.rb
320
334
  - app/views/202212 Mailchimp Templates/202212 1col fixed-width.html