wco_email 0.1.1.42 → 0.1.1.43

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) 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/email_templates/_index_expanded.haml +1 -0
  5. data/config/routes.rb +0 -5
  6. metadata +3 -30
  7. data/app/views/wco_email/application_mailer/_footer_unsubscribe.html.erb +0 -24
  8. data/app/views/wco_email/application_mailer/_header_logo.html.erb +0 -12
  9. data/app/views/wco_email/application_mailer/forwarder_notify.html.erb-trash +0 -17
  10. data/app/views/wco_email/email_layouts/_plain.haml +0 -18
  11. data/app/views/wco_email/email_templates/_m20221201react.html.erb +0 -1202
  12. data/app/views/wco_email/email_templates/_m20221222merryxmas.html.erb +0 -766
  13. data/app/views/wco_email/email_templates/_m202309_feedback.html.erb +0 -1161
  14. data/app/views/wco_email/email_templates/_m202309_ror4.html.erb +0 -1068
  15. data/app/views/wco_email/email_templates/_marketing_node_1.html.erb +0 -984
  16. data/app/views/wco_email/email_templates/_marketing_react_1.html +0 -0
  17. data/app/views/wco_email/email_templates/_marketing_react_2.html.erb +0 -749
  18. data/app/views/wco_email/email_templates/_marketing_react_3.html.erb +0 -628
  19. data/app/views/wco_email/email_templates/_marketing_ror_1.html +0 -751
  20. data/app/views/wco_email/email_templates/_marketing_ror_2.html.erb +0 -755
  21. data/app/views/wco_email/email_templates/_marketing_ror_3.html.erb +0 -25
  22. data/app/views/wco_email/email_templates/_marketing_ror_4.html.erb +0 -25
  23. data/app/views/wco_email/email_templates/_marketing_ror_5.html.erb +0 -17
  24. data/app/views/wco_email/email_templates/_marketing_wordpress_1.html +0 -0
  25. data/app/views/wco_email/email_templates/_marketing_wordpress_2.html +0 -0
  26. data/app/views/wco_email/email_templates/_piousbox_roundborders.html.erb +0 -1007
  27. data/app/views/wco_email/email_templates/_rec_resume_shared_with_you.html.erb +0 -39
  28. data/app/views/wco_email/email_templates/_slug-1.html.erb +0 -0
  29. data/app/views/wco_email/email_templates/_slug-2.html.erb +0 -0
  30. data/app/views/wco_email/email_templates/_slug-3.html.erb +0 -0
  31. data/app/views/wco_email/email_templates/_wasyaco_roundborders.html.erb +0 -686
  32. data/app/views/wco_email/unsubscribes/_header.haml +0 -4
  33. data/app/views/wco_email/unsubscribes/_table.haml +0 -22
  34. /data/app/controllers/wco_email/{unsubscribes_controller.rb → unsubscribes_controller.rb-trash} +0 -0
  35. /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: a4f5a24966a345bec2b8942ca03aaca2813fe245c2fd8864239f2b1311dfa78f
4
+ data.tar.gz: c83d7b22c3cf41abccbc5022acefaae5e46bc4aea0ec7c1bf67ffa8b79612c85
5
5
  SHA512:
6
- metadata.gz: 95e46edb2a134e7646ab381d1120ea14cb3c11bf87af4eea11d235c8901e318cdfc98c7c675469a5139e8e30017072976771fd55380233caaae99c68884dca2f
7
- data.tar.gz: a9f82e64f99c55c13b0501b0027bcfd33eeb619c932fbcab7078c030fbf25920f5ac957f74a3ebeaba30349bb5f8fed4f33dbe1d206588248e2fbf5f6d196bb4
6
+ metadata.gz: 9f8d309f71c2b601bf4c0201841d9f9082e85cde5685929dc0f592b1d896f01a456f6015df294f4e44253867e145c3c9dccf797bb6bfb8f2172a1c69b1fc927f
7
+ data.tar.gz: 3d96c9724b519694ad9b7c2e1f0c08d870c18766756c9e7ae0fa6522860ed43ff6d516e26974c2adb92ccefbe7d9a656f389593eae7d8137fbb02f1e69a6c7c9
@@ -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({
@@ -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.43
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