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 +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/lib/tasks/db_tasks.rake +2 -0
- metadata +2 -2
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
|
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
|