@tiledesk/tiledesk-server 2.2.39 → 2.3.1-8.1
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +121 -0
- package/LICENSE +14 -657
- package/README.md +17 -3
- package/app.js +21 -60
- package/channels/chat21/chat21Handler.js +18 -3
- package/channels/chat21/chat21WebHook.js +31 -15
- package/channels/chat21/package-lock.json +663 -706
- package/channels/chat21/package.json +2 -2
- package/deploy.sh +2 -0
- package/event/botEvent.js +1 -1
- package/event/subscriptionEvent.js +11 -0
- package/fonts/Roboto-Italic.ttf +0 -0
- package/fonts/Roboto-Medium.ttf +0 -0
- package/fonts/Roboto-MediumItalic.ttf +0 -0
- package/fonts/Roboto-Regular.ttf +0 -0
- package/middleware/ipFilter.js +220 -0
- package/middleware/passport.js +11 -2
- package/models/lead.js +2 -0
- package/models/project.js +10 -0
- package/models/project_user.js +4 -0
- package/models/request.js +50 -12
- package/models/subscriptionLog.js +34 -0
- package/models/tagLibrary.js +42 -0
- package/package.json +6 -12
- package/pubmodules/activities/activityArchiver.js +314 -0
- package/pubmodules/activities/index.js +3 -0
- package/pubmodules/activities/models/activity.js +88 -0
- package/pubmodules/activities/routes/activity.js +710 -0
- package/pubmodules/activities/test/activityRoute.js +85 -0
- package/pubmodules/analytics/analytics.js +1719 -0
- package/pubmodules/analytics/index.js +3 -0
- package/pubmodules/canned/cannedResponse.js +55 -0
- package/pubmodules/canned/cannedResponseRoute.js +163 -0
- package/pubmodules/canned/index.js +3 -0
- package/pubmodules/emailNotification/requestNotification.js +215 -28
- package/pubmodules/events/eventRoute.js +37 -7
- package/pubmodules/messageActions/messageActionsInterceptor.js +4 -2
- package/pubmodules/pubModulesManager.js +129 -5
- package/pubmodules/rasa/listener.js +5 -5
- package/pubmodules/rules/conciergeBot.js +4 -4
- package/pubmodules/scheduler/tasks/closeAgentUnresponsiveRequestTask.js +3 -1
- package/pubmodules/scheduler/tasks/closeBotUnresponsiveRequestTask.js +3 -1
- package/pubmodules/tilebot/index.js +11 -0
- package/pubmodules/tilebot/listener.js +69 -0
- package/pubmodules/trigger/default.js +271 -0
- package/pubmodules/trigger/event/actionEventEmitter.js +10 -0
- package/pubmodules/trigger/event/flowEventEmitter.js +10 -0
- package/pubmodules/trigger/event/triggerEventEmitter.js +10 -0
- package/pubmodules/trigger/index.js +3 -0
- package/pubmodules/trigger/models/trigger.js +149 -0
- package/pubmodules/trigger/rulesTrigger.js +1181 -0
- package/pubmodules/trigger/start.js +118 -0
- package/pubmodules/trigger/triggerRoute.js +150 -0
- package/routes/auth.js +7 -2
- package/routes/department.js +51 -0
- package/routes/faq.js +7 -0
- package/routes/faq_kb.js +1 -1
- package/routes/group.js +140 -0
- package/routes/lead.js +24 -1
- package/routes/message.js +6 -3
- package/routes/project.js +118 -0
- package/routes/project_user.js +9 -0
- package/routes/public-request.js +280 -2
- package/routes/request.js +122 -16
- package/routes/subscription.js +140 -0
- package/routes/tag.js +138 -0
- package/routes/user-request.js +3 -2
- package/routes/users.js +1 -1
- package/routes/widget.js +80 -3
- package/routes/widgetLoader.js +31 -0
- package/services/banUserNotifier.js +86 -0
- package/services/emailService.js +189 -11
- package/services/faqService.js +2 -2
- package/services/geoService.js +30 -4
- package/services/leadService.js +2 -0
- package/services/modulesManager.js +7 -188
- package/services/requestService.js +364 -6
- package/services/subscriptionNotifier.js +485 -0
- package/template/email/assignedEmailMessage.html +1 -1
- package/template/email/assignedRequest.html +1 -1
- package/template/email/newMessage.html +1 -1
- package/template/email/newMessageFollower.html +236 -0
- package/template/email/passwordChanged.html +1 -1
- package/template/email/pooledEmailMessage.html +1 -1
- package/template/email/pooledRequest.html +1 -1
- package/template/email/resetPassword.html +2 -2
- package/template/email/ticket.html +1 -1
- package/test/cannedRoute.js +166 -0
- package/test/messageRoute.js +69 -0
- package/test/requestService.js +3 -1
- package/utils/orgUtil.js +3 -3
- package/views/messages.jade +2 -2
- package/websocket/webSocketServer.js +23 -5
package/CHANGELOG.md
CHANGED
@@ -1,4 +1,125 @@
|
|
1
|
+
# 2.3.17 -> PROD
|
2
|
+
- Webhook chat21 fix return
|
1
3
|
|
4
|
+
# 2.3.16
|
5
|
+
- Request close activity added as event
|
6
|
+
- Log fix webhook chat21
|
7
|
+
|
8
|
+
# 2.3.15
|
9
|
+
- Endpoint Widget fix undefined project.widget
|
10
|
+
|
11
|
+
# 2.3.14
|
12
|
+
- Added ip filter with Deny roles and ban User roles
|
13
|
+
- Ban notifier
|
14
|
+
- Middleware decodeJwt before passport with passport fallback
|
15
|
+
- Removed unused requestService.incrementMessagesCountByRequestId from chat21Webhook
|
16
|
+
- Enable agent to manage groups endpoint
|
17
|
+
- Added tilebot chat server
|
18
|
+
|
19
|
+
# 2.3.13
|
20
|
+
- Getting ip fix
|
21
|
+
|
22
|
+
# 2.3.10
|
23
|
+
- Added tilebot submodule
|
24
|
+
- Askbot endpoint fix for tilebot and auto create faqs for tilebot
|
25
|
+
- Added /widgets/ip endpoint
|
26
|
+
- Added bot and subscription as permission check for /intents or /faq
|
27
|
+
|
28
|
+
# 2.3.9
|
29
|
+
- Rasa process env variable read fix
|
30
|
+
|
31
|
+
# 2.3.8
|
32
|
+
- @tiledesk/tiledesk-rasa-connector": "^1.0.10
|
33
|
+
|
34
|
+
# 2.3.7
|
35
|
+
- Find by intent_display_name parameter intents
|
36
|
+
|
37
|
+
# 2.3.5
|
38
|
+
- CHAT_REOPENED updated conversation true
|
39
|
+
|
40
|
+
# 2.3.4
|
41
|
+
- download pdf fix
|
42
|
+
- added no_count and no_textscore fields query parameters to request search endpoint
|
43
|
+
|
44
|
+
# 2.3.3
|
45
|
+
- Follower notification fix by email
|
46
|
+
|
47
|
+
# 2.3.2
|
48
|
+
- Dowload trascript as csv, pdf and txt endpoint
|
49
|
+
- Added closed_by field to the request model
|
50
|
+
- Added followers field to the request model
|
51
|
+
- Added lead index
|
52
|
+
- Added widget v5 code loader /widgets/v5/:project_id -> heroku blocca cache-control PROVA IN PROD
|
53
|
+
- Bugfix Cannot read property 'profile' of null
|
54
|
+
- Added filter by channel offline and online
|
55
|
+
- Updated Rasa Connector to 1.0.7 -- QUANDO PORTI IN PROD AGGIORNA SUL DB PER FARLI PUNTARE QUI..
|
56
|
+
- Send info message on lead.fullaname.update
|
57
|
+
- Follower email notification
|
58
|
+
|
59
|
+
https://support.zendesk.com/hc/en-us/articles/4408822451482-Using-CCs-followers-and-mentions#topic_wm2_zgq_qgb
|
60
|
+
|
61
|
+
Followers allow you to include additional internal users (agents or administrators) on ticket notifications. Internal users can add followers to tickets. There's no limit to the number of followers you can include on a ticket.
|
62
|
+
|
63
|
+
Agents and administrators can use the Followers field in the properties panel of the ticket interface to add internal users to a ticket.
|
64
|
+
|
65
|
+
Internal users who can view the ticket can add followers to the ticket.
|
66
|
+
|
67
|
+
Followers can:
|
68
|
+
|
69
|
+
* Receive public comments and private comments added to the ticket conversation.
|
70
|
+
* Ability to make a private comments and public comment.
|
71
|
+
* Replying to a private comment creates a private comment and likewise for public comments.
|
72
|
+
* Remove themselves from the ticket conversation.
|
73
|
+
* Remain hidden from end users copied on the ticket.
|
74
|
+
* Access any ticket that they are following, even if they would not normally be allowed to access the ticket.
|
75
|
+
|
76
|
+
# Adding agents as followers from the ticket interface
|
77
|
+
If followers have been enabled by the administrator, internal users (your company's agents and administrators) can add followers from the Followers field from the properties panel in the ticket interface. Followers are internal users such as agents, light agents, and administrators that receive email notifications when a ticket is updated.
|
78
|
+
|
79
|
+
Note these things about using followers:
|
80
|
+
|
81
|
+
* Followers can add and receive public comments and private comments.
|
82
|
+
* Followers can reply to a public comment with a public comment, and reply to a private comment with a private comment.
|
83
|
+
* Followers can remove themselves from the ticket.
|
84
|
+
* Followers are hidden from copied (CC'd) end users and other followers on email notifications. Their name and email address don't appear in email notifications sent to other users. For more information about the email notifications that followers receive, see Best practices for using email clients with CCs and followers.
|
85
|
+
* If your administrator has enabled Automatically make an agent a follower, you can added internal users, such as agents and admins, to tickets as followers from ticket notifications by adding them to the reply as a CC. In this case, the agent becomes both a CC and a follower.
|
86
|
+
## To add agents as followers from the ticket interface
|
87
|
+
* Select a ticket from one of your views.
|
88
|
+
The Followers field appears in the ticket properties panel on the left side.
|
89
|
+
|
90
|
+
* In the Followers field, enter a user's name, email domain, or organization name and the relevant results appear.
|
91
|
+
Internal users such as agents, light agents, and administrators can be followers.
|
92
|
+
|
93
|
+
* To quickly add yourself as a follower, click follow.
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
## To remove a follower from the ticket interface
|
98
|
+
* Click the delete button (X) in the person's name box in the Followers list
|
99
|
+
|
100
|
+
|
101
|
+
* To quickly remove yourself as a follower, click unfollow.
|
102
|
+
|
103
|
+
* To add agents as followers from ticket notifications
|
104
|
+
|
105
|
+
* From your email client, open the ticket notification.
|
106
|
+
* Open the CC line, per your email provider’s instructions.
|
107
|
+
* Add the name of the user you want to add as a follower. Repeat as necessary.
|
108
|
+
* Add your comment and send the email.
|
109
|
+
|
110
|
+
|
111
|
+
|
112
|
+
# 2.3.1
|
113
|
+
- changed tiledesk logo for emails
|
114
|
+
- open modules: analytics, activity log, multi tenancy, departments, groups, canned responses, tags, triggers, webhooks
|
115
|
+
|
116
|
+
# 2.2.39
|
117
|
+
- Added enterprise module
|
118
|
+
- Log fix
|
119
|
+
- Added DISABLE_MONGO_PASSWORD_MASK env variable
|
120
|
+
- Embedded rasa proxy
|
121
|
+
- Added Swedish, Uzbek and Kazakh languages
|
122
|
+
- Added Azerbaijani language
|
2
123
|
|
3
124
|
# 2.2.38
|
4
125
|
- Unlocked departments, groups, multi-tenant, tags and canned resposes modules
|