summaryrefslogtreecommitdiffstats
path: root/models/cards.js
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2019-07-10 17:46:07 -0400
committerLauri Ojansivu <x@xet7.org>2019-07-10 17:46:07 -0400
commit2003d90467debeadf51b69630c80ee6040524f52 (patch)
tree9f8c4636ae688e6f3ad92a6392a1824cf92897f2 /models/cards.js
parent12795c5995fb6c0f5e794d9f9d343828fd536c6f (diff)
downloadwekan-2003d90467debeadf51b69630c80ee6040524f52.tar.gz
wekan-2003d90467debeadf51b69630c80ee6040524f52.tar.bz2
wekan-2003d90467debeadf51b69630c80ee6040524f52.zip
Outgoing Webhooks setCustomField: Add board name, card name, custom field name to be visible.
Still missing: custom field value, list name, swimlane name. Thanks to xet7 !
Diffstat (limited to 'models/cards.js')
-rw-r--r--models/cards.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/models/cards.js b/models/cards.js
index b354511d..d92d003c 100644
--- a/models/cards.js
+++ b/models/cards.js
@@ -1620,9 +1620,9 @@ if (Meteor.isServer) {
// With a huge database, this result in a very slow app and high CPU on the mongodb side.
// To correct it, add Index to parentId:
Cards._collection._ensureIndex({ parentId: 1 });
- /*let notifydays = parseInt(process.env.NOTIFY_DUE_DAYS_BEFORE_AND_AFTER) || 2; // default as 2 days b4 and after
- let notifyitvl = parseInt(process.env.NOTIFY_DUE_AT_HOUR_OF_DAY) || 3600 * 24 * 1e3; // default interval as one day
- Meteor.call("findDueCards",notifydays,notifyitvl);*/
+ // let notifydays = parseInt(process.env.NOTIFY_DUE_DAYS_BEFORE_AND_AFTER) || 2; // default as 2 days b4 and after
+ // let notifyitvl = parseInt(process.env.NOTIFY_DUE_AT_HOUR_OF_DAY) || 3600 * 24 * 1e3; // default interval as one day
+ // Meteor.call("findDueCards",notifydays,notifyitvl);
Meteor.defer(() => {
addCronJob();
});