diff options
author | Lauri Ojansivu <x@xet7.org> | 2018-11-08 22:49:08 +0200 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2018-11-08 22:49:08 +0200 |
commit | 4cf98134491b5870796de795418000c0a7c3a694 (patch) | |
tree | 7efdd76a487adec7ddd4277150bfd616baf11b2e /models/boards.js | |
parent | d44fb6bedd80e2ae85c028c4eb34bc9da90e4418 (diff) | |
download | wekan-4cf98134491b5870796de795418000c0a7c3a694.tar.gz wekan-4cf98134491b5870796de795418000c0a7c3a694.tar.bz2 wekan-4cf98134491b5870796de795418000c0a7c3a694.zip |
- Some fixes to Wekan import:
- isCommentOnly and isNoComments are now optional
- Turn off import error checking, so something is imported anyway, and import does not stop at error.
- Now most of Sandstorm export do import to Standalone Wekan, but some of imported cards, dates etc are missing.
- Sandstorm Import Wekan board warning messages are now translateable.
Thanks to xet7 !
Closes #1945,
closes #1616,
closes #1903
Diffstat (limited to 'models/boards.js')
-rw-r--r-- | models/boards.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/models/boards.js b/models/boards.js index cae6cf9f..57f3a1f1 100644 --- a/models/boards.js +++ b/models/boards.js @@ -127,9 +127,11 @@ Boards.attachSchema(new SimpleSchema({ }, 'members.$.isNoComments': { type: Boolean, + optional: true, }, 'members.$.isCommentOnly': { type: Boolean, + optional: true, }, permission: { type: String, |