summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md9
-rw-r--r--models/checklists.js1
-rw-r--r--package.json2
-rw-r--r--sandstorm-pkgdef.capnp4
-rw-r--r--server/migrations.js2
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,