wco_email 0.1.1.53 → 0.1.1.55

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: 338e9ff0a3c482144a900d18632bcefe0b3ecaf8cd058449efac0d14c9abc2f9
4
- data.tar.gz: aa0a219a0ffdba806d30bc5638f9336f039383ddaee33df1c1cc128499249789
3
+ metadata.gz: 8de915ac821b3008a5eb3e64369c3aca53b92e3c9c35033b62b39ce7003db17c
4
+ data.tar.gz: bf8d61b396d4393ef46183a498186969fd492b5ecb2506222cbb55a20373ec1b
5
5
  SHA512:
6
- metadata.gz: 39f2ac3e27958c7abd9c5822cb67363b2033646a6973d1afd6c454728410943f083069975fad40993d4114d7afa1ac6ccb2f991effa457ac404bbbe566220dfa
7
- data.tar.gz: e199465c53c67dca0d26fab1965f27691680ec890d21d1e9902609062221ab5d993fd4ac3996897cff80d7ebd009adbd8e303aed09b9abcd65e3a3a917a57edc
6
+ metadata.gz: adb423d238a850f679112cf1b041a2cd312d5e0b31d408f87f213c6fa6e2df721d9e3b9d0ddd487fc3a97766d548a2509eb32140257c373250f89a86ad2e17a7
7
+ data.tar.gz: 8d2826467735d3ca5c5249720ceb2144664fb14e4ad7f0e5d7879e2dd57aade3bdeb959a95151ff71f2bb95cb20e34807248770bafc92cfc965df6c0690e3e84
@@ -14,39 +14,6 @@
14
14
  = render '/wco_email/conversations/actions'
15
15
 
16
16
  = render '/wco/paginate', resource: @conversations, param_name: :conv_page
17
- %table.bordered
18
- %tr
19
- %th.select-all.nosort
20
- .a
21
- = check_box_tag :select_all
22
- .n-selected -
23
- %th.leads leads
24
- %th.subject subject, preview
25
- %th.tags Tags
26
- %th.latest-at latest_at
27
- - @conversations.each_with_index do |conv, idx|
28
- %tr
29
- %td.select-all
30
- .gray= idx+1
31
- = check_box_tag 'conversation_ids[]', conv.id.to_s, nil, { class: 'i-sel' }
32
- %td.leads.mini
33
- -# - conv.from_emails.each do |from|
34
- -# = link_to from, wco.lead_path( from )
35
- -# %hr
36
- - conv.leads.each do |lead|
37
- = link_to lead.email, wco.lead_path( lead )
38
- %td.subject
39
- - if conv.unread?
40
- <b>#{link_to conv.subject, conversation_path(conv)}</b>
41
- - else
42
- = link_to conv.subject, conversation_path(conv)
43
- <b>(#{conv.messages.length})</b>
44
- %span.gray= conv.preview
45
- %td.tags.mini
46
- - conv.tags.each do |tag|
47
- .mb-1
48
- .Chip= tag.slug
49
- %td.latest-at
50
- = pp_date conv.latest_at
51
- = pp_time conv.latest_at
17
+ = render '/wco_email/conversations/table', convs: @conversations
18
+
52
19
  = render '/wco/paginate', resource: @conversations, param_name: :conv_page
@@ -29,7 +29,8 @@
29
29
  = render '/wco_email/messages/meta', message: msg
30
30
  = link_to '[expand]', message_iframe_path(msg, expand_history: true), target: "iframe_#{msg.id}"
31
31
  = link_to '[collapse]', message_iframe_path(msg), target: "iframe_#{msg.id}"
32
- %iframe.message-iframe{ src: message_iframe_path(msg), id: "iframe_#{msg.id}", name: "iframe_#{msg.id}", onload: "resizeIframe(this)" }
32
+ %span.collapse-expand{ id: "iframe_#{msg.id}" } [<>]
33
+ %iframe.message-iframe{ src: message_iframe_path(msg), name: "iframe_#{msg.id}", onload: "resizeIframe(this)" }
33
34
 
34
35
  - msg = @conversation.messages.last
35
36
  = 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 })
@@ -32,7 +32,7 @@
32
32
  = f.select :email_template_id, options_for_select(@email_templates_list, selected: params[:email_template_id] || email_filter.email_template_id ), {}, { class: 'select2' }
33
33
  .field
34
34
  = f.label :email_action_template
35
- = f.select :email_action_template, options_for_select( @email_action_templates_list, selected: email_filter.email_action_template ), {}, class: 'select2'
35
+ = f.select :email_action_template, options_for_select( @email_action_templates_list, selected: email_filter.email_action_template_id ), {}, class: 'select2'
36
36
  .field
37
37
  = f.label :tag
38
38
  = f.select :tag, options_for_select( @tags_list, selected: email_filter.tag_id ), {}, class: 'select2'
