wco_email 0.1.1.41 → 0.1.1.43

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) 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/conversations/_search.haml +3 -5
  5. data/app/views/wco_email/conversations/index.haml +8 -7
  6. data/app/views/wco_email/email_templates/_index_expanded.haml +1 -0
  7. data/config/routes.rb +0 -5
  8. metadata +3 -30
  9. data/app/views/wco_email/application_mailer/_footer_unsubscribe.html.erb +0 -24
  10. data/app/views/wco_email/application_mailer/_header_logo.html.erb +0 -12
  11. data/app/views/wco_email/application_mailer/forwarder_notify.html.erb-trash +0 -17
  12. data/app/views/wco_email/email_layouts/_plain.haml +0 -18
  13. data/app/views/wco_email/email_templates/_m20221201react.html.erb +0 -1202
  14. data/app/views/wco_email/email_templates/_m20221222merryxmas.html.erb +0 -766
  15. data/app/views/wco_email/email_templates/_m202309_feedback.html.erb +0 -1161
  16. data/app/views/wco_email/email_templates/_m202309_ror4.html.erb +0 -1068
  17. data/app/views/wco_email/email_templates/_marketing_node_1.html.erb +0 -984
  18. data/app/views/wco_email/email_templates/_marketing_react_1.html +0 -0
  19. data/app/views/wco_email/email_templates/_marketing_react_2.html.erb +0 -749
  20. data/app/views/wco_email/email_templates/_marketing_react_3.html.erb +0 -628
  21. data/app/views/wco_email/email_templates/_marketing_ror_1.html +0 -751
  22. data/app/views/wco_email/email_templates/_marketing_ror_2.html.erb +0 -755
  23. data/app/views/wco_email/email_templates/_marketing_ror_3.html.erb +0 -25
  24. data/app/views/wco_email/email_templates/_marketing_ror_4.html.erb +0 -25
  25. data/app/views/wco_email/email_templates/_marketing_ror_5.html.erb +0 -17
  26. data/app/views/wco_email/email_templates/_marketing_wordpress_1.html +0 -0
  27. data/app/views/wco_email/email_templates/_marketing_wordpress_2.html +0 -0
  28. data/app/views/wco_email/email_templates/_piousbox_roundborders.html.erb +0 -1007
  29. data/app/views/wco_email/email_templates/_rec_resume_shared_with_you.html.erb +0 -39
  30. data/app/views/wco_email/email_templates/_slug-1.html.erb +0 -0
  31. data/app/views/wco_email/email_templates/_slug-2.html.erb +0 -0
  32. data/app/views/wco_email/email_templates/_slug-3.html.erb +0 -0
  33. data/app/views/wco_email/email_templates/_wasyaco_roundborders.html.erb +0 -686
  34. data/app/views/wco_email/unsubscribes/_header.haml +0 -4
  35. data/app/views/wco_email/unsubscribes/_table.haml +0 -22
  36. /data/app/controllers/wco_email/{unsubscribes_controller.rb → unsubscribes_controller.rb-trash} +0 -0
  37. /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: 0ad1cad321b6f5762c495974c75c8fc45e42d6f90e899fdd136305f90f57d2d2
4
- data.tar.gz: 4b1343f28fd816cd700bd0b4c56f22a29246afaf7218b5a837b52d25386d979d
3
+ metadata.gz: a4f5a24966a345bec2b8942ca03aaca2813fe245c2fd8864239f2b1311dfa78f
4
+ data.tar.gz: c83d7b22c3cf41abccbc5022acefaae5e46bc4aea0ec7c1bf67ffa8b79612c85
5
5
  SHA512:
6
- metadata.gz: 4f5d78630cd5489588b99fbfeef67e10578d93daab74c03b63fc05999b87ab672f3b7b8e272514a60f944cfdcb332ed8e85dda587185e449f7059c50aa9ae5db
7
- data.tar.gz: bc90516338dd6b3b16d265f5319b3785f207a68efefca61f93e681aac62d6ec5588c4a1c99774baa040f8f2c0dfc892473f8f484bbe481fad5754f58cb8899cd
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({
@@ -2,12 +2,10 @@
2
2
 
3
3
  .conversations--search.Card
4
4
  .inline-block
5
- = form_tag email_conversations_path do
6
- %label Search from_email
5
+ = form_tag conversations_path, method: :get do
6
+ %b Search
7
+ %label from_email
7
8
  = text_field_tag :from_email, params[:from_email]
8
- -# = submit_tag '>'
9
- -# .inline-block
10
- -# = form_tag email_conversations_path do
11
9
  %label by subject
12
10
  = text_field_tag :subject, params[:subject]
13
11
  = submit_tag '>'
@@ -3,13 +3,14 @@
3
3
  = render 'wco_email/sidebar'
4
4
 
5
5
  .conversations-index
6
-
7
- %h5
8
- - if @tag
9
- Tag `#{@tag}`
10
- - if @tag_not
11
- Tag-not `#{@tag_not}`
12
- (#{@conversations.length})
6
+ .header
7
+ %h5.title
8
+ - if @tag
9
+ Tag `#{@tag}`
10
+ - if @tag_not
11
+ Tag-not `#{@tag_not}`
12
+ (#{@conversations.length})
13
+ = render '/wco_email/conversations/search'
13
14
  = render '/wco_email/conversations/actions'
14
15
 
15
16
  = render '/wco/paginate', resource: @conversations, param_name: :conv_page
@@ -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.41
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