mirror of
https://github.com/wekan/wekan.git
synced 2025-04-24 14:08:31 -04:00
Merge branch 'andresmanelli-devel' into devel
This commit is contained in:
commit
08bab70dbe
4 changed files with 14 additions and 6 deletions
|
@ -1,10 +1,14 @@
|
|||
# Upcoming Wekan release
|
||||
|
||||
This release fixes the following bugs:
|
||||
This release adds the following new features:
|
||||
|
||||
* [Webhook parameters and response order](https://github.com/wekan/wekan/pull/1263).
|
||||
|
||||
and fixes the following bugs:
|
||||
|
||||
* [Fix: Slider for Comments only does not work correctly with over 21 activities](https://github.com/wekan/wekan/pull/1247).
|
||||
|
||||
Thanks to Github user nztqa for contributions.
|
||||
Thanks to Github users andresmanelli and nztqa for their contributions.
|
||||
|
||||
# v0.45 2017-10-01 Wekan release
|
||||
|
||||
|
|
|
@ -110,6 +110,7 @@ if (Meteor.isServer) {
|
|||
if (activity.commentId) {
|
||||
const comment = activity.comment();
|
||||
params.comment = comment.text;
|
||||
params.commentId = comment._id;
|
||||
}
|
||||
if (activity.attachmentId) {
|
||||
const attachment = activity.attachment();
|
||||
|
|
|
@ -125,15 +125,15 @@ if (Meteor.isServer) {
|
|||
boardId: paramBoardId,
|
||||
});
|
||||
|
||||
const cardComment = CardComments.findOne({_id: id, cardId:paramCardId, boardId: paramBoardId });
|
||||
commentCreation(req.body.authorId, cardComment);
|
||||
|
||||
JsonRoutes.sendResult(res, {
|
||||
code: 200,
|
||||
data: {
|
||||
_id: id,
|
||||
},
|
||||
});
|
||||
|
||||
const cardComment = CardComments.findOne({_id: id, cardId:paramCardId, boardId: paramBoardId });
|
||||
commentCreation(req.body.authorId, cardComment);
|
||||
});
|
||||
|
||||
JsonRoutes.add('DELETE', '/api/boards/:boardId/cards/:cardId/comments/:commentId', function (req, res, next) {
|
||||
|
|
|
@ -29,7 +29,10 @@ Meteor.methods({
|
|||
text: `${text}`,
|
||||
};
|
||||
|
||||
['cardId', 'listId', 'oldListId', 'boardId'].forEach((key) => {
|
||||
[ 'cardId', 'listId', 'oldListId',
|
||||
'boardId', 'comment', 'user',
|
||||
'card', 'commentId',
|
||||
].forEach((key) => {
|
||||
if (params[key]) value[key] = params[key];
|
||||
});
|
||||
value.description = description;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue