@tiledesk/tiledesk-server 2.2.22 → 2.2.26
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +19 -1
- package/README.md +5 -0
- package/app.js +1 -1
- package/channels/chat21/chat21WebHook.js +1 -1
- package/config/email.js +1 -1
- package/config/labels/widget.json +781 -611
- package/event/messageEvent.js +4 -4
- package/middleware/has-role.js +1 -1
- package/middleware/passport.js +3 -3
- package/models/project_user.js +2 -0
- package/models/request.js +1 -1
- package/package.json +2 -2
- package/pubmodules/emailNotification/requestNotification.js +4 -4
- package/pubmodules/messageTransformer/messageHandlebarsTransformerInterceptor.js +3 -3
- package/pubmodules/messageTransformer/messageTransformerInterceptor.js +3 -3
- package/pubmodules/scheduler/tasks/closeBotUnresponsiveRequestTask.js +12 -3
- package/routes/department.js +1 -1
- package/routes/faq.js +1 -1
- package/routes/faq_kb.js +2 -3
- package/routes/message.js +1 -1
- package/routes/project.js +1 -1
- package/routes/project_user.js +11 -4
- package/routes/widget.js +1 -1
- package/services/departmentService.js +5 -4
- package/services/faqBotHandler.js +1 -1
- package/services/faqService.js +62 -29
- package/services/labelService-no-default.js +2 -2
- package/services/labelService.js +1 -1
- package/services/leadService.js +2 -2
- package/services/operatingHoursService.js +1 -1
- package/services/requestService.js +3 -3
- package/utils/sendMessageUtil.js +2 -2
- package/websocket/webSocketServer.js +10 -10
- package/services/faqBotSupport copy.js_consplit +0 -453
package/CHANGELOG.md
CHANGED
@@ -1,4 +1,22 @@
|
|
1
|
-
#
|
1
|
+
# untagged
|
2
|
+
- Operator.select returns context object that contains the temp request..TEST IT
|
3
|
+
- Added Serbian language to the widget
|
4
|
+
- Added tag field to the project_user
|
5
|
+
- Removed default BCC from email
|
6
|
+
- BugFix: Avoid cluster concurrent jobs in multiple nodes
|
7
|
+
|
8
|
+
# 2.2.25
|
9
|
+
- New label prechat form
|
10
|
+
- Updated mongodb-runner from 4.8.1 to 4.8.3 to fix ssh key error
|
11
|
+
|
12
|
+
# 2.2.24 -> PROD
|
13
|
+
- webhook subscription can fetch temmates endpoint
|
14
|
+
- Added hasBot and createdAt index to the request model
|
15
|
+
|
16
|
+
# 2.2.23
|
17
|
+
- Increased list answers limit from 1000 to 3000
|
18
|
+
|
19
|
+
# 2.2.22
|
2
20
|
- Increased list answers limit from 300 to 1000
|
3
21
|
|
4
22
|
# 2.2.21
|
package/README.md
CHANGED
@@ -18,6 +18,11 @@ You can find more info here: https://developer.tiledesk.com
|
|
18
18
|
* [Nodejs](https://www.npmjs.com/) and npm installed. Suggested versions are NodeJS 12.20.2 and NPM 6.14.11
|
19
19
|
* [MongoDb](https://www.mongodb.com) installed
|
20
20
|
|
21
|
+
# Run Tiledesk with Docker Compose
|
22
|
+
|
23
|
+
Do you want to install all the Tiledesk components on your server with just one click?
|
24
|
+
Use [Docker Compose Tiledesk installation guide](https://github.com/Tiledesk/tiledesk-deployment/blob/master/docker-compose/README.md)
|
25
|
+
|
21
26
|
# Running Tiledesk Server
|
22
27
|
|
23
28
|
## Run locally with npm
|
package/app.js
CHANGED
@@ -286,7 +286,7 @@ var projectSetter = function (req, res, next) {
|
|
286
286
|
|
287
287
|
if (projectid) {
|
288
288
|
Project.findOne({_id: projectid, status: 100})
|
289
|
-
.cache(cacheUtil.defaultTTL, "projects:id:"+projectid)
|
289
|
+
//@DISABLED_CACHE .cache(cacheUtil.defaultTTL, "projects:id:"+projectid)
|
290
290
|
.exec(function(err, project){
|
291
291
|
if (err) {
|
292
292
|
winston.warn("Problem getting project with id: " + projectid + " req.originalUrl: " + req.originalUrl);
|
@@ -375,7 +375,7 @@ router.post('/', function (req, res) {
|
|
375
375
|
winston.debug('query:'+ projectId);
|
376
376
|
|
377
377
|
return Request.findOne(query)
|
378
|
-
|
378
|
+
//@DISABLED_CACHE cacheUtil.defaultTTL, projectId+":requests:request_id:"+recipient_id)
|
379
379
|
.exec(function(err, request) {
|
380
380
|
|
381
381
|
if (err) {
|
package/config/email.js
CHANGED
@@ -2,7 +2,7 @@ module.exports = {
|
|
2
2
|
'host':'smtp.mailgun.org',
|
3
3
|
'username': 'postmaster@mg.tiledesk.com',
|
4
4
|
'from': 'Tiledesk Notification <postmaster@mg.tiledesk.com>',
|
5
|
-
'bcc': '
|
5
|
+
'bcc': '',
|
6
6
|
'baseUrl':'https://console.tiledesk.com/v2/dashboard',
|
7
7
|
'replyEnabled' : false,
|
8
8
|
'inboundDomain': 'tickets.tiledesk.com'
|