wco_email 0.1.1.54 → 0.1.1.56
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascript/wco_email/application.js +0 -1
- data/app/controllers/wco_email/application_controller.rb +1 -1
- data/app/controllers/wco_email/conversations_controller.rb +2 -0
- data/app/views/layouts/wco_email/application.haml +10 -24
- data/app/views/wco_email/conversations/show.haml +2 -1
- data/config/initializers/08_integrations.rb +3 -0
- data/lib/tasks/db_tasks.rake +2 -0
- metadata +3 -15
- data/app/assets/config-trash/wco_email_manifest.js +0 -6
- data/app/assets/javascript/vendor-trash/jquery-ui.min.js +0 -13
- data/app/assets/javascript/vendor-trash/jquery.fileupload.js +0 -1482
- data/app/assets/javascript/vendor-trash/jquery.iframe-transport.js +0 -224
- data/app/assets/javascript/vendor-trash/jquery.ui.widget.js +0 -572
- data/app/assets/javascript/vendor-trash/summernote-bs4.min.js +0 -3
- data/app/assets/javascript/wco_email/file_upload.js-trash +0 -32
- data/app/views/wco_email/email_actions/_form_mini.haml-trash +0 -28
- data/app/views/wco_email/email_templates/_plain.haml-trash +0 -17
- data/app/views/wco_email/messages/_form_reply.haml-trash +0 -17
- data/lib/tasks/trash/email_tasks.rake-trash +0 -126
- data/lib/tasks/trash/scrape_reddit_tasks.rake-bk +0 -23
- data/lib/tasks/trash/sitemap_tasks.rake-trash +0 -146
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dacc43b17405240a295645fd09cf8c7b2a6dddf02d6b426515456b6842c9000b
|
4
|
+
data.tar.gz: fcc3e0d85e4af73a72e61b7c813bef7ca5679c5ad7775fbdf76b209dfa37ccd0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5982f30ee24dba548600ab58a16f462ed90adece8e98c33a18c2966e7e7d1a68d139ca9ac278d5ee64d4ac8e6e6baef9a841a6982d8a26435e1626932379143b
|
7
|
+
data.tar.gz: d279db94f758a39e160e3ee61c29cfe8f50f86d2bb2591cdfe9985561f913db10a68975c8fca25bed6024891b8e5b6f9b2a43b24e94609ee7944394abad9d4db
|
@@ -100,6 +100,8 @@ class WcoEmail::ConversationsController < WcoEmail::ApplicationController
|
|
100
100
|
@messages = @conversation.messages.order_by( date: :asc )
|
101
101
|
@conversation.update_attributes({ status: Conv::STATUS_READ })
|
102
102
|
|
103
|
+
@conversation.messages.unread.update_all({ read_at: Time.now })
|
104
|
+
|
103
105
|
@other_convs = WcoEmail::Message.where( :message_id.in => @messages.map( &:in_reply_to_id )
|
104
106
|
).where( :conversation_id.ne => @conversation.id
|
105
107
|
).map( &:conversation_id ).uniq
|
@@ -7,29 +7,25 @@
|
|
7
7
|
%meta{ :charset => 'UTF-8' }
|
8
8
|
%meta{ :description => @page_description }
|
9
9
|
|
10
|
-
= javascript_include_tag "
|
10
|
+
= javascript_include_tag "wco/application"
|
11
|
+
= stylesheet_link_tag "wco/application", media: "all"
|
11
12
|
|
12
|
-
= javascript_include_tag "
|
13
|
-
= stylesheet_link_tag
|
13
|
+
= javascript_include_tag "wco_email/application"
|
14
|
+
= stylesheet_link_tag "wco_email/application", media: "all"
|
14
15
|
|
15
|
-
= stylesheet_link_tag "//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css", :media => 'all'
|
16
|
-
= stylesheet_link_tag "//fonts.googleapis.com/icon?family=Material+Icons"
|
17
16
|
|
18
|
-
=
|
19
|
-
=
|
20
|
-
= javascript_include_tag "//cdn.jsdelivr.net/npm/bootstrap@4.3.1/dist/js/bootstrap.min.js"
|
17
|
+
-# = javascript_include_tag "//cdn.datatables.net/1.10.16/js/jquery.dataTables.min.js"
|
18
|
+
-# = stylesheet_link_tag "//cdn.datatables.net/1.10.16/css/jquery.dataTables.min.css"
|
21
19
|
|
22
|
-
= stylesheet_link_tag "//
|
23
|
-
= javascript_include_tag "//cdn.jsdelivr.net/npm/select2@4.0.0/dist/js/select2.min.js", defer: 'defer'
|
20
|
+
= stylesheet_link_tag "//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css", :media => 'all'
|
24
21
|
|
22
|
+
= stylesheet_link_tag "//fonts.googleapis.com/icon?family=Material+Icons"
|
23
|
+
|
24
|
+
-# Allowed so far b/c I need to move fonts, too:
|
25
25
|
= stylesheet_link_tag "//cdn.jsdelivr.net/npm/summernote@0.8.18/dist/summernote.min.css"
|
26
26
|
= javascript_include_tag "//cdn.jsdelivr.net/npm/summernote@0.8.18/dist/summernote.min.js"
|
27
27
|
|
28
|
-
= javascript_include_tag "wco/application"
|
29
|
-
= stylesheet_link_tag "wco/application", media: "all"
|
30
28
|
|
31
|
-
= javascript_include_tag "wco_email/application"
|
32
|
-
= stylesheet_link_tag "wco_email/application", media: "all"
|
33
29
|
|
34
30
|
|
35
31
|
-# %script{crossorigin: "", src: "https://unpkg.com/react@18/umd/react.development.js"}
|
@@ -45,19 +41,9 @@
|
|
45
41
|
= render "/wco/main_header"
|
46
42
|
= render "/wco_email/main_header"
|
47
43
|
|
48
|
-
|
49
|
-
-# notice #{notice.inspect} alert #{alert.inspect}
|
50
44
|
= render '/wco/alerts_notices' if notice || alert
|
51
45
|
%hr
|
52
46
|
|
53
|
-
-# .padded
|
54
|
-
-# .row
|
55
|
-
-# .col-md-2.border-right
|
56
|
-
-# = yield :sidebar
|
57
|
-
-# .col-md-10
|
58
|
-
-# %span.absolute.collapse-expand#mainW
|
59
|
-
-# = yield
|
60
|
-
|
61
47
|
.padded.flex-row
|
62
48
|
= yield :sidebar
|
63
49
|
%span.absolute.collapse-expand#mainW
|
@@ -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
|
-
%
|
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 })
|
data/lib/tasks/db_tasks.rake
CHANGED
@@ -22,6 +22,8 @@ namespace :db do
|
|
22
22
|
desc "seed"
|
23
23
|
task seed: :environment do
|
24
24
|
|
25
|
+
Wco::Profile.find_or_create_by({ email: 'piousbox@gmail.com' })
|
26
|
+
|
25
27
|
blank_email_template = WcoEmail::EmailTemplate.find_or_create_by({ slug: 'blank' })
|
26
28
|
|
27
29
|
inbox = Wco::Tag.find_or_create_by({ slug: 'inbox' })
|
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.
|
4
|
+
version: 0.1.1.56
|
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-
|
11
|
+
date: 2024-02-22 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
|