Merge branch 'devel'

This commit is contained in:
Lauri Ojansivu 2018-05-03 09:27:29 +03:00
commit daeb06f7b7
4 changed files with 13 additions and 4 deletions

View file

@ -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:

View file

@ -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,

View file

@ -1,6 +1,6 @@
{
"name": "wekan",
"version": "0.93.0",
"version": "0.94.0",
"description": "The open-source Trello-like kanban",
"private": true,
"scripts": {

View file

@ -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,