diff options
author | Lauri Ojansivu <x@xet7.org> | 2018-05-03 09:27:29 +0300 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2018-05-03 09:27:29 +0300 |
commit | daeb06f7b793f2e9f7590296e45b3d129ccb0a3a (patch) | |
tree | 6b821842e89c5a6caad466b8210c52eda6d36fb1 | |
parent | 01804daf24267b84c46e9d1a75bf2f5b758ae7bb (diff) | |
parent | dcd5af0a76b58611d4a04d1fab69194b0368c9cb (diff) | |
download | wekan-daeb06f7b793f2e9f7590296e45b3d129ccb0a3a.tar.gz wekan-daeb06f7b793f2e9f7590296e45b3d129ccb0a3a.tar.bz2 wekan-daeb06f7b793f2e9f7590296e45b3d129ccb0a3a.zip |
Merge branch 'devel'
-rw-r--r-- | CHANGELOG.md | 8 | ||||
-rw-r--r-- | models/cards.js | 3 | ||||
-rw-r--r-- | package.json | 2 | ||||
-rw-r--r-- | sandstorm-pkgdef.capnp | 4 |
4 files changed, 13 insertions, 4 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index adfcf441..34c1b50d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +# v0.94 2018-05-03 Wekan release + +This release adds the following new features: + +* [REST API POST /cards: allow setting card members](https://github.com/wekan/wekan/commit/e576e0f9cfc4f61e54da8920a8e29fe43227c266). + +Thanks to GitHub user couscous3 for contributions. + # v0.93 2018-05-02 Wekan release This release adds the following new features: diff --git a/models/cards.js b/models/cards.js index 4a662953..721e1ee7 100644 --- a/models/cards.js +++ b/models/cards.js @@ -489,6 +489,7 @@ if (Meteor.isServer) { const paramBoardId = req.params.boardId; const paramListId = req.params.listId; const check = Users.findOne({_id: req.body.authorId}); + const members = req.body.members || [req.body.authorId]; if (typeof check !== 'undefined') { const id = Cards.direct.insert({ title: req.body.title, @@ -498,7 +499,7 @@ if (Meteor.isServer) { userId: req.body.authorId, swimlaneId: req.body.swimlaneId, sort: 0, - members: [req.body.authorId], + members: members, }); JsonRoutes.sendResult(res, { code: 200, diff --git a/package.json b/package.json index 29ef0ffb..68b5fd5c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "wekan", - "version": "0.93.0", + "version": "0.94.0", "description": "The open-source Trello-like kanban", "private": true, "scripts": { diff --git a/sandstorm-pkgdef.capnp b/sandstorm-pkgdef.capnp index fcda4939..12a001c2 100644 --- a/sandstorm-pkgdef.capnp +++ b/sandstorm-pkgdef.capnp @@ -22,10 +22,10 @@ const pkgdef :Spk.PackageDefinition = ( appTitle = (defaultText = "Wekan"), # The name of the app as it is displayed to the user. - appVersion = 78, + appVersion = 79, # Increment this for every release. - appMarketingVersion = (defaultText = "0.93.0~2018-05-02"), + appMarketingVersion = (defaultText = "0.94.0~2018-05-03"), # Human-readable presentation of the app version. minUpgradableAppVersion = 0, |