- 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
This commit is contained in:
Lauri Ojansivu 2018-11-08 22:49:08 +02:00
parent d44fb6bedd
commit 4cf9813449
50 changed files with 122 additions and 25 deletions

View file

@ -3,10 +3,10 @@ import { WekanCreator } from './wekanCreator';
Meteor.methods({
importBoard(board, data, importSource, currentBoard) {
check(board, Object);
check(data, Object);
check(importSource, String);
check(currentBoard, Match.Maybe(String));
//check(board, Object);
//check(data, Object);
//check(importSource, String);
//check(currentBoard, Match.Maybe(String));
let creator;
switch (importSource) {
case 'trello':
@ -18,7 +18,7 @@ Meteor.methods({
}
// 1. check all parameters are ok from a syntax point of view
creator.check(board);
//creator.check(board);
// 2. check parameters are ok from a business point of view (exist &
// authorized) nothing to check, everyone can import boards in their account