@tiledesk/tiledesk-server 2.3.31 → 2.3.33
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.
- package/CHANGELOG.md +13 -7
- package/package.json +2 -1
- package/test/faqRoute.js +3 -2
- package/test/requestRoute.js +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,11 +1,21 @@
|
|
|
1
1
|
|
|
2
|
+
💥 TILEDESK SERVER v2.3.32 💥
|
|
3
|
+
🚀 TAGGED AND PUBLISHED ON NPM 🚀
|
|
4
|
+
🚀 IN PRODUCTION 🚀
|
|
5
|
+
(https://www.npmjs.com/package/@tiledesk/tiledesk-server/v/2.3.32)
|
|
6
|
+
|
|
7
|
+
# 2.3.33
|
|
8
|
+
- aqmp depenency fix
|
|
9
|
+
|
|
10
|
+
# 2.3.32
|
|
11
|
+
- log pub module queue
|
|
2
12
|
|
|
3
13
|
# 2.3.31
|
|
4
14
|
- logfix
|
|
5
15
|
|
|
6
16
|
# 2.3.30
|
|
7
17
|
- save multiple messages fix with sequential promises
|
|
8
|
-
- JSON_BODY_LIMIT increased to 500KB. Added JSON_BODY_LIMIT env variable
|
|
18
|
+
- Default JSON_BODY_LIMIT increased to 500KB. Added JSON_BODY_LIMIT env variable
|
|
9
19
|
|
|
10
20
|
# 2.3.29
|
|
11
21
|
- UIDGenerator class replacement for request route
|
|
@@ -52,12 +62,8 @@
|
|
|
52
62
|
- Added cache for chat21 webhook event type message
|
|
53
63
|
- Added cache for getoperator method of department service
|
|
54
64
|
|
|
55
|
-
💥 TILEDESK SERVER v2.3.23 💥
|
|
56
|
-
🚀 TAGGED AND PUBLISHED ON NPM 🚀
|
|
57
|
-
🚀 IN PRODUCTION 🚀
|
|
58
|
-
(https://www.npmjs.com/package/@tiledesk/tiledesk-server/v/2.3.17)
|
|
59
65
|
|
|
60
|
-
# 2.3.23
|
|
66
|
+
# 2.3.23
|
|
61
67
|
- cacheEnabler + trigger cache + subscription cache
|
|
62
68
|
- project cache with cacheEnabler
|
|
63
69
|
- request cache with cacheEnabler
|
|
@@ -82,7 +88,7 @@
|
|
|
82
88
|
- Moved route-queue to public module
|
|
83
89
|
- Disable queue module if JOB_WORKER_ENABLED is true
|
|
84
90
|
|
|
85
|
-
# 2.3.18.7
|
|
91
|
+
# 2.3.18.7
|
|
86
92
|
- filter request by smartAssignment
|
|
87
93
|
|
|
88
94
|
# 2.3.18.6
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tiledesk/tiledesk-server",
|
|
3
3
|
"description": "The Tiledesk server module",
|
|
4
|
-
"version": "2.3.
|
|
4
|
+
"version": "2.3.33",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"start": "node ./bin/www",
|
|
7
7
|
"pretest": "mongodb-runner start",
|
|
@@ -51,6 +51,7 @@
|
|
|
51
51
|
"csv-express": "^1.2.2",
|
|
52
52
|
"debug": "^4.3.4",
|
|
53
53
|
"dotenv": "^8.6.0",
|
|
54
|
+
"amqplib": "^0.5.5",
|
|
54
55
|
"email-templates": "^8.1.0",
|
|
55
56
|
"eventemitter2": "^6.4.4",
|
|
56
57
|
"express": "^4.17.3",
|
package/test/faqRoute.js
CHANGED
|
@@ -16,6 +16,7 @@ var fs = require('fs');
|
|
|
16
16
|
|
|
17
17
|
var expect = chai.expect;
|
|
18
18
|
var assert = chai.assert;
|
|
19
|
+
var path = require('path');
|
|
19
20
|
|
|
20
21
|
chai.use(chaiHttp);
|
|
21
22
|
|
|
@@ -393,7 +394,7 @@ describe('FaqKBRoute', () => {
|
|
|
393
394
|
.post('/'+ savedProject._id + '/faq/uploadcsv')
|
|
394
395
|
.auth(email, pwd)
|
|
395
396
|
.set('Content-Type', 'text/csv')
|
|
396
|
-
.attach('uploadFile', fs.readFileSync(
|
|
397
|
+
.attach('uploadFile', fs.readFileSync(path.resolve(__dirname,'./example-faqs.csv')))
|
|
397
398
|
.field('id_faq_kb', id_faq_kb)
|
|
398
399
|
.field('delimiter', ';')
|
|
399
400
|
// .send({id_faq_kb: id_faq_kb})
|
|
@@ -447,7 +448,7 @@ describe('FaqKBRoute', () => {
|
|
|
447
448
|
.post('/'+ savedProject._id + '/faq/uploadcsv')
|
|
448
449
|
.auth(email, pwd)
|
|
449
450
|
.set('Content-Type', 'text/csv')
|
|
450
|
-
.attach('uploadFile', fs.readFileSync(
|
|
451
|
+
.attach('uploadFile', fs.readFileSync(path.resolve(__dirname, './example-faqs.csv')))
|
|
451
452
|
.field('id_faq_kb', id_faq_kb)
|
|
452
453
|
.field('delimiter', ';')
|
|
453
454
|
// .send({id_faq_kb: id_faq_kb})
|
package/test/requestRoute.js
CHANGED
|
@@ -47,7 +47,7 @@ describe('RequestRoute', () => {
|
|
|
47
47
|
.post('/'+ savedProject._id + '/requests/')
|
|
48
48
|
.auth(email, pwd)
|
|
49
49
|
.set('content-type', 'application/json')
|
|
50
|
-
.send({"
|
|
50
|
+
.send({"first_text":"first_text"})
|
|
51
51
|
.end(function(err, res) {
|
|
52
52
|
//console.log("res", res);
|
|
53
53
|
console.log("res.body", res.body);
|
|
@@ -102,7 +102,7 @@ it('createUpperCaseEmail', function (done) {
|
|
|
102
102
|
.post('/'+ savedProject._id + '/requests/')
|
|
103
103
|
.auth("test-request-create-" + now + "@email.com", pwd)
|
|
104
104
|
.set('content-type', 'application/json')
|
|
105
|
-
.send({"
|
|
105
|
+
.send({"first_text":"first_text"})
|
|
106
106
|
.end(function(err, res) {
|
|
107
107
|
//console.log("res", res);
|
|
108
108
|
console.log("res.body", res.body);
|
|
@@ -528,7 +528,7 @@ it('getallFilter-snap_department_routing', function (done) {
|
|
|
528
528
|
|
|
529
529
|
|
|
530
530
|
|
|
531
|
-
// mocha test/requestRoute.js --grep '
|
|
531
|
+
// mocha test/requestRoute.js --grep 'getallFilter-snap_department_default'
|
|
532
532
|
|
|
533
533
|
it('getallFilter-snap_department_default', function (done) {
|
|
534
534
|
// this.timeout(10000);
|
|
@@ -819,7 +819,7 @@ it('getallWithLoLead', function (done) {
|
|
|
819
819
|
.post('/'+ savedProject._id + '/requests/')
|
|
820
820
|
.auth(email, pwd)
|
|
821
821
|
.set('content-type', 'application/json')
|
|
822
|
-
.send({"
|
|
822
|
+
.send({"first_text":"first_text"})
|
|
823
823
|
.end(function(err, res) {
|
|
824
824
|
//console.log("res", res);
|
|
825
825
|
console.log("res.body", res.body);
|
|
@@ -898,7 +898,7 @@ it('getallWithLoLead', function (done) {
|
|
|
898
898
|
.post('/'+ savedProject._id + '/requests/')
|
|
899
899
|
.auth(email, pwd)
|
|
900
900
|
.set('content-type', 'application/json')
|
|
901
|
-
.send({"
|
|
901
|
+
.send({"first_text":"first_text"})
|
|
902
902
|
.end(function(err, res) {
|
|
903
903
|
//console.log("res", res);
|
|
904
904
|
console.log("res.body", res.body);
|
|
@@ -976,7 +976,7 @@ it('createAndAssign2', function (done) {
|
|
|
976
976
|
.post('/'+ savedProject._id + '/requests/')
|
|
977
977
|
.auth(email, pwd)
|
|
978
978
|
.set('content-type', 'application/json')
|
|
979
|
-
.send({"
|
|
979
|
+
.send({"first_text":"first_text"})
|
|
980
980
|
.end(function(err, res) {
|
|
981
981
|
//console.log("res", res);
|
|
982
982
|
console.log("res.body", res.body);
|