mirror of
https://github.com/wekan/wekan.git
synced 2026-03-10 15:42:34 +01:00
Merge branch 'devel'
This commit is contained in:
commit
daeb06f7b7
4 changed files with 13 additions and 4 deletions
|
|
@ -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
|
# v0.93 2018-05-02 Wekan release
|
||||||
|
|
||||||
This release adds the following new features:
|
This release adds the following new features:
|
||||||
|
|
|
||||||
|
|
@ -489,6 +489,7 @@ if (Meteor.isServer) {
|
||||||
const paramBoardId = req.params.boardId;
|
const paramBoardId = req.params.boardId;
|
||||||
const paramListId = req.params.listId;
|
const paramListId = req.params.listId;
|
||||||
const check = Users.findOne({_id: req.body.authorId});
|
const check = Users.findOne({_id: req.body.authorId});
|
||||||
|
const members = req.body.members || [req.body.authorId];
|
||||||
if (typeof check !== 'undefined') {
|
if (typeof check !== 'undefined') {
|
||||||
const id = Cards.direct.insert({
|
const id = Cards.direct.insert({
|
||||||
title: req.body.title,
|
title: req.body.title,
|
||||||
|
|
@ -498,7 +499,7 @@ if (Meteor.isServer) {
|
||||||
userId: req.body.authorId,
|
userId: req.body.authorId,
|
||||||
swimlaneId: req.body.swimlaneId,
|
swimlaneId: req.body.swimlaneId,
|
||||||
sort: 0,
|
sort: 0,
|
||||||
members: [req.body.authorId],
|
members: members,
|
||||||
});
|
});
|
||||||
JsonRoutes.sendResult(res, {
|
JsonRoutes.sendResult(res, {
|
||||||
code: 200,
|
code: 200,
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "wekan",
|
"name": "wekan",
|
||||||
"version": "0.93.0",
|
"version": "0.94.0",
|
||||||
"description": "The open-source Trello-like kanban",
|
"description": "The open-source Trello-like kanban",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
||||||
|
|
@ -22,10 +22,10 @@ const pkgdef :Spk.PackageDefinition = (
|
||||||
appTitle = (defaultText = "Wekan"),
|
appTitle = (defaultText = "Wekan"),
|
||||||
# The name of the app as it is displayed to the user.
|
# The name of the app as it is displayed to the user.
|
||||||
|
|
||||||
appVersion = 78,
|
appVersion = 79,
|
||||||
# Increment this for every release.
|
# 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.
|
# Human-readable presentation of the app version.
|
||||||
|
|
||||||
minUpgradableAppVersion = 0,
|
minUpgradableAppVersion = 0,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue