wco_email 0.1.1.55 → 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: 8de915ac821b3008a5eb3e64369c3aca53b92e3c9c35033b62b39ce7003db17c
4
- data.tar.gz: bf8d61b396d4393ef46183a498186969fd492b5ecb2506222cbb55a20373ec1b
3
+ metadata.gz: dacc43b17405240a295645fd09cf8c7b2a6dddf02d6b426515456b6842c9000b
4
+ data.tar.gz: fcc3e0d85e4af73a72e61b7c813bef7ca5679c5ad7775fbdf76b209dfa37ccd0
5
5
  SHA512:
6
- metadata.gz: adb423d238a850f679112cf1b041a2cd312d5e0b31d408f87f213c6fa6e2df721d9e3b9d0ddd487fc3a97766d548a2509eb32140257c373250f89a86ad2e17a7
7
- data.tar.gz: 8d2826467735d3ca5c5249720ceb2144664fb14e4ad7f0e5d7879e2dd57aade3bdeb959a95151ff71f2bb95cb20e34807248770bafc92cfc965df6c0690e3e84
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
@@ -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.55
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