Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a6dde35249 | ||
|
|
7ca728e79c |
+1
-1
@@ -28,7 +28,7 @@ This app lets every user configure their own Deck automation workflows from Pers
|
|||||||
|
|
||||||
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).
|
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>
|
]]></description>
|
||||||
<version>0.2.1</version>
|
<version>0.2.2</version>
|
||||||
<licence>agpl</licence>
|
<licence>agpl</licence>
|
||||||
<author mail="patrick@niebel.ing">Patrick Niebeling</author>
|
<author mail="patrick@niebel.ing">Patrick Niebeling</author>
|
||||||
<namespace>WorkflowDeckAutomation</namespace>
|
<namespace>WorkflowDeckAutomation</namespace>
|
||||||
|
|||||||
@@ -176,6 +176,14 @@ class WorkflowRunner {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$this->logger->info('Card {card} ("{title}") matches workflow {id}; moving to stack {target}.', [
|
||||||
|
'app' => 'workflow_deck_automation',
|
||||||
|
'card' => $card->getId(),
|
||||||
|
'title' => $card->getTitle(),
|
||||||
|
'id' => $workflow->getId(),
|
||||||
|
'target' => $workflow->getTargetStackId(),
|
||||||
|
]);
|
||||||
|
|
||||||
if (!$this->moveCard($workflow, $card)) {
|
if (!$this->moveCard($workflow, $card)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
@@ -254,6 +262,14 @@ class WorkflowRunner {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$this->logger->info('Moved card {card} ("{title}") to stack {target} for workflow {id}.', [
|
||||||
|
'app' => 'workflow_deck_automation',
|
||||||
|
'card' => $card->getId(),
|
||||||
|
'title' => $card->getTitle(),
|
||||||
|
'target' => $workflow->getTargetStackId(),
|
||||||
|
'id' => $workflow->getId(),
|
||||||
|
]);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "workflow_deck_automation",
|
"name": "workflow_deck_automation",
|
||||||
"version": "0.2.1",
|
"version": "0.2.2",
|
||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"description": "Automates moving overdue Deck cards between stacks, configurable per user.",
|
"description": "Automates moving overdue Deck cards between stacks, configurable per user.",
|
||||||
|
|||||||
Reference in New Issue
Block a user