Fix lint errors. Update changelog.

This commit is contained in:
Lauri Ojansivu 2018-01-25 08:22:11 +02:00
parent 188341cf50
commit 7f4401f3a2
3 changed files with 95 additions and 83 deletions

View file

@ -1,3 +1,12 @@
# Upcoming Wekan release
This release adds the following new features:
* [Swimlanes](https://github.com/wekan/wekan/issues/955);
* Added new language: Igbo.
Thanks to GitHub users andresmanelli for contributions.
# v0.64 2018-01-22 Wekan release
This release adds the following new features:

View file

@ -1,5 +1,3 @@
try {
Attachments = new FS.Collection('attachments', {
stores: [
@ -27,7 +25,6 @@ Attachments = new FS.Collection('attachments', {
],
});
} catch (err) { console.log(err); throw err; }
if (Meteor.isServer) {
Attachments.allow({
@ -75,7 +72,13 @@ if (Meteor.isServer) {
} else {
// Don't add activity about adding the attachment as the activity
// be imported and delete source field
Attachments.update( {_id: doc._id}, {$unset: { source : '' } } );
Attachments.update({
_id: doc._id,
}, {
$unset: {
source: '',
},
});
}
});

View file

@ -22,7 +22,7 @@ const sandstormBoard = {
if (isSandstorm && Meteor.isServer) {
const fs = require('fs');
const Capnp = require("/node_modules/capnp.js");
const Capnp = require('/node_modules/capnp.js');
const Package = Capnp.importSystem('sandstorm/package.capnp');
const Powerbox = Capnp.importSystem('sandstorm/powerbox.capnp');
const Identity = Capnp.importSystem('sandstorm/identity.capnp');