summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md28
-rw-r--r--Dockerfile17
-rw-r--r--LICENSE2
-rw-r--r--Stackerfile.yml2
-rw-r--r--client/components/cards/cardDetails.jade15
-rw-r--r--client/components/cards/cardDetails.js38
-rw-r--r--client/components/cards/cardDetails.styl77
-rw-r--r--client/components/cards/minicard.jade3
-rw-r--r--client/components/cards/minicard.js4
-rw-r--r--client/components/cards/minicard.styl83
-rw-r--r--client/components/rules/actions/cardActions.jade39
-rw-r--r--client/components/rules/actions/cardActions.js20
-rw-r--r--client/components/rules/triggers/cardTriggers.jade32
-rw-r--r--client/components/rules/triggers/cardTriggers.js5
-rw-r--r--i18n/ar.i18n.json123
-rw-r--r--i18n/bg.i18n.json19
-rw-r--r--i18n/br.i18n.json19
-rw-r--r--i18n/ca.i18n.json149
-rw-r--r--i18n/cs.i18n.json19
-rw-r--r--i18n/da.i18n.json19
-rw-r--r--i18n/de.i18n.json19
-rw-r--r--i18n/el.i18n.json19
-rw-r--r--i18n/en-GB.i18n.json19
-rw-r--r--i18n/en.i18n.json19
-rw-r--r--i18n/eo.i18n.json19
-rw-r--r--i18n/es-AR.i18n.json19
-rw-r--r--i18n/es.i18n.json19
-rw-r--r--i18n/eu.i18n.json19
-rw-r--r--i18n/fa.i18n.json19
-rw-r--r--i18n/fi.i18n.json19
-rw-r--r--i18n/fr.i18n.json19
-rw-r--r--i18n/gl.i18n.json19
-rw-r--r--i18n/he.i18n.json19
-rw-r--r--i18n/hi.i18n.json19
-rw-r--r--i18n/hu.i18n.json19
-rw-r--r--i18n/hy.i18n.json19
-rw-r--r--i18n/id.i18n.json19
-rw-r--r--i18n/ig.i18n.json19
-rw-r--r--i18n/it.i18n.json19
-rw-r--r--i18n/ja.i18n.json19
-rw-r--r--i18n/ka.i18n.json19
-rw-r--r--i18n/km.i18n.json19
-rw-r--r--i18n/ko.i18n.json19
-rw-r--r--i18n/lv.i18n.json19
-rw-r--r--i18n/mn.i18n.json19
-rw-r--r--i18n/nb.i18n.json19
-rw-r--r--i18n/nl.i18n.json19
-rw-r--r--i18n/pl.i18n.json19
-rw-r--r--i18n/pt-BR.i18n.json19
-rw-r--r--i18n/pt.i18n.json19
-rw-r--r--i18n/ro.i18n.json19
-rw-r--r--i18n/ru.i18n.json19
-rw-r--r--i18n/sr.i18n.json19
-rw-r--r--i18n/sv.i18n.json19
-rw-r--r--i18n/sw.i18n.json19
-rw-r--r--i18n/ta.i18n.json19
-rw-r--r--i18n/th.i18n.json19
-rw-r--r--i18n/tr.i18n.json35
-rw-r--r--i18n/uk.i18n.json19
-rw-r--r--i18n/vi.i18n.json19
-rw-r--r--i18n/zh-CN.i18n.json19
-rw-r--r--i18n/zh-TW.i18n.json19
-rw-r--r--models/boards.js208
-rw-r--r--models/cardComments.js56
-rw-r--r--models/cards.js212
-rw-r--r--models/checklistItems.js55
-rw-r--r--models/checklists.js63
-rw-r--r--models/customFields.js73
-rw-r--r--models/export.js21
-rw-r--r--models/integrations.js99
-rw-r--r--models/lists.js68
-rw-r--r--models/swimlanes.js59
-rw-r--r--models/users.js172
-rw-r--r--openapi/README.md27
-rw-r--r--openapi/generate_openapi.py915
-rw-r--r--package.json2
-rw-r--r--public/card-colors.pngbin0 -> 54127 bytes
-rw-r--r--sandstorm-pkgdef.capnp4
-rw-r--r--server/rulesHelper.js3
-rw-r--r--snapcraft.yaml19
80 files changed, 3378 insertions, 205 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index a972a400..12b328f6 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,7 +1,29 @@
-# Upcoming Wekan release
+# v2.02 2019-01-22 Wekan release
-- Update translations.
-- Fix typo, changelog year to 2019. Thanks to xorander00 !
+This release adds the following new features with Apache I-CLA, thanks to bentiss:
+
+- [Add per card color: Card / Hamburger menu / Set Color](https://github.com/wekan/wekan/pull/2116) with [color picker](https://github.com/wekan/wekan/pull/2117);
+- [OpenAPI and generating of REST API Docs](https://github.com/wekan/wekan/pull/1965);
+- [Allow to retrieve full export of board from the REST API](https://github.com/wekan/wekan/pull/2118) through generic authentication.
+ When the board is big, retrieving individual cards is heavy for both the server and the number of requests.
+ Allowing the API to directly call on export and then treat the data makes the whole process smoother.
+
+and adds the following new features with Apache I-CLA, thanks to xet7 and bentiss:
+
+- [Translate and add color names to IFTTT Rules dropdown](https://github.com/wekan/wekan/commit/44e4df2492b95226f1297e7f556d61b1afaab714), thanks to xet7.
+ [Fix to this feature blank item](https://github.com/wekan/wekan/pull/2119), thanks to bentiss.
+
+and adds these updates:
+
+- Update translations. Thanks to translators.
+- Added missing translation for 'days'. Thanks to Chartman123.
+
+and fixes these typos;
+
+- Fix typo, changelog year to 2019. Thanks to xorander00.
+- Fix License to 2019. Thanks to ajRiverav.
+
+Thanks to above GitHub users for their contributions.
# v2.01 2019-01-06 Wekan release
diff --git a/Dockerfile b/Dockerfile
index 0a7479b4..240fb0b7 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -75,7 +75,7 @@ ARG DEFAULT_AUTHENTICATION_METHOD
# Set the environment variables (defaults where required)
# DOES NOT WORK: paxctl fix for alpine linux: https://github.com/wekan/wekan/issues/1303
# ENV BUILD_DEPS="paxctl"
-ENV BUILD_DEPS="apt-utils bsdtar gnupg gosu wget curl bzip2 build-essential python git ca-certificates gcc-7" \
+ENV BUILD_DEPS="apt-utils bsdtar gnupg gosu wget curl bzip2 build-essential python python3 python3-distutils git ca-certificates gcc-7" \
NODE_VERSION=v8.15.0 \
METEOR_RELEASE=1.6.0.1 \
USE_EDGE=false \
@@ -251,6 +251,18 @@ RUN \
cd /home/wekan/.meteor && \
gosu wekan:wekan /home/wekan/.meteor/meteor -- help; \
\
+ # extract the OpenAPI specification
+ npm install -g api2html && \
+ mkdir -p /home/wekan/python && \
+ chown wekan:wekan --recursive /home/wekan/python && \
+ cd /home/wekan/python && \
+ gosu wekan:wekan git clone --depth 1 -b master git://github.com/Kronuz/esprima-python && \
+ cd /home/wekan/python/esprima-python && \
+ python3 setup.py install --record files.txt && \
+ cd /home/wekan/app &&\
+ mkdir -p ./public/api && \
+ python3 ./openapi/generate_openapi.py --release $(git describe --tags --abbrev=0) > ./public/api/wekan.yml && \
+ /opt/nodejs/bin/api2html -c ./public/wekan-logo-header.png -o ./public/api/wekan.html ./public/api/wekan.yml; \
# Build app
cd /home/wekan/app && \
gosu wekan:wekan /home/wekan/.meteor/meteor add standard-minifier-js && \
@@ -275,10 +287,13 @@ RUN \
# Cleanup
apt-get remove --purge -y ${BUILD_DEPS} && \
apt-get autoremove -y && \
+ npm uninstall -g api2html &&\
rm -R /var/lib/apt/lists/* && \
rm -R /home/wekan/.meteor && \
rm -R /home/wekan/app && \
rm -R /home/wekan/app_build && \
+ cat /home/wekan/python/esprima-python/files.txt | xargs rm -R && \
+ rm -R /home/wekan/python && \
rm /home/wekan/install_meteor.sh
ENV PORT=8080
diff --git a/LICENSE b/LICENSE
index 04faa72e..c2d69158 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,6 +1,6 @@
The MIT License (MIT)
-Copyright (c) 2014-2018 The Wekan Team
+Copyright (c) 2014-2019 The Wekan Team
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
diff --git a/Stackerfile.yml b/Stackerfile.yml
index df20fe6a..68a8265d 100644
--- a/Stackerfile.yml
+++ b/Stackerfile.yml
@@ -1,5 +1,5 @@
appId: wekan-public/apps/77b94f60-dec9-0136-304e-16ff53095928
-appVersion: "v2.01.0"
+appVersion: "v2.02.0"
files:
userUploads:
- README.md
diff --git a/client/components/cards/cardDetails.jade b/client/components/cards/cardDetails.jade
index a6dc3dde..c1e771cb 100644
--- a/client/components/cards/cardDetails.jade
+++ b/client/components/cards/cardDetails.jade
@@ -1,6 +1,6 @@
template(name="cardDetails")
section.card-details.js-card-details.js-perfect-scrollbar: .card-details-canvas
- .card-details-header
+ .card-details-header(class='{{#if colorClass}}card-details-{{colorClass}}{{/if}}')
+inlinedForm(classNames="js-card-details-title")
+editCardTitleForm
else
@@ -234,6 +234,7 @@ template(name="cardDetailsActionsPopup")
li: a.js-due-date {{_ 'editCardDueDatePopup-title'}}
li: a.js-end-date {{_ 'editCardEndDatePopup-title'}}
li: a.js-spent-time {{_ 'editCardSpentTimePopup-title'}}
+ li: a.js-set-card-color {{_ 'setCardColor-title'}}
hr
ul.pop-over-list
li: a.js-move-card-to-top {{_ 'moveCardToTop-title'}}
@@ -335,7 +336,17 @@ template(name="cardMorePopup")
span.date(title=card.createdAt) {{ moment createdAt 'LLL' }}
a.js-delete(title="{{_ 'card-delete-notice'}}") {{_ 'delete'}}
-
+template(name="setCardColorPopup")
+ p.quiet
+ span.clearfix
+ label {{_ "select-color"}}
+ form.edit-label
+ .palette-colors: each colors
+ span.card-label.palette-color.js-palette-color(class="card-details-{{color}}")
+ if(isSelected color)
+ i.fa.fa-check
+ button.primary.confirm.js-submit {{_ 'save'}}
+ button.js-remove-color.negate.wide.right {{_ 'unset-color'}}
template(name="cardDeletePopup")
p {{_ "card-delete-pop"}}
diff --git a/client/components/cards/cardDetails.js b/client/components/cards/cardDetails.js
index e17e7467..cc04b830 100644
--- a/client/components/cards/cardDetails.js
+++ b/client/components/cards/cardDetails.js
@@ -1,6 +1,11 @@
const subManager = new SubsManager();
const { calculateIndexData, enableClickOnTouch } = Utils;
+let cardColors;
+Meteor.startup(() => {
+ cardColors = Cards.simpleSchema()._schema.color.allowedValues;
+});
+
BlazeComponent.extendComponent({
mixins() {
return [Mixins.InfiniteScrolling, Mixins.PerfectScrollbar];
@@ -22,6 +27,7 @@ BlazeComponent.extendComponent({
onCreated() {
this.currentBoard = Boards.findOne(Session.get('currentBoard'));
this.isLoaded = new ReactiveVar(false);
+ this.currentColor = new ReactiveVar(this.data().color);
const boardBody = this.parentComponent().parentComponent();
//in Miniview parent is Board, not BoardBody.
if (boardBody !== null) {
@@ -337,6 +343,7 @@ Template.cardDetailsActionsPopup.events({
'click .js-move-card': Popup.open('moveCard'),
'click .js-copy-card': Popup.open('copyCard'),
'click .js-copy-checklist-cards': Popup.open('copyChecklistToManyCards'),
+ 'click .js-set-card-color': Popup.open('setCardColor'),
'click .js-move-card-to-top' (evt) {
evt.preventDefault();
const minOrder = _.min(this.list().cards(this.swimlaneId).map((c) => c.sort));
@@ -586,6 +593,37 @@ Template.copyChecklistToManyCardsPopup.events({
BlazeComponent.extendComponent({
onCreated() {
this.currentCard = this.currentData();
+ this.currentColor = new ReactiveVar(this.currentCard.color);
+ },
+
+ colors() {
+ return cardColors.map((color) => ({ color, name: '' }));
+ },
+
+ isSelected(color) {
+ return this.currentColor.get() === color;
+ },
+
+ events() {
+ return [{
+ 'click .js-palette-color'() {
+ this.currentColor.set(this.currentData().color);
+ },
+ 'click .js-submit' () {
+ this.currentCard.setColor(this.currentColor.get());
+ Popup.close();
+ },
+ 'click .js-remove-color'() {
+ this.currentCard.setColor(null);
+ Popup.close();
+ },
+ }];
+ },
+}).register('setCardColorPopup');
+
+BlazeComponent.extendComponent({
+ onCreated() {
+ this.currentCard = this.currentData();
this.parentCard = this.currentCard.parentCard();
if (this.parentCard) {
this.parentBoard = this.parentCard.board();
diff --git a/client/components/cards/cardDetails.styl b/client/components/cards/cardDetails.styl
index 1dc56f58..5a486d84 100644
--- a/client/components/cards/cardDetails.styl
+++ b/client/components/cards/cardDetails.styl
@@ -140,3 +140,80 @@ input[type="submit"].attachment-add-link-submit
.card-details-menu
margin-right: 10px
+
+card-details-color(background, color...)
+ background: background !important
+ if color
+ color: color //overwrite text for better visibility
+
+.card-details-green
+ card-details-color(#3cb500, #ffffff) //White text for better visibility
+
+.card-details-yellow
+ card-details-color(#fad900)
+
+.card-details-orange
+ card-details-color(#ff9f19)
+
+.card-details-red
+ card-details-color(#eb4646, #ffffff) //White text for better visibility
+
+.card-details-purple
+ card-details-color(#a632db, #ffffff) //White text for better visibility
+
+.card-details-blue
+ card-details-color(#0079bf, #ffffff) //White text for better visibility
+
+.card-details-pink
+ card-details-color(#ff78cb)
+
+.card-details-sky
+ card-details-color(#00c2e0, #ffffff) //White text for better visibility
+
+.card-details-black
+ card-details-color(#4d4d4d, #ffffff) //White text for better visibility
+
+.card-details-lime
+ card-details-color(#51e898)
+
+.card-details-silver
+ card-details-color(#c0c0c0)
+
+.card-details-peachpuff
+ card-details-color(#ffdab9)
+
+.card-details-crimson
+ card-details-color(#dc143c, #ffffff) //White text for better visibility
+
+.card-details-plum
+ card-details-color(#dda0dd)
+
+.card-details-darkgreen
+ card-details-color(#006400, #ffffff) //White text for better visibility
+
+.card-details-slateblue
+ card-details-color(#6a5acd, #ffffff) //White text for better visibility
+
+.card-details-magenta
+ card-details-color(#ff00ff, #ffffff) //White text for better visibility
+
+.card-details-gold
+ card-details-color(#ffd700)
+
+.card-details-navy
+ card-details-color(#000080, #ffffff) //White text for better visibility
+
+.card-details-gray
+ card-details-color(#808080, #ffffff) //White text for better visibility
+
+.card-details-saddlebrown
+ card-details-color(#8b4513, #ffffff) //White text for better visibility
+
+.card-details-paleturquoise
+ card-details-color(#afeeee)
+
+.card-details-mistyrose
+ card-details-color(#ffe4e1)
+
+.card-details-indigo
+ card-details-color(#4b0082, #ffffff) //White text for better visibility
diff --git a/client/components/cards/minicard.jade b/client/components/cards/minicard.jade
index 0dfcee44..f47ae0c9 100644
--- a/client/components/cards/minicard.jade
+++ b/client/components/cards/minicard.jade
@@ -1,7 +1,8 @@
template(name="minicard")
.minicard(
class="{{#if isLinkedCard}}linked-card{{/if}}"
- class="{{#if isLinkedBoard}}linked-board{{/if}}")
+ class="{{#if isLinkedBoard}}linked-board{{/if}}"
+ class="minicard-{{colorClass}}")
if cover
.minicard-cover(style="background-image: url('{{cover.url}}');")
if labels
diff --git a/client/components/cards/minicard.js b/client/components/cards/minicard.js
index da7f9e01..e468ec56 100644
--- a/client/components/cards/minicard.js
+++ b/client/components/cards/minicard.js
@@ -3,6 +3,10 @@
// });
BlazeComponent.extendComponent({
+ onCreated() {
+ this.currentColor = new ReactiveVar(this.data().color);
+ },
+
template() {
return 'minicard';
},
diff --git a/client/components/cards/minicard.styl b/client/components/cards/minicard.styl
index 7ad51161..e3d1ff20 100644
--- a/client/components/cards/minicard.styl
+++ b/client/components/cards/minicard.styl
@@ -202,3 +202,86 @@
border-top-right-radius: 0
z-index: 15
box-shadow: 0 1px 2px rgba(0,0,0,.15)
+
+minicard-color(background, color...)
+ background-color: background
+ if color
+ color: color //overwrite text for better visibility
+ &:hover:not(.minicard-composer),
+ .is-selected &,
+ .draggable-hover-card &
+ background: darken(background, 3%)
+ .draggable-hover-card &
+ background: darken(background, 7%)
+
+.minicard-green
+ minicard-color(#3cb500, #ffffff) //White text for better visibility
+
+.minicard-yellow
+ minicard-color(#fad900)
+
+.minicard-orange
+ minicard-color(#ff9f19)
+
+.minicard-red
+ minicard-color(#eb4646, #ffffff) //White text for better visibility
+
+.minicard-purple
+ minicard-color(#a632db, #ffffff) //White text for better visibility
+
+.minicard-blue
+ minicard-color(#0079bf, #ffffff) //White text for better visibility
+
+.minicard-pink
+ minicard-color(#ff78cb)
+
+.minicard-sky
+ minicard-color(#00c2e0, #ffffff) //White text for better visibility
+
+.minicard-black
+ minicard-color(#4d4d4d, #ffffff) //White text for better visibility
+
+.minicard-lime
+ minicard-color(#51e898)
+
+.minicard-silver
+ minicard-color(#c0c0c0)
+
+.minicard-peachpuff
+ minicard-color(#ffdab9)
+
+.minicard-crimson
+ minicard-color(#dc143c, #ffffff) //White text for better visibility
+
+.minicard-plum
+ minicard-color(#dda0dd)
+
+.minicard-darkgreen
+ minicard-color(#006400, #ffffff) //White text for better visibility
+
+.minicard-slateblue
+ minicard-color(#6a5acd, #ffffff) //White text for better visibility
+
+.minicard-magenta
+ minicard-color(#ff00ff, #ffffff) //White text for better visibility
+
+.minicard-gold
+ minicard-color(#ffd700)
+
+.minicard-navy
+ minicard-color(#000080, #ffffff) //White text for better visibility
+
+.minicard-gray
+ minicard-color(#808080, #ffffff) //White text for better visibility
+
+.minicard-saddlebrown
+ minicard-color(#8b4513, #ffffff) //White text for better visibility
+
+.minicard-paleturquoise
+ minicard-color(#afeeee)
+
+.minicard-mistyrose
+ minicard-color(#ffe4e1)
+
+.minicard-indigo
+ minicard-color(#4b0082, #ffffff) //White text for better visibility
diff --git a/client/components/rules/actions/cardActions.jade b/client/components/rules/actions/cardActions.jade
index 74ad9ab5..dd92d8fe 100644
--- a/client/components/rules/actions/cardActions.jade
+++ b/client/components/rules/actions/cardActions.jade
@@ -35,9 +35,36 @@ template(name="cardActions")
div.trigger-button.js-add-removeall-action.js-goto-rules
i.fa.fa-plus
-
-
-
-
-
-
+ div.trigger-item
+ div.trigger-content
+ div.trigger-text
+ | {{{_'r-set-color'}}}
+ div.trigger-dropdown
+ select(id="color-action")
+ option(value="white") {{{_'color-white'}}}
+ option(value="green") {{{_'color-green'}}}
+ option(value="yellow") {{{_'color-yellow'}}}
+ option(value="orange") {{{_'color-orange'}}}
+ option(value="red") {{{_'color-red'}}}
+ option(value="purple") {{{_'color-purple'}}}
+ option(value="blue") {{{_'color-blue'}}}
+ option(value="sky") {{{_'color-sky'}}}
+ option(value="lime") {{{_'color-lime'}}}
+ option(value="pink") {{{_'color-pink'}}}
+ option(value="black") {{{_'color-black'}}}
+ option(value="silver") {{{_'color-silver'}}}
+ option(value="peachpuff") {{{_'color-peachpuff'}}}
+ option(value="crimson") {{{_'color-crimson'}}}
+ option(value="plum") {{{_'color-plum'}}}
+ option(value="darkgreen") {{{_'color-darkgreen'}}}
+ option(value="slateblue") {{{_'color-slateblue'}}}
+ option(value="magenta") {{{_'color-magenta'}}}
+ option(value="gold") {{{_'color-gold'}}}
+ option(value="navy") {{{_'color-navy'}}}
+ option(value="gray") {{{_'color-gray'}}}
+ option(value="saddlebrown") {{{_'color-saddlebrown'}}}
+ option(value="paleturquoise") {{{_'color-paleturquoise'}}}
+ option(value="mistyrose") {{{_'color-mistyrose'}}}
+ option(value="indigo") {{{_'color-indigo'}}}
+ div.trigger-button.js-set-color-action.js-goto-rules
+ i.fa.fa-plus
diff --git a/client/components/rules/actions/cardActions.js b/client/components/rules/actions/cardActions.js
index b04440bd..b66556b4 100644
--- a/client/components/rules/actions/cardActions.js
+++ b/client/components/rules/actions/cardActions.js
@@ -112,6 +112,26 @@ BlazeComponent.extendComponent({
boardId,
});
},
+ 'click .js-set-color-action' (event) {
+ const ruleName = this.data().ruleName.get();
+ const trigger = this.data().triggerVar.get();
+ const selectedColor = this.find('#color-action').value;
+ const boardId = Session.get('currentBoard');
+ const desc = Utils.getTriggerActionDesc(event, this);
+ const triggerId = Triggers.insert(trigger);
+ const actionId = Actions.insert({
+ actionType: 'setColor',
+ selectedColor,
+ boardId,
+ desc,
+ });
+ Rules.insert({
+ title: ruleName,
+ triggerId,
+ actionId,
+ boardId,
+ });
+ },
}];
},
diff --git a/client/components/rules/triggers/cardTriggers.jade b/client/components/rules/triggers/cardTriggers.jade
index 4492502b..72c4b8db 100644
--- a/client/components/rules/triggers/cardTriggers.jade
+++ b/client/components/rules/triggers/cardTriggers.jade
@@ -1,13 +1,13 @@
template(name="cardTriggers")
div.trigger-item
div.trigger-content
- div.trigger-text
+ div.trigger-text
| {{_'r-when-a-label-is'}}
div.trigger-dropdown
select(id="label-action")
option(value="added") {{_'r-added-to'}}
option(value="removed") {{_'r-removed-from'}}
- div.trigger-text
+ div.trigger-text
| {{_'r-a-card'}}
div.trigger-button.trigger-button-person.js-show-user-field
i.fa.fa-user
@@ -21,20 +21,20 @@ template(name="cardTriggers")
div.trigger-item
div.trigger-content
- div.trigger-text
+ div.trigger-text
| {{_'r-when-the-label-is'}}
div.trigger-dropdown
select(id="spec-label")
each labels
- option(value="#{_id}")
- = name
- div.trigger-text
+ option(value="#{_id}" style="background-color: #{name}")
+ = translatedname
+ div.trigger-text
| {{_'r-is'}}
div.trigger-dropdown
select(id="spec-label-action")
option(value="added") {{_'r-added-to'}}
option(value="removed") {{_'r-removed-from'}}
- div.trigger-text
+ div.trigger-text
| {{_'r-a-card'}}
div.trigger-button.trigger-button-person.js-show-user-field
i.fa.fa-user
@@ -48,13 +48,13 @@ template(name="cardTriggers")
div.trigger-item
div.trigger-content
- div.trigger-text
+ div.trigger-text
| {{_'r-when-a-member'}}
div.trigger-dropdown
select(id="gen-member-action")
option(value="added") {{_'r-added-to'}}
option(value="removed") {{_'r-removed-from'}}
- div.trigger-text
+ div.trigger-text
| {{_'r-a-card'}}
div.trigger-button.trigger-button-person.js-show-user-field
i.fa.fa-user
@@ -69,17 +69,17 @@ template(name="cardTriggers")
div.trigger-item
div.trigger-content
- div.trigger-text
+ div.trigger-text
| {{_'r-when-the-member'}}
div.trigger-dropdown
- input(id="spec-member",type=text,placeholder="{{_'r-name'}}")
- div.trigger-text
+ input(id="spec-member",type=text,placeholder="{{_'r-name'}}")
+ div.trigger-text
| {{_'r-is'}}
div.trigger-dropdown
select(id="spec-member-action")
option(value="added") {{_'r-added-to'}}
option(value="removed") {{_'r-removed-from'}}
- div.trigger-text
+ div.trigger-text
| {{_'r-a-card'}}
div.trigger-button.trigger-button-person.js-show-user-field
i.fa.fa-user
@@ -93,15 +93,15 @@ template(name="cardTriggers")
div.trigger-item
div.trigger-content
- div.trigger-text
+ div.trigger-text
| {{_'r-when-a-attach'}}
- div.trigger-text
+ div.trigger-text
| {{_'r-is'}}
div.trigger-dropdown
select(id="attach-action")
option(value="added") {{_'r-added-to'}}
option(value="removed") {{_'r-removed-from'}}
- div.trigger-text
+ div.trigger-text
| {{_'r-a-card'}}
div.trigger-button.trigger-button-person.js-show-user-field
i.fa.fa-user
diff --git a/client/components/rules/triggers/cardTriggers.js b/client/components/rules/triggers/cardTriggers.js
index 2303a85b..82b21d61 100644
--- a/client/components/rules/triggers/cardTriggers.js
+++ b/client/components/rules/triggers/cardTriggers.js
@@ -6,7 +6,10 @@ BlazeComponent.extendComponent({
const labels = Boards.findOne(Session.get('currentBoard')).labels;
for (let i = 0; i < labels.length; i++) {
if (labels[i].name === '' || labels[i].name === undefined) {
- labels[i].name = labels[i].color.toUpperCase();
+ labels[i].name = labels[i].color;
+ labels[i].translatedname = `${TAPi18n.__(`color-${ labels[i].color}`)}`;
+ } else {
+ labels[i].translatedname = labels[i].name;
}
}
return labels;
diff --git a/i18n/ar.i18n.json b/i18n/ar.i18n.json
index c2a484bd..53508e42 100644
--- a/i18n/ar.i18n.json
+++ b/i18n/ar.i18n.json
@@ -1,20 +1,20 @@
{
- "accept": "اقبلboard",
- "act-activity-notify": "Activity Notification",
- "act-addAttachment": "ربط __attachment__ الى __card__",
- "act-addSubtask": "added subtask __checklist__ to __card__",
- "act-addChecklist": "added checklist __checklist__ to __card__",
- "act-addChecklistItem": "added __checklistItem__ to checklist __checklist__ on __card__",
- "act-addComment": "علق على __comment__ : __card__",
- "act-createBoard": "احدث __board__",
- "act-createCard": "اضاف __card__ الى __list__",
- "act-createCustomField": "created custom field __customField__",
- "act-createList": "اضاف __list__ الى __board__",
+ "accept": "قبول",
+ "act-activity-notify": "اشعارات النشاط",
+ "act-addAttachment": "ربط __المرفق__ الى __بطاقة__",
+ "act-addSubtask": "تمة اضافة فرع المهمة __ قائمة التدقيق __ الى __ بطاقة",
+ "act-addChecklist": "تمة اضافة قائمة التدقيق __ قائمة التدقيق __ الى __ بطاقة",
+ "act-addChecklistItem": "تمة اضافة عنصر قائمة التدقيق __الى قائمة التدقيق __ قائمة التدقيق __ في __ بطاقة",
+ "act-addComment": "علق على __بطاقة__ : __تعليق__",
+ "act-createBoard": "احدث __لوحة__",
+ "act-createCard": "تمة اضافة __بطاقة__ الى __قائمة__",
+ "act-createCustomField": "احدث حقل مخصص __ حقل مخصص__",
+ "act-createList": "اضاف __قائمة__ الى __لوحة__",
"act-addBoardMember": "اضاف __member__ الى __board__",
- "act-archivedBoard": "__board__ moved to Archive",
- "act-archivedCard": "__card__ moved to Archive",
- "act-archivedList": "__list__ moved to Archive",
- "act-archivedSwimlane": "__swimlane__ moved to Archive",
+ "act-archivedBoard": "__ لوح __ انتقل إلى الأرشيف",
+ "act-archivedCard": "__ بطاقة __ انتقلت إلى الأرشيف",
+ "act-archivedList": "__ القائمة __ انتقلت إلى الأرشيف",
+ "act-archivedSwimlane": "__خط السباحة__انتقل إلى الأرشيف",
"act-importBoard": "إستورد __board__",
"act-importCard": "إستورد __card__",
"act-importList": "إستورد __list__",
@@ -23,16 +23,16 @@
"act-removeBoardMember": "أزال __member__ من __board__",
"act-restoredCard": "أعاد __card__ إلى __board__",
"act-unjoinMember": "أزال __member__ من __card__",
- "act-withBoardTitle": "__board__",
+ "act-withBoardTitle": "__لوح__",
"act-withCardTitle": "[__board__] __card__",
"actions": "الإجراءات",
"activities": "الأنشطة",
"activity": "النشاط",
"activity-added": "تمت إضافة %s ل %s",
- "activity-archived": "%s moved to Archive",
+ "activity-archived": "%s انتقل الى الارشيف",
"activity-attached": "إرفاق %s ل %s",
"activity-created": "أنشأ %s",
- "activity-customfield-created": "created custom field %s",
+ "activity-customfield-created": "%s احدت حقل مخصص",
"activity-excluded": "استبعاد %s عن %s",
"activity-imported": "imported %s into %s from %s",
"activity-imported-board": "imported %s from %s",
@@ -42,15 +42,15 @@
"activity-removed": "حذف %s إلى %s",
"activity-sent": "إرسال %s إلى %s",
"activity-unjoined": "غادر %s",
- "activity-subtask-added": "added subtask to %s",
- "activity-checked-item": "checked %s in checklist %s of %s",
- "activity-unchecked-item": "unchecked %s in checklist %s of %s",
+ "activity-subtask-added": "تم اضافة مهمة فرعية الى %s",
+ "activity-checked-item": "تحقق %s في قائمة التحقق %s من %s",
+ "activity-unchecked-item": "ازالة تحقق %s من قائمة التحقق %s من %s",
"activity-checklist-added": "أضاف قائمة تحقق إلى %s",
- "activity-checklist-removed": "removed a checklist from %s",
- "activity-checklist-completed": "completed the checklist %s of %s",
- "activity-checklist-uncompleted": "uncompleted the checklist %s of %s",
- "activity-checklist-item-added": "added checklist item to '%s' in %s",
- "activity-checklist-item-removed": "removed a checklist item from '%s' in %s",
+ "activity-checklist-removed": "ازالة قائمة التحقق من %s",
+ "activity-checklist-completed": "تم انجاز قائمة التحقق %s من %s",
+ "activity-checklist-uncompleted": "لم يتم انجاز قائمة التحقق %s من %s",
+ "activity-checklist-item-added": "تم اضافة عنصر قائمة التحقق الى '%s' في %s",
+ "activity-checklist-item-removed": "تم ازالة عنصر قائمة التحقق الى '%s' في %s",
"add": "أضف",
"activity-checked-item-card": "checked %s in checklist %s",
"activity-unchecked-item-card": "unchecked %s in checklist %s",
@@ -79,18 +79,18 @@
"and-n-other-card_plural": "And __count__ other بطاقات",
"apply": "طبق",
"app-is-offline": "Loading, please wait. Refreshing the page will cause data loss. If loading does not work, please check that server has not stopped.",
- "archive": "Move to Archive",
- "archive-all": "Move All to Archive",
- "archive-board": "Move Board to Archive",
- "archive-card": "Move Card to Archive",
- "archive-list": "Move List to Archive",
- "archive-swimlane": "Move Swimlane to Archive",
- "archive-selection": "Move selection to Archive",
- "archiveBoardPopup-title": "Move Board to Archive?",
+ "archive": "نقل الى الارشيف",
+ "archive-all": "نقل الكل الى الارشيف",
+ "archive-board": "نقل اللوح الى الارشيف",
+ "archive-card": "نقل البطاقة الى الارشيف",
+ "archive-list": "نقل القائمة الى الارشيف",
+ "archive-swimlane": "نقل خط السباحة الى الارشيف",
+ "archive-selection": "نقل التحديد إلى الأرشيف",
+ "archiveBoardPopup-title": "نقل الوح إلى الأرشيف",
"archived-items": "أرشيف",
- "archived-boards": "Boards in Archive",
+ "archived-boards": "الالواح في الأرشيف",
"restore-board": "استعادة اللوحة",
- "no-archived-boards": "No Boards in Archive.",
+ "no-archived-boards": "لا توجد لوحات في الأرشيف.",
"archives": "أرشيف",
"assign-member": "تعيين عضو",
"attached": "أُرفق)",
@@ -112,23 +112,23 @@
"boardChangeWatchPopup-title": "تغيير المتابعة",
"boardMenuPopup-title": "قائمة اللوحة",
"boards": "لوحات",
- "board-view": "Board View",
- "board-view-cal": "Calendar",
- "board-view-swimlanes": "Swimlanes",
+ "board-view": "عرض اللوحات",
+ "board-view-cal": "التقويم",
+ "board-view-swimlanes": "خطوط السباحة",
"board-view-lists": "القائمات",
"bucket-example": "مثل « todo list » على سبيل المثال",
"cancel": "إلغاء",
- "card-archived": "This card is moved to Archive.",
- "board-archived": "This board is moved to Archive.",
+ "card-archived": "البطاقة منقولة الى الارشيف",
+ "board-archived": "اللوحات منقولة الى الارشيف",
"card-comments-title": "%s تعليقات لهذه البطاقة",
"card-delete-notice": "هذا حذف أبديّ . سوف تفقد كل الإجراءات المنوطة بهذه البطاقة",
"card-delete-pop": "سيتم إزالة جميع الإجراءات من تبعات النشاط، وأنك لن تكون قادرا على إعادة فتح البطاقة. لا يوجد التراجع.",
- "card-delete-suggest-archive": "You can move a card to Archive to remove it from the board and preserve the activity.",
+ "card-delete-suggest-archive": "يمكنك نقل بطاقة إلى الأرشيف لإزالتها من اللوحة والمحافظة على النشاط.",
"card-due": "مستحق",
"card-due-on": "مستحق في",
- "card-spent": "Spent Time",
+ "card-spent": "امضى وقتا",
"card-edit-attachments": "تعديل المرفقات",
- "card-edit-custom-fields": "Edit custom fields",
+ "card-edit-custom-fields": "تعديل الحقل المعدل",
"card-edit-labels": "تعديل العلامات",
"card-edit-members": "تعديل الأعضاء",
"card-labels-title": "تعديل علامات البطاقة.",
@@ -136,8 +136,8 @@
"card-start": "بداية",
"card-start-on": "يبدأ في",
"cardAttachmentsPopup-title": "إرفاق من",
- "cardCustomField-datePopup-title": "Change date",
- "cardCustomFieldsPopup-title": "Edit custom fields",
+ "cardCustomField-datePopup-title": "تغير التاريخ",
+ "cardCustomFieldsPopup-title": "تعديل الحقل المعدل",
"cardDeletePopup-title": "حذف البطاقة ?",
"cardDetailsActionsPopup-title": "إجراءات على البطاقة",
"cardLabelsPopup-title": "علامات",
@@ -145,9 +145,9 @@
"cardMorePopup-title": "المزيد",
"cards": "بطاقات",
"cards-count": "بطاقات",
- "casSignIn": "Sign In with CAS",
- "cardType-card": "Card",
- "cardType-linkedCard": "Linked Card",
+ "casSignIn": "تسجيل الدخول مع CAS",
+ "cardType-card": "بطاقة",
+ "cardType-linkedCard": "البطاقة المرتبطة",
"cardType-linkedBoard": "Linked Board",
"change": "Change",
"change-avatar": "تعديل الصورة الشخصية",
@@ -169,14 +169,30 @@
"close-board-pop": "You will be able to restore the board by clicking the “Archive” button from the home header.",
"color-black": "black",
"color-blue": "blue",
+ "color-crimson": "crimson",
+ "color-darkgreen": "darkgreen",
+ "color-gold": "gold",
+ "color-gray": "gray",
"color-green": "green",
+ "color-indigo": "indigo",
"color-lime": "lime",
+ "color-magenta": "magenta",
+ "color-mistyrose": "mistyrose",
+ "color-navy": "navy",
"color-orange": "orange",
+ "color-paleturquoise": "paleturquoise",
+ "color-peachpuff": "peachpuff",
"color-pink": "pink",
+ "color-plum": "plum",
"color-purple": "purple",
"color-red": "red",
+ "color-saddlebrown": "saddlebrown",
+ "color-silver": "silver",
"color-sky": "sky",
+ "color-slateblue": "slateblue",
+ "color-white": "white",
"color-yellow": "yellow",
+ "unset-color": "Unset",
"comment": "تعليق",
"comment-placeholder": "أكتب تعليق",
"comment-only": "التعليق فقط",
@@ -187,7 +203,7 @@
"confirm-subtask-delete-dialog": "Are you sure you want to delete subtask?",
"confirm-checklist-delete-dialog": "Are you sure you want to delete checklist?",
"copy-card-link-to-clipboard": "نسخ رابط البطاقة إلى الحافظة",
- "linkCardPopup-title": "Link Card",
+ "linkCardPopup-title": "ربط البطاقة",
"searchCardPopup-title": "Search Card",
"copyCardPopup-title": "نسخ البطاقة",
"copyChecklistToManyCardsPopup-title": "Copy Checklist Template to Many Cards",
@@ -327,7 +343,7 @@
"list-delete-pop": "All actions will be removed from the activity feed and you won't be able to recover the list. There is no undo.",
"list-delete-suggest-archive": "You can move a list to Archive to remove it from the board and preserve the activity.",
"lists": "القائمات",
- "swimlanes": "Swimlanes",
+ "swimlanes": "خطوط السباحة",
"log-out": "تسجيل الخروج",
"log-in": "تسجيل الدخول",
"loginPopup-title": "تسجيل الدخول",
@@ -480,6 +496,7 @@
"OS_Totalmem": "الذاكرة الكلية لنظام التشغيل",
"OS_Type": "نوع نظام التشغيل",
"OS_Uptime": "مدة تشغيل نظام التشغيل",
+ "days": "days",
"hours": "الساعات",
"minutes": "الدقائق",
"seconds": "الثواني",
@@ -500,6 +517,7 @@
"card-end-on": "Ends on",
"editCardReceivedDatePopup-title": "Change received date",
"editCardEndDatePopup-title": "Change end date",
+ "setCardColor-title": "Set color",
"assigned-by": "Assigned By",
"requested-by": "Requested By",
"board-delete-notice": "Deleting is permanent. You will lose all lists, cards and actions associated with this board.",
@@ -570,7 +588,7 @@
"r-top-of": "Top of",
"r-bottom-of": "Bottom of",
"r-its-list": "its list",
- "r-archive": "Move to Archive",
+ "r-archive": "نقل الى الارشيف",
"r-unarchive": "Restore from Archive",
"r-card": "card",
"r-add": "أضف",
@@ -578,6 +596,7 @@
"r-label": "label",
"r-member": "member",
"r-remove-all": "Remove all members from the card",
+ "r-set-color": "Set color to",
"r-checklist": "checklist",
"r-check-all": "Check all",
"r-uncheck-all": "Uncheck all",
diff --git a/i18n/bg.i18n.json b/i18n/bg.i18n.json
index e396bc8b..c374a430 100644
--- a/i18n/bg.i18n.json
+++ b/i18n/bg.i18n.json
@@ -169,14 +169,30 @@
"close-board-pop": "You will be able to restore the board by clicking the “Archive” button from the home header.",
"color-black": "черно",
"color-blue": "синьо",
+ "color-crimson": "crimson",
+ "color-darkgreen": "darkgreen",
+ "color-gold": "gold",
+ "color-gray": "gray",
"color-green": "зелено",
+ "color-indigo": "indigo",
"color-lime": "лайм",
+ "color-magenta": "magenta",
+ "color-mistyrose": "mistyrose",
+ "color-navy": "navy",
"color-orange": "оранжево",
+ "color-paleturquoise": "paleturquoise",
+ "color-peachpuff": "peachpuff",
"color-pink": "розово",
+ "color-plum": "plum",
"color-purple": "пурпурно",
"color-red": "червено",
+ "color-saddlebrown": "saddlebrown",
+ "color-silver": "silver",
"color-sky": "светло синьо",
+ "color-slateblue": "slateblue",
+ "color-white": "white",
"color-yellow": "жълто",
+ "unset-color": "Unset",
"comment": "Коментирай",
"comment-placeholder": "Напиши коментар",
"comment-only": "Само коментар",
@@ -480,6 +496,7 @@
"OS_Totalmem": "ОС Общо памет",
"OS_Type": "Тип ОС",
"OS_Uptime": "OS Ъптайм",
+ "days": "days",
"hours": "часа",
"minutes": "минути",
"seconds": "секунди",
@@ -500,6 +517,7 @@
"card-end-on": "Завършена на",
"editCardReceivedDatePopup-title": "Промени датата на получаване",
"editCardEndDatePopup-title": "Промени датата на завършване",
+ "setCardColor-title": "Set color",
"assigned-by": "Assigned By",
"requested-by": "Requested By",
"board-delete-notice": "Deleting is permanent. You will lose all lists, cards and actions associated with this board.",
@@ -578,6 +596,7 @@
"r-label": "label",
"r-member": "member",
"r-remove-all": "Remove all members from the card",
+ "r-set-color": "Set color to",
"r-checklist": "checklist",
"r-check-all": "Check all",
"r-uncheck-all": "Uncheck all",
diff --git a/i18n/br.i18n.json b/i18n/br.i18n.json
index ef2d0636..899e2c00 100644
--- a/i18n/br.i18n.json
+++ b/i18n/br.i18n.json
@@ -169,14 +169,30 @@
"close-board-pop": "You will be able to restore the board by clicking the “Archive” button from the home header.",
"color-black": "du",
"color-blue": "glas",
+ "color-crimson": "crimson",
+ "color-darkgreen": "darkgreen",
+ "color-gold": "gold",
+ "color-gray": "gray",
"color-green": "gwer",
+ "color-indigo": "indigo",
"color-lime": "melen sitroñs",
+ "color-magenta": "magenta",
+ "color-mistyrose": "mistyrose",
+ "color-navy": "navy",
"color-orange": "orañjez",
+ "color-paleturquoise": "paleturquoise",
+ "color-peachpuff": "peachpuff",
"color-pink": "roz",
+ "color-plum": "plum",
"color-purple": "mouk",
"color-red": "ruz",
+ "color-saddlebrown": "saddlebrown",
+ "color-silver": "silver",
"color-sky": "pers",
+ "color-slateblue": "slateblue",
+ "color-white": "white",
"color-yellow": "melen",
+ "unset-color": "Unset",
"comment": "Comment",
"comment-placeholder": "Write Comment",
"comment-only": "Comment only",
@@ -480,6 +496,7 @@
"OS_Totalmem": "OS Total Memory",
"OS_Type": "OS Type",
"OS_Uptime": "OS Uptime",
+ "days": "days",
"hours": "hours",
"minutes": "minutes",
"seconds": "seconds",
@@ -500,6 +517,7 @@
"card-end-on": "Ends on",
"editCardReceivedDatePopup-title": "Change received date",
"editCardEndDatePopup-title": "Change end date",
+ "setCardColor-title": "Set color",
"assigned-by": "Assigned By",
"requested-by": "Requested By",
"board-delete-notice": "Deleting is permanent. You will lose all lists, cards and actions associated with this board.",
@@ -578,6 +596,7 @@
"r-label": "label",
"r-member": "member",
"r-remove-all": "Remove all members from the card",
+ "r-set-color": "Set color to",
"r-checklist": "checklist",
"r-check-all": "Check all",
"r-uncheck-all": "Uncheck all",
diff --git a/i18n/ca.i18n.json b/i18n/ca.i18n.json
index 44e80a62..09f3aee1 100644
--- a/i18n/ca.i18n.json
+++ b/i18n/ca.i18n.json
@@ -1,38 +1,38 @@
{
"accept": "Accepta",
- "act-activity-notify": "Activity Notification",
- "act-addAttachment": "adjuntat __attachment__ a __card__",
+ "act-activity-notify": "Notificació d'activitat",
+ "act-addAttachment": "afegit__adjunt__ a la __fitxa__",
"act-addSubtask": "added subtask __checklist__ to __card__",
"act-addChecklist": "afegida la checklist _checklist__ a __card__",
"act-addChecklistItem": "afegit __checklistItem__ a la checklist __checklist__ on __card__",
"act-addComment": "comentat a __card__: __comment__",
- "act-createBoard": "creat __board__",
+ "act-createBoard": "nou __tauler__",
"act-createCard": "afegit/da __card__ a __list__",
"act-createCustomField": "created custom field __customField__",
- "act-createList": "afegit/da __list__ a __board__",
- "act-addBoardMember": "afegit/da __member__ a __board__",
- "act-archivedBoard": "__board__ moved to Archive",
- "act-archivedCard": "__card__ moved to Archive",
- "act-archivedList": "__list__ moved to Archive",
+ "act-createList": "llista __afegida__ al __tauler__",
+ "act-addBoardMember": "usuari __afegit__ al __tauler__",
+ "act-archivedBoard": "__tauler__ mogut al Arxiu",
+ "act-archivedCard": "__fitxa__ moguda al Arxiu",
+ "act-archivedList": "__llista__ mogud al Arxiu",
"act-archivedSwimlane": "__swimlane__ moved to Archive",
- "act-importBoard": "__board__ importat",
+ "act-importBoard": "tauler __importat__",
"act-importCard": "__card__ importat",
"act-importList": "__list__ importat",
"act-joinMember": "afegit/da __member__ a __card__",
"act-moveCard": "mou __card__ de __oldList__ a __list__",
- "act-removeBoardMember": "elimina __member__ de __board__",
- "act-restoredCard": "recupera __card__ a __board__",
+ "act-removeBoardMember": "elimina __usuari__ del __tauler__",
+ "act-restoredCard": "fitxa __restaurada__ al __tauler__",
"act-unjoinMember": "elimina __member__ de __card__",
- "act-withBoardTitle": "__board__",
- "act-withCardTitle": "[__board__] __card__",
+ "act-withBoardTitle": "__tauler__",
+ "act-withCardTitle": "[__tauler__] __fitxa__",
"actions": "Accions",
"activities": "Activitats",
"activity": "Activitat",
"activity-added": "ha afegit %s a %s",
- "activity-archived": "%s moved to Archive",
+ "activity-archived": "%s mogut al Arxiu",
"activity-attached": "ha adjuntat %s a %s",
"activity-created": "ha creat %s",
- "activity-customfield-created": "created custom field %s",
+ "activity-customfield-created": "camp personalitzat creat %s",
"activity-excluded": "ha exclòs %s de %s",
"activity-imported": "importat %s dins %s des de %s",
"activity-imported-board": "importat %s des de %s",
@@ -58,11 +58,11 @@
"activity-checklist-uncompleted-card": "uncompleted the checklist %s",
"add-attachment": "Afegeix adjunt",
"add-board": "Afegeix Tauler",
- "add-card": "Afegeix fitxa",
+ "add-card": "Afegeix Fitxa",
"add-swimlane": "Afegix Carril de Natació",
- "add-subtask": "Add Subtask",
+ "add-subtask": "Afegir Subtasca",
"add-checklist": "Afegeix checklist",
- "add-checklist-item": "Afegeix un ítem",
+ "add-checklist-item": "Afegeix un ítem al checklist",
"add-cover": "Afegeix coberta",
"add-label": "Afegeix etiqueta",
"add-list": "Afegeix llista",
@@ -70,27 +70,27 @@
"added": "Afegit",
"addMemberPopup-title": "Membres",
"admin": "Administrador",
- "admin-desc": "Pots veure i editar fitxes, eliminar membres, i canviar la configuració del tauler",
- "admin-announcement": "Bàndol",
- "admin-announcement-active": "Activar bàndol del Sistema",
- "admin-announcement-title": "Bàndol de l'administració",
+ "admin-desc": "Pots veure i editar fitxes, eliminar usuaris, i canviar la configuració del tauler.",
+ "admin-announcement": "Alertes",
+ "admin-announcement-active": "Activar alertes del Sistema",
+ "admin-announcement-title": "Alertes d'administració",
"all-boards": "Tots els taulers",
"and-n-other-card": "And __count__ other card",
"and-n-other-card_plural": "And __count__ other cards",
"apply": "Aplica",
"app-is-offline": "Loading, please wait. Refreshing the page will cause data loss. If loading does not work, please check that server has not stopped.",
- "archive": "Move to Archive",
- "archive-all": "Move All to Archive",
- "archive-board": "Move Board to Archive",
- "archive-card": "Move Card to Archive",
- "archive-list": "Move List to Archive",
+ "archive": "Moure al arxiu",
+ "archive-all": "Moure tot al arxiu",
+ "archive-board": "Moure Tauler al Arxiu",
+ "archive-card": "Moure Fitxa al Arxiu",
+ "archive-list": "Moure Llista al Arxiu",
"archive-swimlane": "Move Swimlane to Archive",
- "archive-selection": "Move selection to Archive",
- "archiveBoardPopup-title": "Move Board to Archive?",
+ "archive-selection": "Moure selecció al Arxiu",
+ "archiveBoardPopup-title": "Moure el Tauler al Arxiu?",
"archived-items": "Desa",
- "archived-boards": "Boards in Archive",
+ "archived-boards": "Taulers al Arxiu",
"restore-board": "Restaura Tauler",
- "no-archived-boards": "No Boards in Archive.",
+ "no-archived-boards": "No hi han Taulers al Arxiu.",
"archives": "Desa",
"assign-member": "Assignar membre",
"attached": "adjuntat",
@@ -98,28 +98,28 @@
"attachment-delete-pop": "L'esborrat d'un arxiu adjunt és permanent. No es pot desfer.",
"attachmentDeletePopup-title": "Esborrar adjunt?",
"attachments": "Adjunts",
- "auto-watch": "Automàticament segueix el taulers quan són creats",
+ "auto-watch": "Segueix automàticament el taulers quan són creats",
"avatar-too-big": "L'avatar es massa gran (70KM max)",
"back": "Enrere",
"board-change-color": "Canvia el color",
"board-nb-stars": "%s estrelles",
"board-not-found": "No s'ha trobat el tauler",
- "board-private-info": "Aquest tauler serà <strong> privat </ strong>.",
- "board-public-info": "Aquest tauler serà <strong> públic </ strong>.",
- "boardChangeColorPopup-title": "Canvia fons",
+ "board-private-info": "Aquest tauler serà <strong> privat.",
+ "board-public-info": "Aquest tauler serà <strong> públic.",
+ "boardChangeColorPopup-title": "Canvia fons del tauler",
"boardChangeTitlePopup-title": "Canvia el nom tauler",
"boardChangeVisibilityPopup-title": "Canvia visibilitat",
"boardChangeWatchPopup-title": "Canvia seguiment",
"boardMenuPopup-title": "Menú del tauler",
"boards": "Taulers",
"board-view": "Visió del tauler",
- "board-view-cal": "Calendar",
+ "board-view-cal": "Calendari",
"board-view-swimlanes": "Carrils de Natació",
"board-view-lists": "Llistes",
"bucket-example": "Igual que “Bucket List”, per exemple",
"cancel": "Cancel·la",
- "card-archived": "This card is moved to Archive.",
- "board-archived": "This board is moved to Archive.",
+ "card-archived": "Aquesta fitxa ha estat moguda al Arxiu.",
+ "board-archived": "Aquest tauler s'ha mogut al arxiu",
"card-comments-title": "Aquesta fitxa té %s comentaris.",
"card-delete-notice": "L'esborrat és permanent. Perdreu totes les accions associades a aquesta fitxa.",
"card-delete-pop": "Totes les accions s'eliminaran de l'activitat i no podreu tornar a obrir la fitxa. No es pot desfer.",
@@ -128,7 +128,7 @@
"card-due-on": "Finalitza a",
"card-spent": "Temps Dedicat",
"card-edit-attachments": "Edita arxius adjunts",
- "card-edit-custom-fields": "Edit custom fields",
+ "card-edit-custom-fields": "Editar camps personalitzats",
"card-edit-labels": "Edita etiquetes",
"card-edit-members": "Edita membres",
"card-labels-title": "Canvia les etiquetes de la fitxa",
@@ -136,8 +136,8 @@
"card-start": "Comença",
"card-start-on": "Comença a",
"cardAttachmentsPopup-title": "Adjunta des de",
- "cardCustomField-datePopup-title": "Change date",
- "cardCustomFieldsPopup-title": "Edit custom fields",
+ "cardCustomField-datePopup-title": "Canviar data",
+ "cardCustomFieldsPopup-title": "Editar camps personalitzats",
"cardDeletePopup-title": "Esborrar fitxa?",
"cardDetailsActionsPopup-title": "Accions de fitxes",
"cardLabelsPopup-title": "Etiquetes",
@@ -146,7 +146,7 @@
"cards": "Fitxes",
"cards-count": "Fitxes",
"casSignIn": "Sign In with CAS",
- "cardType-card": "Card",
+ "cardType-card": "Fitxa",
"cardType-linkedCard": "Linked Card",
"cardType-linkedBoard": "Linked Board",
"change": "Canvia",
@@ -159,7 +159,7 @@
"changePasswordPopup-title": "Canvia la contrasenya",
"changePermissionsPopup-title": "Canvia permisos",
"changeSettingsPopup-title": "Canvia configuració",
- "subtasks": "Subtasks",
+ "subtasks": "Subtasca",
"checklists": "Checklists",
"click-to-star": "Fes clic per destacar aquest tauler.",
"click-to-unstar": "Fes clic per deixar de destacar aquest tauler.",
@@ -169,26 +169,42 @@
"close-board-pop": "You will be able to restore the board by clicking the “Archive” button from the home header.",
"color-black": "negre",
"color-blue": "blau",
+ "color-crimson": "carmesí",
+ "color-darkgreen": "verd fosc",
+ "color-gold": "daurat",
+ "color-gray": "gris",
"color-green": "verd",
+ "color-indigo": "índigo",
"color-lime": "llima",
+ "color-magenta": "magenta",
+ "color-mistyrose": "mistyrose",
+ "color-navy": "marina",
"color-orange": "taronja",
+ "color-paleturquoise": "paleturquoise",
+ "color-peachpuff": "peachpuff",
"color-pink": "rosa",
+ "color-plum": "pruna",
"color-purple": "púrpura",
"color-red": "vermell",
+ "color-saddlebrown": "saddlebrown",
+ "color-silver": "plata",
"color-sky": "cel",
+ "color-slateblue": "slateblue",
+ "color-white": "blanc",
"color-yellow": "groc",
+ "unset-color": "Unset",
"comment": "Comentari",
"comment-placeholder": "Escriu un comentari",
"comment-only": "Només comentaris",
"comment-only-desc": "Només pots fer comentaris a les fitxes",
- "no-comments": "No comments",
+ "no-comments": "Sense comentaris",
"no-comments-desc": "Can not see comments and activities.",
"computer": "Ordinador",
- "confirm-subtask-delete-dialog": "Are you sure you want to delete subtask?",
+ "confirm-subtask-delete-dialog": "Esteu segur que voleu eliminar la subtasca?",
"confirm-checklist-delete-dialog": "Are you sure you want to delete checklist?",
"copy-card-link-to-clipboard": "Copia l'enllaç de la ftixa al porta-retalls",
"linkCardPopup-title": "Link Card",
- "searchCardPopup-title": "Search Card",
+ "searchCardPopup-title": "Buscar Fitxa",
"copyCardPopup-title": "Copia la fitxa",
"copyChecklistToManyCardsPopup-title": "Copy Checklist Template to Many Cards",
"copyChecklistToManyCardsPopup-instructions": "Títols de fitxa i Descripcions de destí en aquest format JSON",
@@ -197,20 +213,20 @@
"createBoardPopup-title": "Crea tauler",
"chooseBoardSourcePopup-title": "Importa Tauler",
"createLabelPopup-title": "Crea etiqueta",
- "createCustomField": "Create Field",
- "createCustomFieldPopup-title": "Create Field",
+ "createCustomField": "Crear camp",
+ "createCustomFieldPopup-title": "Crear camp",
"current": "Actual",
"custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.",
"custom-field-checkbox": "Checkbox",
"custom-field-date": "Data",
"custom-field-dropdown": "Dropdown List",
"custom-field-dropdown-none": "(none)",
- "custom-field-dropdown-options": "List Options",
+ "custom-field-dropdown-options": "Llista d'opcions",
"custom-field-dropdown-options-placeholder": "Press enter to add more options",
"custom-field-dropdown-unknown": "(unknown)",
"custom-field-number": "Number",
"custom-field-text": "Text",
- "custom-fields": "Custom Fields",
+ "custom-fields": "Camps Personalitzats",
"date": "Data",
"decline": "Declina",
"default-avatar": "Avatar per defecte",
@@ -230,7 +246,7 @@
"soft-wip-limit": "Soft WIP Limit",
"editCardStartDatePopup-title": "Canvia data d'inici",
"editCardDueDatePopup-title": "Canvia data de finalització",
- "editCustomFieldPopup-title": "Edit Field",
+ "editCustomFieldPopup-title": "Modificar camp",
"editCardSpentTimePopup-title": "Canvia temps dedicat",
"editLabelPopup-title": "Canvia etiqueta",
"editNotificationPopup-title": "Edita la notificació",
@@ -271,7 +287,7 @@
"filter-on": "Filtra per",
"filter-on-desc": "Estau filtrant fitxes en aquest tauler. Feu clic aquí per editar el filtre.",
"filter-to-selection": "Filtra selecció",
- "advanced-filter-label": "Advanced Filter",
+ "advanced-filter-label": "Filtre avançat",
"advanced-filter-description": "Advanced Filter allows to write a string containing following operators: == != <= >= && || ( ) A space is used as a separator between the Operators. You can filter for all Custom Fields by typing their names and values. For Example: Field1 == Value1. Note: If fields or values contains spaces, you need to encapsulate them into single quotes. For Example: 'Field 1' == 'Value 1'. For single control characters (' \\/) to be skipped, you can use \\. For example: Field1 == I\\'m. Also you can combine multiple conditions. For Example: F1 == V1 || F1 == V2. Normally all operators are interpreted from left to right. You can change the order by placing brackets. For Example: F1 == V1 && ( F2 == V2 || F2 == V3 ). Also you can search text fields using regex: F1 == /Tes.*/i",
"fullname": "Nom complet",
"header-logo-title": "Torna a la teva pàgina de taulers",
@@ -279,7 +295,7 @@
"headerBarCreateBoardPopup-title": "Crea tauler",
"home": "Inici",
"import": "importa",
- "link": "Link",
+ "link": "Enllaç",
"import-board": "Importa tauler",
"import-board-c": "Importa tauler",
"import-board-title-trello": "Importa tauler des de Trello",
@@ -296,7 +312,7 @@
"import-members-map": "Your imported board has some members. Please map the members you want to import to your users",
"import-show-user-mapping": "Revisa l'assignació de membres",
"import-user-select": "Pick your existing user you want to use as this member",
- "importMapMembersAddPopup-title": "Select member",
+ "importMapMembersAddPopup-title": "Selecciona un usuari",
"info": "Versió",
"initials": "Inicials",
"invalid-date": "Data invàlida",
@@ -315,7 +331,7 @@
"leave-board-pop": "De debò voleu abandonar __boardTitle__? Se us eliminarà de totes les fitxes d'aquest tauler.",
"leaveBoardPopup-title": "Abandonar Tauler?",
"link-card": "Enllaç a aquesta fitxa",
- "list-archive-cards": "Move all cards in this list to Archive",
+ "list-archive-cards": "Moure totes les fitxes en aquesta llista al Arxiu",
"list-archive-cards-pop": "This will remove all the cards in this list from the board. To view cards in Archive and bring them back to the board, click “Menu” > “Archive”.",
"list-move-cards": "Mou totes les fitxes d'aquesta llista",
"list-select-cards": "Selecciona totes les fitxes d'aquesta llista",
@@ -345,8 +361,8 @@
"muted-info": "No seràs notificat dels canvis en aquest tauler",
"my-boards": "Els meus taulers",
"name": "Nom",
- "no-archived-cards": "No cards in Archive.",
- "no-archived-lists": "No lists in Archive.",
+ "no-archived-cards": "No hi ha fitxes a l'arxiu.",
+ "no-archived-lists": "No hi ha llistes al arxiu.",
"no-archived-swimlanes": "No swimlanes in Archive.",
"no-results": "Sense resultats",
"normal": "Normal",
@@ -383,7 +399,7 @@
"restore": "Restaura",
"save": "Desa",
"search": "Cerca",
- "rules": "Rules",
+ "rules": "Regles",
"search-cards": "Cerca títols de fitxa i descripcions en aquest tauler",
"search-example": "Text que cercar?",
"select-color": "Selecciona color",
@@ -418,7 +434,7 @@
"title": "Títol",
"tracking": "En seguiment",
"tracking-info": "Seràs notificat per cada canvi a aquelles fitxes de les que n'eres creador o membre",
- "type": "Type",
+ "type": "Tipus",
"unassign-member": "Desassignar membre",
"unsaved-description": "Tens una descripció sense desar.",
"unwatch": "Suprimeix observació",
@@ -453,7 +469,7 @@
"smtp-tls-description": "Activa suport TLS pel servidor SMTP",
"smtp-host": "Servidor SMTP",
"smtp-port": "Port SMTP",
- "smtp-username": "Nom d'Usuari",
+ "smtp-username": "Nom d'usuari",
"smtp-password": "Contrasenya",
"smtp-tls": "Suport TLS",
"send-from": "De",
@@ -480,6 +496,7 @@
"OS_Totalmem": "Memòria total",
"OS_Type": "Tipus de SO",
"OS_Uptime": "Temps d'activitat",
+ "days": "days",
"hours": "hores",
"minutes": "minuts",
"seconds": "segons",
@@ -500,8 +517,9 @@
"card-end-on": "Ends on",
"editCardReceivedDatePopup-title": "Change received date",
"editCardEndDatePopup-title": "Change end date",
- "assigned-by": "Assigned By",
- "requested-by": "Requested By",
+ "setCardColor-title": "Set color",
+ "assigned-by": "Assignat Per",
+ "requested-by": "Demanat Per",
"board-delete-notice": "Deleting is permanent. You will lose all lists, cards and actions associated with this board.",
"delete-board-confirm-popup": "All lists, cards, labels, and activities will be deleted and you won't be able to recover the board contents. There is no undo.",
"boardDeletePopup-title": "Delete Board?",
@@ -532,12 +550,12 @@
"r-rule": "Rule",
"r-add-trigger": "Add trigger",
"r-add-action": "Add action",
- "r-board-rules": "Board rules",
+ "r-board-rules": "Regles del tauler",
"r-add-rule": "Add rule",
"r-view-rule": "View rule",
"r-delete-rule": "Delete rule",
"r-new-rule-name": "New rule title",
- "r-no-rules": "No rules",
+ "r-no-rules": "No hi han regles",
"r-when-a-card": "When a card",
"r-is": "is",
"r-is-moved": "is moved",
@@ -570,7 +588,7 @@
"r-top-of": "Top of",
"r-bottom-of": "Bottom of",
"r-its-list": "its list",
- "r-archive": "Move to Archive",
+ "r-archive": "Moure al arxiu",
"r-unarchive": "Restore from Archive",
"r-card": "card",
"r-add": "Afegeix",
@@ -578,6 +596,7 @@
"r-label": "label",
"r-member": "member",
"r-remove-all": "Remove all members from the card",
+ "r-set-color": "Set color to",
"r-checklist": "checklist",
"r-check-all": "Check all",
"r-uncheck-all": "Uncheck all",
diff --git a/i18n/cs.i18n.json b/i18n/cs.i18n.json
index e033d99c..7a6a7ba0 100644
--- a/i18n/cs.i18n.json
+++ b/i18n/cs.i18n.json
@@ -169,14 +169,30 @@
"close-board-pop": "You will be able to restore the board by clicking the “Archive” button from the home header.",
"color-black": "černá",
"color-blue": "modrá",
+ "color-crimson": "crimson",
+ "color-darkgreen": "darkgreen",
+ "color-gold": "gold",
+ "color-gray": "gray",
"color-green": "zelená",
+ "color-indigo": "indigo",
"color-lime": "světlezelená",
+ "color-magenta": "magenta",
+ "color-mistyrose": "mistyrose",
+ "color-navy": "navy",
"color-orange": "oranžová",
+ "color-paleturquoise": "paleturquoise",
+ "color-peachpuff": "peachpuff",
"color-pink": "růžová",
+ "color-plum": "plum",
"color-purple": "fialová",
"color-red": "červená",
+ "color-saddlebrown": "saddlebrown",
+ "color-silver": "silver",
"color-sky": "nebeská",
+ "color-slateblue": "slateblue",
+ "color-white": "white",
"color-yellow": "žlutá",
+ "unset-color": "Unset",
"comment": "Komentář",
"comment-placeholder": "Text komentáře",
"comment-only": "Pouze komentáře",
@@ -480,6 +496,7 @@
"OS_Totalmem": "OS Celková paměť",
"OS_Type": "Typ OS",
"OS_Uptime": "OS Doba běhu systému",
+ "days": "days",
"hours": "hodin",
"minutes": "minut",
"seconds": "sekund",
@@ -500,6 +517,7 @@
"card-end-on": "Končí v",
"editCardReceivedDatePopup-title": "Změnit datum přijetí",
"editCardEndDatePopup-title": "Změnit datum konce",
+ "setCardColor-title": "Set color",
"assigned-by": "Přidělil(a)",
"requested-by": "Vyžádal(a)",
"board-delete-notice": "Smazání je trvalé. Přijdete o všechny sloupce, karty a akce spojené s tímto tablem.",
@@ -578,6 +596,7 @@
"r-label": "štítek",
"r-member": "člen",
"r-remove-all": "Odstranit všechny členy z této karty",
+ "r-set-color": "Set color to",
"r-checklist": "zaškrtávací seznam",
"r-check-all": "Zaškrtnout vše",
"r-uncheck-all": "Odškrtnout vše",
diff --git a/i18n/da.i18n.json b/i18n/da.i18n.json
index d19fd2e7..7ba182e0 100644
--- a/i18n/da.i18n.json
+++ b/i18n/da.i18n.json
@@ -169,14 +169,30 @@
"close-board-pop": "You will be able to restore the board by clicking the “Archive” button from the home header.",
"color-black": "black",
"color-blue": "blue",
+ "color-crimson": "crimson",
+ "color-darkgreen": "darkgreen",
+ "color-gold": "gold",
+ "color-gray": "gray",
"color-green": "green",
+ "color-indigo": "indigo",
"color-lime": "lime",
+ "color-magenta": "magenta",
+ "color-mistyrose": "mistyrose",
+ "color-navy": "navy",
"color-orange": "orange",
+ "color-paleturquoise": "paleturquoise",
+ "color-peachpuff": "peachpuff",
"color-pink": "pink",
+ "color-plum": "plum",
"color-purple": "purple",
"color-red": "red",
+ "color-saddlebrown": "saddlebrown",
+ "color-silver": "silver",
"color-sky": "sky",
+ "color-slateblue": "slateblue",
+ "color-white": "white",
"color-yellow": "yellow",
+ "unset-color": "Unset",
"comment": "Comment",
"comment-placeholder": "Write Comment",
"comment-only": "Comment only",
@@ -480,6 +496,7 @@
"OS_Totalmem": "OS Total Memory",
"OS_Type": "OS Type",
"OS_Uptime": "OS Uptime",
+ "days": "days",
"hours": "hours",
"minutes": "minutes",
"seconds": "seconds",
@@ -500,6 +517,7 @@
"card-end-on": "Ends on",
"editCardReceivedDatePopup-title": "Change received date",
"editCardEndDatePopup-title": "Change end date",
+ "setCardColor-title": "Set color",
"assigned-by": "Assigned By",
"requested-by": "Requested By",
"board-delete-notice": "Deleting is permanent. You will lose all lists, cards and actions associated with this board.",
@@ -578,6 +596,7 @@
"r-label": "label",
"r-member": "member",
"r-remove-all": "Remove all members from the card",
+ "r-set-color": "Set color to",
"r-checklist": "checklist",
"r-check-all": "Check all",
"r-uncheck-all": "Uncheck all",
diff --git a/i18n/de.i18n.json b/i18n/de.i18n.json
index bcb71d98..0c155e55 100644
--- a/i18n/de.i18n.json
+++ b/i18n/de.i18n.json
@@ -169,14 +169,30 @@
"close-board-pop": "Sie können das Board wiederherstellen, indem Sie die Schaltfläche \"Archiv\" in der Kopfzeile der Startseite anklicken.",
"color-black": "schwarz",
"color-blue": "blau",
+ "color-crimson": "crimson",
+ "color-darkgreen": "darkgreen",
+ "color-gold": "gold",
+ "color-gray": "gray",
"color-green": "grün",
+ "color-indigo": "indigo",
"color-lime": "hellgrün",
+ "color-magenta": "magenta",
+ "color-mistyrose": "mistyrose",
+ "color-navy": "navy",
"color-orange": "orange",
+ "color-paleturquoise": "paleturquoise",
+ "color-peachpuff": "peachpuff",
"color-pink": "pink",
+ "color-plum": "plum",
"color-purple": "lila",
"color-red": "rot",
+ "color-saddlebrown": "saddlebrown",
+ "color-silver": "silver",
"color-sky": "himmelblau",
+ "color-slateblue": "slateblue",
+ "color-white": "white",
"color-yellow": "gelb",
+ "unset-color": "Unset",
"comment": "Kommentar",
"comment-placeholder": "Kommentar schreiben",
"comment-only": "Nur Kommentare",
@@ -480,6 +496,7 @@
"OS_Totalmem": "Gesamter Arbeitsspeicher",
"OS_Type": "Typ des Betriebssystems",
"OS_Uptime": "Laufzeit des Systems",
+ "days": "Tage",
"hours": "Stunden",
"minutes": "Minuten",
"seconds": "Sekunden",
@@ -500,6 +517,7 @@
"card-end-on": "Endet am",
"editCardReceivedDatePopup-title": "Empfangsdatum ändern",
"editCardEndDatePopup-title": "Enddatum ändern",
+ "setCardColor-title": "Set color",
"assigned-by": "Zugewiesen von",
"requested-by": "Angefordert von",
"board-delete-notice": "Löschen kann nicht rückgängig gemacht werden. Sie werden alle Listen, Karten und Aktionen, die mit diesem Board verbunden sind, verlieren.",
@@ -578,6 +596,7 @@
"r-label": "Label",
"r-member": "Mitglied",
"r-remove-all": "Entferne alle Mitglieder von der Karte",
+ "r-set-color": "Set color to",
"r-checklist": "Checkliste",
"r-check-all": "Alle markieren",
"r-uncheck-all": "Alle abwählen",
diff --git a/i18n/el.i18n.json b/i18n/el.i18n.json
index 5a9558bd..84197b5d 100644
--- a/i18n/el.i18n.json
+++ b/i18n/el.i18n.json
@@ -169,14 +169,30 @@
"close-board-pop": "You will be able to restore the board by clicking the “Archive” button from the home header.",
"color-black": "μαύρο",
"color-blue": "μπλε",
+ "color-crimson": "crimson",
+ "color-darkgreen": "darkgreen",
+ "color-gold": "gold",
+ "color-gray": "gray",
"color-green": "πράσινο",
+ "color-indigo": "indigo",
"color-lime": "λάιμ",
+ "color-magenta": "magenta",
+ "color-mistyrose": "mistyrose",
+ "color-navy": "navy",
"color-orange": "πορτοκαλί",
+ "color-paleturquoise": "paleturquoise",
+ "color-peachpuff": "peachpuff",
"color-pink": "ροζ",
+ "color-plum": "plum",
"color-purple": "μωβ",
"color-red": "κόκκινο",
+ "color-saddlebrown": "saddlebrown",
+ "color-silver": "silver",
"color-sky": "ουρανός",
+ "color-slateblue": "slateblue",
+ "color-white": "white",
"color-yellow": "κίτρινο",
+ "unset-color": "Unset",
"comment": "Comment",
"comment-placeholder": "Write Comment",
"comment-only": "Comment only",
@@ -480,6 +496,7 @@
"OS_Totalmem": "OS Total Memory",
"OS_Type": "OS Type",
"OS_Uptime": "OS Uptime",
+ "days": "days",
"hours": "ώρες",
"minutes": "λεπτά",
"seconds": "δευτερόλεπτα",
@@ -500,6 +517,7 @@
"card-end-on": "Ends on",
"editCardReceivedDatePopup-title": "Change received date",
"editCardEndDatePopup-title": "Change end date",
+ "setCardColor-title": "Set color",
"assigned-by": "Assigned By",
"requested-by": "Requested By",
"board-delete-notice": "Deleting is permanent. You will lose all lists, cards and actions associated with this board.",
@@ -578,6 +596,7 @@
"r-label": "label",
"r-member": "member",
"r-remove-all": "Remove all members from the card",
+ "r-set-color": "Set color to",
"r-checklist": "checklist",
"r-check-all": "Check all",
"r-uncheck-all": "Uncheck all",
diff --git a/i18n/en-GB.i18n.json b/i18n/en-GB.i18n.json
index a2e32365..0f38a3da 100644
--- a/i18n/en-GB.i18n.json
+++ b/i18n/en-GB.i18n.json
@@ -169,14 +169,30 @@
"close-board-pop": "You will be able to restore the board by clicking the “Archive” button from the home header.",
"color-black": "black",
"color-blue": "blue",
+ "color-crimson": "crimson",
+ "color-darkgreen": "darkgreen",
+ "color-gold": "gold",
+ "color-gray": "gray",
"color-green": "green",
+ "color-indigo": "indigo",
"color-lime": "lime",
+ "color-magenta": "magenta",
+ "color-mistyrose": "mistyrose",
+ "color-navy": "navy",
"color-orange": "orange",
+ "color-paleturquoise": "paleturquoise",
+ "color-peachpuff": "peachpuff",
"color-pink": "pink",
+ "color-plum": "plum",
"color-purple": "purple",
"color-red": "red",
+ "color-saddlebrown": "saddlebrown",
+ "color-silver": "silver",
"color-sky": "sky",
+ "color-slateblue": "slateblue",
+ "color-white": "white",
"color-yellow": "yellow",
+ "unset-color": "Unset",
"comment": "Comment",
"comment-placeholder": "Write Comment",
"comment-only": "Comment only",
@@ -480,6 +496,7 @@
"OS_Totalmem": "OS Total Memory",
"OS_Type": "OS Type",
"OS_Uptime": "OS Uptime",
+ "days": "days",
"hours": "hours",
"minutes": "minutes",
"seconds": "seconds",
@@ -500,6 +517,7 @@
"card-end-on": "Ends on",
"editCardReceivedDatePopup-title": "Change received date",
"editCardEndDatePopup-title": "Change end date",
+ "setCardColor-title": "Set color",
"assigned-by": "Assigned By",
"requested-by": "Requested By",
"board-delete-notice": "Deleting is permanent. You will lose all lists, cards and actions associated with this board.",
@@ -578,6 +596,7 @@
"r-label": "label",
"r-member": "member",
"r-remove-all": "Remove all members from the card",
+ "r-set-color": "Set color to",
"r-checklist": "checklist",
"r-check-all": "Check all",
"r-uncheck-all": "Uncheck all",
diff --git a/i18n/en.i18n.json b/i18n/en.i18n.json
index 5e21f767..7097af7d 100644
--- a/i18n/en.i18n.json
+++ b/i18n/en.i18n.json
@@ -169,14 +169,30 @@
"close-board-pop": "You will be able to restore the board by clicking the “Archive” button from the home header.",
"color-black": "black",
"color-blue": "blue",
+ "color-crimson": "crimson",
+ "color-darkgreen": "darkgreen",
+ "color-gold": "gold",
+ "color-gray": "gray",
"color-green": "green",
+ "color-indigo": "indigo",
"color-lime": "lime",
+ "color-magenta": "magenta",
+ "color-mistyrose": "mistyrose",
+ "color-navy": "navy",
"color-orange": "orange",
+ "color-paleturquoise": "paleturquoise",
+ "color-peachpuff": "peachpuff",
"color-pink": "pink",
+ "color-plum": "plum",
"color-purple": "purple",
"color-red": "red",
+ "color-saddlebrown": "saddlebrown",
+ "color-silver": "silver",
"color-sky": "sky",
+ "color-slateblue": "slateblue",
+ "color-white": "white",
"color-yellow": "yellow",
+ "unset-color": "Unset",
"comment": "Comment",
"comment-placeholder": "Write Comment",
"comment-only": "Comment only",
@@ -480,6 +496,7 @@
"OS_Totalmem": "OS Total Memory",
"OS_Type": "OS Type",
"OS_Uptime": "OS Uptime",
+ "days": "days",
"hours": "hours",
"minutes": "minutes",
"seconds": "seconds",
@@ -500,6 +517,7 @@
"card-end-on": "Ends on",
"editCardReceivedDatePopup-title": "Change received date",
"editCardEndDatePopup-title": "Change end date",
+ "setCardColor-title": "Set color",
"assigned-by": "Assigned By",
"requested-by": "Requested By",
"board-delete-notice": "Deleting is permanent. You will lose all lists, cards and actions associated with this board.",
@@ -580,6 +598,7 @@
"r-label": "label",
"r-member": "member",
"r-remove-all": "Remove all members from the card",
+ "r-set-color": "Set color to",
"r-checklist": "checklist",
"r-check-all": "Check all",
"r-uncheck-all": "Uncheck all",
diff --git a/i18n/eo.i18n.json b/i18n/eo.i18n.json
index fc418b11..236aec5a 100644
--- a/i18n/eo.i18n.json
+++ b/i18n/eo.i18n.json
@@ -169,14 +169,30 @@
"close-board-pop": "You will be able to restore the board by clicking the “Archive” button from the home header.",
"color-black": "nigra",
"color-blue": "blua",
+ "color-crimson": "crimson",
+ "color-darkgreen": "darkgreen",
+ "color-gold": "gold",
+ "color-gray": "gray",
"color-green": "verda",
+ "color-indigo": "indigo",
"color-lime": "lime",
+ "color-magenta": "magenta",
+ "color-mistyrose": "mistyrose",
+ "color-navy": "navy",
"color-orange": "oranĝa",
+ "color-paleturquoise": "paleturquoise",
+ "color-peachpuff": "peachpuff",
"color-pink": "pink",
+ "color-plum": "plum",
"color-purple": "purple",
"color-red": "ruĝa",
+ "color-saddlebrown": "saddlebrown",
+ "color-silver": "silver",
"color-sky": "sky",
+ "color-slateblue": "slateblue",
+ "color-white": "white",
"color-yellow": "flava",
+ "unset-color": "Unset",
"comment": "Komento",
"comment-placeholder": "Write Comment",
"comment-only": "Comment only",
@@ -480,6 +496,7 @@
"OS_Totalmem": "OS Total Memory",
"OS_Type": "OS Type",
"OS_Uptime": "OS Uptime",
+ "days": "days",
"hours": "hours",
"minutes": "minutes",
"seconds": "seconds",
@@ -500,6 +517,7 @@
"card-end-on": "Ends on",
"editCardReceivedDatePopup-title": "Change received date",
"editCardEndDatePopup-title": "Change end date",
+ "setCardColor-title": "Set color",
"assigned-by": "Assigned By",
"requested-by": "Requested By",
"board-delete-notice": "Deleting is permanent. You will lose all lists, cards and actions associated with this board.",
@@ -578,6 +596,7 @@
"r-label": "label",
"r-member": "member",
"r-remove-all": "Remove all members from the card",
+ "r-set-color": "Set color to",
"r-checklist": "checklist",
"r-check-all": "Check all",
"r-uncheck-all": "Uncheck all",
diff --git a/i18n/es-AR.i18n.json b/i18n/es-AR.i18n.json
index fe9ba9a4..e7d7f132 100644
--- a/i18n/es-AR.i18n.json
+++ b/i18n/es-AR.i18n.json
@@ -169,14 +169,30 @@
"close-board-pop": "You will be able to restore the board by clicking the “Archive” button from the home header.",
"color-black": "negro",
"color-blue": "azul",
+ "color-crimson": "crimson",
+ "color-darkgreen": "darkgreen",
+ "color-gold": "gold",
+ "color-gray": "gray",
"color-green": "verde",
+ "color-indigo": "indigo",
"color-lime": "lima",
+ "color-magenta": "magenta",
+ "color-mistyrose": "mistyrose",
+ "color-navy": "navy",
"color-orange": "naranja",
+ "color-paleturquoise": "paleturquoise",
+ "color-peachpuff": "peachpuff",
"color-pink": "rosa",
+ "color-plum": "plum",
"color-purple": "púrpura",
"color-red": "rojo",
+ "color-saddlebrown": "saddlebrown",
+ "color-silver": "silver",
"color-sky": "cielo",
+ "color-slateblue": "slateblue",
+ "color-white": "white",
"color-yellow": "amarillo",
+ "unset-color": "Unset",
"comment": "Comentario",
"comment-placeholder": "Comentar",
"comment-only": "Comentar solamente",
@@ -480,6 +496,7 @@
"OS_Totalmem": "Memoria Total del SO",
"OS_Type": "Tipo de SO",
"OS_Uptime": "Tiempo encendido del SO",
+ "days": "days",
"hours": "horas",
"minutes": "minutos",
"seconds": "segundos",
@@ -500,6 +517,7 @@
"card-end-on": "Termina en",
"editCardReceivedDatePopup-title": "Cambiar fecha de recepción",
"editCardEndDatePopup-title": "Cambiar fecha de término",
+ "setCardColor-title": "Set color",
"assigned-by": "Assigned By",
"requested-by": "Requested By",
"board-delete-notice": "Deleting is permanent. You will lose all lists, cards and actions associated with this board.",
@@ -578,6 +596,7 @@
"r-label": "label",
"r-member": "member",
"r-remove-all": "Remove all members from the card",
+ "r-set-color": "Set color to",
"r-checklist": "checklist",
"r-check-all": "Check all",
"r-uncheck-all": "Uncheck all",
diff --git a/i18n/es.i18n.json b/i18n/es.i18n.json
index 3f254057..ac393ae3 100644
--- a/i18n/es.i18n.json
+++ b/i18n/es.i18n.json
@@ -169,14 +169,30 @@
"close-board-pop": "Podrás restaurar el tablero haciendo clic en el botón \"Archivo\" del encabezado de la pantalla inicial.",
"color-black": "negra",
"color-blue": "azul",
+ "color-crimson": "carmesí",
+ "color-darkgreen": "verde oscuro",
+ "color-gold": "oro",
+ "color-gray": "gris",
"color-green": "verde",
+ "color-indigo": "añil",
"color-lime": "lima",
+ "color-magenta": "magenta",
+ "color-mistyrose": "rosa claro",
+ "color-navy": "azul marino",
"color-orange": "naranja",
+ "color-paleturquoise": "turquesa",
+ "color-peachpuff": "melocotón",
"color-pink": "rosa",
+ "color-plum": "púrpura",
"color-purple": "violeta",
"color-red": "roja",
+ "color-saddlebrown": "marrón",
+ "color-silver": "plata",
"color-sky": "celeste",
+ "color-slateblue": "azul",
+ "color-white": "blanco",
"color-yellow": "amarilla",
+ "unset-color": "Unset",
"comment": "Comentar",
"comment-placeholder": "Escribir comentario",
"comment-only": "Sólo comentarios",
@@ -480,6 +496,7 @@
"OS_Totalmem": "Memoria Total del sistema",
"OS_Type": "Tipo de sistema",
"OS_Uptime": "Tiempo activo del sistema",
+ "days": "días",
"hours": "horas",
"minutes": "minutos",
"seconds": "segundos",
@@ -500,6 +517,7 @@
"card-end-on": "Finalizado el",
"editCardReceivedDatePopup-title": "Cambiar la fecha de recepción",
"editCardEndDatePopup-title": "Cambiar la fecha de finalización",
+ "setCardColor-title": "Cambiar color",
"assigned-by": "Asignado por",
"requested-by": "Solicitado por",
"board-delete-notice": "Se eliminarán todas las listas, tarjetas y acciones asociadas a este tablero. Esta acción no puede deshacerse.",
@@ -578,6 +596,7 @@
"r-label": "etiqueta",
"r-member": "miembro",
"r-remove-all": "Eliminar todos los miembros de la tarjeta",
+ "r-set-color": "Cambiar color a",
"r-checklist": "lista de verificación",
"r-check-all": "Marcar todo",
"r-uncheck-all": "Desmarcar todo",
diff --git a/i18n/eu.i18n.json b/i18n/eu.i18n.json
index b2314da7..e16ee3a1 100644
--- a/i18n/eu.i18n.json
+++ b/i18n/eu.i18n.json
@@ -169,14 +169,30 @@
"close-board-pop": "You will be able to restore the board by clicking the “Archive” button from the home header.",
"color-black": "beltza",
"color-blue": "urdina",
+ "color-crimson": "crimson",
+ "color-darkgreen": "darkgreen",
+ "color-gold": "gold",
+ "color-gray": "gray",
"color-green": "berdea",
+ "color-indigo": "indigo",
"color-lime": "lima",
+ "color-magenta": "magenta",
+ "color-mistyrose": "mistyrose",
+ "color-navy": "navy",
"color-orange": "laranja",
+ "color-paleturquoise": "paleturquoise",
+ "color-peachpuff": "peachpuff",
"color-pink": "larrosa",
+ "color-plum": "plum",
"color-purple": "purpura",
"color-red": "gorria",
+ "color-saddlebrown": "saddlebrown",
+ "color-silver": "silver",
"color-sky": "zerua",
+ "color-slateblue": "slateblue",
+ "color-white": "white",
"color-yellow": "horia",
+ "unset-color": "Unset",
"comment": "Iruzkina",
"comment-placeholder": "Idatzi iruzkin bat",
"comment-only": "Iruzkinak besterik ez",
@@ -480,6 +496,7 @@
"OS_Totalmem": "SE memoria guztira",
"OS_Type": "SE mota",
"OS_Uptime": "SE denbora abiatuta",
+ "days": "days",
"hours": "ordu",
"minutes": "minutu",
"seconds": "segundo",
@@ -500,6 +517,7 @@
"card-end-on": "Ends on",
"editCardReceivedDatePopup-title": "Change received date",
"editCardEndDatePopup-title": "Change end date",
+ "setCardColor-title": "Set color",
"assigned-by": "Assigned By",
"requested-by": "Requested By",
"board-delete-notice": "Deleting is permanent. You will lose all lists, cards and actions associated with this board.",
@@ -578,6 +596,7 @@
"r-label": "label",
"r-member": "member",
"r-remove-all": "Remove all members from the card",
+ "r-set-color": "Set color to",
"r-checklist": "checklist",
"r-check-all": "Check all",
"r-uncheck-all": "Uncheck all",
diff --git a/i18n/fa.i18n.json b/i18n/fa.i18n.json
index e0341907..fe43bf9a 100644
--- a/i18n/fa.i18n.json
+++ b/i18n/fa.i18n.json
@@ -169,14 +169,30 @@
"close-board-pop": "شما می توانید با کلیک کردن بر روی دکمه «بایگانی» از صفحه هدر، صفحه را بازگردانید.",
"color-black": "مشکی",
"color-blue": "آبی",
+ "color-crimson": "crimson",
+ "color-darkgreen": "darkgreen",
+ "color-gold": "gold",
+ "color-gray": "gray",
"color-green": "سبز",
+ "color-indigo": "indigo",
"color-lime": "لیمویی",
+ "color-magenta": "magenta",
+ "color-mistyrose": "mistyrose",
+ "color-navy": "navy",
"color-orange": "نارنجی",
+ "color-paleturquoise": "paleturquoise",
+ "color-peachpuff": "peachpuff",
"color-pink": "صورتی",
+ "color-plum": "plum",
"color-purple": "بنفش",
"color-red": "قرمز",
+ "color-saddlebrown": "saddlebrown",
+ "color-silver": "silver",
"color-sky": "آبی آسمانی",
+ "color-slateblue": "slateblue",
+ "color-white": "white",
"color-yellow": "زرد",
+ "unset-color": "Unset",
"comment": "نظر",
"comment-placeholder": "درج نظر",
"comment-only": "فقط نظر",
@@ -480,6 +496,7 @@
"OS_Totalmem": "OS Total Memory",
"OS_Type": "OS Type",
"OS_Uptime": "OS Uptime",
+ "days": "days",
"hours": "ساعت",
"minutes": "دقیقه",
"seconds": "ثانیه",
@@ -500,6 +517,7 @@
"card-end-on": "پایان در",
"editCardReceivedDatePopup-title": "تغییر تاریخ رسید",
"editCardEndDatePopup-title": "تغییر تاریخ پایان",
+ "setCardColor-title": "Set color",
"assigned-by": "محول شده توسط",
"requested-by": "تقاضا شده توسط",
"board-delete-notice": "حذف دائمی است شما تمام لیست ها، کارت ها و اقدامات مرتبط با این برد را از دست خواهید داد.",
@@ -578,6 +596,7 @@
"r-label": "برچسب",
"r-member": "عضو",
"r-remove-all": "حذف همه کاربران از کارت",
+ "r-set-color": "Set color to",
"r-checklist": "چک لیست",
"r-check-all": "انتخاب همه",
"r-uncheck-all": "لغو انتخاب همه",
diff --git a/i18n/fi.i18n.json b/i18n/fi.i18n.json
index a5090959..5f3db02d 100644
--- a/i18n/fi.i18n.json
+++ b/i18n/fi.i18n.json
@@ -169,14 +169,30 @@
"close-board-pop": "Voit palauttaa taulun klikkaamalla “Arkisto” painiketta taululistan yläpalkista.",
"color-black": "musta",
"color-blue": "sininen",
+ "color-crimson": "karmiininpunainen",
+ "color-darkgreen": "tummanvihreä",
+ "color-gold": "kulta",
+ "color-gray": "harmaa",
"color-green": "vihreä",
+ "color-indigo": "syvän sininen",
"color-lime": "lime",
+ "color-magenta": "magenta",
+ "color-mistyrose": "vaaleanpunainen ruusu",
+ "color-navy": "laivastonsininen",
"color-orange": "oranssi",
+ "color-paleturquoise": "vaalean turkoosi",
+ "color-peachpuff": "persikanpunainen",
"color-pink": "vaaleanpunainen",
+ "color-plum": "luumunvärinen",
"color-purple": "violetti",
"color-red": "punainen",
+ "color-saddlebrown": "satulanruskea",
+ "color-silver": "hopea",
"color-sky": "taivas",
+ "color-slateblue": "liuskekivi sininen",
+ "color-white": "valkoinen",
"color-yellow": "keltainen",
+ "unset-color": "Peru väri",
"comment": "Kommentti",
"comment-placeholder": "Kirjoita kommentti",
"comment-only": "Vain kommentointi",
@@ -480,6 +496,7 @@
"OS_Totalmem": "Käyttöjärjestelmän muistin kokonaismäärä",
"OS_Type": "Käyttöjärjestelmän tyyppi",
"OS_Uptime": "Käyttöjärjestelmä ollut käynnissä",
+ "days": "päivää",
"hours": "tuntia",
"minutes": "minuuttia",
"seconds": "sekuntia",
@@ -500,6 +517,7 @@
"card-end-on": "Loppuu",
"editCardReceivedDatePopup-title": "Vaihda vastaanottamispäivää",
"editCardEndDatePopup-title": "Vaihda loppumispäivää",
+ "setCardColor-title": "Aseta väri",
"assigned-by": "Tehtävänantaja",
"requested-by": "Pyytäjä",
"board-delete-notice": "Poistaminen on lopullista. Menetät kaikki listat, kortit ja toimet tällä taululla.",
@@ -578,6 +596,7 @@
"r-label": "tunniste",
"r-member": "jäsen",
"r-remove-all": "Poista kaikki jäsenet kortilta",
+ "r-set-color": "Aseta väriksi",
"r-checklist": "tarkistuslista",
"r-check-all": "Ruksaa kaikki",
"r-uncheck-all": "Poista ruksi kaikista",
diff --git a/i18n/fr.i18n.json b/i18n/fr.i18n.json
index ea5f5add..040e34f8 100644
--- a/i18n/fr.i18n.json
+++ b/i18n/fr.i18n.json
@@ -169,14 +169,30 @@
"close-board-pop": "Vous pouvez restaurer le tableau en cliquant sur le bouton « Archives » depuis le menu en entête.",
"color-black": "noir",
"color-blue": "bleu",
+ "color-crimson": "rouge cramoisi",
+ "color-darkgreen": "vert foncé",
+ "color-gold": "or",
+ "color-gray": "gris",
"color-green": "vert",
+ "color-indigo": "indigo",
"color-lime": "citron vert",
+ "color-magenta": "magenta",
+ "color-mistyrose": "rose brumeux",
+ "color-navy": "bleu marin",
"color-orange": "orange",
+ "color-paleturquoise": "azurin",
+ "color-peachpuff": "beige pêche",
"color-pink": "rose",
+ "color-plum": "prune",
"color-purple": "violet",
"color-red": "rouge",
+ "color-saddlebrown": "brun cuir",
+ "color-silver": "argent",
"color-sky": "ciel",
+ "color-slateblue": "bleu ardoise",
+ "color-white": "blanc",
"color-yellow": "jaune",
+ "unset-color": "Unset",
"comment": "Commenter",
"comment-placeholder": "Écrire un commentaire",
"comment-only": "Commentaire uniquement",
@@ -480,6 +496,7 @@
"OS_Totalmem": "OS Mémoire totale",
"OS_Type": "Type d'OS",
"OS_Uptime": "OS Durée de fonctionnement",
+ "days": "jours",
"hours": "heures",
"minutes": "minutes",
"seconds": "secondes",
@@ -500,6 +517,7 @@
"card-end-on": "Se termine le",
"editCardReceivedDatePopup-title": "Modifier la date de réception",
"editCardEndDatePopup-title": "Modifier la date de fin",
+ "setCardColor-title": "Définir la couleur",
"assigned-by": "Assigné par",
"requested-by": "Demandé par",
"board-delete-notice": "La suppression est définitive. Vous perdrez toutes les listes, cartes et actions associées à ce tableau.",
@@ -578,6 +596,7 @@
"r-label": "étiquette",
"r-member": "membre",
"r-remove-all": "Supprimer tous les membres de la carte",
+ "r-set-color": "Définir la couleur à",
"r-checklist": "checklist",
"r-check-all": "Tout cocher",
"r-uncheck-all": "Tout décocher",
diff --git a/i18n/gl.i18n.json b/i18n/gl.i18n.json
index 746133a8..de4208ca 100644
--- a/i18n/gl.i18n.json
+++ b/i18n/gl.i18n.json
@@ -169,14 +169,30 @@
"close-board-pop": "You will be able to restore the board by clicking the “Archive” button from the home header.",
"color-black": "negro",
"color-blue": "azul",
+ "color-crimson": "crimson",
+ "color-darkgreen": "darkgreen",
+ "color-gold": "gold",
+ "color-gray": "gray",
"color-green": "verde",
+ "color-indigo": "indigo",
"color-lime": "lime",
+ "color-magenta": "magenta",
+ "color-mistyrose": "mistyrose",
+ "color-navy": "navy",
"color-orange": "laranxa",
+ "color-paleturquoise": "paleturquoise",
+ "color-peachpuff": "peachpuff",
"color-pink": "rosa",
+ "color-plum": "plum",
"color-purple": "purple",
"color-red": "vermello",
+ "color-saddlebrown": "saddlebrown",
+ "color-silver": "silver",
"color-sky": "celeste",
+ "color-slateblue": "slateblue",
+ "color-white": "white",
"color-yellow": "amarelo",
+ "unset-color": "Unset",
"comment": "Comentario",
"comment-placeholder": "Escribir un comentario",
"comment-only": "Comment only",
@@ -480,6 +496,7 @@
"OS_Totalmem": "OS Total Memory",
"OS_Type": "OS Type",
"OS_Uptime": "OS Uptime",
+ "days": "days",
"hours": "hours",
"minutes": "minutes",
"seconds": "seconds",
@@ -500,6 +517,7 @@
"card-end-on": "Ends on",
"editCardReceivedDatePopup-title": "Change received date",
"editCardEndDatePopup-title": "Change end date",
+ "setCardColor-title": "Set color",
"assigned-by": "Assigned By",
"requested-by": "Requested By",
"board-delete-notice": "Deleting is permanent. You will lose all lists, cards and actions associated with this board.",
@@ -578,6 +596,7 @@
"r-label": "label",
"r-member": "member",
"r-remove-all": "Remove all members from the card",
+ "r-set-color": "Set color to",
"r-checklist": "checklist",
"r-check-all": "Check all",
"r-uncheck-all": "Uncheck all",
diff --git a/i18n/he.i18n.json b/i18n/he.i18n.json
index e9abdf15..771d36ad 100644
--- a/i18n/he.i18n.json
+++ b/i18n/he.i18n.json
@@ -169,14 +169,30 @@
"close-board-pop": "ניתן לשחזר את הלוח בלחיצה על כפתור „ארכיונים“ מהכותרת העליונה.",
"color-black": "שחור",
"color-blue": "כחול",
+ "color-crimson": "שני",
+ "color-darkgreen": "ירוק כהה",
+ "color-gold": "זהב",
+ "color-gray": "אפור",
"color-green": "ירוק",
+ "color-indigo": "אינדיגו",
"color-lime": "ליים",
+ "color-magenta": "ארגמן",
+ "color-mistyrose": "ורד",
+ "color-navy": "כחול כהה",
"color-orange": "כתום",
+ "color-paleturquoise": "טורקיז חיוור",
+ "color-peachpuff": "נשיפת אפרסק",
"color-pink": "ורוד",
+ "color-plum": "שזיף",
"color-purple": "סגול",
"color-red": "אדום",
+ "color-saddlebrown": "saddlebrown",
+ "color-silver": "כסף",
"color-sky": "תכלת",
+ "color-slateblue": "slateblue",
+ "color-white": "לבן",
"color-yellow": "צהוב",
+ "unset-color": "בטל הגדרה",
"comment": "לפרסם",
"comment-placeholder": "כתיבת הערה",
"comment-only": "תגובה בלבד",
@@ -480,6 +496,7 @@
"OS_Totalmem": "סך כל הזיכרון (RAM)",
"OS_Type": "סוג מערכת ההפעלה",
"OS_Uptime": "זמן שעבר מאז האתחול האחרון",
+ "days": "ימים",
"hours": "שעות",
"minutes": "דקות",
"seconds": "שניות",
@@ -500,6 +517,7 @@
"card-end-on": "מועד הסיום",
"editCardReceivedDatePopup-title": "החלפת מועד הקבלה",
"editCardEndDatePopup-title": "החלפת מועד הסיום",
+ "setCardColor-title": "הגדרת צבע",
"assigned-by": "הוקצה על ידי",
"requested-by": "התבקש על ידי",
"board-delete-notice": "מחיקה היא לצמיתות. כל הרשימות, הכרטיבים והפעולות שקשורים בלוח הזה ילכו לאיבוד.",
@@ -578,6 +596,7 @@
"r-label": "תווית",
"r-member": "חבר",
"r-remove-all": "הסרת כל החברים מהכרטיס",
+ "r-set-color": "הגדרת צבע לכדי",
"r-checklist": "רשימת משימות",
"r-check-all": "לסמן הכול",
"r-uncheck-all": "לבטל את הסימון",
diff --git a/i18n/hi.i18n.json b/i18n/hi.i18n.json
index 165ccca9..d1d623d5 100644
--- a/i18n/hi.i18n.json
+++ b/i18n/hi.i18n.json
@@ -169,14 +169,30 @@
"close-board-pop": "You will be able to restore the board by clicking the “Archive” button from the home header.",
"color-black": "काला",
"color-blue": "नीला",
+ "color-crimson": "crimson",
+ "color-darkgreen": "darkgreen",
+ "color-gold": "gold",
+ "color-gray": "gray",
"color-green": "हरा",
+ "color-indigo": "indigo",
"color-lime": "हल्का हरा",
+ "color-magenta": "magenta",
+ "color-mistyrose": "mistyrose",
+ "color-navy": "navy",
"color-orange": "नारंगी",
+ "color-paleturquoise": "paleturquoise",
+ "color-peachpuff": "peachpuff",
"color-pink": "गुलाबी",
+ "color-plum": "plum",
"color-purple": "बैंगनी",
"color-red": "लाल",
+ "color-saddlebrown": "saddlebrown",
+ "color-silver": "silver",
"color-sky": "आकाशिया नीला",
+ "color-slateblue": "slateblue",
+ "color-white": "white",
"color-yellow": "पीला",
+ "unset-color": "Unset",
"comment": "टिप्पणी",
"comment-placeholder": "टिप्पणी लिखें",
"comment-only": "केवल टिप्पणी करें",
@@ -480,6 +496,7 @@
"OS_Totalmem": "OS Total Memory",
"OS_Type": "OS Type",
"OS_Uptime": "OS Uptime",
+ "days": "days",
"hours": "hours",
"minutes": "minutes",
"seconds": "seconds",
@@ -500,6 +517,7 @@
"card-end-on": "Ends on",
"editCardReceivedDatePopup-title": "Change received date",
"editCardEndDatePopup-title": "Change end date",
+ "setCardColor-title": "Set color",
"assigned-by": "Assigned By",
"requested-by": "Requested By",
"board-delete-notice": "Deleting is permanent. You will lose संपूर्ण lists, कार्ड और actions associated साथ में यह बोर्ड.",
@@ -578,6 +596,7 @@
"r-label": "label",
"r-member": "member",
"r-remove-all": "हटाएँ संपूर्ण सदस्य से the कार्ड",
+ "r-set-color": "Set color to",
"r-checklist": "checklist",
"r-check-all": "Check all",
"r-uncheck-all": "Uncheck all",
diff --git a/i18n/hu.i18n.json b/i18n/hu.i18n.json
index f04eaf03..b960968c 100644
--- a/i18n/hu.i18n.json
+++ b/i18n/hu.i18n.json
@@ -169,14 +169,30 @@
"close-board-pop": "You will be able to restore the board by clicking the “Archive” button from the home header.",
"color-black": "fekete",
"color-blue": "kék",
+ "color-crimson": "crimson",
+ "color-darkgreen": "darkgreen",
+ "color-gold": "gold",
+ "color-gray": "gray",
"color-green": "zöld",
+ "color-indigo": "indigo",
"color-lime": "citrus",
+ "color-magenta": "magenta",
+ "color-mistyrose": "mistyrose",
+ "color-navy": "navy",
"color-orange": "narancssárga",
+ "color-paleturquoise": "paleturquoise",
+ "color-peachpuff": "peachpuff",
"color-pink": "rózsaszín",
+ "color-plum": "plum",
"color-purple": "lila",
"color-red": "piros",
+ "color-saddlebrown": "saddlebrown",
+ "color-silver": "silver",
"color-sky": "égszínkék",
+ "color-slateblue": "slateblue",
+ "color-white": "white",
"color-yellow": "sárga",
+ "unset-color": "Unset",
"comment": "Megjegyzés",
"comment-placeholder": "Megjegyzés írása",
"comment-only": "Csak megjegyzés",
@@ -480,6 +496,7 @@
"OS_Totalmem": "Operációs rendszer összes memóriája",
"OS_Type": "Operációs rendszer típusa",
"OS_Uptime": "Operációs rendszer üzemideje",
+ "days": "days",
"hours": "óra",
"minutes": "perc",
"seconds": "másodperc",
@@ -500,6 +517,7 @@
"card-end-on": "Befejeződik ekkor",
"editCardReceivedDatePopup-title": "Érkezési dátum megváltoztatása",
"editCardEndDatePopup-title": "Befejezési dátum megváltoztatása",
+ "setCardColor-title": "Set color",
"assigned-by": "Assigned By",
"requested-by": "Requested By",
"board-delete-notice": "Deleting is permanent. You will lose all lists, cards and actions associated with this board.",
@@ -578,6 +596,7 @@
"r-label": "label",
"r-member": "member",
"r-remove-all": "Remove all members from the card",
+ "r-set-color": "Set color to",
"r-checklist": "checklist",
"r-check-all": "Check all",
"r-uncheck-all": "Uncheck all",
diff --git a/i18n/hy.i18n.json b/i18n/hy.i18n.json
index 6c48bcfa..5c6639bf 100644
--- a/i18n/hy.i18n.json
+++ b/i18n/hy.i18n.json
@@ -169,14 +169,30 @@
"close-board-pop": "You will be able to restore the board by clicking the “Archive” button from the home header.",
"color-black": "black",
"color-blue": "blue",
+ "color-crimson": "crimson",
+ "color-darkgreen": "darkgreen",
+ "color-gold": "gold",
+ "color-gray": "gray",
"color-green": "green",
+ "color-indigo": "indigo",
"color-lime": "lime",
+ "color-magenta": "magenta",
+ "color-mistyrose": "mistyrose",
+ "color-navy": "navy",
"color-orange": "orange",
+ "color-paleturquoise": "paleturquoise",
+ "color-peachpuff": "peachpuff",
"color-pink": "pink",
+ "color-plum": "plum",
"color-purple": "purple",
"color-red": "red",
+ "color-saddlebrown": "saddlebrown",
+ "color-silver": "silver",
"color-sky": "sky",
+ "color-slateblue": "slateblue",
+ "color-white": "white",
"color-yellow": "yellow",
+ "unset-color": "Unset",
"comment": "Comment",
"comment-placeholder": "Write Comment",
"comment-only": "Comment only",
@@ -480,6 +496,7 @@
"OS_Totalmem": "OS Total Memory",
"OS_Type": "OS Type",
"OS_Uptime": "OS Uptime",
+ "days": "days",
"hours": "hours",
"minutes": "minutes",
"seconds": "seconds",
@@ -500,6 +517,7 @@
"card-end-on": "Ends on",
"editCardReceivedDatePopup-title": "Change received date",
"editCardEndDatePopup-title": "Change end date",
+ "setCardColor-title": "Set color",
"assigned-by": "Assigned By",
"requested-by": "Requested By",
"board-delete-notice": "Deleting is permanent. You will lose all lists, cards and actions associated with this board.",
@@ -578,6 +596,7 @@
"r-label": "label",
"r-member": "member",
"r-remove-all": "Remove all members from the card",
+ "r-set-color": "Set color to",
"r-checklist": "checklist",
"r-check-all": "Check all",
"r-uncheck-all": "Uncheck all",
diff --git a/i18n/id.i18n.json b/i18n/id.i18n.json
index c7788f93..06d05573 100644
--- a/i18n/id.i18n.json
+++ b/i18n/id.i18n.json
@@ -169,14 +169,30 @@
"close-board-pop": "You will be able to restore the board by clicking the “Archive” button from the home header.",
"color-black": "hitam",
"color-blue": "biru",
+ "color-crimson": "crimson",
+ "color-darkgreen": "darkgreen",
+ "color-gold": "gold",
+ "color-gray": "gray",
"color-green": "hijau",
+ "color-indigo": "indigo",
"color-lime": "hijau muda",
+ "color-magenta": "magenta",
+ "color-mistyrose": "mistyrose",
+ "color-navy": "navy",
"color-orange": "jingga",
+ "color-paleturquoise": "paleturquoise",
+ "color-peachpuff": "peachpuff",
"color-pink": "merah muda",
+ "color-plum": "plum",
"color-purple": "ungu",
"color-red": "merah",
+ "color-saddlebrown": "saddlebrown",
+ "color-silver": "silver",
"color-sky": "biru muda",
+ "color-slateblue": "slateblue",
+ "color-white": "white",
"color-yellow": "kuning",
+ "unset-color": "Unset",
"comment": "Komentar",
"comment-placeholder": "Write Comment",
"comment-only": "Hanya komentar",
@@ -480,6 +496,7 @@
"OS_Totalmem": "OS Total Memory",
"OS_Type": "OS Type",
"OS_Uptime": "OS Uptime",
+ "days": "days",
"hours": "hours",
"minutes": "minutes",
"seconds": "seconds",
@@ -500,6 +517,7 @@
"card-end-on": "Ends on",
"editCardReceivedDatePopup-title": "Change received date",
"editCardEndDatePopup-title": "Change end date",
+ "setCardColor-title": "Set color",
"assigned-by": "Assigned By",
"requested-by": "Requested By",
"board-delete-notice": "Deleting is permanent. You will lose all lists, cards and actions associated with this board.",
@@ -578,6 +596,7 @@
"r-label": "label",
"r-member": "member",
"r-remove-all": "Remove all members from the card",
+ "r-set-color": "Set color to",
"r-checklist": "checklist",
"r-check-all": "Check all",
"r-uncheck-all": "Uncheck all",
diff --git a/i18n/ig.i18n.json b/i18n/ig.i18n.json
index 3e1298b0..122f99ba 100644
--- a/i18n/ig.i18n.json
+++ b/i18n/ig.i18n.json
@@ -169,14 +169,30 @@
"close-board-pop": "You will be able to restore the board by clicking the “Archive” button from the home header.",
"color-black": "black",
"color-blue": "blue",
+ "color-crimson": "crimson",
+ "color-darkgreen": "darkgreen",
+ "color-gold": "gold",
+ "color-gray": "gray",
"color-green": "green",
+ "color-indigo": "indigo",
"color-lime": "lime",
+ "color-magenta": "magenta",
+ "color-mistyrose": "mistyrose",
+ "color-navy": "navy",
"color-orange": "orange",
+ "color-paleturquoise": "paleturquoise",
+ "color-peachpuff": "peachpuff",
"color-pink": "pink",
+ "color-plum": "plum",
"color-purple": "purple",
"color-red": "red",
+ "color-saddlebrown": "saddlebrown",
+ "color-silver": "silver",
"color-sky": "sky",
+ "color-slateblue": "slateblue",
+ "color-white": "white",
"color-yellow": "yellow",
+ "unset-color": "Unset",
"comment": "Comment",
"comment-placeholder": "Write Comment",
"comment-only": "Comment only",
@@ -480,6 +496,7 @@
"OS_Totalmem": "OS Total Memory",
"OS_Type": "OS Type",
"OS_Uptime": "OS Uptime",
+ "days": "days",
"hours": "elekere",
"minutes": "nkeji",
"seconds": "seconds",
@@ -500,6 +517,7 @@
"card-end-on": "Ends on",
"editCardReceivedDatePopup-title": "Change received date",
"editCardEndDatePopup-title": "Change end date",
+ "setCardColor-title": "Set color",
"assigned-by": "Assigned By",
"requested-by": "Requested By",
"board-delete-notice": "Deleting is permanent. You will lose all lists, cards and actions associated with this board.",
@@ -578,6 +596,7 @@
"r-label": "label",
"r-member": "member",
"r-remove-all": "Remove all members from the card",
+ "r-set-color": "Set color to",
"r-checklist": "checklist",
"r-check-all": "Check all",
"r-uncheck-all": "Uncheck all",
diff --git a/i18n/it.i18n.json b/i18n/it.i18n.json
index 1feffb8b..fabc94b1 100644
--- a/i18n/it.i18n.json
+++ b/i18n/it.i18n.json
@@ -169,14 +169,30 @@
"close-board-pop": "You will be able to restore the board by clicking the “Archive” button from the home header.",
"color-black": "nero",
"color-blue": "blu",
+ "color-crimson": "crimson",
+ "color-darkgreen": "darkgreen",
+ "color-gold": "gold",
+ "color-gray": "gray",
"color-green": "verde",
+ "color-indigo": "indigo",
"color-lime": "lime",
+ "color-magenta": "magenta",
+ "color-mistyrose": "mistyrose",
+ "color-navy": "navy",
"color-orange": "arancione",
+ "color-paleturquoise": "paleturquoise",
+ "color-peachpuff": "peachpuff",
"color-pink": "rosa",
+ "color-plum": "plum",
"color-purple": "viola",
"color-red": "rosso",
+ "color-saddlebrown": "saddlebrown",
+ "color-silver": "silver",
"color-sky": "azzurro",
+ "color-slateblue": "slateblue",
+ "color-white": "white",
"color-yellow": "giallo",
+ "unset-color": "Unset",
"comment": "Commento",
"comment-placeholder": "Scrivi Commento",
"comment-only": "Solo commenti",
@@ -480,6 +496,7 @@
"OS_Totalmem": "Memoria totale del sistema operativo ",
"OS_Type": "Tipo di sistema operativo ",
"OS_Uptime": "Tempo di attività del sistema operativo. ",
+ "days": "days",
"hours": "ore",
"minutes": "minuti",
"seconds": "secondi",
@@ -500,6 +517,7 @@
"card-end-on": "Termina il",
"editCardReceivedDatePopup-title": "Cambia data ricezione",
"editCardEndDatePopup-title": "Cambia data finale",
+ "setCardColor-title": "Set color",
"assigned-by": "Assegnato da",
"requested-by": "Richiesto da",
"board-delete-notice": "L'eliminazione è permanente. Tutte le azioni, liste e schede associate a questa bacheca andranno perse.",
@@ -578,6 +596,7 @@
"r-label": "label",
"r-member": "member",
"r-remove-all": "Remove all members from the card",
+ "r-set-color": "Set color to",
"r-checklist": "checklist",
"r-check-all": "Check all",
"r-uncheck-all": "Uncheck all",
diff --git a/i18n/ja.i18n.json b/i18n/ja.i18n.json
index ea18d714..8b6d6a3a 100644
--- a/i18n/ja.i18n.json
+++ b/i18n/ja.i18n.json
@@ -169,14 +169,30 @@
"close-board-pop": "You will be able to restore the board by clicking the “Archive” button from the home header.",
"color-black": "黒",
"color-blue": "青",
+ "color-crimson": "crimson",
+ "color-darkgreen": "darkgreen",
+ "color-gold": "gold",
+ "color-gray": "gray",
"color-green": "緑",
+ "color-indigo": "indigo",
"color-lime": "ライム",
+ "color-magenta": "magenta",
+ "color-mistyrose": "mistyrose",
+ "color-navy": "navy",
"color-orange": "オレンジ",
+ "color-paleturquoise": "paleturquoise",
+ "color-peachpuff": "peachpuff",
"color-pink": "ピンク",
+ "color-plum": "plum",
"color-purple": "紫",
"color-red": "赤",
+ "color-saddlebrown": "saddlebrown",
+ "color-silver": "silver",
"color-sky": "空",
+ "color-slateblue": "slateblue",
+ "color-white": "white",
"color-yellow": "黄",
+ "unset-color": "Unset",
"comment": "コメント",
"comment-placeholder": "コメントを書く",
"comment-only": "コメントのみ",
@@ -480,6 +496,7 @@
"OS_Totalmem": "OSトータルメモリ",
"OS_Type": "OS種類",
"OS_Uptime": "OSアップタイム",
+ "days": "days",
"hours": "時",
"minutes": "分",
"seconds": "秒",
@@ -500,6 +517,7 @@
"card-end-on": "終了日",
"editCardReceivedDatePopup-title": "受付日の変更",
"editCardEndDatePopup-title": "終了日の変更",
+ "setCardColor-title": "Set color",
"assigned-by": "Assigned By",
"requested-by": "Requested By",
"board-delete-notice": "Deleting is permanent. You will lose all lists, cards and actions associated with this board.",
@@ -578,6 +596,7 @@
"r-label": "label",
"r-member": "member",
"r-remove-all": "Remove all members from the card",
+ "r-set-color": "Set color to",
"r-checklist": "checklist",
"r-check-all": "Check all",
"r-uncheck-all": "Uncheck all",
diff --git a/i18n/ka.i18n.json b/i18n/ka.i18n.json
index 7e2e8d47..44bc6959 100644
--- a/i18n/ka.i18n.json
+++ b/i18n/ka.i18n.json
@@ -169,14 +169,30 @@
"close-board-pop": "You will be able to restore the board by clicking the “Archive” button from the home header.",
"color-black": "შავი",
"color-blue": "ლურჯი",
+ "color-crimson": "crimson",
+ "color-darkgreen": "darkgreen",
+ "color-gold": "gold",
+ "color-gray": "gray",
"color-green": "მწვანე",
+ "color-indigo": "indigo",
"color-lime": "ღია ყვითელი",
+ "color-magenta": "magenta",
+ "color-mistyrose": "mistyrose",
+ "color-navy": "navy",
"color-orange": "ნარინჯისფერი",
+ "color-paleturquoise": "paleturquoise",
+ "color-peachpuff": "peachpuff",
"color-pink": "ვარდისფერი",
+ "color-plum": "plum",
"color-purple": "იასამნისფერი",
"color-red": "წითელი ",
+ "color-saddlebrown": "saddlebrown",
+ "color-silver": "silver",
"color-sky": "ცისფერი",
+ "color-slateblue": "slateblue",
+ "color-white": "white",
"color-yellow": "ყვითელი",
+ "unset-color": "Unset",
"comment": "კომენტარი",
"comment-placeholder": "დაწერეთ კომენტარი",
"comment-only": "მხოლოდ კომენტარები",
@@ -480,6 +496,7 @@
"OS_Totalmem": "OS მთლიანი მეხსიერება",
"OS_Type": "OS ტიპი",
"OS_Uptime": "OS Uptime",
+ "days": "days",
"hours": "საათები",
"minutes": "წუთები",
"seconds": "წამები",
@@ -500,6 +517,7 @@
"card-end-on": "დასრულდება : ",
"editCardReceivedDatePopup-title": "Change received date",
"editCardEndDatePopup-title": "შეცვალეთ საბოლოო თარიღი",
+ "setCardColor-title": "Set color",
"assigned-by": "უფლებამოსილების გამცემი ",
"requested-by": "მომთხოვნი",
"board-delete-notice": "წაშლის შემთხვევაში თქვენ დაკარგავთ ამ დაფასთან ასოცირებულ ყველა მონაცემს მათ შორის : ჩამონათვალს, ბარათებს და მოქმედებებს. ",
@@ -578,6 +596,7 @@
"r-label": "label",
"r-member": "member",
"r-remove-all": "Remove all members from the card",
+ "r-set-color": "Set color to",
"r-checklist": "checklist",
"r-check-all": "Check all",
"r-uncheck-all": "Uncheck all",
diff --git a/i18n/km.i18n.json b/i18n/km.i18n.json
index 510b5ea3..009d0ea4 100644
--- a/i18n/km.i18n.json
+++ b/i18n/km.i18n.json
@@ -169,14 +169,30 @@
"close-board-pop": "You will be able to restore the board by clicking the “Archive” button from the home header.",
"color-black": "black",
"color-blue": "blue",
+ "color-crimson": "crimson",
+ "color-darkgreen": "darkgreen",
+ "color-gold": "gold",
+ "color-gray": "gray",
"color-green": "green",
+ "color-indigo": "indigo",
"color-lime": "lime",
+ "color-magenta": "magenta",
+ "color-mistyrose": "mistyrose",
+ "color-navy": "navy",
"color-orange": "orange",
+ "color-paleturquoise": "paleturquoise",
+ "color-peachpuff": "peachpuff",
"color-pink": "pink",
+ "color-plum": "plum",
"color-purple": "purple",
"color-red": "red",
+ "color-saddlebrown": "saddlebrown",
+ "color-silver": "silver",
"color-sky": "sky",
+ "color-slateblue": "slateblue",
+ "color-white": "white",
"color-yellow": "yellow",
+ "unset-color": "Unset",
"comment": "Comment",
"comment-placeholder": "Write Comment",
"comment-only": "Comment only",
@@ -480,6 +496,7 @@
"OS_Totalmem": "OS Total Memory",
"OS_Type": "OS Type",
"OS_Uptime": "OS Uptime",
+ "days": "days",
"hours": "hours",
"minutes": "minutes",
"seconds": "seconds",
@@ -500,6 +517,7 @@
"card-end-on": "Ends on",
"editCardReceivedDatePopup-title": "Change received date",
"editCardEndDatePopup-title": "Change end date",
+ "setCardColor-title": "Set color",
"assigned-by": "Assigned By",
"requested-by": "Requested By",
"board-delete-notice": "Deleting is permanent. You will lose all lists, cards and actions associated with this board.",
@@ -578,6 +596,7 @@
"r-label": "label",
"r-member": "member",
"r-remove-all": "Remove all members from the card",
+ "r-set-color": "Set color to",
"r-checklist": "checklist",
"r-check-all": "Check all",
"r-uncheck-all": "Uncheck all",
diff --git a/i18n/ko.i18n.json b/i18n/ko.i18n.json
index 90dbd71e..30ffb980 100644
--- a/i18n/ko.i18n.json
+++ b/i18n/ko.i18n.json
@@ -169,14 +169,30 @@
"close-board-pop": "You will be able to restore the board by clicking the “Archive” button from the home header.",
"color-black": "블랙",
"color-blue": "블루",
+ "color-crimson": "crimson",
+ "color-darkgreen": "darkgreen",
+ "color-gold": "gold",
+ "color-gray": "gray",
"color-green": "그린",
+ "color-indigo": "indigo",
"color-lime": "라임",
+ "color-magenta": "magenta",
+ "color-mistyrose": "mistyrose",
+ "color-navy": "navy",
"color-orange": "오렌지",
+ "color-paleturquoise": "paleturquoise",
+ "color-peachpuff": "peachpuff",
"color-pink": "핑크",
+ "color-plum": "plum",
"color-purple": "퍼플",
"color-red": "레드",
+ "color-saddlebrown": "saddlebrown",
+ "color-silver": "silver",
"color-sky": "스카이",
+ "color-slateblue": "slateblue",
+ "color-white": "white",
"color-yellow": "옐로우",
+ "unset-color": "Unset",
"comment": "댓글",
"comment-placeholder": "댓글 입력",
"comment-only": "댓글만 입력 가능",
@@ -480,6 +496,7 @@
"OS_Totalmem": "OS Total Memory",
"OS_Type": "OS Type",
"OS_Uptime": "OS Uptime",
+ "days": "days",
"hours": "hours",
"minutes": "minutes",
"seconds": "seconds",
@@ -500,6 +517,7 @@
"card-end-on": "Ends on",
"editCardReceivedDatePopup-title": "Change received date",
"editCardEndDatePopup-title": "Change end date",
+ "setCardColor-title": "Set color",
"assigned-by": "Assigned By",
"requested-by": "Requested By",
"board-delete-notice": "Deleting is permanent. You will lose all lists, cards and actions associated with this board.",
@@ -578,6 +596,7 @@
"r-label": "label",
"r-member": "member",
"r-remove-all": "Remove all members from the card",
+ "r-set-color": "Set color to",
"r-checklist": "checklist",
"r-check-all": "Check all",
"r-uncheck-all": "Uncheck all",
diff --git a/i18n/lv.i18n.json b/i18n/lv.i18n.json
index 0546f280..778c84f5 100644
--- a/i18n/lv.i18n.json
+++ b/i18n/lv.i18n.json
@@ -169,14 +169,30 @@
"close-board-pop": "You will be able to restore the board by clicking the “Archive” button from the home header.",
"color-black": "black",
"color-blue": "blue",
+ "color-crimson": "crimson",
+ "color-darkgreen": "darkgreen",
+ "color-gold": "gold",
+ "color-gray": "gray",
"color-green": "green",
+ "color-indigo": "indigo",
"color-lime": "lime",
+ "color-magenta": "magenta",
+ "color-mistyrose": "mistyrose",
+ "color-navy": "navy",
"color-orange": "orange",
+ "color-paleturquoise": "paleturquoise",
+ "color-peachpuff": "peachpuff",
"color-pink": "pink",
+ "color-plum": "plum",
"color-purple": "purple",
"color-red": "red",
+ "color-saddlebrown": "saddlebrown",
+ "color-silver": "silver",
"color-sky": "sky",
+ "color-slateblue": "slateblue",
+ "color-white": "white",
"color-yellow": "yellow",
+ "unset-color": "Unset",
"comment": "Comment",
"comment-placeholder": "Write Comment",
"comment-only": "Comment only",
@@ -480,6 +496,7 @@
"OS_Totalmem": "OS Total Memory",
"OS_Type": "OS Type",
"OS_Uptime": "OS Uptime",
+ "days": "days",
"hours": "hours",
"minutes": "minutes",
"seconds": "seconds",
@@ -500,6 +517,7 @@
"card-end-on": "Ends on",
"editCardReceivedDatePopup-title": "Change received date",
"editCardEndDatePopup-title": "Change end date",
+ "setCardColor-title": "Set color",
"assigned-by": "Assigned By",
"requested-by": "Requested By",
"board-delete-notice": "Deleting is permanent. You will lose all lists, cards and actions associated with this board.",
@@ -578,6 +596,7 @@
"r-label": "label",
"r-member": "member",
"r-remove-all": "Remove all members from the card",
+ "r-set-color": "Set color to",
"r-checklist": "checklist",
"r-check-all": "Check all",
"r-uncheck-all": "Uncheck all",
diff --git a/i18n/mn.i18n.json b/i18n/mn.i18n.json
index a1a8da25..656124f0 100644
--- a/i18n/mn.i18n.json
+++ b/i18n/mn.i18n.json
@@ -169,14 +169,30 @@
"close-board-pop": "You will be able to restore the board by clicking the “Archive” button from the home header.",
"color-black": "black",
"color-blue": "blue",
+ "color-crimson": "crimson",
+ "color-darkgreen": "darkgreen",
+ "color-gold": "gold",
+ "color-gray": "gray",
"color-green": "green",
+ "color-indigo": "indigo",
"color-lime": "lime",
+ "color-magenta": "magenta",
+ "color-mistyrose": "mistyrose",
+ "color-navy": "navy",
"color-orange": "orange",
+ "color-paleturquoise": "paleturquoise",
+ "color-peachpuff": "peachpuff",
"color-pink": "pink",
+ "color-plum": "plum",
"color-purple": "purple",
"color-red": "red",
+ "color-saddlebrown": "saddlebrown",
+ "color-silver": "silver",
"color-sky": "sky",
+ "color-slateblue": "slateblue",
+ "color-white": "white",
"color-yellow": "yellow",
+ "unset-color": "Unset",
"comment": "Comment",
"comment-placeholder": "Write Comment",
"comment-only": "Comment only",
@@ -480,6 +496,7 @@
"OS_Totalmem": "OS Total Memory",
"OS_Type": "OS Type",
"OS_Uptime": "OS Uptime",
+ "days": "days",
"hours": "hours",
"minutes": "minutes",
"seconds": "seconds",
@@ -500,6 +517,7 @@
"card-end-on": "Ends on",
"editCardReceivedDatePopup-title": "Change received date",
"editCardEndDatePopup-title": "Change end date",
+ "setCardColor-title": "Set color",
"assigned-by": "Assigned By",
"requested-by": "Requested By",
"board-delete-notice": "Deleting is permanent. You will lose all lists, cards and actions associated with this board.",
@@ -578,6 +596,7 @@
"r-label": "label",
"r-member": "member",
"r-remove-all": "Remove all members from the card",
+ "r-set-color": "Set color to",
"r-checklist": "checklist",
"r-check-all": "Check all",
"r-uncheck-all": "Uncheck all",
diff --git a/i18n/nb.i18n.json b/i18n/nb.i18n.json
index 25f04af4..edaf85f5 100644
--- a/i18n/nb.i18n.json
+++ b/i18n/nb.i18n.json
@@ -169,14 +169,30 @@
"close-board-pop": "You will be able to restore the board by clicking the “Archive” button from the home header.",
"color-black": "black",
"color-blue": "blue",
+ "color-crimson": "crimson",
+ "color-darkgreen": "darkgreen",
+ "color-gold": "gold",
+ "color-gray": "gray",
"color-green": "green",
+ "color-indigo": "indigo",
"color-lime": "lime",
+ "color-magenta": "magenta",
+ "color-mistyrose": "mistyrose",
+ "color-navy": "navy",
"color-orange": "orange",
+ "color-paleturquoise": "paleturquoise",
+ "color-peachpuff": "peachpuff",
"color-pink": "pink",
+ "color-plum": "plum",
"color-purple": "purple",
"color-red": "red",
+ "color-saddlebrown": "saddlebrown",
+ "color-silver": "silver",
"color-sky": "sky",
+ "color-slateblue": "slateblue",
+ "color-white": "white",
"color-yellow": "yellow",
+ "unset-color": "Unset",
"comment": "Comment",
"comment-placeholder": "Write Comment",
"comment-only": "Comment only",
@@ -480,6 +496,7 @@
"OS_Totalmem": "OS Total Memory",
"OS_Type": "OS Type",
"OS_Uptime": "OS Uptime",
+ "days": "days",
"hours": "hours",
"minutes": "minutes",
"seconds": "seconds",
@@ -500,6 +517,7 @@
"card-end-on": "Ends on",
"editCardReceivedDatePopup-title": "Change received date",
"editCardEndDatePopup-title": "Change end date",
+ "setCardColor-title": "Set color",
"assigned-by": "Assigned By",
"requested-by": "Requested By",
"board-delete-notice": "Deleting is permanent. You will lose all lists, cards and actions associated with this board.",
@@ -578,6 +596,7 @@
"r-label": "label",
"r-member": "member",
"r-remove-all": "Remove all members from the card",
+ "r-set-color": "Set color to",
"r-checklist": "checklist",
"r-check-all": "Check all",
"r-uncheck-all": "Uncheck all",
diff --git a/i18n/nl.i18n.json b/i18n/nl.i18n.json
index 657c2e4c..3df4f62a 100644
--- a/i18n/nl.i18n.json
+++ b/i18n/nl.i18n.json
@@ -169,14 +169,30 @@
"close-board-pop": "You will be able to restore the board by clicking the “Archive” button from the home header.",
"color-black": "zwart",
"color-blue": "blauw",
+ "color-crimson": "crimson",
+ "color-darkgreen": "darkgreen",
+ "color-gold": "gold",
+ "color-gray": "gray",
"color-green": "groen",
+ "color-indigo": "indigo",
"color-lime": "Felgroen",
+ "color-magenta": "magenta",
+ "color-mistyrose": "mistyrose",
+ "color-navy": "navy",
"color-orange": "Oranje",
+ "color-paleturquoise": "paleturquoise",
+ "color-peachpuff": "peachpuff",
"color-pink": "Roze",
+ "color-plum": "plum",
"color-purple": "Paars",
"color-red": "Rood",
+ "color-saddlebrown": "saddlebrown",
+ "color-silver": "silver",
"color-sky": "Lucht",
+ "color-slateblue": "slateblue",
+ "color-white": "white",
"color-yellow": "Geel",
+ "unset-color": "Unset",
"comment": "Reageer",
"comment-placeholder": "Schrijf reactie",
"comment-only": "Alleen reageren",
@@ -480,6 +496,7 @@
"OS_Totalmem": "OS Totaal Geheugen",
"OS_Type": "OS Type",
"OS_Uptime": "OS Uptime",
+ "days": "days",
"hours": "uren",
"minutes": "minuten",
"seconds": "seconden",
@@ -500,6 +517,7 @@
"card-end-on": "Ends on",
"editCardReceivedDatePopup-title": "Change received date",
"editCardEndDatePopup-title": "Change end date",
+ "setCardColor-title": "Set color",
"assigned-by": "Assigned By",
"requested-by": "Requested By",
"board-delete-notice": "Deleting is permanent. You will lose all lists, cards and actions associated with this board.",
@@ -578,6 +596,7 @@
"r-label": "label",
"r-member": "member",
"r-remove-all": "Remove all members from the card",
+ "r-set-color": "Set color to",
"r-checklist": "checklist",
"r-check-all": "Check all",
"r-uncheck-all": "Uncheck all",
diff --git a/i18n/pl.i18n.json b/i18n/pl.i18n.json
index c32096e2..534c62ad 100644
--- a/i18n/pl.i18n.json
+++ b/i18n/pl.i18n.json
@@ -169,14 +169,30 @@
"close-board-pop": "Będziesz w stanie przywrócić tablicę poprzez kliknięcie przycisku \"Archiwizuj\" w nagłówku strony domowej.",
"color-black": "czarny",
"color-blue": "niebieski",
+ "color-crimson": "crimson",
+ "color-darkgreen": "darkgreen",
+ "color-gold": "gold",
+ "color-gray": "gray",
"color-green": "zielony",
+ "color-indigo": "indigo",
"color-lime": "limonkowy",
+ "color-magenta": "magenta",
+ "color-mistyrose": "mistyrose",
+ "color-navy": "navy",
"color-orange": "pomarańczowy",
+ "color-paleturquoise": "paleturquoise",
+ "color-peachpuff": "peachpuff",
"color-pink": "różowy",
+ "color-plum": "plum",
"color-purple": "fioletowy",
"color-red": "czerwony",
+ "color-saddlebrown": "saddlebrown",
+ "color-silver": "silver",
"color-sky": "błękitny",
+ "color-slateblue": "slateblue",
+ "color-white": "white",
"color-yellow": "żółty",
+ "unset-color": "Unset",
"comment": "Komentarz",
"comment-placeholder": "Dodaj komentarz",
"comment-only": "Tylko komentowanie",
@@ -480,6 +496,7 @@
"OS_Totalmem": "Dostępna pamięć RAM",
"OS_Type": "Typ systemu",
"OS_Uptime": "Czas działania systemu",
+ "days": "days",
"hours": "godzin",
"minutes": "minut",
"seconds": "sekund",
@@ -500,6 +517,7 @@
"card-end-on": "Kończy się",
"editCardReceivedDatePopup-title": "Zmień datę odebrania",
"editCardEndDatePopup-title": "Zmień datę ukończenia",
+ "setCardColor-title": "Set color",
"assigned-by": "Przypisane przez",
"requested-by": "Zlecone przez",
"board-delete-notice": "Usuwanie jest permanentne. Stracisz wszystkie listy, kart oraz czynności przypisane do tej tablicy.",
@@ -578,6 +596,7 @@
"r-label": "etykieta",
"r-member": "członek",
"r-remove-all": "Usuń wszystkich członków tej karty",
+ "r-set-color": "Set color to",
"r-checklist": "lista zadań",
"r-check-all": "Zaznacz wszystkie",
"r-uncheck-all": "Odznacz wszystkie",
diff --git a/i18n/pt-BR.i18n.json b/i18n/pt-BR.i18n.json
index e9cf736a..4def5649 100644
--- a/i18n/pt-BR.i18n.json
+++ b/i18n/pt-BR.i18n.json
@@ -169,14 +169,30 @@
"close-board-pop": "Você será capaz de restaurar o quadro clicando no botão “Arquivo-morto” a partir do cabeçalho do Início.",
"color-black": "preto",
"color-blue": "azul",
+ "color-crimson": "carmesim",
+ "color-darkgreen": "verde escuro",
+ "color-gold": "dourado",
+ "color-gray": "cinza",
"color-green": "verde",
+ "color-indigo": "azul",
"color-lime": "verde limão",
+ "color-magenta": "magenta",
+ "color-mistyrose": "rosa claro",
+ "color-navy": "azul marinho",
"color-orange": "laranja",
+ "color-paleturquoise": "azul ciano",
+ "color-peachpuff": "pêssego",
"color-pink": "cor-de-rosa",
+ "color-plum": "ameixa",
"color-purple": "roxo",
"color-red": "vermelho",
+ "color-saddlebrown": "marrom",
+ "color-silver": "prateado",
"color-sky": "azul-celeste",
+ "color-slateblue": "azul ardósia",
+ "color-white": "branco",
"color-yellow": "amarelo",
+ "unset-color": "Unset",
"comment": "Comentário",
"comment-placeholder": "Escrever Comentário",
"comment-only": "Somente comentários",
@@ -480,6 +496,7 @@
"OS_Totalmem": "Memória Total do SO",
"OS_Type": "Tipo do SO",
"OS_Uptime": "Disponibilidade do SO",
+ "days": "dias",
"hours": "horas",
"minutes": "minutos",
"seconds": "segundos",
@@ -500,6 +517,7 @@
"card-end-on": "Termina em",
"editCardReceivedDatePopup-title": "Modificar data de recebimento",
"editCardEndDatePopup-title": "Mudar data de fim",
+ "setCardColor-title": "Definir cor",
"assigned-by": "Atribuído por",
"requested-by": "Solicitado por",
"board-delete-notice": "Excluir é permanente. Você perderá todas as listas, cartões e ações associados nesse quadro.",
@@ -578,6 +596,7 @@
"r-label": "etiqueta",
"r-member": "membro",
"r-remove-all": "Remover todos os membros do cartão",
+ "r-set-color": "Definir cor para",
"r-checklist": "lista de verificação",
"r-check-all": "Marcar todos",
"r-uncheck-all": "Desmarcar todos",
diff --git a/i18n/pt.i18n.json b/i18n/pt.i18n.json
index 80ec412a..4a960d00 100644
--- a/i18n/pt.i18n.json
+++ b/i18n/pt.i18n.json
@@ -169,14 +169,30 @@
"close-board-pop": "You will be able to restore the board by clicking the “Archive” button from the home header.",
"color-black": "black",
"color-blue": "blue",
+ "color-crimson": "crimson",
+ "color-darkgreen": "darkgreen",
+ "color-gold": "gold",
+ "color-gray": "gray",
"color-green": "green",
+ "color-indigo": "indigo",
"color-lime": "lime",
+ "color-magenta": "magenta",
+ "color-mistyrose": "mistyrose",
+ "color-navy": "navy",
"color-orange": "orange",
+ "color-paleturquoise": "paleturquoise",
+ "color-peachpuff": "peachpuff",
"color-pink": "pink",
+ "color-plum": "plum",
"color-purple": "purple",
"color-red": "red",
+ "color-saddlebrown": "saddlebrown",
+ "color-silver": "silver",
"color-sky": "sky",
+ "color-slateblue": "slateblue",
+ "color-white": "white",
"color-yellow": "yellow",
+ "unset-color": "Unset",
"comment": "Comentário",
"comment-placeholder": "Write Comment",
"comment-only": "Comment only",
@@ -480,6 +496,7 @@
"OS_Totalmem": "OS Total Memory",
"OS_Type": "OS Type",
"OS_Uptime": "OS Uptime",
+ "days": "days",
"hours": "hours",
"minutes": "minutes",
"seconds": "seconds",
@@ -500,6 +517,7 @@
"card-end-on": "Ends on",
"editCardReceivedDatePopup-title": "Change received date",
"editCardEndDatePopup-title": "Change end date",
+ "setCardColor-title": "Set color",
"assigned-by": "Assigned By",
"requested-by": "Requested By",
"board-delete-notice": "Deleting is permanent. You will lose all lists, cards and actions associated with this board.",
@@ -578,6 +596,7 @@
"r-label": "label",
"r-member": "member",
"r-remove-all": "Remove all members from the card",
+ "r-set-color": "Set color to",
"r-checklist": "checklist",
"r-check-all": "Check all",
"r-uncheck-all": "Uncheck all",
diff --git a/i18n/ro.i18n.json b/i18n/ro.i18n.json
index e8bdc604..25fdc937 100644
--- a/i18n/ro.i18n.json
+++ b/i18n/ro.i18n.json
@@ -169,14 +169,30 @@
"close-board-pop": "You will be able to restore the board by clicking the “Archive” button from the home header.",
"color-black": "black",
"color-blue": "blue",
+ "color-crimson": "crimson",
+ "color-darkgreen": "darkgreen",
+ "color-gold": "gold",
+ "color-gray": "gray",
"color-green": "green",
+ "color-indigo": "indigo",
"color-lime": "lime",
+ "color-magenta": "magenta",
+ "color-mistyrose": "mistyrose",
+ "color-navy": "navy",
"color-orange": "orange",
+ "color-paleturquoise": "paleturquoise",
+ "color-peachpuff": "peachpuff",
"color-pink": "pink",
+ "color-plum": "plum",
"color-purple": "purple",
"color-red": "red",
+ "color-saddlebrown": "saddlebrown",
+ "color-silver": "silver",
"color-sky": "sky",
+ "color-slateblue": "slateblue",
+ "color-white": "white",
"color-yellow": "yellow",
+ "unset-color": "Unset",
"comment": "Comment",
"comment-placeholder": "Write Comment",
"comment-only": "Comment only",
@@ -480,6 +496,7 @@
"OS_Totalmem": "OS Total Memory",
"OS_Type": "OS Type",
"OS_Uptime": "OS Uptime",
+ "days": "days",
"hours": "hours",
"minutes": "minutes",
"seconds": "seconds",
@@ -500,6 +517,7 @@
"card-end-on": "Ends on",
"editCardReceivedDatePopup-title": "Change received date",
"editCardEndDatePopup-title": "Change end date",
+ "setCardColor-title": "Set color",
"assigned-by": "Assigned By",
"requested-by": "Requested By",
"board-delete-notice": "Deleting is permanent. You will lose all lists, cards and actions associated with this board.",
@@ -578,6 +596,7 @@
"r-label": "label",
"r-member": "member",
"r-remove-all": "Remove all members from the card",
+ "r-set-color": "Set color to",
"r-checklist": "checklist",
"r-check-all": "Check all",
"r-uncheck-all": "Uncheck all",
diff --git a/i18n/ru.i18n.json b/i18n/ru.i18n.json
index e82017ca..dd8114ba 100644
--- a/i18n/ru.i18n.json
+++ b/i18n/ru.i18n.json
@@ -169,14 +169,30 @@
"close-board-pop": "Вы сможете восстановить доску, нажав \"Архив\" в заголовке домашней страницы.",
"color-black": "черный",
"color-blue": "синий",
+ "color-crimson": "crimson",
+ "color-darkgreen": "darkgreen",
+ "color-gold": "gold",
+ "color-gray": "gray",
"color-green": "зеленый",
+ "color-indigo": "indigo",
"color-lime": "лимоновый",
+ "color-magenta": "magenta",
+ "color-mistyrose": "mistyrose",
+ "color-navy": "navy",
"color-orange": "оранжевый",
+ "color-paleturquoise": "paleturquoise",
+ "color-peachpuff": "peachpuff",
"color-pink": "розовый",
+ "color-plum": "plum",
"color-purple": "фиолетовый",
"color-red": "красный",
+ "color-saddlebrown": "saddlebrown",
+ "color-silver": "silver",
"color-sky": "голубой",
+ "color-slateblue": "slateblue",
+ "color-white": "white",
"color-yellow": "желтый",
+ "unset-color": "Unset",
"comment": "Добавить комментарий",
"comment-placeholder": "Написать комментарий",
"comment-only": "Только комментирование",
@@ -480,6 +496,7 @@
"OS_Totalmem": "Общая память",
"OS_Type": "Тип ОС",
"OS_Uptime": "Время работы",
+ "days": "days",
"hours": "часы",
"minutes": "минуты",
"seconds": "секунды",
@@ -500,6 +517,7 @@
"card-end-on": "Завершится до",
"editCardReceivedDatePopup-title": "Изменить дату получения",
"editCardEndDatePopup-title": "Изменить дату завершения",
+ "setCardColor-title": "Set color",
"assigned-by": "Поручил",
"requested-by": "Запросил",
"board-delete-notice": "Удаление является постоянным. Вы потеряете все списки, карты и действия, связанные с этой доской.",
@@ -578,6 +596,7 @@
"r-label": "метку",
"r-member": "участника",
"r-remove-all": "Удалить всех участников из карточки",
+ "r-set-color": "Set color to",
"r-checklist": "контрольный список",
"r-check-all": "Отметить все",
"r-uncheck-all": "Снять все",
diff --git a/i18n/sr.i18n.json b/i18n/sr.i18n.json
index d8d80162..fe8f43fc 100644
--- a/i18n/sr.i18n.json
+++ b/i18n/sr.i18n.json
@@ -169,14 +169,30 @@
"close-board-pop": "You will be able to restore the board by clicking the “Archive” button from the home header.",
"color-black": "black",
"color-blue": "blue",
+ "color-crimson": "crimson",
+ "color-darkgreen": "darkgreen",
+ "color-gold": "gold",
+ "color-gray": "gray",
"color-green": "green",
+ "color-indigo": "indigo",
"color-lime": "lime",
+ "color-magenta": "magenta",
+ "color-mistyrose": "mistyrose",
+ "color-navy": "navy",
"color-orange": "orange",
+ "color-paleturquoise": "paleturquoise",
+ "color-peachpuff": "peachpuff",
"color-pink": "pink",
+ "color-plum": "plum",
"color-purple": "purple",
"color-red": "red",
+ "color-saddlebrown": "saddlebrown",
+ "color-silver": "silver",
"color-sky": "sky",
+ "color-slateblue": "slateblue",
+ "color-white": "white",
"color-yellow": "yellow",
+ "unset-color": "Unset",
"comment": "Comment",
"comment-placeholder": "Write Comment",
"comment-only": "Comment only",
@@ -480,6 +496,7 @@
"OS_Totalmem": "OS Total Memory",
"OS_Type": "OS Type",
"OS_Uptime": "OS Uptime",
+ "days": "days",
"hours": "hours",
"minutes": "minutes",
"seconds": "seconds",
@@ -500,6 +517,7 @@
"card-end-on": "Ends on",
"editCardReceivedDatePopup-title": "Change received date",
"editCardEndDatePopup-title": "Change end date",
+ "setCardColor-title": "Set color",
"assigned-by": "Assigned By",
"requested-by": "Requested By",
"board-delete-notice": "Deleting is permanent. You will lose all lists, cards and actions associated with this board.",
@@ -578,6 +596,7 @@
"r-label": "label",
"r-member": "member",
"r-remove-all": "Remove all members from the card",
+ "r-set-color": "Set color to",
"r-checklist": "checklist",
"r-check-all": "Check all",
"r-uncheck-all": "Uncheck all",
diff --git a/i18n/sv.i18n.json b/i18n/sv.i18n.json
index 9b1946e7..e134d9b1 100644
--- a/i18n/sv.i18n.json
+++ b/i18n/sv.i18n.json
@@ -169,14 +169,30 @@
"close-board-pop": "You will be able to restore the board by clicking the “Archive” button from the home header.",
"color-black": "svart",
"color-blue": "blå",
+ "color-crimson": "crimson",
+ "color-darkgreen": "darkgreen",
+ "color-gold": "gold",
+ "color-gray": "gray",
"color-green": "grön",
+ "color-indigo": "indigo",
"color-lime": "lime",
+ "color-magenta": "magenta",
+ "color-mistyrose": "mistyrose",
+ "color-navy": "navy",
"color-orange": "orange",
+ "color-paleturquoise": "paleturquoise",
+ "color-peachpuff": "peachpuff",
"color-pink": "rosa",
+ "color-plum": "plum",
"color-purple": "lila",
"color-red": "röd",
+ "color-saddlebrown": "saddlebrown",
+ "color-silver": "silver",
"color-sky": "himmel",
+ "color-slateblue": "slateblue",
+ "color-white": "white",
"color-yellow": "gul",
+ "unset-color": "Unset",
"comment": "Kommentera",
"comment-placeholder": "Skriv kommentar",
"comment-only": "Kommentera endast",
@@ -480,6 +496,7 @@
"OS_Totalmem": "OS totalt minne",
"OS_Type": "OS Typ",
"OS_Uptime": "OS drifttid",
+ "days": "days",
"hours": "timmar",
"minutes": "minuter",
"seconds": "sekunder",
@@ -500,6 +517,7 @@
"card-end-on": "Slutar den",
"editCardReceivedDatePopup-title": "Ändra mottagningsdatum",
"editCardEndDatePopup-title": "Ändra slutdatum",
+ "setCardColor-title": "Set color",
"assigned-by": "Tilldelad av",
"requested-by": "Efterfrågad av",
"board-delete-notice": "Borttagningen är permanent. Du kommer förlora alla listor, kort och händelser kopplade till den här anslagstavlan.",
@@ -578,6 +596,7 @@
"r-label": "etikett",
"r-member": "medlem",
"r-remove-all": "Remove all members from the card",
+ "r-set-color": "Set color to",
"r-checklist": "checklista",
"r-check-all": "Check all",
"r-uncheck-all": "Uncheck all",
diff --git a/i18n/sw.i18n.json b/i18n/sw.i18n.json
index 03e7d57b..9bc667e8 100644
--- a/i18n/sw.i18n.json
+++ b/i18n/sw.i18n.json
@@ -169,14 +169,30 @@
"close-board-pop": "You will be able to restore the board by clicking the “Archive” button from the home header.",
"color-black": "Nyeusi",
"color-blue": "Samawati",
+ "color-crimson": "crimson",
+ "color-darkgreen": "darkgreen",
+ "color-gold": "gold",
+ "color-gray": "gray",
"color-green": "Kijani",
+ "color-indigo": "indigo",
"color-lime": "lime",
+ "color-magenta": "magenta",
+ "color-mistyrose": "mistyrose",
+ "color-navy": "navy",
"color-orange": "orange",
+ "color-paleturquoise": "paleturquoise",
+ "color-peachpuff": "peachpuff",
"color-pink": "pink",
+ "color-plum": "plum",
"color-purple": "purple",
"color-red": "red",
+ "color-saddlebrown": "saddlebrown",
+ "color-silver": "silver",
"color-sky": "sky",
+ "color-slateblue": "slateblue",
+ "color-white": "white",
"color-yellow": "yellow",
+ "unset-color": "Unset",
"comment": "Changia",
"comment-placeholder": "Andika changio",
"comment-only": "Changia pekee",
@@ -480,6 +496,7 @@
"OS_Totalmem": "OS Total Memory",
"OS_Type": "OS Type",
"OS_Uptime": "OS Uptime",
+ "days": "days",
"hours": "hours",
"minutes": "minutes",
"seconds": "seconds",
@@ -500,6 +517,7 @@
"card-end-on": "Ends on",
"editCardReceivedDatePopup-title": "Change received date",
"editCardEndDatePopup-title": "Change end date",
+ "setCardColor-title": "Set color",
"assigned-by": "Assigned By",
"requested-by": "Requested By",
"board-delete-notice": "Deleting is permanent. You will lose all lists, cards and actions associated with this board.",
@@ -578,6 +596,7 @@
"r-label": "label",
"r-member": "member",
"r-remove-all": "Remove all members from the card",
+ "r-set-color": "Set color to",
"r-checklist": "checklist",
"r-check-all": "Check all",
"r-uncheck-all": "Uncheck all",
diff --git a/i18n/ta.i18n.json b/i18n/ta.i18n.json
index 75e606a4..159df52d 100644
--- a/i18n/ta.i18n.json
+++ b/i18n/ta.i18n.json
@@ -169,14 +169,30 @@
"close-board-pop": "You will be able to restore the board by clicking the “Archive” button from the home header.",
"color-black": "black",
"color-blue": "blue",
+ "color-crimson": "crimson",
+ "color-darkgreen": "darkgreen",
+ "color-gold": "gold",
+ "color-gray": "gray",
"color-green": "green",
+ "color-indigo": "indigo",
"color-lime": "lime",
+ "color-magenta": "magenta",
+ "color-mistyrose": "mistyrose",
+ "color-navy": "navy",
"color-orange": "orange",
+ "color-paleturquoise": "paleturquoise",
+ "color-peachpuff": "peachpuff",
"color-pink": "pink",
+ "color-plum": "plum",
"color-purple": "purple",
"color-red": "red",
+ "color-saddlebrown": "saddlebrown",
+ "color-silver": "silver",
"color-sky": "sky",
+ "color-slateblue": "slateblue",
+ "color-white": "white",
"color-yellow": "yellow",
+ "unset-color": "Unset",
"comment": "Comment",
"comment-placeholder": "Write Comment",
"comment-only": "Comment only",
@@ -480,6 +496,7 @@
"OS_Totalmem": "OS Total Memory",
"OS_Type": "OS Type",
"OS_Uptime": "OS Uptime",
+ "days": "days",
"hours": "hours",
"minutes": "minutes",
"seconds": "seconds",
@@ -500,6 +517,7 @@
"card-end-on": "Ends on",
"editCardReceivedDatePopup-title": "Change received date",
"editCardEndDatePopup-title": "Change end date",
+ "setCardColor-title": "Set color",
"assigned-by": "Assigned By",
"requested-by": "Requested By",
"board-delete-notice": "Deleting is permanent. You will lose all lists, cards and actions associated with this board.",
@@ -578,6 +596,7 @@
"r-label": "label",
"r-member": "member",
"r-remove-all": "Remove all members from the card",
+ "r-set-color": "Set color to",
"r-checklist": "checklist",
"r-check-all": "Check all",
"r-uncheck-all": "Uncheck all",
diff --git a/i18n/th.i18n.json b/i18n/th.i18n.json
index 39368515..6fe3d52f 100644
--- a/i18n/th.i18n.json
+++ b/i18n/th.i18n.json
@@ -169,14 +169,30 @@
"close-board-pop": "You will be able to restore the board by clicking the “Archive” button from the home header.",
"color-black": "ดำ",
"color-blue": "น้ำเงิน",
+ "color-crimson": "crimson",
+ "color-darkgreen": "darkgreen",
+ "color-gold": "gold",
+ "color-gray": "gray",
"color-green": "เขียว",
+ "color-indigo": "indigo",
"color-lime": "เหลืองมะนาว",
+ "color-magenta": "magenta",
+ "color-mistyrose": "mistyrose",
+ "color-navy": "navy",
"color-orange": "ส้ม",
+ "color-paleturquoise": "paleturquoise",
+ "color-peachpuff": "peachpuff",
"color-pink": "ชมพู",
+ "color-plum": "plum",
"color-purple": "ม่วง",
"color-red": "แดง",
+ "color-saddlebrown": "saddlebrown",
+ "color-silver": "silver",
"color-sky": "ฟ้า",
+ "color-slateblue": "slateblue",
+ "color-white": "white",
"color-yellow": "เหลือง",
+ "unset-color": "Unset",
"comment": "คอมเม็นต์",
"comment-placeholder": "Write Comment",
"comment-only": "Comment only",
@@ -480,6 +496,7 @@
"OS_Totalmem": "OS Total Memory",
"OS_Type": "OS Type",
"OS_Uptime": "OS Uptime",
+ "days": "days",
"hours": "hours",
"minutes": "minutes",
"seconds": "seconds",
@@ -500,6 +517,7 @@
"card-end-on": "Ends on",
"editCardReceivedDatePopup-title": "Change received date",
"editCardEndDatePopup-title": "Change end date",
+ "setCardColor-title": "Set color",
"assigned-by": "Assigned By",
"requested-by": "Requested By",
"board-delete-notice": "Deleting is permanent. You will lose all lists, cards and actions associated with this board.",
@@ -578,6 +596,7 @@
"r-label": "label",
"r-member": "member",
"r-remove-all": "Remove all members from the card",
+ "r-set-color": "Set color to",
"r-checklist": "checklist",
"r-check-all": "Check all",
"r-uncheck-all": "Uncheck all",
diff --git a/i18n/tr.i18n.json b/i18n/tr.i18n.json
index 4bbb1437..ba05145e 100644
--- a/i18n/tr.i18n.json
+++ b/i18n/tr.i18n.json
@@ -11,10 +11,10 @@
"act-createCustomField": "__customField__ adlı özel alan yaratıldı",
"act-createList": "__list__ listesini __board__ panosuna ekledi",
"act-addBoardMember": "__member__ kullanıcısını __board__ panosuna ekledi",
- "act-archivedBoard": "__board__ moved to Archive",
- "act-archivedCard": "__card__ moved to Archive",
- "act-archivedList": "__list__ moved to Archive",
- "act-archivedSwimlane": "__swimlane__ moved to Archive",
+ "act-archivedBoard": "__board__ arşive taşındı",
+ "act-archivedCard": "__card__ Arşive taşındı",
+ "act-archivedList": "__list__ Arşive taşındı",
+ "act-archivedSwimlane": "__swimlane__ Arşive taşındı",
"act-importBoard": "__board__ panosunu içe aktardı",
"act-importCard": "__card__ kartını içe aktardı",
"act-importList": "__list__ listesini içe aktardı",
@@ -169,14 +169,30 @@
"close-board-pop": "\n92/5000\nAna başlıktaki “Arşiv” düğmesine tıklayarak tahtayı geri yükleyebilirsiniz.",
"color-black": "siyah",
"color-blue": "mavi",
+ "color-crimson": "crimson",
+ "color-darkgreen": "darkgreen",
+ "color-gold": "gold",
+ "color-gray": "gray",
"color-green": "yeşil",
+ "color-indigo": "indigo",
"color-lime": "misket limonu",
+ "color-magenta": "magenta",
+ "color-mistyrose": "mistyrose",
+ "color-navy": "navy",
"color-orange": "turuncu",
+ "color-paleturquoise": "paleturquoise",
+ "color-peachpuff": "peachpuff",
"color-pink": "pembe",
+ "color-plum": "plum",
"color-purple": "mor",
"color-red": "kırmızı",
+ "color-saddlebrown": "saddlebrown",
+ "color-silver": "silver",
"color-sky": "açık mavi",
+ "color-slateblue": "slateblue",
+ "color-white": "white",
"color-yellow": "sarı",
+ "unset-color": "Unset",
"comment": "Yorum",
"comment-placeholder": "Yorum Yaz",
"comment-only": "Sadece yorum",
@@ -480,6 +496,7 @@
"OS_Totalmem": "İşletim Sistemi Toplam Belleği",
"OS_Type": "İşletim Sistemi Tipi",
"OS_Uptime": "İşletim Sistemi Toplam Açık Kalınan Süre",
+ "days": "günler",
"hours": "saat",
"minutes": "dakika",
"seconds": "saniye",
@@ -500,6 +517,7 @@
"card-end-on": "Bitiş zamanı",
"editCardReceivedDatePopup-title": "Giriş tarihini değiştir",
"editCardEndDatePopup-title": "Bitiş tarihini değiştir",
+ "setCardColor-title": "Set color",
"assigned-by": "Atamayı yapan",
"requested-by": "Talep Eden",
"board-delete-notice": "Silme kalıcıdır. Bu kartla ilişkili tüm listeleri, kartları ve işlemleri kaybedeceksiniz.",
@@ -526,7 +544,7 @@
"activity-added-label": "added label '%s' to %s",
"activity-removed-label": "removed label '%s' from %s",
"activity-delete-attach": "deleted an attachment from %s",
- "activity-added-label-card": "added label '%s'",
+ "activity-added-label-card": "etiket eklendi '%s'",
"activity-removed-label-card": "removed label '%s'",
"activity-delete-attach-card": "Ek silindi",
"r-rule": "Kural",
@@ -538,14 +556,14 @@
"r-delete-rule": "Kuralı sil",
"r-new-rule-name": "Yeni kural başlığı",
"r-no-rules": "Kural yok",
- "r-when-a-card": "When a card",
+ "r-when-a-card": "Kart eklendiğinde",
"r-is": "is",
"r-is-moved": "is moved",
"r-added-to": "added to",
"r-removed-from": "Removed from",
"r-the-board": "pano",
"r-list": "liste",
- "set-filter": "Set Filter",
+ "set-filter": "Filtrele",
"r-moved-to": "Moved to",
"r-moved-from": "Moved from",
"r-archived": "Arşive taşındı",
@@ -575,9 +593,10 @@
"r-card": "Kart",
"r-add": "Ekle",
"r-remove": "Kaldır",
- "r-label": "label",
+ "r-label": "etiket",
"r-member": "üye",
"r-remove-all": "Tüm üyeleri karttan çıkarın",
+ "r-set-color": "Set color to",
"r-checklist": "Kontrol Listesi",
"r-check-all": "Tümünü işaretle",
"r-uncheck-all": "Tüm işaretleri kaldır",
diff --git a/i18n/uk.i18n.json b/i18n/uk.i18n.json
index 2bea1d31..820524a3 100644
--- a/i18n/uk.i18n.json
+++ b/i18n/uk.i18n.json
@@ -169,14 +169,30 @@
"close-board-pop": "You will be able to restore the board by clicking the “Archive” button from the home header.",
"color-black": "чорний",
"color-blue": "синій",
+ "color-crimson": "crimson",
+ "color-darkgreen": "darkgreen",
+ "color-gold": "gold",
+ "color-gray": "gray",
"color-green": "зелений",
+ "color-indigo": "indigo",
"color-lime": "лайм",
+ "color-magenta": "magenta",
+ "color-mistyrose": "mistyrose",
+ "color-navy": "navy",
"color-orange": "помаранчевий",
+ "color-paleturquoise": "paleturquoise",
+ "color-peachpuff": "peachpuff",
"color-pink": "рожевий",
+ "color-plum": "plum",
"color-purple": "фіолетовий",
"color-red": "червоний",
+ "color-saddlebrown": "saddlebrown",
+ "color-silver": "silver",
"color-sky": "sky",
+ "color-slateblue": "slateblue",
+ "color-white": "white",
"color-yellow": "жовтий",
+ "unset-color": "Unset",
"comment": "Коментар",
"comment-placeholder": "Написати коментар",
"comment-only": "Comment only",
@@ -480,6 +496,7 @@
"OS_Totalmem": "OS Total Memory",
"OS_Type": "OS Type",
"OS_Uptime": "OS Uptime",
+ "days": "days",
"hours": "hours",
"minutes": "minutes",
"seconds": "seconds",
@@ -500,6 +517,7 @@
"card-end-on": "Ends on",
"editCardReceivedDatePopup-title": "Change received date",
"editCardEndDatePopup-title": "Change end date",
+ "setCardColor-title": "Set color",
"assigned-by": "Assigned By",
"requested-by": "Requested By",
"board-delete-notice": "Deleting is permanent. You will lose all lists, cards and actions associated with this board.",
@@ -578,6 +596,7 @@
"r-label": "label",
"r-member": "member",
"r-remove-all": "Remove all members from the card",
+ "r-set-color": "Set color to",
"r-checklist": "checklist",
"r-check-all": "Check all",
"r-uncheck-all": "Uncheck all",
diff --git a/i18n/vi.i18n.json b/i18n/vi.i18n.json
index 7cf7b840..e9b454c1 100644
--- a/i18n/vi.i18n.json
+++ b/i18n/vi.i18n.json
@@ -169,14 +169,30 @@
"close-board-pop": "You will be able to restore the board by clicking the “Archive” button from the home header.",
"color-black": "black",
"color-blue": "blue",
+ "color-crimson": "crimson",
+ "color-darkgreen": "darkgreen",
+ "color-gold": "gold",
+ "color-gray": "gray",
"color-green": "green",
+ "color-indigo": "indigo",
"color-lime": "lime",
+ "color-magenta": "magenta",
+ "color-mistyrose": "mistyrose",
+ "color-navy": "navy",
"color-orange": "orange",
+ "color-paleturquoise": "paleturquoise",
+ "color-peachpuff": "peachpuff",
"color-pink": "pink",
+ "color-plum": "plum",
"color-purple": "purple",
"color-red": "red",
+ "color-saddlebrown": "saddlebrown",
+ "color-silver": "silver",
"color-sky": "sky",
+ "color-slateblue": "slateblue",
+ "color-white": "white",
"color-yellow": "yellow",
+ "unset-color": "Unset",
"comment": "Comment",
"comment-placeholder": "Write Comment",
"comment-only": "Comment only",
@@ -480,6 +496,7 @@
"OS_Totalmem": "OS Total Memory",
"OS_Type": "OS Type",
"OS_Uptime": "OS Uptime",
+ "days": "days",
"hours": "hours",
"minutes": "minutes",
"seconds": "seconds",
@@ -500,6 +517,7 @@
"card-end-on": "Ends on",
"editCardReceivedDatePopup-title": "Change received date",
"editCardEndDatePopup-title": "Change end date",
+ "setCardColor-title": "Set color",
"assigned-by": "Assigned By",
"requested-by": "Requested By",
"board-delete-notice": "Deleting is permanent. You will lose all lists, cards and actions associated with this board.",
@@ -578,6 +596,7 @@
"r-label": "label",
"r-member": "member",
"r-remove-all": "Remove all members from the card",
+ "r-set-color": "Set color to",
"r-checklist": "checklist",
"r-check-all": "Check all",
"r-uncheck-all": "Uncheck all",
diff --git a/i18n/zh-CN.i18n.json b/i18n/zh-CN.i18n.json
index b1e08b71..8e0b87f9 100644
--- a/i18n/zh-CN.i18n.json
+++ b/i18n/zh-CN.i18n.json
@@ -169,14 +169,30 @@
"close-board-pop": "您可以通过主页头部的“归档”按钮,来恢复看板。",
"color-black": "黑色",
"color-blue": "蓝色",
+ "color-crimson": "crimson",
+ "color-darkgreen": "darkgreen",
+ "color-gold": "gold",
+ "color-gray": "gray",
"color-green": "绿色",
+ "color-indigo": "indigo",
"color-lime": "绿黄",
+ "color-magenta": "magenta",
+ "color-mistyrose": "mistyrose",
+ "color-navy": "navy",
"color-orange": "橙色",
+ "color-paleturquoise": "paleturquoise",
+ "color-peachpuff": "peachpuff",
"color-pink": "粉红",
+ "color-plum": "plum",
"color-purple": "紫色",
"color-red": "红色",
+ "color-saddlebrown": "saddlebrown",
+ "color-silver": "silver",
"color-sky": "天蓝",
+ "color-slateblue": "slateblue",
+ "color-white": "white",
"color-yellow": "黄色",
+ "unset-color": "Unset",
"comment": "评论",
"comment-placeholder": "添加评论",
"comment-only": "仅能评论",
@@ -480,6 +496,7 @@
"OS_Totalmem": "系统全部内存",
"OS_Type": "系统类型",
"OS_Uptime": "系统运行时间",
+ "days": "天",
"hours": "小时",
"minutes": "分钟",
"seconds": "秒",
@@ -500,6 +517,7 @@
"card-end-on": "终止于",
"editCardReceivedDatePopup-title": "修改接收日期",
"editCardEndDatePopup-title": "修改终止日期",
+ "setCardColor-title": "Set color",
"assigned-by": "分配人",
"requested-by": "需求人",
"board-delete-notice": "删除时永久操作,将会丢失此看板上的所有列表、卡片和动作。",
@@ -578,6 +596,7 @@
"r-label": "标签",
"r-member": "成员",
"r-remove-all": "从卡片移除所有成员",
+ "r-set-color": "Set color to",
"r-checklist": "清单",
"r-check-all": "勾选所有",
"r-uncheck-all": "取消勾选所有",
diff --git a/i18n/zh-TW.i18n.json b/i18n/zh-TW.i18n.json
index 2305ce7d..e578993a 100644
--- a/i18n/zh-TW.i18n.json
+++ b/i18n/zh-TW.i18n.json
@@ -169,14 +169,30 @@
"close-board-pop": "You will be able to restore the board by clicking the “Archive” button from the home header.",
"color-black": "黑色",
"color-blue": "藍色",
+ "color-crimson": "crimson",
+ "color-darkgreen": "darkgreen",
+ "color-gold": "gold",
+ "color-gray": "gray",
"color-green": "綠色",
+ "color-indigo": "indigo",
"color-lime": "綠黃",
+ "color-magenta": "magenta",
+ "color-mistyrose": "mistyrose",
+ "color-navy": "navy",
"color-orange": "橙色",
+ "color-paleturquoise": "paleturquoise",
+ "color-peachpuff": "peachpuff",
"color-pink": "粉紅",
+ "color-plum": "plum",
"color-purple": "紫色",
"color-red": "紅色",
+ "color-saddlebrown": "saddlebrown",
+ "color-silver": "silver",
"color-sky": "天藍",
+ "color-slateblue": "slateblue",
+ "color-white": "white",
"color-yellow": "黃色",
+ "unset-color": "Unset",
"comment": "留言",
"comment-placeholder": "新增評論",
"comment-only": "只可以發表評論",
@@ -480,6 +496,7 @@
"OS_Totalmem": "系統總記憶體",
"OS_Type": "系統類型",
"OS_Uptime": "系統運行時間",
+ "days": "days",
"hours": "小時",
"minutes": "分鐘",
"seconds": "秒",
@@ -500,6 +517,7 @@
"card-end-on": "Ends on",
"editCardReceivedDatePopup-title": "Change received date",
"editCardEndDatePopup-title": "Change end date",
+ "setCardColor-title": "Set color",
"assigned-by": "Assigned By",
"requested-by": "Requested By",
"board-delete-notice": "Deleting is permanent. You will lose all lists, cards and actions associated with this board.",
@@ -578,6 +596,7 @@
"r-label": "label",
"r-member": "member",
"r-remove-all": "Remove all members from the card",
+ "r-set-color": "Set color to",
"r-checklist": "checklist",
"r-check-all": "Check all",
"r-uncheck-all": "Uncheck all",
diff --git a/models/boards.js b/models/boards.js
index 57f3a1f1..99480ca7 100644
--- a/models/boards.js
+++ b/models/boards.js
@@ -1,10 +1,19 @@
Boards = new Mongo.Collection('boards');
+/**
+ * This is a Board.
+ */
Boards.attachSchema(new SimpleSchema({
title: {
+ /**
+ * The title of the board
+ */
type: String,
},
slug: {
+ /**
+ * The title slugified.
+ */
type: String,
autoValue() { // eslint-disable-line consistent-return
// XXX We need to improve slug management. Only the id should be necessary
@@ -24,6 +33,9 @@ Boards.attachSchema(new SimpleSchema({
},
},
archived: {
+ /**
+ * Is the board archived?
+ */
type: Boolean,
autoValue() { // eslint-disable-line consistent-return
if (this.isInsert && !this.isSet) {
@@ -32,6 +44,9 @@ Boards.attachSchema(new SimpleSchema({
},
},
createdAt: {
+ /**
+ * Creation time of the board
+ */
type: Date,
autoValue() { // eslint-disable-line consistent-return
if (this.isInsert) {
@@ -43,6 +58,9 @@ Boards.attachSchema(new SimpleSchema({
},
// XXX Inconsistent field naming
modifiedAt: {
+ /**
+ * Last modification time of the board
+ */
type: Date,
optional: true,
autoValue() { // eslint-disable-line consistent-return
@@ -55,6 +73,9 @@ Boards.attachSchema(new SimpleSchema({
},
// De-normalized number of users that have starred this board
stars: {
+ /**
+ * How many stars the board has
+ */
type: Number,
autoValue() { // eslint-disable-line consistent-return
if (this.isInsert) {
@@ -64,6 +85,9 @@ Boards.attachSchema(new SimpleSchema({
},
// De-normalized label system
'labels': {
+ /**
+ * List of labels attached to a board
+ */
type: [Object],
autoValue() { // eslint-disable-line consistent-return
if (this.isInsert && !this.isSet) {
@@ -78,6 +102,9 @@ Boards.attachSchema(new SimpleSchema({
},
},
'labels.$._id': {
+ /**
+ * Unique id of a label
+ */
// We don't specify that this field must be unique in the board because that
// will cause performance penalties and is not necessary since this field is
// always set on the server.
@@ -86,10 +113,22 @@ Boards.attachSchema(new SimpleSchema({
type: String,
},
'labels.$.name': {
+ /**
+ * Name of a label
+ */
type: String,
optional: true,
},
'labels.$.color': {
+ /**
+ * color of a label.
+ *
+ * Can be amongst `green`, `yellow`, `orange`, `red`, `purple`,
+ * `blue`, `sky`, `lime`, `pink`, `black`,
+ * `silver`, `peachpuff`, `crimson`, `plum`, `darkgreen`,
+ * `slateblue`, `magenta`, `gold`, `navy`, `gray`,
+ * `saddlebrown`, `paleturquoise`, `mistyrose`, `indigo`
+ */
type: String,
allowedValues: [
'green', 'yellow', 'orange', 'red', 'purple',
@@ -103,6 +142,9 @@ Boards.attachSchema(new SimpleSchema({
// documents like de-normalized meta-data (the date the member joined the
// board, the number of contributions, etc.).
'members': {
+ /**
+ * List of members of a board
+ */
type: [Object],
autoValue() { // eslint-disable-line consistent-return
if (this.isInsert && !this.isSet) {
@@ -117,27 +159,48 @@ Boards.attachSchema(new SimpleSchema({
},
},
'members.$.userId': {
+ /**
+ * The uniq ID of the member
+ */
type: String,
},
'members.$.isAdmin': {
+ /**
+ * Is the member an admin of the board?
+ */
type: Boolean,
},
'members.$.isActive': {
+ /**
+ * Is the member active?
+ */
type: Boolean,
},
'members.$.isNoComments': {
+ /**
+ * Is the member not allowed to make comments
+ */
type: Boolean,
optional: true,
},
'members.$.isCommentOnly': {
+ /**
+ * Is the member only allowed to comment on the board
+ */
type: Boolean,
optional: true,
},
permission: {
+ /**
+ * visibility of the board
+ */
type: String,
allowedValues: ['public', 'private'],
},
color: {
+ /**
+ * The color of the board.
+ */
type: String,
allowedValues: [
'belize',
@@ -154,24 +217,45 @@ Boards.attachSchema(new SimpleSchema({
},
},
description: {
+ /**
+ * The description of the board
+ */
type: String,
optional: true,
},
subtasksDefaultBoardId: {
+ /**
+ * The default board ID assigned to subtasks.
+ */
type: String,
optional: true,
defaultValue: null,
},
subtasksDefaultListId: {
+ /**
+ * The default List ID assigned to subtasks.
+ */
type: String,
optional: true,
defaultValue: null,
},
allowsSubtasks: {
+ /**
+ * Does the board allows subtasks?
+ */
type: Boolean,
defaultValue: true,
},
presentParentTask: {
+ /**
+ * Controls how to present the parent task:
+ *
+ * - `prefix-with-full-path`: add a prefix with the full path
+ * - `prefix-with-parent`: add a prefisx with the parent name
+ * - `subtext-with-full-path`: add a subtext with the full path
+ * - `subtext-with-parent`: add a subtext with the parent name
+ * - `no-parent`: does not show the parent at all
+ */
type: String,
allowedValues: [
'prefix-with-full-path',
@@ -184,23 +268,38 @@ Boards.attachSchema(new SimpleSchema({
defaultValue: 'no-parent',
},
startAt: {
+ /**
+ * Starting date of the board.
+ */
type: Date,
optional: true,
},
dueAt: {
+ /**
+ * Due date of the board.
+ */
type: Date,
optional: true,
},
endAt: {
+ /**
+ * End date of the board.
+ */
type: Date,
optional: true,
},
spentTime: {
+ /**
+ * Time spent in the board.
+ */
type: Number,
decimal: true,
optional: true,
},
isOvertime: {
+ /**
+ * Is the board overtimed?
+ */
type: Boolean,
defaultValue: false,
optional: true,
@@ -278,10 +377,6 @@ Boards.helpers({
return Users.find({ _id: { $in: _.pluck(this.members, 'userId') } });
},
- getMember(id) {
- return _.findWhere(this.members, { userId: id });
- },
-
getLabel(name, color) {
return _.findWhere(this.labels, { name, color });
},
@@ -778,6 +873,14 @@ if (Meteor.isServer) {
//BOARDS REST API
if (Meteor.isServer) {
+ /**
+ * @operation get_boards_from_user
+ * @summary Get all boards attached to a user
+ *
+ * @param {string} userId the ID of the user to retrieve the data
+ * @return_type [{_id: string,
+ title: string}]
+ */
JsonRoutes.add('GET', '/api/users/:userId/boards', function (req, res) {
try {
Authentication.checkLoggedIn(req.userId);
@@ -808,6 +911,13 @@ if (Meteor.isServer) {
}
});
+ /**
+ * @operation get_public_boards
+ * @summary Get all public boards
+ *
+ * @return_type [{_id: string,
+ title: string}]
+ */
JsonRoutes.add('GET', '/api/boards', function (req, res) {
try {
Authentication.checkUserId(req.userId);
@@ -829,6 +939,13 @@ if (Meteor.isServer) {
}
});
+ /**
+ * @operation get_board
+ * @summary Get the board with that particular ID
+ *
+ * @param {string} boardId the ID of the board to retrieve the data
+ * @return_type Boards
+ */
JsonRoutes.add('GET', '/api/boards/:boardId', function (req, res) {
try {
const id = req.params.boardId;
@@ -847,34 +964,31 @@ if (Meteor.isServer) {
}
});
- JsonRoutes.add('PUT', '/api/boards/:boardId/members', function (req, res) {
- Authentication.checkUserId(req.userId);
- try {
- const boardId = req.params.boardId;
- const board = Boards.findOne({ _id: boardId });
- const userId = req.body.userId;
- const user = Users.findOne({ _id: userId });
-
- if (!board.getMember(userId)) {
- user.addInvite(boardId);
- board.addMember(userId);
- JsonRoutes.sendResult(res, {
- code: 200,
- data: id,
- });
- } else {
- JsonRoutes.sendResult(res, {
- code: 200,
- });
- }
- }
- catch (error) {
- JsonRoutes.sendResult(res, {
- data: error,
- });
- }
- });
-
+ /**
+ * @operation new_board
+ * @summary Create a board
+ *
+ * @description This allows to create a board.
+ *
+ * The color has to be chosen between `belize`, `nephritis`, `pomegranate`,
+ * `pumpkin`, `wisteria`, `midnight`:
+ *
+ * <img src="https://wekan.github.io/board-colors.png" width="40%" alt="Wekan logo" />
+ *
+ * @param {string} title the new title of the board
+ * @param {string} owner "ABCDE12345" <= User ID in Wekan.
+ * (Not username or email)
+ * @param {boolean} [isAdmin] is the owner an admin of the board (default true)
+ * @param {boolean} [isActive] is the board active (default true)
+ * @param {boolean} [isNoComments] disable comments (default false)
+ * @param {boolean} [isCommentOnly] only enable comments (default false)
+ * @param {string} [permission] "private" board <== Set to "public" if you
+ * want public Wekan board
+ * @param {string} [color] the color of the board
+ *
+ * @return_type {_id: string,
+ defaultSwimlaneId: string}
+ */
JsonRoutes.add('POST', '/api/boards', function (req, res) {
try {
Authentication.checkUserId(req.userId);
@@ -912,6 +1026,12 @@ if (Meteor.isServer) {
}
});
+ /**
+ * @operation delete_board
+ * @summary Delete a board
+ *
+ * @param {string} boardId the ID of the board
+ */
JsonRoutes.add('DELETE', '/api/boards/:boardId', function (req, res) {
try {
Authentication.checkUserId(req.userId);
@@ -932,6 +1052,19 @@ if (Meteor.isServer) {
}
});
+ /**
+ * @operation add_board_label
+ * @summary Add a label to a board
+ *
+ * @description If the board doesn't have the name/color label, this function
+ * adds the label to the board.
+ *
+ * @param {string} boardId the board
+ * @param {string} color the color of the new label
+ * @param {string} name the name of the new label
+ *
+ * @return_type string
+ */
JsonRoutes.add('PUT', '/api/boards/:boardId/labels', function (req, res) {
Authentication.checkUserId(req.userId);
const id = req.params.boardId;
@@ -961,6 +1094,17 @@ if (Meteor.isServer) {
}
});
+ /**
+ * @operation set_board_member_permission
+ * @tag Users
+ * @summary Change the permission of a member of a board
+ *
+ * @param {string} boardId the ID of the board that we are changing
+ * @param {string} memberId the ID of the user to change permissions
+ * @param {boolean} isAdmin admin capability
+ * @param {boolean} isNoComments NoComments capability
+ * @param {boolean} isCommentOnly CommentsOnly capability
+ */
JsonRoutes.add('POST', '/api/boards/:boardId/members/:memberId', function (req, res) {
try {
const boardId = req.params.boardId;
diff --git a/models/cardComments.js b/models/cardComments.js
index b6cb10fa..974c5ec9 100644
--- a/models/cardComments.js
+++ b/models/cardComments.js
@@ -1,19 +1,34 @@
CardComments = new Mongo.Collection('card_comments');
+/**
+ * A comment on a card
+ */
CardComments.attachSchema(new SimpleSchema({
boardId: {
+ /**
+ * the board ID
+ */
type: String,
},
cardId: {
+ /**
+ * the card ID
+ */
type: String,
},
// XXX Rename in `content`? `text` is a bit vague...
text: {
+ /**
+ * the text of the comment
+ */
type: String,
},
// XXX We probably don't need this information here, since we already have it
// in the associated comment creation activity
createdAt: {
+ /**
+ * when was the comment created
+ */
type: Date,
denyUpdate: false,
autoValue() { // eslint-disable-line consistent-return
@@ -26,6 +41,9 @@ CardComments.attachSchema(new SimpleSchema({
},
// XXX Should probably be called `authorId`
userId: {
+ /**
+ * the author ID of the comment
+ */
type: String,
autoValue() { // eslint-disable-line consistent-return
if (this.isInsert && !this.isSet) {
@@ -87,6 +105,16 @@ if (Meteor.isServer) {
//CARD COMMENT REST API
if (Meteor.isServer) {
+ /**
+ * @operation get_all_comments
+ * @summary Get all comments attached to a card
+ *
+ * @param {string} boardId the board ID of the card
+ * @param {string} cardId the ID of the card
+ * @return_type [{_id: string,
+ * comment: string,
+ * authorId: string}]
+ */
JsonRoutes.add('GET', '/api/boards/:boardId/cards/:cardId/comments', function (req, res) {
try {
Authentication.checkUserId( req.userId);
@@ -111,6 +139,15 @@ if (Meteor.isServer) {
}
});
+ /**
+ * @operation get_comment
+ * @summary Get a comment on a card
+ *
+ * @param {string} boardId the board ID of the card
+ * @param {string} cardId the ID of the card
+ * @param {string} commentId the ID of the comment to retrieve
+ * @return_type CardComments
+ */
JsonRoutes.add('GET', '/api/boards/:boardId/cards/:cardId/comments/:commentId', function (req, res) {
try {
Authentication.checkUserId( req.userId);
@@ -130,6 +167,16 @@ if (Meteor.isServer) {
}
});
+ /**
+ * @operation new_comment
+ * @summary Add a comment on a card
+ *
+ * @param {string} boardId the board ID of the card
+ * @param {string} cardId the ID of the card
+ * @param {string} authorId the user who 'posted' the comment
+ * @param {string} text the content of the comment
+ * @return_type {_id: string}
+ */
JsonRoutes.add('POST', '/api/boards/:boardId/cards/:cardId/comments', function (req, res) {
try {
Authentication.checkUserId( req.userId);
@@ -160,6 +207,15 @@ if (Meteor.isServer) {
}
});
+ /**
+ * @operation delete_comment
+ * @summary Delete a comment on a card
+ *
+ * @param {string} boardId the board ID of the card
+ * @param {string} cardId the ID of the card
+ * @param {string} commentId the ID of the comment to delete
+ * @return_type {_id: string}
+ */
JsonRoutes.add('DELETE', '/api/boards/:boardId/cards/:cardId/comments/:commentId', function (req, res) {
try {
Authentication.checkUserId( req.userId);
diff --git a/models/cards.js b/models/cards.js
index 7b05e4b5..c5d9bf05 100644
--- a/models/cards.js
+++ b/models/cards.js
@@ -5,11 +5,17 @@ Cards = new Mongo.Collection('cards');
// of comments just to display the number of them in the board view.
Cards.attachSchema(new SimpleSchema({
title: {
+ /**
+ * the title of the card
+ */
type: String,
optional: true,
defaultValue: '',
},
archived: {
+ /**
+ * is the card archived
+ */
type: Boolean,
autoValue() { // eslint-disable-line consistent-return
if (this.isInsert && !this.isSet) {
@@ -18,33 +24,62 @@ Cards.attachSchema(new SimpleSchema({
},
},
parentId: {
+ /**
+ * ID of the parent card
+ */
type: String,
optional: true,
defaultValue: '',
},
listId: {
+ /**
+ * List ID where the card is
+ */
type: String,
optional: true,
defaultValue: '',
},
swimlaneId: {
+ /**
+ * Swimlane ID where the card is
+ */
type: String,
},
// The system could work without this `boardId` information (we could deduce
// the board identifier from the card), but it would make the system more
// difficult to manage and less efficient.
boardId: {
+ /**
+ * Board ID of the card
+ */
type: String,
optional: true,
defaultValue: '',
},
coverId: {
+ /**
+ * Cover ID of the card
+ */
type: String,
optional: true,
defaultValue: '',
},
+ color: {
+ type: String,
+ optional: true,
+ allowedValues: [
+ 'green', 'yellow', 'orange', 'red', 'purple',
+ 'blue', 'sky', 'lime', 'pink', 'black',
+ 'silver', 'peachpuff', 'crimson', 'plum', 'darkgreen',
+ 'slateblue', 'magenta', 'gold', 'navy', 'gray',
+ 'saddlebrown', 'paleturquoise', 'mistyrose', 'indigo',
+ ],
+ },
createdAt: {
+ /**
+ * creation date
+ */
type: Date,
autoValue() { // eslint-disable-line consistent-return
if (this.isInsert) {
@@ -55,6 +90,9 @@ Cards.attachSchema(new SimpleSchema({
},
},
customFields: {
+ /**
+ * list of custom fields
+ */
type: [Object],
optional: true,
defaultValue: [],
@@ -62,11 +100,17 @@ Cards.attachSchema(new SimpleSchema({
'customFields.$': {
type: new SimpleSchema({
_id: {
+ /**
+ * the ID of the related custom field
+ */
type: String,
optional: true,
defaultValue: '',
},
value: {
+ /**
+ * value attached to the custom field
+ */
type: Match.OneOf(String, Number, Boolean, Date),
optional: true,
defaultValue: '',
@@ -74,59 +118,95 @@ Cards.attachSchema(new SimpleSchema({
}),
},
dateLastActivity: {
+ /**
+ * Date of last activity
+ */
type: Date,
autoValue() {
return new Date();
},
},
description: {
+ /**
+ * description of the card
+ */
type: String,
optional: true,
defaultValue: '',
},
requestedBy: {
+ /**
+ * who requested the card (ID of the user)
+ */
type: String,
optional: true,
defaultValue: '',
},
assignedBy: {
+ /**
+ * who assigned the card (ID of the user)
+ */
type: String,
optional: true,
defaultValue: '',
},
labelIds: {
+ /**
+ * list of labels ID the card has
+ */
type: [String],
optional: true,
defaultValue: [],
},
members: {
+ /**
+ * list of members (user IDs)
+ */
type: [String],
optional: true,
defaultValue: [],
},
receivedAt: {
+ /**
+ * Date the card was received
+ */
type: Date,
optional: true,
},
startAt: {
+ /**
+ * Date the card was started to be worked on
+ */
type: Date,
optional: true,
},
dueAt: {
+ /**
+ * Date the card is due
+ */
type: Date,
optional: true,
},
endAt: {
+ /**
+ * Date the card ended
+ */
type: Date,
optional: true,
},
spentTime: {
+ /**
+ * How much time has been spent on this
+ */
type: Number,
decimal: true,
optional: true,
defaultValue: 0,
},
isOvertime: {
+ /**
+ * is the card over time?
+ */
type: Boolean,
defaultValue: false,
optional: true,
@@ -134,6 +214,9 @@ Cards.attachSchema(new SimpleSchema({
// XXX Should probably be called `authorId`. Is it even needed since we have
// the `members` field?
userId: {
+ /**
+ * user ID of the author of the card
+ */
type: String,
autoValue() { // eslint-disable-line consistent-return
if (this.isInsert && !this.isSet) {
@@ -142,21 +225,33 @@ Cards.attachSchema(new SimpleSchema({
},
},
sort: {
+ /**
+ * Sort value
+ */
type: Number,
decimal: true,
defaultValue: '',
},
subtaskSort: {
+ /**
+ * subtask sort value
+ */
type: Number,
decimal: true,
defaultValue: -1,
optional: true,
},
type: {
+ /**
+ * type of the card
+ */
type: String,
defaultValue: '',
},
linkedId: {
+ /**
+ * ID of the linked card
+ */
type: String,
optional: true,
defaultValue: '',
@@ -351,7 +446,12 @@ Cards.helpers({
definition,
};
});
+ },
+ colorClass() {
+ if (this.color)
+ return this.color;
+ return '';
},
absoluteUrl() {
@@ -933,6 +1033,17 @@ Cards.mutations({
}
},
+ setColor(newColor) {
+ if (newColor === 'white') {
+ newColor = null;
+ }
+ return {
+ $set: {
+ color: newColor,
+ },
+ };
+ },
+
assignMember(memberId) {
return {
$addToSet: {
@@ -1309,6 +1420,17 @@ if (Meteor.isServer) {
}
//SWIMLANES REST API
if (Meteor.isServer) {
+ /**
+ * @operation get_swimlane_cards
+ * @summary get all cards attached to a swimlane
+ *
+ * @param {string} boardId the board ID
+ * @param {string} swimlaneId the swimlane ID
+ * @return_type [{_id: string,
+ * title: string,
+ * description: string,
+ * listId: string}]
+ */
JsonRoutes.add('GET', '/api/boards/:boardId/swimlanes/:swimlaneId/cards', function(req, res) {
const paramBoardId = req.params.boardId;
const paramSwimlaneId = req.params.swimlaneId;
@@ -1332,6 +1454,16 @@ if (Meteor.isServer) {
}
//LISTS REST API
if (Meteor.isServer) {
+ /**
+ * @operation get_all_cards
+ * @summary Get all Cards attached to a List
+ *
+ * @param {string} boardId the board ID
+ * @param {string} listId the list ID
+ * @return_type [{_id: string,
+ * title: string,
+ * description: string}]
+ */
JsonRoutes.add('GET', '/api/boards/:boardId/lists/:listId/cards', function(req, res) {
const paramBoardId = req.params.boardId;
const paramListId = req.params.listId;
@@ -1352,6 +1484,15 @@ if (Meteor.isServer) {
});
});
+ /**
+ * @operation get_card
+ * @summary Get a Card
+ *
+ * @param {string} boardId the board ID
+ * @param {string} listId the list ID of the card
+ * @param {string} cardId the card ID
+ * @return_type Cards
+ */
JsonRoutes.add('GET', '/api/boards/:boardId/lists/:listId/cards/:cardId', function(req, res) {
const paramBoardId = req.params.boardId;
const paramListId = req.params.listId;
@@ -1368,6 +1509,19 @@ if (Meteor.isServer) {
});
});
+ /**
+ * @operation new_card
+ * @summary Create a new Card
+ *
+ * @param {string} boardId the board ID of the new card
+ * @param {string} listId the list ID of the new card
+ * @param {string} authorID the user ID of the person owning the card
+ * @param {string} title the title of the new card
+ * @param {string} description the description of the new card
+ * @param {string} swimlaneId the swimlane ID of the new card
+ * @param {string} [members] the member IDs list of the new card
+ * @return_type {_id: string}
+ */
JsonRoutes.add('POST', '/api/boards/:boardId/lists/:listId/cards', function(req, res) {
Authentication.checkUserId(req.userId);
const paramBoardId = req.params.boardId;
@@ -1406,6 +1560,47 @@ if (Meteor.isServer) {
}
});
+ /*
+ * Note for the JSDoc:
+ * 'list' will be interpreted as the path parameter
+ * 'listID' will be interpreted as the body parameter
+ */
+ /**
+ * @operation edit_card
+ * @summary Edit Fields in a Card
+ *
+ * @description Edit a card
+ *
+ * The color has to be chosen between `green`, `yellow`, `orange`, `red`,
+ * `purple`, `blue`, `sky`, `lime`, `pink`, `black`, `silver`, `peachpuff`,
+ * `crimson`, `plum`, `darkgreen`, `slateblue`, `magenta`, `gold`, `navy`,
+ * `gray`, `saddlebrown`, `paleturquoise`, `mistyrose`, `indigo`:
+ *
+ * <img src="/card-colors.png" width="40%" alt="Wekan card colors" />
+ *
+ * @param {string} boardId the board ID of the card
+ * @param {string} list the list ID of the card
+ * @param {string} cardId the ID of the card
+ * @param {string} [title] the new title of the card
+ * @param {string} [listId] the new list ID of the card (move operation)
+ * @param {string} [description] the new description of the card
+ * @param {string} [authorId] change the owner of the card
+ * @param {string} [labelIds] the new list of label IDs attached to the card
+ * @param {string} [swimlaneId] the new swimlane ID of the card
+ * @param {string} [members] the new list of member IDs attached to the card
+ * @param {string} [requestedBy] the new requestedBy field of the card
+ * @param {string} [assignedBy] the new assignedBy field of the card
+ * @param {string} [receivedAt] the new receivedAt field of the card
+ * @param {string} [assignBy] the new assignBy field of the card
+ * @param {string} [startAt] the new startAt field of the card
+ * @param {string} [dueAt] the new dueAt field of the card
+ * @param {string} [endAt] the new endAt field of the card
+ * @param {string} [spentTime] the new spentTime field of the card
+ * @param {boolean} [isOverTime] the new isOverTime field of the card
+ * @param {string} [customFields] the new customFields value of the card
+ * @param {string} [color] the new color of the card
+ * @return_type {_id: string}
+ */
JsonRoutes.add('PUT', '/api/boards/:boardId/lists/:listId/cards/:cardId', function(req, res) {
Authentication.checkUserId(req.userId);
const paramBoardId = req.params.boardId;
@@ -1459,6 +1654,11 @@ if (Meteor.isServer) {
},
});
}
+ if (req.body.hasOwnProperty('color')) {
+ const newColor = req.body.color;
+ Cards.direct.update({_id: paramCardId, listId: paramListId, boardId: paramBoardId, archived: false},
+ {$set: {color: newColor}});
+ }
if (req.body.hasOwnProperty('labelIds')) {
let newlabelIds = req.body.labelIds;
if (_.isString(newlabelIds)) {
@@ -1551,6 +1751,18 @@ if (Meteor.isServer) {
});
});
+ /**
+ * @operation delete_card
+ * @summary Delete a card from a board
+ *
+ * @description This operation **deletes** a card, and therefore the card
+ * is not put in the recycle bin.
+ *
+ * @param {string} boardId the board ID of the card
+ * @param {string} list the list ID of the card
+ * @param {string} cardId the ID of the card
+ * @return_type {_id: string}
+ */
JsonRoutes.add('DELETE', '/api/boards/:boardId/lists/:listId/cards/:cardId', function(req, res) {
Authentication.checkUserId(req.userId);
const paramBoardId = req.params.boardId;
diff --git a/models/checklistItems.js b/models/checklistItems.js
index 9867dd94..35b18ed7 100644
--- a/models/checklistItems.js
+++ b/models/checklistItems.js
@@ -1,21 +1,39 @@
ChecklistItems = new Mongo.Collection('checklistItems');
+/**
+ * An item in a checklist
+ */
ChecklistItems.attachSchema(new SimpleSchema({
title: {
+ /**
+ * the text of the item
+ */
type: String,
},
sort: {
+ /**
+ * the sorting field of the item
+ */
type: Number,
decimal: true,
},
isFinished: {
+ /**
+ * Is the item checked?
+ */
type: Boolean,
defaultValue: false,
},
checklistId: {
+ /**
+ * the checklist ID the item is attached to
+ */
type: String,
},
cardId: {
+ /**
+ * the card ID the item is attached to
+ */
type: String,
},
}));
@@ -193,6 +211,17 @@ if (Meteor.isServer) {
}
if (Meteor.isServer) {
+ /**
+ * @operation get_checklist_item
+ * @tag Checklists
+ * @summary Get a checklist item
+ *
+ * @param {string} boardId the board ID
+ * @param {string} cardId the card ID
+ * @param {string} checklistId the checklist ID
+ * @param {string} itemId the ID of the item
+ * @return_type ChecklistItems
+ */
JsonRoutes.add('GET', '/api/boards/:boardId/cards/:cardId/checklists/:checklistId/items/:itemId', function (req, res) {
Authentication.checkUserId( req.userId);
const paramItemId = req.params.itemId;
@@ -209,6 +238,19 @@ if (Meteor.isServer) {
}
});
+ /**
+ * @operation edit_checklist_item
+ * @tag Checklists
+ * @summary Edit a checklist item
+ *
+ * @param {string} boardId the board ID
+ * @param {string} cardId the card ID
+ * @param {string} checklistId the checklist ID
+ * @param {string} itemId the ID of the item
+ * @param {string} [isFinished] is the item checked?
+ * @param {string} [title] the new text of the item
+ * @return_type {_id: string}
+ */
JsonRoutes.add('PUT', '/api/boards/:boardId/cards/:cardId/checklists/:checklistId/items/:itemId', function (req, res) {
Authentication.checkUserId( req.userId);
@@ -229,6 +271,19 @@ if (Meteor.isServer) {
});
});
+ /**
+ * @operation delete_checklist_item
+ * @tag Checklists
+ * @summary Delete a checklist item
+ *
+ * @description Note: this operation can't be reverted.
+ *
+ * @param {string} boardId the board ID
+ * @param {string} cardId the card ID
+ * @param {string} checklistId the checklist ID
+ * @param {string} itemId the ID of the item to be removed
+ * @return_type {_id: string}
+ */
JsonRoutes.add('DELETE', '/api/boards/:boardId/cards/:cardId/checklists/:checklistId/items/:itemId', function (req, res) {
Authentication.checkUserId( req.userId);
const paramItemId = req.params.itemId;
diff --git a/models/checklists.js b/models/checklists.js
index 425a10b2..a372fafa 100644
--- a/models/checklists.js
+++ b/models/checklists.js
@@ -1,18 +1,33 @@
Checklists = new Mongo.Collection('checklists');
+/**
+ * A Checklist
+ */
Checklists.attachSchema(new SimpleSchema({
cardId: {
+ /**
+ * The ID of the card the checklist is in
+ */
type: String,
},
title: {
+ /**
+ * the title of the checklist
+ */
type: String,
defaultValue: 'Checklist',
},
finishedAt: {
+ /**
+ * When was the checklist finished
+ */
type: Date,
optional: true,
},
createdAt: {
+ /**
+ * Creation date of the checklist
+ */
type: Date,
denyUpdate: false,
autoValue() { // eslint-disable-line consistent-return
@@ -24,6 +39,9 @@ Checklists.attachSchema(new SimpleSchema({
},
},
sort: {
+ /**
+ * sorting value of the checklist
+ */
type: Number,
decimal: true,
},
@@ -128,6 +146,15 @@ if (Meteor.isServer) {
}
if (Meteor.isServer) {
+ /**
+ * @operation get_all_checklists
+ * @summary Get the list of checklists attached to a card
+ *
+ * @param {string} boardId the board ID
+ * @param {string} cardId the card ID
+ * @return_type [{_id: string,
+ * title: string}]
+ */
JsonRoutes.add('GET', '/api/boards/:boardId/cards/:cardId/checklists', function (req, res) {
Authentication.checkUserId( req.userId);
const paramCardId = req.params.cardId;
@@ -149,6 +176,22 @@ if (Meteor.isServer) {
}
});
+ /**
+ * @operation get_checklist
+ * @summary Get a checklist
+ *
+ * @param {string} boardId the board ID
+ * @param {string} cardId the card ID
+ * @param {string} checklistId the ID of the checklist
+ * @return_type {cardId: string,
+ * title: string,
+ * finishedAt: string,
+ * createdAt: string,
+ * sort: number,
+ * items: [{_id: string,
+ * title: string,
+ * isFinished: boolean}]}
+ */
JsonRoutes.add('GET', '/api/boards/:boardId/cards/:cardId/checklists/:checklistId', function (req, res) {
Authentication.checkUserId( req.userId);
const paramChecklistId = req.params.checklistId;
@@ -173,6 +216,15 @@ if (Meteor.isServer) {
}
});
+ /**
+ * @operation new_checklist
+ * @summary create a new checklist
+ *
+ * @param {string} boardId the board ID
+ * @param {string} cardId the card ID
+ * @param {string} title the title of the new checklist
+ * @return_type {_id: string}
+ */
JsonRoutes.add('POST', '/api/boards/:boardId/cards/:cardId/checklists', function (req, res) {
Authentication.checkUserId( req.userId);
@@ -204,6 +256,17 @@ if (Meteor.isServer) {
}
});
+ /**
+ * @operation delete_checklist
+ * @summary Delete a checklist
+ *
+ * @description The checklist will be removed, not put in the recycle bin.
+ *
+ * @param {string} boardId the board ID
+ * @param {string} cardId the card ID
+ * @param {string} checklistId the ID of the checklist to remove
+ * @return_type {_id: string}
+ */
JsonRoutes.add('DELETE', '/api/boards/:boardId/cards/:cardId/checklists/:checklistId', function (req, res) {
Authentication.checkUserId( req.userId);
const paramChecklistId = req.params.checklistId;
diff --git a/models/customFields.js b/models/customFields.js
index 5bb5e743..3e8aa250 100644
--- a/models/customFields.js
+++ b/models/customFields.js
@@ -1,40 +1,73 @@
CustomFields = new Mongo.Collection('customFields');
+/**
+ * A custom field on a card in the board
+ */
CustomFields.attachSchema(new SimpleSchema({
boardId: {
+ /**
+ * the ID of the board
+ */
type: String,
},
name: {
+ /**
+ * name of the custom field
+ */
type: String,
},
type: {
+ /**
+ * type of the custom field
+ */
type: String,
allowedValues: ['text', 'number', 'date', 'dropdown'],
},
settings: {
+ /**
+ * settings of the custom field
+ */
type: Object,
},
'settings.dropdownItems': {
+ /**
+ * list of drop down items objects
+ */
type: [Object],
optional: true,
},
'settings.dropdownItems.$': {
type: new SimpleSchema({
_id: {
+ /**
+ * ID of the drop down item
+ */
type: String,
},
name: {
+ /**
+ * name of the drop down item
+ */
type: String,
},
}),
},
showOnCard: {
+ /**
+ * should we show on the cards this custom field
+ */
type: Boolean,
},
automaticallyOnCard: {
+ /**
+ * should the custom fields automatically be added on cards?
+ */
type: Boolean,
},
showLabelOnMiniCard: {
+ /**
+ * should the label of the custom field be shown on minicards?
+ */
type: Boolean,
},
}));
@@ -88,6 +121,15 @@ if (Meteor.isServer) {
//CUSTOM FIELD REST API
if (Meteor.isServer) {
+ /**
+ * @operation get_all_custom_fields
+ * @summary Get the list of Custom Fields attached to a board
+ *
+ * @param {string} boardID the ID of the board
+ * @return_type [{_id: string,
+ * name: string,
+ * type: string}]
+ */
JsonRoutes.add('GET', '/api/boards/:boardId/custom-fields', function (req, res) {
Authentication.checkUserId( req.userId);
const paramBoardId = req.params.boardId;
@@ -103,6 +145,14 @@ if (Meteor.isServer) {
});
});
+ /**
+ * @operation get_custom_field
+ * @summary Get a Custom Fields attached to a board
+ *
+ * @param {string} boardID the ID of the board
+ * @param {string} customFieldId the ID of the custom field
+ * @return_type CustomFields
+ */
JsonRoutes.add('GET', '/api/boards/:boardId/custom-fields/:customFieldId', function (req, res) {
Authentication.checkUserId( req.userId);
const paramBoardId = req.params.boardId;
@@ -113,6 +163,19 @@ if (Meteor.isServer) {
});
});
+ /**
+ * @operation new_custom_field
+ * @summary Create a Custom Field
+ *
+ * @param {string} boardID the ID of the board
+ * @param {string} name the name of the custom field
+ * @param {string} type the type of the custom field
+ * @param {string} settings the settings object of the custom field
+ * @param {boolean} showOnCard should we show the custom field on cards?
+ * @param {boolean} automaticallyOnCard should the custom fields automatically be added on cards?
+ * @param {boolean} showLabelOnMiniCard should the label of the custom field be shown on minicards?
+ * @return_type {_id: string}
+ */
JsonRoutes.add('POST', '/api/boards/:boardId/custom-fields', function (req, res) {
Authentication.checkUserId( req.userId);
const paramBoardId = req.params.boardId;
@@ -137,6 +200,16 @@ if (Meteor.isServer) {
});
});
+ /**
+ * @operation delete_custom_field
+ * @summary Delete a Custom Fields attached to a board
+ *
+ * @description The Custom Field can't be retrieved after this operation
+ *
+ * @param {string} boardID the ID of the board
+ * @param {string} customFieldId the ID of the custom field
+ * @return_type {_id: string}
+ */
JsonRoutes.add('DELETE', '/api/boards/:boardId/custom-fields/:customFieldId', function (req, res) {
Authentication.checkUserId( req.userId);
const paramBoardId = req.params.boardId;
diff --git a/models/export.js b/models/export.js
index 62d2687a..50971c88 100644
--- a/models/export.js
+++ b/models/export.js
@@ -6,25 +6,34 @@ if (Meteor.isServer) {
// `ApiRoutes.path('boards/export', boardId)``
// on the client instead of copy/pasting the route path manually between the
// client and the server.
- /*
- * This route is used to export the board FROM THE APPLICATION.
- * If user is already logged-in, pass loginToken as param "authToken":
- * '/api/boards/:boardId/export?authToken=:token'
+ /**
+ * @operation export
+ * @tag Boards
+ *
+ * @summary This route is used to export the board.
+ *
+ * @description If user is already logged-in, pass loginToken as param
+ * "authToken": '/api/boards/:boardId/export?authToken=:token'
*
* See https://blog.kayla.com.au/server-side-route-authentication-in-meteor/
* for detailed explanations
+ *
+ * @param {string} boardId the ID of the board we are exporting
+ * @param {string} authToken the loginToken
*/
JsonRoutes.add('get', '/api/boards/:boardId/export', function(req, res) {
const boardId = req.params.boardId;
let user = null;
- // todo XXX for real API, first look for token in Authentication: header
- // then fallback to parameter
+
const loginToken = req.query.authToken;
if (loginToken) {
const hashToken = Accounts._hashLoginToken(loginToken);
user = Meteor.users.findOne({
'services.resume.loginTokens.hashedToken': hashToken,
});
+ } else {
+ Authentication.checkUserId(req.userId);
+ user = Users.findOne({ _id: req.userId, isAdmin: true });
}
const exporter = new Exporter(boardId);
diff --git a/models/integrations.js b/models/integrations.js
index 1062b93b..1c473b57 100644
--- a/models/integrations.js
+++ b/models/integrations.js
@@ -1,33 +1,60 @@
Integrations = new Mongo.Collection('integrations');
+/**
+ * Integration with third-party applications
+ */
Integrations.attachSchema(new SimpleSchema({
enabled: {
+ /**
+ * is the integration enabled?
+ */
type: Boolean,
defaultValue: true,
},
title: {
+ /**
+ * name of the integration
+ */
type: String,
optional: true,
},
type: {
+ /**
+ * type of the integratation (Default to 'outgoing-webhooks')
+ */
type: String,
defaultValue: 'outgoing-webhooks',
},
activities: {
+ /**
+ * activities the integration gets triggered (list)
+ */
type: [String],
defaultValue: ['all'],
},
url: { // URL validation regex (https://mathiasbynens.be/demo/url-regex)
+ /**
+ * URL validation regex (https://mathiasbynens.be/demo/url-regex)
+ */
type: String,
},
token: {
+ /**
+ * token of the integration
+ */
type: String,
optional: true,
},
boardId: {
+ /**
+ * Board ID of the integration
+ */
type: String,
},
createdAt: {
+ /**
+ * Creation date of the integration
+ */
type: Date,
denyUpdate: false,
autoValue() { // eslint-disable-line consistent-return
@@ -39,6 +66,9 @@ Integrations.attachSchema(new SimpleSchema({
},
},
userId: {
+ /**
+ * user ID who created the interation
+ */
type: String,
},
}));
@@ -58,7 +88,13 @@ Integrations.allow({
//INTEGRATIONS REST API
if (Meteor.isServer) {
- // Get all integrations in board
+ /**
+ * @operation get_all_integrations
+ * @summary Get all integrations in board
+ *
+ * @param {string} boardId the board ID
+ * @return_type [Integrations]
+ */
JsonRoutes.add('GET', '/api/boards/:boardId/integrations', function(req, res) {
try {
const paramBoardId = req.params.boardId;
@@ -78,7 +114,14 @@ if (Meteor.isServer) {
}
});
- // Get a single integration in board
+ /**
+ * @operation get_integration
+ * @summary Get a single integration in board
+ *
+ * @param {string} boardId the board ID
+ * @param {string} intId the integration ID
+ * @return_type Integrations
+ */
JsonRoutes.add('GET', '/api/boards/:boardId/integrations/:intId', function(req, res) {
try {
const paramBoardId = req.params.boardId;
@@ -98,7 +141,14 @@ if (Meteor.isServer) {
}
});
- // Create a new integration
+ /**
+ * @operation new_integration
+ * @summary Create a new integration
+ *
+ * @param {string} boardId the board ID
+ * @param {string} url the URL of the integration
+ * @return_type {_id: string}
+ */
JsonRoutes.add('POST', '/api/boards/:boardId/integrations', function(req, res) {
try {
const paramBoardId = req.params.boardId;
@@ -125,7 +175,19 @@ if (Meteor.isServer) {
}
});
- // Edit integration data
+ /**
+ * @operation edit_integration
+ * @summary Edit integration data
+ *
+ * @param {string} boardId the board ID
+ * @param {string} intId the integration ID
+ * @param {string} [enabled] is the integration enabled?
+ * @param {string} [title] new name of the integration
+ * @param {string} [url] new URL of the integration
+ * @param {string} [token] new token of the integration
+ * @param {string} [activities] new list of activities of the integration
+ * @return_type {_id: string}
+ */
JsonRoutes.add('PUT', '/api/boards/:boardId/integrations/:intId', function (req, res) {
try {
const paramBoardId = req.params.boardId;
@@ -173,7 +235,15 @@ if (Meteor.isServer) {
}
});
- // Delete subscribed activities
+ /**
+ * @operation delete_integration_activities
+ * @summary Delete subscribed activities
+ *
+ * @param {string} boardId the board ID
+ * @param {string} intId the integration ID
+ * @param {string} newActivities the activities to remove from the integration
+ * @return_type Integrations
+ */
JsonRoutes.add('DELETE', '/api/boards/:boardId/integrations/:intId/activities', function (req, res) {
try {
const paramBoardId = req.params.boardId;
@@ -197,7 +267,15 @@ if (Meteor.isServer) {
}
});
- // Add subscribed activities
+ /**
+ * @operation new_integration_activities
+ * @summary Add subscribed activities
+ *
+ * @param {string} boardId the board ID
+ * @param {string} intId the integration ID
+ * @param {string} newActivities the activities to add to the integration
+ * @return_type Integrations
+ */
JsonRoutes.add('POST', '/api/boards/:boardId/integrations/:intId/activities', function (req, res) {
try {
const paramBoardId = req.params.boardId;
@@ -221,7 +299,14 @@ if (Meteor.isServer) {
}
});
- // Delete integration
+ /**
+ * @operation delete_integration
+ * @summary Delete integration
+ *
+ * @param {string} boardId the board ID
+ * @param {string} intId the integration ID
+ * @return_type {_id: string}
+ */
JsonRoutes.add('DELETE', '/api/boards/:boardId/integrations/:intId', function (req, res) {
try {
const paramBoardId = req.params.boardId;
diff --git a/models/lists.js b/models/lists.js
index b99fe8f5..0e1ba801 100644
--- a/models/lists.js
+++ b/models/lists.js
@@ -1,10 +1,19 @@
Lists = new Mongo.Collection('lists');
+/**
+ * A list (column) in the Wekan board.
+ */
Lists.attachSchema(new SimpleSchema({
title: {
+ /**
+ * the title of the list
+ */
type: String,
},
archived: {
+ /**
+ * is the list archived
+ */
type: Boolean,
autoValue() { // eslint-disable-line consistent-return
if (this.isInsert && !this.isSet) {
@@ -13,9 +22,15 @@ Lists.attachSchema(new SimpleSchema({
},
},
boardId: {
+ /**
+ * the board associated to this list
+ */
type: String,
},
createdAt: {
+ /**
+ * creation date
+ */
type: Date,
autoValue() { // eslint-disable-line consistent-return
if (this.isInsert) {
@@ -26,12 +41,18 @@ Lists.attachSchema(new SimpleSchema({
},
},
sort: {
+ /**
+ * is the list sorted
+ */
type: Number,
decimal: true,
// XXX We should probably provide a default
optional: true,
},
updatedAt: {
+ /**
+ * last update of the list
+ */
type: Date,
optional: true,
autoValue() { // eslint-disable-line consistent-return
@@ -43,19 +64,31 @@ Lists.attachSchema(new SimpleSchema({
},
},
wipLimit: {
+ /**
+ * WIP object, see below
+ */
type: Object,
optional: true,
},
'wipLimit.value': {
+ /**
+ * value of the WIP
+ */
type: Number,
decimal: false,
defaultValue: 1,
},
'wipLimit.enabled': {
+ /**
+ * is the WIP enabled
+ */
type: Boolean,
defaultValue: false,
},
'wipLimit.soft': {
+ /**
+ * is the WIP a soft or hard requirement
+ */
type: Boolean,
defaultValue: false,
},
@@ -212,6 +245,14 @@ if (Meteor.isServer) {
//LISTS REST API
if (Meteor.isServer) {
+ /**
+ * @operation get_all_lists
+ * @summary Get the list of Lists attached to a board
+ *
+ * @param {string} boardId the board ID
+ * @return_type [{_id: string,
+ * title: string}]
+ */
JsonRoutes.add('GET', '/api/boards/:boardId/lists', function (req, res) {
try {
const paramBoardId = req.params.boardId;
@@ -235,6 +276,14 @@ if (Meteor.isServer) {
}
});
+ /**
+ * @operation get_list
+ * @summary Get a List attached to a board
+ *
+ * @param {string} boardId the board ID
+ * @param {string} listId the List ID
+ * @return_type Lists
+ */
JsonRoutes.add('GET', '/api/boards/:boardId/lists/:listId', function (req, res) {
try {
const paramBoardId = req.params.boardId;
@@ -253,6 +302,14 @@ if (Meteor.isServer) {
}
});
+ /**
+ * @operation new_list
+ * @summary Add a List to a board
+ *
+ * @param {string} boardId the board ID
+ * @param {string} title the title of the List
+ * @return_type {_id: string}
+ */
JsonRoutes.add('POST', '/api/boards/:boardId/lists', function (req, res) {
try {
Authentication.checkUserId( req.userId);
@@ -276,6 +333,17 @@ if (Meteor.isServer) {
}
});
+ /**
+ * @operation delete_list
+ * @summary Delete a List
+ *
+ * @description This **deletes** a list from a board.
+ * The list is not put in the recycle bin.
+ *
+ * @param {string} boardId the board ID
+ * @param {string} listId the ID of the list to remove
+ * @return_type {_id: string}
+ */
JsonRoutes.add('DELETE', '/api/boards/:boardId/lists/:listId', function (req, res) {
try {
Authentication.checkUserId( req.userId);
diff --git a/models/swimlanes.js b/models/swimlanes.js
index 3559bcd2..fa5245da 100644
--- a/models/swimlanes.js
+++ b/models/swimlanes.js
@@ -1,10 +1,19 @@
Swimlanes = new Mongo.Collection('swimlanes');
+/**
+ * A swimlane is an line in the kaban board.
+ */
Swimlanes.attachSchema(new SimpleSchema({
title: {
+ /**
+ * the title of the swimlane
+ */
type: String,
},
archived: {
+ /**
+ * is the swimlane archived?
+ */
type: Boolean,
autoValue() { // eslint-disable-line consistent-return
if (this.isInsert && !this.isSet) {
@@ -13,9 +22,15 @@ Swimlanes.attachSchema(new SimpleSchema({
},
},
boardId: {
+ /**
+ * the ID of the board the swimlane is attached to
+ */
type: String,
},
createdAt: {
+ /**
+ * creation date of the swimlane
+ */
type: Date,
autoValue() { // eslint-disable-line consistent-return
if (this.isInsert) {
@@ -26,12 +41,18 @@ Swimlanes.attachSchema(new SimpleSchema({
},
},
sort: {
+ /**
+ * the sort value of the swimlane
+ */
type: Number,
decimal: true,
// XXX We should probably provide a default
optional: true,
},
updatedAt: {
+ /**
+ * when was the swimlane last edited
+ */
type: Date,
optional: true,
autoValue() { // eslint-disable-line consistent-return
@@ -131,6 +152,15 @@ if (Meteor.isServer) {
//SWIMLANE REST API
if (Meteor.isServer) {
+ /**
+ * @operation get_all_swimlanes
+ *
+ * @summary Get the list of swimlanes attached to a board
+ *
+ * @param {string} boardId the ID of the board
+ * @return_type [{_id: string,
+ * title: string}]
+ */
JsonRoutes.add('GET', '/api/boards/:boardId/swimlanes', function (req, res) {
try {
const paramBoardId = req.params.boardId;
@@ -154,6 +184,15 @@ if (Meteor.isServer) {
}
});
+ /**
+ * @operation get_swimlane
+ *
+ * @summary Get a swimlane
+ *
+ * @param {string} boardId the ID of the board
+ * @param {string} swimlaneId the ID of the swimlane
+ * @return_type Swimlanes
+ */
JsonRoutes.add('GET', '/api/boards/:boardId/swimlanes/:swimlaneId', function (req, res) {
try {
const paramBoardId = req.params.boardId;
@@ -172,6 +211,15 @@ if (Meteor.isServer) {
}
});
+ /**
+ * @operation new_swimlane
+ *
+ * @summary Add a swimlane to a board
+ *
+ * @param {string} boardId the ID of the board
+ * @param {string} title the new title of the swimlane
+ * @return_type {_id: string}
+ */
JsonRoutes.add('POST', '/api/boards/:boardId/swimlanes', function (req, res) {
try {
Authentication.checkUserId( req.userId);
@@ -195,6 +243,17 @@ if (Meteor.isServer) {
}
});
+ /**
+ * @operation delete_swimlane
+ *
+ * @summary Delete a swimlane
+ *
+ * @description The swimlane will be deleted, not moved to the recycle bin
+ *
+ * @param {string} boardId the ID of the board
+ * @param {string} swimlaneId the ID of the swimlane
+ * @return_type {_id: string}
+ */
JsonRoutes.add('DELETE', '/api/boards/:boardId/swimlanes/:swimlaneId', function (req, res) {
try {
Authentication.checkUserId( req.userId);
diff --git a/models/users.js b/models/users.js
index d4c678b7..56643848 100644
--- a/models/users.js
+++ b/models/users.js
@@ -4,8 +4,14 @@ const isSandstorm = Meteor.settings && Meteor.settings.public &&
Meteor.settings.public.sandstorm;
Users = Meteor.users;
+/**
+ * A User in wekan
+ */
Users.attachSchema(new SimpleSchema({
username: {
+ /**
+ * the username of the user
+ */
type: String,
optional: true,
autoValue() { // eslint-disable-line consistent-return
@@ -18,17 +24,29 @@ Users.attachSchema(new SimpleSchema({
},
},
emails: {
+ /**
+ * the list of emails attached to a user
+ */
type: [Object],
optional: true,
},
'emails.$.address': {
+ /**
+ * The email address
+ */
type: String,
regEx: SimpleSchema.RegEx.Email,
},
'emails.$.verified': {
+ /**
+ * Has the email been verified
+ */
type: Boolean,
},
createdAt: {
+ /**
+ * creation date of the user
+ */
type: Date,
autoValue() { // eslint-disable-line consistent-return
if (this.isInsert) {
@@ -39,6 +57,9 @@ Users.attachSchema(new SimpleSchema({
},
},
profile: {
+ /**
+ * profile settings
+ */
type: Object,
optional: true,
autoValue() { // eslint-disable-line consistent-return
@@ -50,50 +71,86 @@ Users.attachSchema(new SimpleSchema({
},
},
'profile.avatarUrl': {
+ /**
+ * URL of the avatar of the user
+ */
type: String,
optional: true,
},
'profile.emailBuffer': {
+ /**
+ * list of email buffers of the user
+ */
type: [String],
optional: true,
},
'profile.fullname': {
+ /**
+ * full name of the user
+ */
type: String,
optional: true,
},
'profile.hiddenSystemMessages': {
+ /**
+ * does the user wants to hide system messages?
+ */
type: Boolean,
optional: true,
},
'profile.initials': {
+ /**
+ * initials of the user
+ */
type: String,
optional: true,
},
'profile.invitedBoards': {
+ /**
+ * board IDs the user has been invited to
+ */
type: [String],
optional: true,
},
'profile.language': {
+ /**
+ * language of the user
+ */
type: String,
optional: true,
},
'profile.notifications': {
+ /**
+ * enabled notifications for the user
+ */
type: [String],
optional: true,
},
'profile.showCardsCountAt': {
+ /**
+ * showCardCountAt field of the user
+ */
type: Number,
optional: true,
},
'profile.starredBoards': {
+ /**
+ * list of starred board IDs
+ */
type: [String],
optional: true,
},
'profile.icode': {
+ /**
+ * icode
+ */
type: String,
optional: true,
},
'profile.boardView': {
+ /**
+ * boardView field of the user
+ */
type: String,
optional: true,
allowedValues: [
@@ -103,27 +160,45 @@ Users.attachSchema(new SimpleSchema({
],
},
services: {
+ /**
+ * services field of the user
+ */
type: Object,
optional: true,
blackbox: true,
},
heartbeat: {
+ /**
+ * last time the user has been seen
+ */
type: Date,
optional: true,
},
isAdmin: {
+ /**
+ * is the user an admin of the board?
+ */
type: Boolean,
optional: true,
},
createdThroughApi: {
+ /**
+ * was the user created through the API?
+ */
type: Boolean,
optional: true,
},
loginDisabled: {
+ /**
+ * loginDisabled field of the user
+ */
type: Boolean,
optional: true,
},
'authenticationMethod': {
+ /**
+ * authentication method of the user
+ */
type: String,
optional: false,
defaultValue: 'password',
@@ -681,6 +756,12 @@ if (Meteor.isServer) {
}
});
+ /**
+ * @operation get_current_user
+ *
+ * @summary returns the current user
+ * @return_type Users
+ */
JsonRoutes.add('GET', '/api/user', function(req, res) {
try {
Authentication.checkLoggedIn(req.userId);
@@ -699,6 +780,15 @@ if (Meteor.isServer) {
}
});
+ /**
+ * @operation get_all_users
+ *
+ * @summary return all the users
+ *
+ * @description Only the admin user (the first user) can call the REST API.
+ * @return_type [{ _id: string,
+ * username: string}]
+ */
JsonRoutes.add('GET', '/api/users', function (req, res) {
try {
Authentication.checkUserId(req.userId);
@@ -717,6 +807,16 @@ if (Meteor.isServer) {
}
});
+ /**
+ * @operation get_user
+ *
+ * @summary get a given user
+ *
+ * @description Only the admin user (the first user) can call the REST API.
+ *
+ * @param {string} userId the user ID
+ * @return_type Users
+ */
JsonRoutes.add('GET', '/api/users/:userId', function (req, res) {
try {
Authentication.checkUserId(req.userId);
@@ -734,6 +834,23 @@ if (Meteor.isServer) {
}
});
+ /**
+ * @operation edit_user
+ *
+ * @summary edit a given user
+ *
+ * @description Only the admin user (the first user) can call the REST API.
+ *
+ * Possible values for *action*:
+ * - `takeOwnership`: The admin takes the ownership of ALL boards of the user (archived and not archived) where the user is admin on.
+ * - `disableLogin`: Disable a user (the user is not allowed to login and his login tokens are purged)
+ * - `enableLogin`: Enable a user
+ *
+ * @param {string} userId the user ID
+ * @param {string} action the action
+ * @return_type {_id: string,
+ * title: string}
+ */
JsonRoutes.add('PUT', '/api/users/:userId', function (req, res) {
try {
Authentication.checkUserId(req.userId);
@@ -777,6 +894,25 @@ if (Meteor.isServer) {
}
});
+ /**
+ * @operation add_board_member
+ * @tag Boards
+ *
+ * @summary Add New Board Member with Role
+ *
+ * @description Only the admin user (the first user) can call the REST API.
+ *
+ * **Note**: see [Boards.set_board_member_permission](#set_board_member_permission)
+ * to later change the permissions.
+ *
+ * @param {string} boardId the board ID
+ * @param {string} userId the user ID
+ * @param {boolean} isAdmin is the user an admin of the board
+ * @param {boolean} isNoComments disable comments
+ * @param {boolean} isCommentOnly only enable comments
+ * @return_type {_id: string,
+ * title: string}
+ */
JsonRoutes.add('POST', '/api/boards/:boardId/members/:userId/add', function (req, res) {
try {
Authentication.checkUserId(req.userId);
@@ -817,6 +953,20 @@ if (Meteor.isServer) {
}
});
+ /**
+ * @operation remove_board_member
+ * @tag Boards
+ *
+ * @summary Remove Member from Board
+ *
+ * @description Only the admin user (the first user) can call the REST API.
+ *
+ * @param {string} boardId the board ID
+ * @param {string} userId the user ID
+ * @param {string} action the action (needs to be `remove`)
+ * @return_type {_id: string,
+ * title: string}
+ */
JsonRoutes.add('POST', '/api/boards/:boardId/members/:userId/remove', function (req, res) {
try {
Authentication.checkUserId(req.userId);
@@ -852,6 +1002,18 @@ if (Meteor.isServer) {
}
});
+ /**
+ * @operation new_user
+ *
+ * @summary Create a new user
+ *
+ * @description Only the admin user (the first user) can call the REST API.
+ *
+ * @param {string} username the new username
+ * @param {string} email the email of the new user
+ * @param {string} password the password of the new user
+ * @return_type {_id: string}
+ */
JsonRoutes.add('POST', '/api/users/', function (req, res) {
try {
Authentication.checkUserId(req.userId);
@@ -876,6 +1038,16 @@ if (Meteor.isServer) {
}
});
+ /**
+ * @operation delete_user
+ *
+ * @summary Delete a user
+ *
+ * @description Only the admin user (the first user) can call the REST API.
+ *
+ * @param {string} userId the ID of the user to delete
+ * @return_type {_id: string}
+ */
JsonRoutes.add('DELETE', '/api/users/:userId', function (req, res) {
try {
Authentication.checkUserId(req.userId);
diff --git a/openapi/README.md b/openapi/README.md
new file mode 100644
index 00000000..c353ffd4
--- /dev/null
+++ b/openapi/README.md
@@ -0,0 +1,27 @@
+
+# OpenAPI tools and doc generation
+
+## Open API generation
+
+This folder contains a script (`generate_openapi.py`) that extracts
+the REST API of Wekan and exports it under the OpenAPI 2.0 specification
+(Swagger 2.0).
+
+### dependencies
+- python3
+- [esprima-python](https://github.com/Kronuz/esprima-python)
+
+### calling the tool
+
+ python3 generate_openapi.py --release v1.65 > ../public/wekan_api.yml
+
+## Generating docs
+Now that we have the OpenAPI, it's easy enough to convert the YAML file into some nice Markdown with
+[shins](https://github.com/Mermade/shins) and [api2html](https://github.com/tobilg/api2html),
+or even [ReDoc](https://github.com/Rebilly/ReDoc):
+
+ api2html -c ../public/wekan-logo-header.png -o api.html ../public/wekan_api.yml
+
+or
+
+ redoc-cli serve ../public/wekan_api.yml
diff --git a/openapi/generate_openapi.py b/openapi/generate_openapi.py
new file mode 100644
index 00000000..2a898f0e
--- /dev/null
+++ b/openapi/generate_openapi.py
@@ -0,0 +1,915 @@
+#!/bin/env python3
+
+import argparse
+import esprima
+import json
+import os
+import re
+import sys
+
+
+def get_req_body_elems(obj, elems):
+ if obj.type == 'FunctionExpression':
+ get_req_body_elems(obj.body, elems)
+ elif obj.type == 'BlockStatement':
+ for s in obj.body:
+ get_req_body_elems(s, elems)
+ elif obj.type == 'TryStatement':
+ get_req_body_elems(obj.block, elems)
+ elif obj.type == 'ExpressionStatement':
+ get_req_body_elems(obj.expression, elems)
+ elif obj.type == 'MemberExpression':
+ left = get_req_body_elems(obj.object, elems)
+ right = obj.property.name
+ if left == 'req.body' and right not in elems:
+ elems.append(right)
+ return '{}.{}'.format(left, right)
+ elif obj.type == 'VariableDeclaration':
+ for s in obj.declarations:
+ get_req_body_elems(s, elems)
+ elif obj.type == 'VariableDeclarator':
+ if obj.id.type == 'ObjectPattern':
+ # get_req_body_elems() can't be called directly here:
+ # const {isAdmin, isNoComments, isCommentOnly} = req.body;
+ right = get_req_body_elems(obj.init, elems)
+ if right == 'req.body':
+ for p in obj.id.properties:
+ name = p.key.name
+ if name not in elems:
+ elems.append(name)
+ else:
+ get_req_body_elems(obj.init, elems)
+ elif obj.type == 'Property':
+ get_req_body_elems(obj.value, elems)
+ elif obj.type == 'ObjectExpression':
+ for s in obj.properties:
+ get_req_body_elems(s, elems)
+ elif obj.type == 'CallExpression':
+ for s in obj.arguments:
+ get_req_body_elems(s, elems)
+ elif obj.type == 'ArrayExpression':
+ for s in obj.elements:
+ get_req_body_elems(s, elems)
+ elif obj.type == 'IfStatement':
+ get_req_body_elems(obj.test, elems)
+ if obj.consequent is not None:
+ get_req_body_elems(obj.consequent, elems)
+ if obj.alternate is not None:
+ get_req_body_elems(obj.alternate, elems)
+ elif obj.type in ('LogicalExpression', 'BinaryExpression', 'AssignmentExpression'):
+ get_req_body_elems(obj.left, elems)
+ get_req_body_elems(obj.right, elems)
+ elif obj.type in ('ReturnStatement', 'UnaryExpression'):
+ get_req_body_elems(obj.argument, elems)
+ elif obj.type == 'Literal':
+ pass
+ elif obj.type == 'Identifier':
+ return obj.name
+ elif obj.type == 'FunctionDeclaration':
+ pass
+ else:
+ print(obj)
+ return ''
+
+
+def cleanup_jsdocs(jsdoc):
+ # remove leading spaces before the first '*'
+ doc = [s.lstrip() for s in jsdoc.value.split('\n')]
+
+ # remove leading stars
+ doc = [s.lstrip('*') for s in doc]
+
+ # remove leading empty lines
+ while len(doc) and not doc[0].strip():
+ doc.pop(0)
+
+ # remove terminating empty lines
+ while len(doc) and not doc[-1].strip():
+ doc.pop(-1)
+
+ return doc
+
+
+class JS2jsonDecoder(json.JSONDecoder):
+ def decode(self, s):
+ result = super().decode(s) # result = super(Decoder, self).decode(s) for Python 2.x
+ return self._decode(result)
+
+ def _decode(self, o):
+ if isinstance(o, str) or isinstance(o, unicode):
+ try:
+ return int(o)
+ except ValueError:
+ return o
+ elif isinstance(o, dict):
+ return {k: self._decode(v) for k, v in o.items()}
+ elif isinstance(o, list):
+ return [self._decode(v) for v in o]
+ else:
+ return o
+
+
+def load_return_type_jsdoc_json(data):
+ regex_replace = [(r'\n', r' '), # replace new lines by spaces
+ (r'([\{\s,])(\w+)(:)', r'\1"\2"\3'), # insert double quotes in keys
+ (r'(:)\s*([^:\},\]]+)\s*([\},\]])', r'\1"\2"\3'), # insert double quotes in values
+ (r'(\[)\s*([^{].+)\s*(\])', r'\1"\2"\3'), # insert double quotes in array items
+ (r'^\s*([^\[{].+)\s*', r'"\1"')] # insert double quotes in single item
+ for r, s in regex_replace:
+ data = re.sub(r, s, data)
+ return json.loads(data)
+
+
+class EntryPoint(object):
+ def __init__(self, schema, statements):
+ self.schema = schema
+ self.method, self._path, self.body = statements
+ self._jsdoc = None
+ self._doc = {}
+ self._raw_doc = None
+ self.path = self.compute_path()
+ self.method_name = self.method.value.lower()
+ self.body_params = []
+ if self.method_name in ('post', 'put'):
+ get_req_body_elems(self.body, self.body_params)
+
+ # replace the :parameter in path by {parameter}
+ self.url = re.sub(r':([^/]*)Id', r'{\1}', self.path)
+ self.url = re.sub(r':([^/]*)', r'{\1}', self.url)
+
+ # reduce the api name
+ # get_boards_board_cards() should be get_board_cards()
+ tokens = self.url.split('/')
+ reduced_function_name = []
+ for i, token in enumerate(tokens):
+ if token in ('api'):
+ continue
+ if (i < len(tokens) - 1 and # not the last item
+ tokens[i + 1].startswith('{')): # and the next token is a parameter
+ continue
+ reduced_function_name.append(token.strip('{}'))
+ self.reduced_function_name = '_'.join(reduced_function_name)
+
+ # mark the schema as used
+ schema.used = True
+
+ def compute_path(self):
+ return self._path.value.rstrip('/')
+
+ def error(self, message):
+ if self._raw_doc is None:
+ sys.stderr.write('in {},\n'.format(self.schema.name))
+ sys.stderr.write('{}\n'.format(message))
+ return
+ sys.stderr.write('in {}, lines {}-{}\n'.format(self.schema.name,
+ self._raw_doc.loc.start.line,
+ self._raw_doc.loc.end.line))
+ sys.stderr.write('{}\n'.format(self._raw_doc.value))
+ sys.stderr.write('{}\n'.format(message))
+
+ @property
+ def doc(self):
+ return self._doc
+
+ @doc.setter
+ def doc(self, doc):
+ '''Parse the JSDoc attached to an entry point.
+ `jsdoc` will not get these right as they are not attached to a method.
+ So instead, we do our custom parsing here (yes, subject to errors).
+
+ The expected format is the following (empty lines between entries
+ are ignored):
+ /**
+ * @operation name_of_entry_point
+ * @tag: a_tag_to_add
+ * @tag: an_other_tag_to_add
+ * @summary A nice summary, better in one line.
+ *
+ * @description This is a quite long description.
+ * We can use *mardown* as the final rendering is done
+ * by slate.
+ *
+ * indentation doesn't matter.
+ *
+ * @param param_0 description of param 0
+ * @param {string} param_1 we can also put the type of the parameter
+ * before its name, like in JSDoc
+ * @param {boolean} [param_2] we can also tell if the parameter is
+ * optional by adding square brackets around its name
+ *
+ * @return Documents a return value
+ */
+
+ Notes:
+ - name_of_entry_point will be referenced in the ToC of the generated
+ document. This is also the operationId used in the resulting openapi
+ file. It needs to be uniq in the namesapce (the current schema.js
+ file)
+ - tags are appended to the current Schema attached to the file
+ '''
+
+ self._raw_doc = doc
+
+ self._jsdoc = cleanup_jsdocs(doc)
+
+ def store_tag(tag, data):
+ # check that there is something to store first
+ if not data.strip():
+ return
+
+ # remove terminating whitespaces and empty lines
+ data = data.rstrip()
+
+ # parameters are handled specially
+ if tag == 'param':
+ if 'params' not in self._doc:
+ self._doc['params'] = {}
+ params = self._doc['params']
+
+ param_type = None
+ try:
+ name, desc = data.split(maxsplit=1)
+ except ValueError:
+ desc = ''
+
+ if name.startswith('{'):
+ param_type = name.strip('{}')
+ if param_type not in ['string', 'number', 'boolean', 'integer', 'array', 'file']:
+ self.error('Warning, unknown type {}\n allowed values: string, number, boolean, integer, array, file'.format(param_type))
+ try:
+ name, desc = desc.split(maxsplit=1)
+ except ValueError:
+ desc = ''
+
+ optional = name.startswith('[') and name.endswith(']')
+
+ if optional:
+ name = name[1:-1]
+
+ # we should not have 2 identical parameter names
+ if tag in params:
+ self.error('Warning, overwriting parameter {}'.format(name))
+
+ params[name] = (param_type, optional, desc)
+
+ if name.endswith('Id'):
+ # we strip out the 'Id' from the form parameters, we need
+ # to keep the actual description around
+ name = name[:-2]
+ if name not in params:
+ params[name] = (param_type, optional, desc)
+
+ return
+
+ # 'tag' can be set several times
+ if tag == 'tag':
+ if tag not in self._doc:
+ self._doc[tag] = []
+ self._doc[tag].append(data)
+
+ return
+
+ # 'return' tag is json
+ if tag == 'return_type':
+ try:
+ data = load_return_type_jsdoc_json(data)
+ except json.decoder.JSONDecodeError:
+ pass
+
+ # we should not have 2 identical tags but @param or @tag
+ if tag in self._doc:
+ self.error('Warning, overwriting tag {}'.format(tag))
+
+ self._doc[tag] = data
+
+ # reset the current doc fields
+ self._doc = {}
+
+ # first item is supposed to be the description
+ current_tag = 'description'
+ current_data = ''
+
+ for line in self._jsdoc:
+ if line.lstrip().startswith('@'):
+ tag, data = line.lstrip().split(maxsplit=1)
+
+ if tag in ['@operation', '@summary', '@description', '@param', '@return_type', '@tag']:
+ # store the current data
+ store_tag(current_tag, current_data)
+
+ current_tag = tag.lstrip('@')
+ current_data = ''
+ line = data
+ else:
+ self.error('Unknown tag {}, ignoring'.format(tag))
+
+ current_data += line + '\n'
+
+ store_tag(current_tag, current_data)
+
+ @property
+ def summary(self):
+ if 'summary' in self._doc:
+ # new lines are not allowed
+ return self._doc['summary'].replace('\n', ' ')
+
+ return None
+
+ def doc_param(self, name):
+ if 'params' in self._doc and name in self._doc['params']:
+ return self._doc['params'][name]
+ return None, None, None
+
+ def print_openapi_param(self, name, indent):
+ ptype, poptional, pdesc = self.doc_param(name)
+ if pdesc is not None:
+ print('{}description: |'.format(' ' * indent))
+ print('{}{}'.format(' ' * (indent + 2), pdesc))
+ else:
+ print('{}description: the {} value'.format(' ' * indent, name))
+ if ptype is not None:
+ print('{}type: {}'.format(' ' * indent, ptype))
+ else:
+ print('{}type: string'.format(' ' * indent))
+ if poptional:
+ print('{}required: false'.format(' ' * indent))
+ else:
+ print('{}required: true'.format(' ' * indent))
+
+ @property
+ def operationId(self):
+ if 'operation' in self._doc:
+ return self._doc['operation']
+ return '{}_{}'.format(self.method_name, self.reduced_function_name)
+
+ @property
+ def description(self):
+ if 'description' in self._doc:
+ return self._doc['description']
+ return None
+
+ @property
+ def returns(self):
+ if 'return_type' in self._doc:
+ return self._doc['return_type']
+ return None
+
+ @property
+ def tags(self):
+ tags = []
+ if self.schema.fields is not None:
+ tags.append(self.schema.name)
+ if 'tag' in self._doc:
+ tags.extend(self._doc['tag'])
+ return tags
+
+ def print_openapi_return(self, obj, indent):
+ if isinstance(obj, dict):
+ print('{}type: object'.format(' ' * indent))
+ print('{}properties:'.format(' ' * indent))
+ for k, v in obj.items():
+ print('{}{}:'.format(' ' * (indent + 2), k))
+ self.print_openapi_return(v, indent + 4)
+
+ elif isinstance(obj, list):
+ if len(obj) > 1:
+ self.error('Error while parsing @return tag, an array should have only one type')
+ print('{}type: array'.format(' ' * indent))
+ print('{}items:'.format(' ' * indent))
+ self.print_openapi_return(obj[0], indent + 2)
+
+ elif isinstance(obj, str) or isinstance(obj, unicode):
+ rtype = 'type: ' + obj
+ if obj == self.schema.name:
+ rtype = '$ref: "#/definitions/{}"'.format(obj)
+ print('{}{}'.format(' ' * indent, rtype))
+
+ def print_openapi(self):
+ parameters = [token[1:-2] if token.endswith('Id') else token[1:]
+ for token in self.path.split('/')
+ if token.startswith(':')]
+
+ print(' {}:'.format(self.method_name))
+
+ print(' operationId: {}'.format(self.operationId))
+
+ if self.summary is not None:
+ print(' summary: {}'.format(self.summary))
+
+ if self.description is not None:
+ print(' description: |')
+ for line in self.description.split('\n'):
+ if line.strip():
+ print(' {}'.format(line))
+ else:
+ print('')
+
+ if len(self.tags) > 0:
+ print(' tags:')
+ for tag in self.tags:
+ print(' - {}'.format(tag))
+
+ # export the parameters
+ if self.method_name in ('post', 'put'):
+ print(''' consumes:
+ - multipart/form-data
+ - application/json''')
+ if len(parameters) > 0 or self.method_name in ('post', 'put'):
+ print(' parameters:')
+ if self.method_name in ('post', 'put'):
+ for f in self.body_params:
+ print(''' - name: {}
+ in: formData'''.format(f))
+ self.print_openapi_param(f, 10)
+ for p in parameters:
+ if p in self.body_params:
+ self.error(' '.join((p, self.path, self.method_name)))
+ print(''' - name: {}
+ in: path'''.format(p))
+ self.print_openapi_param(p, 10)
+ print(''' produces:
+ - application/json
+ security:
+ - UserSecurity: []
+ responses:
+ '200':
+ description: |-
+ 200 response''')
+ if self.returns is not None:
+ print(' schema:')
+ self.print_openapi_return(self.returns, 12)
+
+
+class SchemaProperty(object):
+ def __init__(self, statement, schema):
+ self.schema = schema
+ self.statement = statement
+ self.name = statement.key.name or statement.key.value
+ self.type = 'object'
+ self.blackbox = False
+ self.required = True
+ for p in statement.value.properties:
+ if p.key.name == 'type':
+ if p.value.type == 'Identifier':
+ self.type = p.value.name.lower()
+ elif p.value.type == 'ArrayExpression':
+ self.type = 'array'
+ self.elements = [e.name.lower() for e in p.value.elements]
+
+ elif p.key.name == 'allowedValues':
+ self.type = 'enum'
+ self.enum = [e.value.lower() for e in p.value.elements]
+
+ elif p.key.name == 'blackbox':
+ self.blackbox = True
+
+ elif p.key.name == 'optional' and p.value.value:
+ self.required = False
+
+ self._doc = None
+ self._raw_doc = None
+
+ @property
+ def doc(self):
+ return self._doc
+
+ @doc.setter
+ def doc(self, jsdoc):
+ self._raw_doc = jsdoc
+ self._doc = cleanup_jsdocs(jsdoc)
+
+ def process_jsdocs(self, jsdocs):
+ start = self.statement.key.loc.start.line
+ for index, doc in enumerate(jsdocs):
+ if start + 1 == doc.loc.start.line:
+ self.doc = doc
+ jsdocs.pop(index)
+ return
+
+ def __repr__(self):
+ return 'SchemaProperty({}{}, {})'.format(self.name,
+ '*' if self.required else '',
+ self.doc)
+
+ def print_openapi(self, indent, current_schema, required_properties):
+ schema_name = self.schema.name
+ name = self.name
+
+ # deal with subschemas
+ if '.' in name:
+ if name.endswith('$'):
+ # reference in reference
+ subschema = ''.join([n.capitalize() for n in self.name.split('.')[:-1]])
+ subschema = self.schema.name + subschema
+ if current_schema != subschema:
+ if required_properties is not None and required_properties:
+ print(' required:')
+ for f in required_properties:
+ print(' - {}'.format(f))
+ required_properties.clear()
+
+ print(''' {}:
+ type: object'''.format(subschema))
+ return current_schema
+
+ subschema = name.split('.')[0]
+ schema_name = self.schema.name + subschema.capitalize()
+ name = name.split('.')[-1]
+
+ if current_schema != schema_name:
+ if required_properties is not None and required_properties:
+ print(' required:')
+ for f in required_properties:
+ print(' - {}'.format(f))
+ required_properties.clear()
+
+ print(''' {}:
+ type: object
+ properties:'''.format(schema_name))
+
+ if required_properties is not None and self.required:
+ required_properties.append(name)
+
+ print('{}{}:'.format(' ' * indent, name))
+
+ if self.doc is not None:
+ print('{} description: |'.format(' ' * indent))
+ for line in self.doc:
+ if line.strip():
+ print('{} {}'.format(' ' * indent, line))
+ else:
+ print('')
+
+ ptype = self.type
+ if ptype in ('enum', 'date'):
+ ptype = 'string'
+ if ptype != 'object':
+ print('{} type: {}'.format(' ' * indent, ptype))
+
+ if self.type == 'array':
+ print('{} items:'.format(' ' * indent))
+ for elem in self.elements:
+ if elem == 'object':
+ print('{} $ref: "#/definitions/{}"'.format(' ' * indent, schema_name + name.capitalize()))
+ else:
+ print('{} type: {}'.format(' ' * indent, elem))
+ if not self.required:
+ print('{} x-nullable: true'.format(' ' * indent))
+
+ elif self.type == 'object':
+ if self.blackbox:
+ print('{} type: object'.format(' ' * indent))
+ else:
+ print('{} $ref: "#/definitions/{}"'.format(' ' * indent, schema_name + name.capitalize()))
+
+ elif self.type == 'enum':
+ print('{} enum:'.format(' ' * indent))
+ for enum in self.enum:
+ print('{} - {}'.format(' ' * indent, enum))
+
+ if '.' not in self.name and not self.required:
+ print('{} x-nullable: true'.format(' ' * indent))
+
+ return schema_name
+
+
+class Schemas(object):
+ def __init__(self, data=None, jsdocs=None, name=None):
+ self.name = name
+ self._data = data
+ self.fields = None
+ self.used = False
+
+ if data is not None:
+ if self.name is None:
+ self.name = data.expression.callee.object.name
+
+ content = data.expression.arguments[0].arguments[0]
+ self.fields = [SchemaProperty(p, self) for p in content.properties]
+
+ self._doc = None
+ self._raw_doc = None
+
+ if jsdocs is not None:
+ self.process_jsdocs(jsdocs)
+
+ @property
+ def doc(self):
+ if self._doc is None:
+ return None
+ return ' '.join(self._doc)
+
+ @doc.setter
+ def doc(self, jsdoc):
+ self._raw_doc = jsdoc
+ self._doc = cleanup_jsdocs(jsdoc)
+
+ def process_jsdocs(self, jsdocs):
+ start = self._data.loc.start.line
+ end = self._data.loc.end.line
+
+ for doc in jsdocs:
+ if doc.loc.end.line + 1 == start:
+ self.doc = doc
+
+ docs = [doc
+ for doc in jsdocs
+ if doc.loc.start.line >= start and doc.loc.end.line <= end]
+
+ for field in self.fields:
+ field.process_jsdocs(docs)
+
+ def print_openapi(self):
+ # empty schemas are skipped
+ if self.fields is None:
+ return
+
+ print(' {}:'.format(self.name))
+ print(' type: object')
+ if self.doc is not None:
+ print(' description: {}'.format(self.doc))
+
+ print(' properties:')
+
+ # first print out the object itself
+ properties = [field for field in self.fields if '.' not in field.name]
+ for prop in properties:
+ prop.print_openapi(6, None, None)
+
+ required_properties = [f.name for f in properties if f.required]
+ if required_properties:
+ print(' required:')
+ for f in required_properties:
+ print(' - {}'.format(f))
+
+ # then print the references
+ current = None
+ required_properties = []
+ properties = [f for f in self.fields if '.' in f.name and not f.name.endswith('$')]
+ for prop in properties:
+ current = prop.print_openapi(6, current, required_properties)
+
+ if required_properties:
+ print(' required:')
+ for f in required_properties:
+ print(' - {}'.format(f))
+
+ required_properties = []
+ # then print the references in the references
+ for prop in [f for f in self.fields if '.' in f.name and f.name.endswith('$')]:
+ current = prop.print_openapi(6, current, required_properties)
+
+ if required_properties:
+ print(' required:')
+ for f in required_properties:
+ print(' - {}'.format(f))
+
+
+def parse_schemas(schemas_dir):
+
+ schemas = {}
+ entry_points = []
+
+ for root, dirs, files in os.walk(schemas_dir):
+ files.sort()
+ for filename in files:
+ path = os.path.join(root, filename)
+ with open(path) as f:
+ data = ''.join(f.readlines())
+ try:
+ # if the file failed, it's likely it doesn't contain a schema
+ program = esprima.parseScript(data, options={'comment': True, 'loc': True})
+ except:
+ continue
+
+ current_schema = None
+ jsdocs = [c for c in program.comments
+ if c.type == 'Block' and c.value.startswith('*\n')]
+
+ for statement in program.body:
+
+ # find the '<ITEM>.attachSchema(new SimpleSchema(<data>)'
+ # those are the schemas
+ if (statement.type == 'ExpressionStatement' and
+ statement.expression.callee is not None and
+ statement.expression.callee.property is not None and
+ statement.expression.callee.property.name == 'attachSchema' and
+ statement.expression.arguments[0].type == 'NewExpression' and
+ statement.expression.arguments[0].callee.name == 'SimpleSchema'):
+
+ schema = Schemas(statement, jsdocs)
+ current_schema = schema.name
+ schemas[current_schema] = schema
+
+ # find all the 'if (Meteor.isServer) { JsonRoutes.add('
+ # those are the entry points of the API
+ elif (statement.type == 'IfStatement' and
+ statement.test.type == 'MemberExpression' and
+ statement.test.object.name == 'Meteor' and
+ statement.test.property.name == 'isServer'):
+ data = [s.expression.arguments
+ for s in statement.consequent.body
+ if (s.type == 'ExpressionStatement' and
+ s.expression.type == 'CallExpression' and
+ s.expression.callee.object.name == 'JsonRoutes')]
+
+ # we found at least one entry point, keep them
+ if len(data) > 0:
+ if current_schema is None:
+ current_schema = filename
+ schemas[current_schema] = Schemas(name=current_schema)
+
+ schema_entry_points = [EntryPoint(schemas[current_schema], d)
+ for d in data]
+ entry_points.extend(schema_entry_points)
+
+ # try to match JSDoc to the operations
+ for entry_point in schema_entry_points:
+ operation = entry_point.method # POST/GET/PUT/DELETE
+ jsdoc = [j for j in jsdocs
+ if j.loc.end.line + 1 == operation.loc.start.line]
+ if bool(jsdoc):
+ entry_point.doc = jsdoc[0]
+
+ return schemas, entry_points
+
+
+def generate_openapi(schemas, entry_points, version):
+ print('''swagger: '2.0'
+info:
+ title: Wekan REST API
+ version: {0}
+ description: |
+ The REST API allows you to control and extend Wekan with ease.
+
+ If you are an end-user and not a dev or a tester, [create an issue](https://github.com/wekan/wekan/issues/new) to request new APIs.
+
+ > All API calls in the documentation are made using `curl`. However, you are free to use Java / Python / PHP / Golang / Ruby / Swift / Objective-C / Rust / Scala / C# or any other programming languages.
+
+ # Production Security Concerns
+ When calling a production Wekan server, ensure it is running via HTTPS and has a valid SSL Certificate. The login method requires you to post your username and password in plaintext, which is why we highly suggest only calling the REST login api over HTTPS. Also, few things to note:
+
+ * Only call via HTTPS
+ * Implement a timed authorization token expiration strategy
+ * Ensure the calling user only has permissions for what they are calling and no more
+
+schemes:
+ - http
+
+securityDefinitions:
+ UserSecurity:
+ type: apiKey
+ in: header
+ name: Authorization
+
+paths:
+ /users/login:
+ post:
+ operationId: login
+ summary: Login with REST API
+ consumes:
+ - application/x-www-form-urlencoded
+ - application/json
+ tags:
+ - Login
+ parameters:
+ - name: username
+ in: formData
+ required: true
+ description: |
+ Your username
+ type: string
+ - name: password
+ in: formData
+ required: true
+ description: |
+ Your password
+ type: string
+ format: password
+ responses:
+ 200:
+ description: |-
+ Successful authentication
+ schema:
+ items:
+ properties:
+ id:
+ type: string
+ token:
+ type: string
+ tokenExpires:
+ type: string
+ 400:
+ description: |
+ Error in authentication
+ schema:
+ items:
+ properties:
+ error:
+ type: number
+ reason:
+ type: string
+ default:
+ description: |
+ Error in authentication
+ /users/register:
+ post:
+ operationId: register
+ summary: Register with REST API
+ description: |
+ Notes:
+ - You will need to provide the token for any of the authenticated methods.
+ consumes:
+ - application/x-www-form-urlencoded
+ - application/json
+ tags:
+ - Login
+ parameters:
+ - name: username
+ in: formData
+ required: true
+ description: |
+ Your username
+ type: string
+ - name: password
+ in: formData
+ required: true
+ description: |
+ Your password
+ type: string
+ format: password
+ - name: email
+ in: formData
+ required: true
+ description: |
+ Your email
+ type: string
+ responses:
+ 200:
+ description: |-
+ Successful registration
+ schema:
+ items:
+ properties:
+ id:
+ type: string
+ token:
+ type: string
+ tokenExpires:
+ type: string
+ 400:
+ description: |
+ Error in registration
+ schema:
+ items:
+ properties:
+ error:
+ type: number
+ reason:
+ type: string
+ default:
+ description: |
+ Error in registration
+'''.format(version))
+
+ # GET and POST on the same path are valid, we need to reshuffle the paths
+ # with the path as the sorting key
+ methods = {}
+ for ep in entry_points:
+ if ep.path not in methods:
+ methods[ep.path] = []
+ methods[ep.path].append(ep)
+
+ sorted_paths = list(methods.keys())
+ sorted_paths.sort()
+
+ for path in sorted_paths:
+ print(' {}:'.format(methods[path][0].url))
+
+ for ep in methods[path]:
+ ep.print_openapi()
+
+ print('definitions:')
+ for schema in schemas.values():
+ # do not export the objects if there is no API attached
+ if not schema.used:
+ continue
+
+ schema.print_openapi()
+
+
+def main():
+ parser = argparse.ArgumentParser(description='Generate an OpenAPI 2.0 from the given JS schemas.')
+ script_dir = os.path.dirname(os.path.realpath(__file__))
+ parser.add_argument('--release', default='git-master', nargs=1,
+ help='the current version of the API, can be retrieved by running `git describe --tags --abbrev=0`')
+ parser.add_argument('dir', default='{}/../models'.format(script_dir), nargs='?',
+ help='the directory where to look for schemas')
+
+ args = parser.parse_args()
+ schemas, entry_points = parse_schemas(args.dir)
+ generate_openapi(schemas, entry_points, args.release[0])
+
+
+if __name__ == '__main__':
+ main()
diff --git a/package.json b/package.json
index dba8bad7..2b3aab77 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "wekan",
- "version": "v2.01.0",
+ "version": "v2.02.0",
"description": "Open-Source kanban",
"private": true,
"scripts": {
diff --git a/public/card-colors.png b/public/card-colors.png
new file mode 100644
index 00000000..91d3a587
--- /dev/null
+++ b/public/card-colors.png
Binary files differ
diff --git a/sandstorm-pkgdef.capnp b/sandstorm-pkgdef.capnp
index 6b8b10c8..4b0c8ece 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 = 203,
+ appVersion = 204,
# Increment this for every release.
- appMarketingVersion = (defaultText = "2.01.0~2019-01-06"),
+ appMarketingVersion = (defaultText = "2.02.0~2019-01-22"),
# Human-readable presentation of the app version.
minUpgradableAppVersion = 0,
diff --git a/server/rulesHelper.js b/server/rulesHelper.js
index ccb5cb3b..163bd41e 100644
--- a/server/rulesHelper.js
+++ b/server/rulesHelper.js
@@ -87,6 +87,9 @@ RulesHelper = {
if(action.actionType === 'unarchive'){
card.restore();
}
+ if(action.actionType === 'setColor'){
+ card.setColor(action.selectedColor);
+ }
if(action.actionType === 'addLabel'){
card.addLabel(action.labelId);
}
diff --git a/snapcraft.yaml b/snapcraft.yaml
index d14d8037..b2b3dfd2 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -90,15 +90,34 @@ parts:
- ca-certificates
- apt-utils
- python
+ - python3
- g++
- capnproto
- curl
- execstack
+ - nodejs
+ - npm
stage-packages:
- libfontconfig1
override-build: |
echo "Cleaning environment first"
rm -rf ~/.meteor ~/.npm /usr/local/lib/node_modules
+ # Create the OpenAPI specification
+ rm -rf .build
+ mkdir -p .build/python
+ cd .build/python
+ git clone --depth 1 -b master git://github.com/Kronuz/esprima-python
+ cd esprima-python
+ python3 setup.py install
+ cd ../../..
+ mkdir -p ./public/api
+ python3 ./openapi/generate_openapi.py --release $(git describe --tags --abbrev=0) > ./public/api/wekan.yml
+ # we temporary need api2html and mkdirp
+ npm install -g api2html
+ npm install -g mkdirp
+ api2html -c ./public/wekan-logo-header.png -o ./public/api/wekan.html ./public/api/wekan.yml
+ npm uninstall -g mkdirp
+ npm uninstall -g api2html
# Node Fibers 100% CPU usage issue:
# https://github.com/wekan/wekan-mongodb/issues/2#issuecomment-381453161
# https://github.com/meteor/meteor/issues/9796#issuecomment-381676326