Merge branch 'upgrade-meteor-2.6' of https://github.com/majus/wekan into upgrade-meteor

This commit is contained in:
Lauri Ojansivu 2022-04-18 21:25:47 +03:00
commit 0c3ca14699
268 changed files with 3109 additions and 10419 deletions

View file

@ -1,4 +1,5 @@
import Attachments from "./attachments";
import moment from 'moment';
import { TAPi18n } from '/imports/i18n';
const DateString = Match.Where(function(dateAsString) {
check(dateAsString, String);
@ -447,13 +448,11 @@ export class TrelloCreator {
});
}
};
// TODO: Add import attachment with Trello API key
// like Python code at wekan/trello/ of https://github.com/wekan/wekan
//if (att.url) {
// Attachment.load(att.url, opts, cb, true);
//} else if (att.file) {
// Attachment.write(att.file, opts, cb, true);
//}
if (att.url) {
Attachment.load(att.url, opts, cb, true);
} else if (att.file) {
Attachment.write(att.file, opts, cb, true);
}
});
if (links) {