wco_email 0.1.1.42 → 0.1.1.44

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/wco_email/email_templates_controller.rb +0 -2
  3. data/app/controllers/wco_email/obfuscated_redirects_controller.rb +1 -2
  4. data/app/views/wco_email/contexts/_form_reply.haml +2 -1
  5. data/app/views/wco_email/email_templates/_index_expanded.haml +1 -0
  6. data/config/routes.rb +0 -5
  7. metadata +3 -30
  8. data/app/views/wco_email/application_mailer/_footer_unsubscribe.html.erb +0 -24
  9. data/app/views/wco_email/application_mailer/_header_logo.html.erb +0 -12
  10. data/app/views/wco_email/application_mailer/forwarder_notify.html.erb-trash +0 -17
  11. data/app/views/wco_email/email_layouts/_plain.haml +0 -18
  12. data/app/views/wco_email/email_templates/_m20221201react.html.erb +0 -1202
  13. data/app/views/wco_email/email_templates/_m20221222merryxmas.html.erb +0 -766
  14. data/app/views/wco_email/email_templates/_m202309_feedback.html.erb +0 -1161
  15. data/app/views/wco_email/email_templates/_m202309_ror4.html.erb +0 -1068
  16. data/app/views/wco_email/email_templates/_marketing_node_1.html.erb +0 -984
  17. data/app/views/wco_email/email_templates/_marketing_react_1.html +0 -0
  18. data/app/views/wco_email/email_templates/_marketing_react_2.html.erb +0 -749
  19. data/app/views/wco_email/email_templates/_marketing_react_3.html.erb +0 -628
  20. data/app/views/wco_email/email_templates/_marketing_ror_1.html +0 -751
  21. data/app/views/wco_email/email_templates/_marketing_ror_2.html.erb +0 -755
  22. data/app/views/wco_email/email_templates/_marketing_ror_3.html.erb +0 -25
  23. data/app/views/wco_email/email_templates/_marketing_ror_4.html.erb +0 -25
  24. data/app/views/wco_email/email_templates/_marketing_ror_5.html.erb +0 -17
  25. data/app/views/wco_email/email_templates/_marketing_wordpress_1.html +0 -0
  26. data/app/views/wco_email/email_templates/_marketing_wordpress_2.html +0 -0
  27. data/app/views/wco_email/email_templates/_piousbox_roundborders.html.erb +0 -1007
  28. data/app/views/wco_email/email_templates/_rec_resume_shared_with_you.html.erb +0 -39
  29. data/app/views/wco_email/email_templates/_slug-1.html.erb +0 -0
  30. data/app/views/wco_email/email_templates/_slug-2.html.erb +0 -0
  31. data/app/views/wco_email/email_templates/_slug-3.html.erb +0 -0
  32. data/app/views/wco_email/email_templates/_wasyaco_roundborders.html.erb +0 -686
  33. data/app/views/wco_email/unsubscribes/_header.haml +0 -4
  34. data/app/views/wco_email/unsubscribes/_table.haml +0 -22
  35. /data/app/controllers/wco_email/{unsubscribes_controller.rb → unsubscribes_controller.rb-trash} +0 -0
  36. /data/app/views/wco_email/email_templates/{_plain.haml → _plain.haml-trash} +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 16bd727a333da209b9d653313bfac3c6b112ca87c0a03f514dc6c7beeba0c767
4
- data.tar.gz: 05bd0bf61431eab3448adcb2c514f54017d9b5a29067bbd239c00651e7ab420c
3
+ metadata.gz: 1e7b22857d5f395c1bfed4fe2eaf073687aa56dc9770f67c1222edb8d24cf94e
4
+ data.tar.gz: d5208aab447a17ad911f48862b1f6a3d84715b22dc8f1c8754aa83f092e38239
5
5
  SHA512:
6
- metadata.gz: 95e46edb2a134e7646ab381d1120ea14cb3c11bf87af4eea11d235c8901e318cdfc98c7c675469a5139e8e30017072976771fd55380233caaae99c68884dca2f
7
- data.tar.gz: a9f82e64f99c55c13b0501b0027bcfd33eeb619c932fbcab7078c030fbf25920f5ac957f74a3ebeaba30349bb5f8fed4f33dbe1d206588248e2fbf5f6d196bb4
6
+ metadata.gz: b0ffdec195f3e74bef7f79612f5e13a15d686e84f397073f552edaffe6d51f509712718c795361fb9252fb9a7db47acbbe6b998c731b2e6e04766e4ec782b16f
7
+ data.tar.gz: 5593fba9077f69ad8ba0d95e45e7c16224b63253e1da6e2334dfa21130e2055d0a3c3bb240596d89ae18c7b2771678883ab7d430c60722fc06c6aa3e98a304f4
@@ -97,8 +97,6 @@ class WcoEmail::EmailTemplatesController < WcoEmail::ApplicationController
97
97
  })
98
98
 
99
99
  @renderer = WcoEmail::ApplicationMailer.renderer ctx: @ctx
