@tiledesk/tiledesk-server 2.2.22 → 2.2.26

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 CHANGED
@@ -1,4 +1,22 @@
1
- # 2.2.22 -> PROD
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
- .cache(cacheUtil.defaultTTL, projectId+":requests:request_id:"+recipient_id)
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': 'tiledesknotification@frontiere21.it',
5
+ 'bcc': '',
6
6
  'baseUrl':'https://console.tiledesk.com/v2/dashboard',
7
7
  'replyEnabled' : false,
8
8
  'inboundDomain': 'tickets.tiledesk.com'