mirror of
https://github.com/wekan/wekan.git
synced 2025-04-23 05:27:14 -04:00
Merge branch 'devel'
This commit is contained in:
commit
df91d1e632
5 changed files with 25 additions and 12 deletions
|
@ -1,3 +1,11 @@
|
|||
# v0.88 2018-04-27 Wekan release
|
||||
|
||||
This release fixes the following bugs:
|
||||
|
||||
- [Fix Trello import of ChecklistItems](https://github.com/wekan/wekan/pull/1611).
|
||||
|
||||
Thanks to Github user zebby76 for contributions.
|
||||
|
||||
# v0.87 2018-04-27 Wekan release
|
||||
|
||||
This release fixes the following bugs:
|
||||
|
|
|
@ -429,17 +429,20 @@ export class TrelloCreator {
|
|||
const checklistId = Checklists.direct.insert(checklistToCreate);
|
||||
// keep track of Trello id => WeKan id
|
||||
this.checklists[checklist.id] = checklistId;
|
||||
// Now add the items to the checklist
|
||||
const itemsToCreate = [];
|
||||
// Now add the items to the checklistItems
|
||||
let counter = 0;
|
||||
checklist.checkItems.forEach((item) => {
|
||||
itemsToCreate.push({
|
||||
_id: checklistId + itemsToCreate.length,
|
||||
counter++;
|
||||
const checklistItemTocreate = {
|
||||
_id: checklistId + counter,
|
||||
title: item.name,
|
||||
isFinished: item.state === 'complete',
|
||||
checklistId: this.checklists[checklist.id],
|
||||
cardId: this.cards[checklist.idCard],
|
||||
sort: item.pos,
|
||||
});
|
||||
isFinished: item.state === 'complete',
|
||||
};
|
||||
ChecklistItems.direct.insert(checklistItemTocreate);
|
||||
});
|
||||
Checklists.direct.update(checklistId, {$set: {items: itemsToCreate}});
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "wekan",
|
||||
"version": "0.87.0",
|
||||
"version": "0.88.0",
|
||||
"description": "The open-source Trello-like kanban",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
|
|
|
@ -22,10 +22,10 @@ const pkgdef :Spk.PackageDefinition = (
|
|||
appTitle = (defaultText = "Wekan"),
|
||||
# The name of the app as it is displayed to the user.
|
||||
|
||||
appVersion = 72,
|
||||
appVersion = 73,
|
||||
# Increment this for every release.
|
||||
|
||||
appMarketingVersion = (defaultText = "0.87.0~2018-04-27"),
|
||||
appMarketingVersion = (defaultText = "0.88.0~2018-04-27"),
|
||||
# Human-readable presentation of the app version.
|
||||
|
||||
minUpgradableAppVersion = 0,
|
||||
|
|
|
@ -138,13 +138,15 @@ parts:
|
|||
meteor npm install --allow-superuser
|
||||
meteor build .build --directory --allow-superuser
|
||||
cp -f fix-download-unicode/cfs_access-point.txt .build/bundle/programs/server/packages/cfs_access-point.js
|
||||
oldpath=`pwd`
|
||||
cd .build/bundle/programs/server/npm/node_modules/meteor/npm-bcrypt
|
||||
rm -rf node_modules/bcrypt
|
||||
meteor npm install --save bcrypt
|
||||
cd $oldpath
|
||||
# Change to directory .build/bundle/programs/server
|
||||
cd ../../../../
|
||||
npm install
|
||||
meteor npm install --save bcrypt
|
||||
# Change back to Wekan source directory
|
||||
cd ../../../..
|
||||
cp -r .build/bundle/* $SNAPCRAFT_PART_INSTALL/
|
||||
cp .build/bundle/.node_version.txt $SNAPCRAFT_PART_INSTALL/
|
||||
rm $SNAPCRAFT_PART_INSTALL/lib/node_modules/wekan
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue