From ee0f42eeb1b10107bd8fc38cdefbdbc4f3fde108 Mon Sep 17 00:00:00 2001 From: couscous3 <33840325+couscous3@users.noreply.github.com> Date: Mon, 19 Feb 2018 14:55:56 +0100 Subject: [PATCH 1/8] add swimlaneId to POST /api/boards/:boardId/lists/:listId/cards route --- models/cards.js | 1 + 1 file changed, 1 insertion(+) diff --git a/models/cards.js b/models/cards.js index 43e7d8431..9b0969eca 100644 --- a/models/cards.js +++ b/models/cards.js @@ -472,6 +472,7 @@ if (Meteor.isServer) { listId: paramListId, description: req.body.description, userId: req.body.authorId, + swimlaneId: req.body.swimlaneId, sort: 0, members: [req.body.authorId], }); From 0375c551f30bd0acad547d05f3a6b11736e15bd3 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Tue, 20 Feb 2018 14:21:34 +0200 Subject: [PATCH 2/8] Add swimlaneId to API. Thanks to couscous3 ! --- CHANGELOG.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index dd05c3b6f..3efde551c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +# Upcoming Wekan release + +This release adds the following new features: + +- [Add swimlaneId to POST /api/boards/:boardId/lists/:listId/cards route](https://github.com/wekan/wekan/commit/ee0f42eeb1b10107bd8fc38cdefbdbc4f3fde108). + +Thanks to GitHub user couscous3 for contributions. + # v0.75 2018-02-16 Wekan release This release adds the following new features: From 599c83e0dae923b2d242ac3199322184c237a931 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Tue, 20 Feb 2018 14:43:04 +0200 Subject: [PATCH 3/8] Persian (Iran) => Persian --- .tx/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.tx/config b/.tx/config index bcbf0e91a..814ae471b 100644 --- a/.tx/config +++ b/.tx/config @@ -39,7 +39,7 @@ host = https://www.transifex.com # tap:i18n requires us to use `-` separator in the language identifiers whereas # Transifex uses a `_` separator, without an option to customize it on one side # or the other, so we need to do a Manual mapping. -lang_map = en_GB:en-GB, es_AR:es-AR, el_GR:el, fa_IR:fa, fi_FI:fi, hu_HU:hu, id_ID:id, mn_MN:mn, no:nb, lv_LV:lv, pt_BR:pt-BR, ro_RO:ro, zh_CN:zh-CN, zh_TW:zh-TW +lang_map = en_GB:en-GB, es_AR:es-AR, el_GR:el, fi_FI:fi, hu_HU:hu, id_ID:id, mn_MN:mn, no:nb, lv_LV:lv, pt_BR:pt-BR, ro_RO:ro, zh_CN:zh-CN, zh_TW:zh-TW [wekan.application] file_filter = i18n/.i18n.json From df5be8284006369ff251359621f096bda1644092 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Tue, 20 Feb 2018 15:09:34 +0200 Subject: [PATCH 4/8] Update translations. --- i18n/de.i18n.json | 6 +++--- i18n/fa.i18n.json | 6 +++--- i18n/fr.i18n.json | 6 +++--- i18n/ru.i18n.json | 22 +++++++++++----------- i18n/sv.i18n.json | 2 +- 5 files changed, 21 insertions(+), 21 deletions(-) diff --git a/i18n/de.i18n.json b/i18n/de.i18n.json index 924a415e7..a0ee2e9bc 100644 --- a/i18n/de.i18n.json +++ b/i18n/de.i18n.json @@ -159,9 +159,9 @@ "confirm-checklist-delete-dialog": "Sind Sie sicher, dass Sie die Checkliste löschen möchten?", "copy-card-link-to-clipboard": "Kopiere Link zur Karte in die Zwischenablage", "copyCardPopup-title": "Karte kopieren", - "copyChecklistToManyCardsPopup-title": "Copy Checklist Template to Many Cards", - "copyChecklistToManyCardsPopup-instructions": "Destination Card Titles and Descriptions in this JSON format", - "copyChecklistToManyCardsPopup-format": "[ {\"title\": \"First card title\", \"description\":\"First card description\"}, {\"title\":\"Second card title\",\"description\":\"Second card description\"},{\"title\":\"Last card title\",\"description\":\"Last card description\"} ]", + "copyChecklistToManyCardsPopup-title": "Checklistenvorlage in mehrere Karten kopieren", + "copyChecklistToManyCardsPopup-instructions": "Titel und Beschreibungen der Zielkarten im folgenden JSON-Format", + "copyChecklistToManyCardsPopup-format": "[ {\"title\": \"Titel der ersten Karte\", \"description\":\"Beschreibung der ersten Karte\"}, {\"title\":\"Titel der zweiten Karte\",\"description\":\"Beschreibung der zweiten Karte\"},{\"title\":\"Titel der letzten Karte\",\"description\":\"Beschreibung der letzten Karte\"} ]", "create": "Erstellen", "createBoardPopup-title": "Board erstellen", "chooseBoardSourcePopup-title": "Board importieren", diff --git a/i18n/fa.i18n.json b/i18n/fa.i18n.json index 4429b5303..f08db7867 100644 --- a/i18n/fa.i18n.json +++ b/i18n/fa.i18n.json @@ -5,8 +5,8 @@ "act-addChecklist": "added checklist __checklist__ to __card__", "act-addChecklistItem": "added __checklistItem__ to checklist __checklist__ on __card__", "act-addComment": "یادداشت بر __card__: __comment__", - "act-createBoard": " __board__ ایجادشد", - "act-createCard": " __card__ به __list__ اضافه شد", + "act-createBoard": "__board__ ایجادشد", + "act-createCard": "__card__ به __list__ اضافه شد", "act-createList": "__list__ به __board__ اضافه شد", "act-addBoardMember": "__member__ به __board__ اضافه شد", "act-archivedBoard": "__board__ بایگانی شد", @@ -100,7 +100,7 @@ "board-view": "Board View", "board-view-swimlanes": "Swimlanes", "board-view-lists": "لیست ها", - "bucket-example": "برای مثال چیزی شبیه \"لیست سبدها\" ", + "bucket-example": "برای مثال چیزی شبیه \"لیست سبدها\"", "cancel": "انصراف", "card-archived": "این کارت بایگانی شده است.", "card-comments-title": "این کارت دارای %s نظر می باشد.", diff --git a/i18n/fr.i18n.json b/i18n/fr.i18n.json index 751779310..9987fafca 100644 --- a/i18n/fr.i18n.json +++ b/i18n/fr.i18n.json @@ -159,9 +159,9 @@ "confirm-checklist-delete-dialog": "Êtes-vous sûr de vouloir supprimer cette checklist ?", "copy-card-link-to-clipboard": "Copier le lien vers la carte dans le presse-papier", "copyCardPopup-title": "Copier la carte", - "copyChecklistToManyCardsPopup-title": "Copy Checklist Template to Many Cards", - "copyChecklistToManyCardsPopup-instructions": "Destination Card Titles and Descriptions in this JSON format", - "copyChecklistToManyCardsPopup-format": "[ {\"title\": \"First card title\", \"description\":\"First card description\"}, {\"title\":\"Second card title\",\"description\":\"Second card description\"},{\"title\":\"Last card title\",\"description\":\"Last card description\"} ]", + "copyChecklistToManyCardsPopup-title": "Copier le modèle de checklist vers plusieurs cartes", + "copyChecklistToManyCardsPopup-instructions": "Titres et descriptions des cartes de destination dans ce format JSON", + "copyChecklistToManyCardsPopup-format": "[ {\"title\": \"Titre de la première carte\", \"description\":\"Description de la première carte\"}, {\"title\":\"Titre de la seconde carte\",\"description\":\"Description de la seconde carte\"},{\"title\":\"Titre de la dernière carte\",\"description\":\"Description de la dernière carte\"} ]", "create": "Créer", "createBoardPopup-title": "Créer un tableau", "chooseBoardSourcePopup-title": "Importer un tableau", diff --git a/i18n/ru.i18n.json b/i18n/ru.i18n.json index 756172c20..143762ad3 100644 --- a/i18n/ru.i18n.json +++ b/i18n/ru.i18n.json @@ -12,7 +12,7 @@ "act-archivedBoard": "__board__ помещена в архив", "act-archivedCard": "поместил __card__ в архив", "act-archivedList": "поместил __list__ в архив", - "act-archivedSwimlane": "archived __swimlane__", + "act-archivedSwimlane": "поместил __swimlane__ в архив", "act-importBoard": "__board__ импортирована", "act-importCard": "__card__ импортирована", "act-importList": "__list__ импортирован", @@ -45,7 +45,7 @@ "add-attachment": "Добавить вложение", "add-board": "Добавить доску", "add-card": "Добавить карту", - "add-swimlane": "Add Swimlane", + "add-swimlane": "Добавить дорожку", "add-checklist": "Добавить контрольный список", "add-checklist-item": "Добавить пункт в контрольный список", "add-cover": "Прикрепить", @@ -69,7 +69,7 @@ "archive-board": "Архивировать доску", "archive-card": "Архивировать карточку", "archive-list": "Архивировать список", - "archive-swimlane": "Archive Swimlane", + "archive-swimlane": "Архивировать дорожку", "archive-selection": "Архивировать выбранное", "archiveBoardPopup-title": "Заархивировать доску?", "archived-items": "Объекты в архиве", @@ -97,8 +97,8 @@ "boardChangeWatchPopup-title": "Изменить Отслеживание", "boardMenuPopup-title": "Меню доски", "boards": "Доски", - "board-view": "Board View", - "board-view-swimlanes": "Swimlanes", + "board-view": "Вид доски", + "board-view-swimlanes": "Дорожки", "board-view-lists": "Списки", "bucket-example": "Например “Список дел”", "cancel": "Отмена", @@ -159,7 +159,7 @@ "confirm-checklist-delete-dialog": "Вы уверены, что хотите удалить контрольный список?", "copy-card-link-to-clipboard": "Копировать ссылку на карточку в буфер обмена", "copyCardPopup-title": "Копировать карточку", - "copyChecklistToManyCardsPopup-title": "Copy Checklist Template to Many Cards", + "copyChecklistToManyCardsPopup-title": "Копировать шаблон контрольного списка в несколько карточек", "copyChecklistToManyCardsPopup-instructions": "Destination Card Titles and Descriptions in this JSON format", "copyChecklistToManyCardsPopup-format": "[ {\"title\": \"First card title\", \"description\":\"First card description\"}, {\"title\":\"Second card title\",\"description\":\"Second card description\"},{\"title\":\"Last card title\",\"description\":\"Last card description\"} ]", "create": "Создать", @@ -268,14 +268,14 @@ "list-move-cards": "Переместить все карточки в этом списке", "list-select-cards": "Выбрать все карточки в этом списке", "listActionPopup-title": "Список действий", - "swimlaneActionPopup-title": "Swimlane Actions", + "swimlaneActionPopup-title": "Действия с дорожкой", "listImportCardPopup-title": "Импортировать Trello карточку", "listMorePopup-title": "Поделиться", "link-list": "Ссылка на список", "list-delete-pop": "Все действия будут удалены из ленты активности участников и вы не сможете восстановить список. Данное действие необратимо.", "list-delete-suggest-archive": "Вы можете заархивировать список, чтобы убрать его с доски, сохранив всю историю действий участников.", "lists": "Списки", - "swimlanes": "Swimlanes", + "swimlanes": "Дорожки", "log-out": "Выйти", "log-in": "Войти", "loginPopup-title": "Войти", @@ -295,7 +295,7 @@ "name": "Имя", "no-archived-cards": "Нет карточек в архиве.", "no-archived-lists": "Нет списков в архиве.", - "no-archived-swimlanes": "No archived swimlanes.", + "no-archived-swimlanes": "Нет дорожек в архиве.\n", "no-results": "Ничего не найдено", "normal": "Обычный", "normal-desc": "Может редактировать карточки. Не может управлять настройками.", @@ -358,7 +358,7 @@ "overtime-hours": "Переработка (в часах)", "overtime": "Переработка", "has-overtime-cards": "Имеются карточки с переработкой", - "has-spenttime-cards": "Has spent time cards", + "has-spenttime-cards": "Имеются карточки с учетом затраченного времени", "time": "Время", "title": "Название", "tracking": "Отслеживание", @@ -376,7 +376,7 @@ "watching": "Отслеживается", "watching-info": "Вы будете уведомлены об любых изменениях в этой доске.", "welcome-board": "Приветственная Доска", - "welcome-swimlane": "Milestone 1", + "welcome-swimlane": "Этап 1", "welcome-list1": "Основы", "welcome-list2": "Расширенно", "what-to-do": "Что вы хотите сделать?", diff --git a/i18n/sv.i18n.json b/i18n/sv.i18n.json index 67abb2f31..15e5aba47 100644 --- a/i18n/sv.i18n.json +++ b/i18n/sv.i18n.json @@ -376,7 +376,7 @@ "watching": "Bevakar", "watching-info": "Du kommer att meddelas om alla ändringar på denna anslagstavla", "welcome-board": "Välkomstanslagstavla", - "welcome-swimlane": "Milestone 1", + "welcome-swimlane": "Milstolpe 1", "welcome-list1": "Grunderna", "welcome-list2": "Avancerad", "what-to-do": "Vad vill du göra?", From 11e9811f82858a3d98036e142b0da69d867adebc Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Wed, 21 Feb 2018 20:15:40 +0200 Subject: [PATCH 5/8] Added path to capnp.js to make Wekan work on Sandstorm. --- sandstorm.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sandstorm.js b/sandstorm.js index b21417627..bb3e50112 100644 --- a/sandstorm.js +++ b/sandstorm.js @@ -22,7 +22,9 @@ const sandstormBoard = { if (isSandstorm && Meteor.isServer) { const fs = require('fs'); - const Capnp = require('/node_modules/capnp.js'); + const pathParts = process.cwd().split("/"); + var path = pathParts.join("/"); + const Capnp = Npm.require(path + "../../../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'); From e30f6515c623de7a48f25e0b2fc75313ae5d187c Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Wed, 21 Feb 2018 20:20:19 +0200 Subject: [PATCH 6/8] Disabled Import temporarily on Sandstorm because of data loss bug. Thanks to xet7 ! --- client/components/import/import.jade | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/client/components/import/import.jade b/client/components/import/import.jade index 5e737cc61..c6dc1befc 100644 --- a/client/components/import/import.jade +++ b/client/components/import/import.jade @@ -11,13 +11,17 @@ template(name="import") +Template.dynamic(template=currentTemplate) template(name="importTextarea") - form - p: label(for='import-textarea') {{_ instruction}} - textarea.js-import-json(placeholder="{{_ 'import-json-placeholder'}}" autofocus) - | {{jsonText}} - if isSandstorm - p.warning {{_ 'import-sandstorm-warning'}} - input.primary.wide(type="submit" value="{{_ 'import'}}") + unless isSandstorm + form + p: label(for='import-textarea') {{_ instruction}} + textarea.js-import-json(placeholder="{{_ 'import-json-placeholder'}}" autofocus) + | {{jsonText}} + if isSandstorm + p.warning {{_ 'import-sandstorm-warning'}} + input.primary.wide(type="submit" value="{{_ 'import'}}") + if isSandstorm + p.warning 'Import disabled because of data loss bug https://github.com/wekan/wekan/issues/1430' + template(name="importMapMembers") h2 {{_ 'import-map-members'}} From 2e449e9e7886eaa2ab240acc8b7db82abda04ff2 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Wed, 21 Feb 2018 20:49:33 +0200 Subject: [PATCH 7/8] Update translations. --- i18n/de.i18n.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/i18n/de.i18n.json b/i18n/de.i18n.json index a0ee2e9bc..f70a55153 100644 --- a/i18n/de.i18n.json +++ b/i18n/de.i18n.json @@ -55,7 +55,7 @@ "added": "Hinzugefügt", "addMemberPopup-title": "Mitglieder", "admin": "Admin", - "admin-desc": "Kann Karten anschauen und bearbeiten, Mitglieder entfernen und Boardeinstellungen ändern.", + "admin-desc": "Kann Karten anzeigen und bearbeiten, Mitglieder entfernen und Boardeinstellungen ändern.", "admin-announcement": "Ankündigung", "admin-announcement-active": "Aktive, systemweite Ankündigungen", "admin-announcement-title": "Ankündigung des Administrators", @@ -298,7 +298,7 @@ "no-archived-swimlanes": "Keine archivierten Swimlanes", "no-results": "Keine Ergebnisse", "normal": "Normal", - "normal-desc": "Kann Karten anschauen und bearbeiten, aber keine Einstellungen ändern.", + "normal-desc": "Kann Karten anzeigen und bearbeiten, aber keine Einstellungen ändern.", "not-accepted-yet": "Die Einladung wurde noch nicht angenommen", "notify-participate": "Benachrichtigungen zu allen Karten erhalten, an denen Sie teilnehmen", "notify-watch": "Benachrichtigungen über alle Boards, Listen oder Karten erhalten, die Sie beobachten", @@ -430,7 +430,7 @@ "yes": "Ja", "no": "Nein", "accounts": "Konten", - "accounts-allowEmailChange": "E-Mail ändern zulassen", + "accounts-allowEmailChange": "Ändern der E-Mailadresse zulassen", "createdAt": "Erstellt am", "verified": "Geprüft", "active": "Aktiv" From 26f66f3cf05d3ab3dd633d02399cea5aa5a99c00 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Wed, 21 Feb 2018 21:03:29 +0200 Subject: [PATCH 8/8] v0.76 --- CHANGELOG.md | 12 +++++++++--- package.json | 2 +- sandstorm-pkgdef.capnp | 4 ++-- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3efde551c..c4f0fea39 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,16 @@ -# Upcoming Wekan release +# v0.76 2018-02-21 Wekan release This release adds the following new features: -- [Add swimlaneId to POST /api/boards/:boardId/lists/:listId/cards route](https://github.com/wekan/wekan/commit/ee0f42eeb1b10107bd8fc38cdefbdbc4f3fde108). +- [Add swimlaneId to POST /api/boards/:boardId/lists/:listId/cards route](https://github.com/wekan/wekan/commit/ee0f42eeb1b10107bd8fc38cdefbdbc4f3fde108); +- [Added path to capnp.js to make Wekan work on Sandstorm](https://github.com/wekan/wekan/commit/11e9811f82858a3d98036e142b0da69d867adebc). -Thanks to GitHub user couscous3 for contributions. +Known bugs: + +- [Disabled Import temporarily on Sandstorm because of data loss bug](https://github.com/wekan/wekan/commit/e30f6515c623de7a48f25e0b2fc75313ae5d187c); +- [Swimlane not visible at Sandstorm](https://github.com/wekan/wekan/issues/1494). + +Thanks to GitHub users couscous3 and xet7 for their contributions. # v0.75 2018-02-16 Wekan release diff --git a/package.json b/package.json index a77be7fec..c70915096 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "wekan", - "version": "0.75.0", + "version": "0.76.0", "description": "The open-source Trello-like kanban", "private": true, "scripts": { diff --git a/sandstorm-pkgdef.capnp b/sandstorm-pkgdef.capnp index 8aec475f1..ceda4da9a 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 = 60, + appVersion = 61, # Increment this for every release. - appMarketingVersion = (defaultText = "0.75.0~2018-02-16"), + appMarketingVersion = (defaultText = "0.76.0~2018-02-21"), # Human-readable presentation of the app version. minUpgradableAppVersion = 0,