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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0f6ede374892e4ee2d1d74b9493abbc3b723786f53da7e5009db344cb075f481
4
- data.tar.gz: b5850a2cab796944d3beb0f5b654fd3fd6388868bc655464c90fcc892996d831
3
+ metadata.gz: dacc43b17405240a295645fd09cf8c7b2a6dddf02d6b426515456b6842c9000b
4
+ data.tar.gz: fcc3e0d85e4af73a72e61b7c813bef7ca5679c5ad7775fbdf76b209dfa37ccd0
5
5
  SHA512:
6
- metadata.gz: ebc21b5cd1660e3132b27cb64ca994971cdd3b06beb5ea1ee5fef0b53e5afe1f40a3fe88c3699c57f4c29d0dba53e523a28eefc4dae707a72e352fa7b3c2a51c
7
- data.tar.gz: 5147c26369314cf73e8085a2135fdd901e2b3975805d66500ecbadcc6c2ffb36c17f217b8dc43063720adbae17583dfa37294919e0b3f58e815f2459cc94e42a
6
+ metadata.gz: 5982f30ee24dba548600ab58a16f462ed90adece8e98c33a18c2966e7e7d1a68d139ca9ac278d5ee64d4ac8e6e6baef9a841a6982d8a26435e1626932379143b
7
+ data.tar.gz: d279db94f758a39e160e3ee61c29cfe8f50f86d2bb2591cdfe9985561f913db10a68975c8fca25bed6024891b8e5b6f9b2a43b24e94609ee7944394abad9d4db
@@ -1,5 +1,4 @@
1
1
  //
2
- // trash: require rails-ujs
3
2
  //
4
3
  //= require ./contexts
5
4
  //= require ./conversations
@@ -11,7 +11,7 @@ OATT ||= Wco::OfficeActionTemplateTie
11
11
  Sch ||= WcoEmail::EmailAction
12
12
 
13
13
  class WcoEmail::ApplicationController < Wco::ApplicationController
14
- # before_action :set_lists
14
+
15
15
  layout 'wco_email/application'
16
16
 
17
17
 
@@ -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 "//code.jquery.com/jquery-3.3.1.min.js"
10
+ = javascript_include_tag "wco/application"
11
+ = stylesheet_link_tag "wco/application", media: "all"
11
12
 
12
- = javascript_include_tag "//cdn.datatables.net/1.10.16/js/jquery.dataTables.min.js"
13
- = stylesheet_link_tag "//cdn.datatables.net/1.10.16/css/jquery.dataTables.min.css"
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
- = stylesheet_link_tag "//cdn.jsdelivr.net/npm/bootstrap@4.3.1/dist/css/bootstrap.min.css"
19
- = javascript_include_tag "//cdn.jsdelivr.net/npm/popper.js@1.14.7/dist/umd/popper.min.js"
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 "//cdn.jsdelivr.net/npm/select2@4.0.0/dist/css/select2.min.css"
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
- %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 })
@@ -0,0 +1,3 @@
1
+
2
+ STRIPE_PK = 'nothing'
3
+
@@ -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.54
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-13 00:00:00.000000000 Z
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
@@ -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')