wco_models 3.1.0.153 → 3.1.0.154
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/controllers/wco/application_controller.rb +11 -10
- data/app/controllers/wco/reports_controller.rb +1 -0
- data/app/models/wco/profile.rb +4 -0
- data/app/models/wco_email/message.rb +2 -2
- data/app/models/wco_email/message_stub.rb +1 -1
- data/app/models/wco_hosting/appliance.rb +1 -1
- data/app/views/wco/leads/show.haml +1 -1
- data/lib/shortcuts.rb +11 -0
- data/lib/wco/ai_writer.rb +1 -0
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8214f97a78a923e7696ac257e51c35e82735e5f49ee72fb5323897c263494eed
|
|
4
|
+
data.tar.gz: 50a95c9ae5bc39baf0f5ed8c959b537219e6646accffd52f46577941c393835e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2ee8c67d727e601dbf625f4309651d56611f147852e50091bb0f8144b4b25aa382a88268fce8475a975157a9fd01e97d8bc7bdc06c980dd02084fe47eb6683c9
|
|
7
|
+
data.tar.gz: 7356863e168fc520d0dd7ba14a9a4e02bd4b77b97b92a00df164569f0136162446a843189495fde59eac51d804cae0a93adccfc99b2a292aca8c6af579cb3bc1
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
2
|
+
require_relative '../../../lib/shortcuts'
|
|
3
|
+
# EC ||= WcoEmail::Conversation
|
|
4
|
+
# EF ||= WcoEmail::EmailFilter
|
|
5
|
+
# EM ||= WcoEmail::Message
|
|
6
|
+
# ET ||= WcoEmail::EmailTemplate
|
|
7
|
+
# MS ||= WcoEmail::MessageStub
|
|
8
|
+
# EMS ||= MS
|
|
9
|
+
# OA ||= Wco::OfficeAction
|
|
10
|
+
# OAT ||= Wco::OfficeActionTemplate
|
|
11
|
+
# OATT ||= Wco::OfficeActionTemplateTie
|
|
12
|
+
# Sch ||= WcoEmail::EmailAction
|
|
12
13
|
|
|
13
14
|
class Wco::ApplicationController < ActionController::Base
|
|
14
15
|
include Wco::ApplicationHelper
|
data/app/models/wco/profile.rb
CHANGED
|
@@ -70,7 +70,7 @@ class WcoEmail::Message
|
|
|
70
70
|
field :date, type: DateTime
|
|
71
71
|
def received_at ; date ; end
|
|
72
72
|
|
|
73
|
-
belongs_to :conversation, class_name: 'WcoEmail::Conversation'
|
|
73
|
+
belongs_to :conversation, class_name: 'WcoEmail::Conversation', index: true
|
|
74
74
|
def conv ; conversation ; end
|
|
75
75
|
|
|
76
76
|
belongs_to :stub, class_name: 'WcoEmail::MessageStub'
|
|
@@ -80,7 +80,7 @@ class WcoEmail::Message
|
|
|
80
80
|
has_many :replies, class_name: '::WcoEmail::Context', inverse_of: :reply_to_message
|
|
81
81
|
|
|
82
82
|
def apply_filter filter
|
|
83
|
-
puts! filter, 'WcoEmail::Message#apply_filter'
|
|
83
|
+
puts! filter, 'WcoEmail::Message#apply_filter' if DEBUG
|
|
84
84
|
conv.filter = filter
|
|
85
85
|
|
|
86
86
|
case filter.kind
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
.col-md-6.schs
|
|
50
50
|
%h5
|
|
51
51
|
Email Actions (#{@lead.schs.length})
|
|
52
|
-
= link_to '[+]', wco_email.new_email_action_path(lead_id: @lead.id)
|
|
52
|
+
= link_to '[+]', wco_email.new_email_action_path(lead_id: @lead.id) if defined?(wco_email)
|
|
53
53
|
%ul
|
|
54
54
|
- @lead.schs.each do |sch|
|
|
55
55
|
%li
|
data/lib/shortcuts.rb
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
|
|
2
|
+
EC ||= WcoEmail::Conversation
|
|
3
|
+
EF ||= WcoEmail::EmailFilter
|
|
4
|
+
EM ||= WcoEmail::Message
|
|
5
|
+
ET ||= WcoEmail::EmailTemplate
|
|
6
|
+
MS ||= WcoEmail::MessageStub
|
|
7
|
+
EMS ||= MS
|
|
8
|
+
OA ||= Wco::OfficeAction
|
|
9
|
+
OAT ||= Wco::OfficeActionTemplate
|
|
10
|
+
OATT ||= Wco::OfficeActionTemplateTie
|
|
11
|
+
Sch ||= WcoEmail::EmailAction
|
data/lib/wco/ai_writer.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: wco_models
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.1.0.
|
|
4
|
+
version: 3.1.0.154
|
|
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-04-
|
|
11
|
+
date: 2024-04-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-s3
|
|
@@ -662,6 +662,7 @@ files:
|
|
|
662
662
|
- app/views/wco_hosting/scripts/nginx_site.conf.erb
|
|
663
663
|
- config/initializers/assets.rb
|
|
664
664
|
- config/routes.rb
|
|
665
|
+
- lib/shortcuts.rb
|
|
665
666
|
- lib/tasks/db_tasks.rake
|
|
666
667
|
- lib/tasks/office_tasks.rake
|
|
667
668
|
- lib/tasks/wp_tasks.rake
|