100
- # @rendered_str = renderer.render_to_string("/wco_email/email_templates/_#{@ctx.tmpl.layout}")
101
- # @rendered_str = renderer.render_to_string( inline: @ctx.body )
102
100
 
103
101
  render layout: false
104
102
  end
@@ -3,8 +3,7 @@
3
3
  class WcoEmail::ObfuscatedRedirectsController < WcoEmail::ApplicationController
4
4
 
5
5
  def show
6
- @obf = Office::ObfuscatedRedirect.find params[:id]
7
- # puts! @obf, '@obf'
6
+ @obf = WcoEmail::ObfuscatedRedirect.find params[:id]
8
7
  authorize! :show, @obf
9
8
  visit_time = Time.now
10
9
  @obf.update_attributes({
@@ -18,7 +18,8 @@
18
18
  %label Subject
19
19
  = f.text_field :subject, class: 'w-100'
20
20
  .field
21
- = f.text_area :body, class: 'tinymce'
21
+ -## No tinymce, b/c I must allow body to be empty, to be overridden by the template.
22
+ = f.text_area :body
22
23
  .flex-row
23
24
  .flex-row
24
25
  %label Respond inline?
@@ -9,5 +9,6 @@
9
9
  - @templates.each do |tmpl|
10
10
  .col-md-6
11
11
  %iframe.email-template-iframe{ src: email_template_iframe_path(tmpl) }
12
+ .gray.mini= link_to email_template_iframe_path(tmpl), email_template_iframe_path(tmpl), target: :_blank
12
13
  = render '/wco_email/email_templates/meta', tmpl: tmpl
13
14
  = paginate @templates, :param_name => :templates_page, :views_prefix => 'wco'
data/config/routes.rb CHANGED
@@ -41,9 +41,4 @@ WcoEmail::Engine.routes.draw do
41
41
 
42
42
  get '/obf/:id', to: 'obfuscated_redirects#show', as: :obf
43
43
 
44
-
45
-
46
- resources :unsubscribes
47
-
48
-
49
44
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wco_email
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1.42
4
+ version: 0.1.1.44
5
5
  platform: ruby
6
6
  authors:
7
7
  - Victor Pudeyev
@@ -314,7 +314,7 @@ files:
314
314
  - app/controllers/wco_email/messages_controller.rb
315
315
  - app/controllers/wco_email/obfuscated_redirects_controller.rb
316
316
  - app/controllers/wco_email/sessions_controller.rb
317
- - app/controllers/wco_email/unsubscribes_controller.rb
317
+ - app/controllers/wco_email/unsubscribes_controller.rb-trash
318
318
  - app/helpers/wco_email/application_helper.rb
319
319
  - app/jobs/wco_email/message_intake_job.rb
320
320
  - app/views/202212 Mailchimp Templates/202212 1col fixed-width.html
@@ -357,9 +357,6 @@ files:
357
357
  - app/views/wco_email/_analytics.erb
358
358
  - app/views/wco_email/_main_header.haml
359
359
  - app/views/wco_email/_sidebar.haml
360
- - app/views/wco_email/application_mailer/_footer_unsubscribe.html.erb
361
- - app/views/wco_email/application_mailer/_header_logo.html.erb
362
- - app/views/wco_email/application_mailer/forwarder_notify.html.erb-trash
363
360
  - app/views/wco_email/contexts/_form.haml
364
361
  - app/views/wco_email/contexts/_form_reply.haml
365
362
  - app/views/wco_email/contexts/_header.haml
@@ -401,7 +398,6 @@ files:
401
398
  - app/views/wco_email/email_filters/index.haml
402
399
  - app/views/wco_email/email_filters/new.haml
403
400
  - app/views/wco_email/email_filters/show.haml
404
- - app/views/wco_email/email_layouts/_plain.haml
405
401
  - app/views/wco_email/email_templates/_form.haml
406
402
  - app/views/wco_email/email_templates/_form_mini.haml
407
403
  - app/views/wco_email/email_templates/_form_reply_mini.haml
@@ -409,32 +405,11 @@ files:
409
405
  - app/views/wco_email/email_templates/_header.haml
410
406
  - app/views/wco_email/email_templates/_index.haml
411
407
  - app/views/wco_email/email_templates/_index_expanded.haml
412
- - app/views/wco_email/email_templates/_m20221201react.html.erb
413
- - app/views/wco_email/email_templates/_m20221222merryxmas.html.erb
414
- - app/views/wco_email/email_templates/_m202309_feedback.html.erb
415
- - app/views/wco_email/email_templates/_m202309_ror4.html.erb
416
- - app/views/wco_email/email_templates/_marketing_node_1.html.erb
417
- - app/views/wco_email/email_templates/_marketing_react_1.html
418
- - app/views/wco_email/email_templates/_marketing_react_2.html.erb
419
- - app/views/wco_email/email_templates/_marketing_react_3.html.erb
420
- - app/views/wco_email/email_templates/_marketing_ror_1.html
421
- - app/views/wco_email/email_templates/_marketing_ror_2.html.erb
422
- - app/views/wco_email/email_templates/_marketing_ror_3.html.erb
423
- - app/views/wco_email/email_templates/_marketing_ror_4.html.erb
424
- - app/views/wco_email/email_templates/_marketing_ror_5.html.erb
425
- - app/views/wco_email/email_templates/_marketing_wordpress_1.html
426
- - app/views/wco_email/email_templates/_marketing_wordpress_2.html
427
408
  - app/views/wco_email/email_templates/_meta.haml
428
- - app/views/wco_email/email_templates/_piousbox_roundborders.html.erb
429
409
  - app/views/wco_email/email_templates/_piousbox_social.html.erb
430
- - app/views/wco_email/email_templates/_plain.haml
431
- - app/views/wco_email/email_templates/_rec_resume_shared_with_you.html.erb
410
+ - app/views/wco_email/email_templates/_plain.haml-trash
432
411
  - app/views/wco_email/email_templates/_show_cell.haml
433
- - app/views/wco_email/email_templates/_slug-1.html.erb
434
- - app/views/wco_email/email_templates/_slug-2.html.erb
435
- - app/views/wco_email/email_templates/_slug-3.html.erb
436
412
  - app/views/wco_email/email_templates/_tracking_footer.html.erb
437
- - app/views/wco_email/email_templates/_wasyaco_roundborders.html.erb
438
413
  - app/views/wco_email/email_templates/_wasyaco_social.html.erb
439
414
  - app/views/wco_email/email_templates/edit.haml
440
415
  - app/views/wco_email/email_templates/new.haml
@@ -448,8 +423,6 @@ files:
448
423
  - app/views/wco_email/messages/show.haml
449
424
  - app/views/wco_email/messages/show_iframe.haml
450
425
  - app/views/wco_email/sessions/new.html.erb
451
- - app/views/wco_email/unsubscribes/_header.haml
452
- - app/views/wco_email/unsubscribes/_table.haml
453
426
  - config/initializers/assets.rb
454
427
  - config/routes.rb
455
428
  - lib/tasks/bjjcollective/sitemap.rb
@@ -1,24 +0,0 @@
1
- <table align="left" border="0" cellpadding="0" cellspacing="0"
2
- style="max-width:100%; min-width:100%;" width="100%"
3
- class="mcnTextContentContainer">
4
- <tbody>
5
- <tr>
6
-
7
- <td valign="top" class="mcnTextContent"
8
- style="padding-top:0; padding-right:160px; padding-bottom:9px; padding-left:160px;">
9
-
10
- <em>Copyright © Wasya Co</em><br><br>
11
-
12
- <strong>Our mailing address is:</strong><br>
13
-
14
- 201 W 5th St 11th Floor, Austin, TX 78701<br><br>
15
-
16
- Want to change how you receive these emails? You can
17
- <% # link_to( 'update your preferences', obfuscate( user_dashboard_url ) ) + ' or ' %>
18
- <%= link_to 'unsubscribe from this list', obfuscate( @unsubscribe_url ) %>.<br><br>
19
-
20
- </td>
21
-
22
- </tr>
23
- </tbody>
24
- </table>
@@ -1,12 +0,0 @@
1
-
2
- <table cellpadding="0" cellspacing="0" width="100%">
3
- <tr>
4
- <td align="center">
5
- <br />
6
- <img
7
- src="https://d15g8hc4183yn4.cloudfront.net/wp-content/uploads/2022/09/29185755/259x66-WasyaCo-Logo-YellowShadow.png"
8
- alt="Wasya Co [logo]" />
9
- </td>
10
- </tr>
11
- </table>
12
- <br /><br />
@@ -1,17 +0,0 @@
1
-
2
-
3
- <ul>
4
- <li><b>From:</b> <%= @msg.from %></li>
5
- <li><b>To:</b> <%= @msg.to %></li>
6
- <li><b>Cc:</b> <%= @msg.cc %></li>
7
- <li><b>Subject:</b> <%= @msg.subject %></li>
8
- <li><b>Date:</b> <%= @msg.date %></li>
9
- <li><b>N Assets:</b> <%= @msg.assets.length %></li>
10
- </ul>
11
-
12
- <%= raw @msg.part_html %>
13
-
14
- <hr />
15
-
16
- <%= raw @msg.part_txt %>
17
-
@@ -1,18 +0,0 @@
1
-
2
- -# %ul
3
- -# %li= @lead.inspect
4
- -# %li= @ctx.tmpl.inspect
5
- -# %li= @ctx.reply_to_message.inspect
6
- -# %li= @renderer.inspect
7
-
8
- = @renderer.render( inline: @ctx.body )
9
-
10
- -# = @ctx.utm_tracking_str
11
- -# = @ctx.unsubscribe_url
12
-
13
- - if @ctx.reply_to_message
14
- %br
15
- %br
16
- .mini Your previous message is shown below.
17
- %hr
18
- = raw @ctx.reply_to_message.part_html_sanitized