diff options
author | Lauri Ojansivu <x@xet7.org> | 2018-07-06 16:21:54 +0300 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2018-07-06 16:21:54 +0300 |
commit | dea9df2a3b598b890f4eb891b4b484c73d5a36d6 (patch) | |
tree | dbcbc9ce02d85b28a9ca0bb440696d3b6a4c4da2 | |
parent | 09dbcf3bea833229d51319f318565b64d9647b6d (diff) | |
parent | 6c7eab4456f8608ae3893d2200b759d426863cd2 (diff) | |
download | wekan-dea9df2a3b598b890f4eb891b4b484c73d5a36d6.tar.gz wekan-dea9df2a3b598b890f4eb891b4b484c73d5a36d6.tar.bz2 wekan-dea9df2a3b598b890f4eb891b4b484c73d5a36d6.zip |
Merge branch 'devel'
-rw-r--r-- | CHANGELOG.md | 9 | ||||
-rw-r--r-- | models/checklists.js | 1 | ||||
-rw-r--r-- | package.json | 2 | ||||
-rw-r--r-- | sandstorm-pkgdef.capnp | 4 | ||||
-rw-r--r-- | server/migrations.js | 2 |
5 files changed, 13 insertions, 5 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index dc26d9d5..64e52b84 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +# v1.18 2018-07-06 Wekan release + +This release fixes the following bugs: + +- Fix [Title is required](https://github.com/wekan/wekan/issues/1576) + by [setting Checklist title during migration](https://github.com/wekan/wekan/issues/1753). + +Thanks to GitHub users centigrade-kdk and xet7 for their contributions. + # v1.17 2018-07-06 Wekan release This release adds the following new features: diff --git a/models/checklists.js b/models/checklists.js index 2277736e..c58453ef 100644 --- a/models/checklists.js +++ b/models/checklists.js @@ -7,7 +7,6 @@ Checklists.attachSchema(new SimpleSchema({ title: { type: String, defaultValue: 'Checklist', - optional: true, }, finishedAt: { type: Date, diff --git a/package.json b/package.json index d2e5d0a0..a773b645 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "wekan", - "version": "1.17.0", + "version": "1.18.0", "description": "The open-source Trello-like kanban", "private": true, "scripts": { diff --git a/sandstorm-pkgdef.capnp b/sandstorm-pkgdef.capnp index 8624d596..c894cce2 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 = 102, + appVersion = 103, # Increment this for every release. - appMarketingVersion = (defaultText = "1.17.0~2018-07-06"), + appMarketingVersion = (defaultText = "1.18.0~2018-07-06"), # Human-readable presentation of the app version. minUpgradableAppVersion = 0, diff --git a/server/migrations.js b/server/migrations.js index d0e63388..6135f1be 100644 --- a/server/migrations.js +++ b/server/migrations.js @@ -184,7 +184,7 @@ Migrations.add('add-checklist-items', () => { // Create new items _.sortBy(checklist.items, 'sort').forEach((item, index) => { ChecklistItems.direct.insert({ - title: item.title, + title: (item.title ? item.title : 'Checklist'), sort: index, isFinished: item.isFinished, checklistId: checklist._id, |