@@ -0,0 +1,3 @@
1
+
2
+ STRIPE_PK = 'nothing'
3
+
@@ -172,7 +172,6 @@ namespace :wco_email do
172
172
  unsub = WcoEmail::Unsubscribe.where({ lead_id: ctx.lead_id, template_id: ctx.email_template_id }).first
173
173
  if unsub
174
174
  puts! 'This user is unsubscribed; the context cannot be sent.' if DEBUG
175
- # Office::AdminMessage.create({ message: "Lead `#{ctx.lead.full_name}` [mailto:#{ctx.lead.email}] has already unsubscribed from template `#{Ish::EmailTemplate.find( ctx.email_template_id ).slug}` ." })
176
175
  email_action_template_ids = WcoEmail::EmailActionTemplate.where({ email_template_id: ctx.email_template_id }).map(&:id)
177
176
  schs = WcoEmail::EmailAction.active.where({
178
177
  lead_id: ctx.lead_id,
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.53
4
+ version: 0.1.1.55
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-02-10 00:00:00.000000000 Z
11
+ date: 2024-02-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-s3
@@ -299,16 +299,9 @@ extra_rdoc_files: []
299
299
  files:
300
300
  - README.txt
301
301
  - Rakefile
302
- - app/assets/config-trash/wco_email_manifest.js
303
- - app/assets/javascript/vendor-trash/jquery-ui.min.js
304
- - app/assets/javascript/vendor-trash/jquery.fileupload.js
305
- - app/assets/javascript/vendor-trash/jquery.iframe-transport.js
306
- - app/assets/javascript/vendor-trash/jquery.ui.widget.js
307
- - app/assets/javascript/vendor-trash/summernote-bs4.min.js
308
302
  - app/assets/javascript/wco_email/application.js
309
303
  - app/assets/javascript/wco_email/contexts.js
310
304
  - app/assets/javascript/wco_email/conversations.js
311
- - app/assets/javascript/wco_email/file_upload.js-trash
312
305
  - app/assets/javascript/wco_email/shared.js
313
306
  - app/assets/stylesheets/wco_email/application.scss
314
307
  - app/assets/stylesheets/wco_email/contexts.scss
@@ -396,7 +389,6 @@ files:
396
389
  - app/views/wco_email/email_action_templates/new.haml
397
390
  - app/views/wco_email/email_action_templates/show.haml
398
391
  - app/views/wco_email/email_actions/_form.haml
399
- - app/views/wco_email/email_actions/_form_mini.haml-trash
400
392
  - app/views/wco_email/email_actions/_header.haml
401
393
  - app/views/wco_email/email_actions/edit.haml
402
394
  - app/views/wco_email/email_actions/index.haml
@@ -423,7 +415,6 @@ files:
423
415
  - app/views/wco_email/email_templates/_index_expanded.haml
424
416
  - app/views/wco_email/email_templates/_meta.haml
425
417
  - app/views/wco_email/email_templates/_piousbox_social.html.erb
426
- - app/views/wco_email/email_templates/_plain.haml-trash
427
418
  - app/views/wco_email/email_templates/_show_cell.haml
428
419
  - app/views/wco_email/email_templates/_tracking_footer.html.erb
429
420
  - app/views/wco_email/email_templates/_wasyaco_social.html.erb
@@ -434,11 +425,11 @@ files:
434
425
  - app/views/wco_email/lead_action_templates/_header.haml
435
426
  - app/views/wco_email/lead_actions/_header.haml
436
427
  - app/views/wco_email/message_stubs/_index.haml
437
- - app/views/wco_email/messages/_form_reply.haml-trash
438
428
  - app/views/wco_email/messages/_meta.haml
439
429
  - app/views/wco_email/messages/show.haml
440
430
  - app/views/wco_email/messages/show_iframe.haml
441
431
  - app/views/wco_email/sessions/new.html.erb
432
+ - config/initializers/08_integrations.rb
442
433
  - config/initializers/assets.rb
443
434
  - config/routes.rb
444
435
  - lib/tasks/bjjcollective/sitemap.rb
@@ -447,9 +438,6 @@ files:
447
438
  - lib/tasks/infinite_shelter/sitemap.rb
448
439
  - lib/tasks/piousbox/sitemap.rb
449
440
  - lib/tasks/publish2_wordpress_tasks.rake
450
- - lib/tasks/trash/email_tasks.rake-trash
451
- - lib/tasks/trash/scrape_reddit_tasks.rake-bk
452
- - lib/tasks/trash/sitemap_tasks.rake-trash
453
441
  - lib/tasks/wasya_co/sitemap.rb
454
442
  - lib/tasks/wco_email_tasks.rake
455
443
  - lib/wco_email.rb
@@ -1,6 +0,0 @@
1
- //
2
- //= link wco/application.css
3
- //= link_directory ../stylesheets/wco_email .css
4
- //
5
-
6
- console.log('Loaded wco_email_rb/wco_email_manifest.js')