Condense each moved card to one sentence in the mail
Build package / xml-lint (push) Successful in 1m36s
Build package / php-lint (8.5) (push) Successful in 3m20s
Build package / php-lint (8.4) (push) Successful in 3m26s
Build package / unit-tests (push) Successful in 3m28s
Build package / package (push) Canceled after 21s
Build package / xml-lint (push) Successful in 1m36s
Build package / php-lint (8.5) (push) Successful in 3m20s
Build package / php-lint (8.4) (push) Successful in 3m26s
Build package / unit-tests (push) Successful in 3m28s
Build package / package (push) Canceled after 21s
Drops the workflow name; the mail only says which card moved where. Bumps to 35.2.1.
This commit is contained in:
1 parent
860e8b7bbb
commit
30e644a001
3 files changed
+5
-8
No files matched your search
+1
-1
@@ -24,7 +24,7 @@ This app lets every user configure Deck automation workflows for the boards they
|
||||
|
||||
A background job periodically evaluates all enabled workflows and moves cards whose due date has passed, using Deck's own internal PHP classes only (no HTTP/OCS calls).
|
||||
]]></description>
|
||||
<version>35.2.0</version>
|
||||
<version>35.2.1</version>
|
||||
<licence>agpl</licence>
|
||||
<author mail="patrick@niebel.ing">Patrick Niebeling</author>
|
||||
<namespace>WorkflowDeckAutomation</namespace>
|
||||
|
||||
@@ -100,14 +100,11 @@ class NotificationMailer {
|
||||
private function addCard(IEMailTemplate $template, Workflow $workflow, Card $card, array $targets): void {
|
||||
// Single-argument addBodyText() runs htmlspecialchars() itself, so
|
||||
// these card-, workflow-, board- and stack-titles (user input) are
|
||||
// safe as-is. The card description is deliberately left out.
|
||||
// safe as-is. The card description and the workflow's name are
|
||||
// deliberately left out — the mail only says what moved where.
|
||||
$template->addBodyText(sprintf(
|
||||
'Die Karte „%1$s“ wurde verschoben, weil sie überfällig ist (Workflow „%2$s“).',
|
||||
'„%1$s“ (Board „%2$s“) ist überfällig und wurde von „%3$s“ nach „%4$s“ verschoben.',
|
||||
$card->getTitle(),
|
||||
$workflow->getTitle(),
|
||||
));
|
||||
$template->addBodyText(sprintf(
|
||||
'Board „%1$s“: von „%2$s“ nach „%3$s“ verschoben.',
|
||||
$targets['board'],
|
||||
$targets['sourceStack'],
|
||||
$targets['targetStack'],
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "workflow_deck_automation",
|
||||
"version": "35.2.0",
|
||||
"version": "35.2.1",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"description": "Automates moving overdue Deck cards between stacks, configurable per user.",
|
||||
|
||||
Reference in new issue
Block a user