Commit Graph

50 Commits

Author SHA1 Message Date
c4faa53386 Store run subjects in extra table
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
9d55d3f134 Use "automation" instead of "workflow"
[MAILPOET-4793]
2022-11-14 12:14:35 +02:00
bda979ec4f Fix trash error when workflow status is draft
[MAILPOET-4792]
2022-11-09 19:58:44 +03:00
dfdc8cfd09 Add WorkflowTemplate types
[MAILPOET-4745]
2022-11-09 15:24:50 +03:00
cc5959805b Use "workflow_triggers" table instead of an inline JSON
[MAILPOET-4778]
2022-11-08 16:17:34 +02:00
af1e09f46f Remove "inactive" status for now, use "draft" instead
[MAILPOET-4757]
2022-11-07 11:17:36 +02:00
627962570e Add new workflow status 'deactivating'
[MAILPOET-4731]
2022-10-25 12:46:07 +02:00
89c43a5cb9 Extract workflow duplication logic to a controller, fix some issues
[MAILPOET-4540]
2022-10-14 12:03:53 +03:00
a4c8caa664 Add basic duplication ability
[MAILPOET-4540]
2022-10-14 12:03:53 +03:00
b6ba15c6c3 Introduce step validation args, similarly to step run args
[MAILPOET-4659]
2022-10-13 11:58:11 +02:00
a2948efc46 Rename namespace with defs for 3rd-party integrations to "Integration"
[MAILPOET-4659]
2022-10-13 11:58:11 +02:00
18c4257f1f Drop hasValues method
[MAILPOET-4673]
2022-10-12 10:24:58 +02:00
05a052ec08 Remove extra line break
[MAILPOET-4673]
2022-10-12 10:24:58 +02:00
52dcba8493 Introduce WorkflowStatistics entity
[MAILPOET-4673]
2022-10-12 10:24:58 +02:00
f4b3f9bf86 Explicitly handle optional workflow ID and version ID, fix missing ID for new workflows
[MAILPOET-4629]
2022-09-23 12:42:03 +03:00
02aaba1ded Pass full step map to automation workflow so it can be validated
[MAILPOET-4629]
2022-09-23 12:42:03 +03:00
3c651c940b Add convenience by-class getter for payloads (& use it)
[MAILPOET-4629]
2022-09-23 12:42:03 +03:00
a35e925479 Add convenience by-class getter for subjects
[MAILPOET-4629]
2022-09-23 12:42:03 +03:00
68b5bab9cc Introduce step run args to simplify step run arguments
[MAILPOET-4629]
2022-09-23 12:42:03 +03:00
c28d8ad79c Introduce subject entry to carry subject & payload data
[MAILPOET-4629]
2022-09-23 12:42:03 +03:00
757f1dc01a Use subject data type for workflow runs, remove subject loading from storage
[MAILPOET-4629]
2022-09-23 12:42:03 +03:00
c30244b30f Introduce subject data type for storage
[MAILPOET-4629]
2022-09-23 12:42:03 +03:00
e3668a8187 Add constant for root step type
[MAILPOET-4629]
2022-09-23 12:42:03 +03:00
1591700e71 Return created workflow with ID when using create-from-template endpoint
[MAILPOET-4533]
2022-09-15 08:08:07 +02:00
7c3d3fbf12 Only allow storing scalar data
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
c828b7245d Remove redundant step args from log
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
d0f8d0f2bb Use native type hint
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
4687a8c515 Rename created_at to started_at
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
bf0f8a4dc5 Don't allow setting data that couldn't be retrieved
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
f126bdb2b9 Only allow a single error per log
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
3356bb855d Remove optional and unused user facing error message
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
8cbbe5aa6e Use Throwable instead of \Exception
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
2c2f15a562 Use completedAt timestamp for success and failures
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
6f8edfaec4 Make workflow run logs immutable
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
cdeea173b9 Add logging of workflow steps
[MAILPOET-4463]
2022-09-14 08:51:53 +02:00
1677cc2842 Save and load workflows in the new format, update API
[MAILPOET-4523]
2022-09-12 14:40:36 -05:00
fadbcaca5b Fix workflow run getter and from array construction
[PREMIUM-194]
2022-09-08 09:20:20 +02:00
c601aaa3eb Autofix issues detected by CodeSniffer
[MAILPOET-4617]
2022-09-06 17:38:01 +02:00
9a74dec86a Add trash status to Workflow
[MAILPOET-4417]
2022-08-24 14:02:08 +02:00
34d94edd3e Add author to Workflow
[MAILPOET-4417]
2022-08-24 14:02:08 +02:00
5bd994c01c Add activatedAt to workflow
[MAILPOET-4417]
2022-08-24 14:02:08 +02:00
baa4d369af Introduce template storage and rebuild create form template endpoint
[MAILPOET-4538]
2022-08-23 14:03:24 +02:00
1140ee3129 Add WorkflowTemplate entity
[MAILPOET-4538]
2022-08-23 14:03:24 +02:00
24849afb7a Make name a property of Step.args instead of Step
[MAILPOET-4445]
2022-08-17 16:01:45 +02:00
d4bc448ac6 Add name property to Step
[MAILPOET-4445]
2022-08-17 16:01:45 +02:00
7a0a6413d5 Update updatedAt when values are changed
[MAILPOET-4430]
2022-08-10 16:57:25 +02:00
457d361ee9 Introduce Workflow::equals() and move decision to update a record to storage
[MAILPOET-4430]
2022-08-10 16:57:25 +02:00
02489a61a6 Add version_id to WorkflowRun
[MAILPOET-4430]
2022-08-10 16:57:25 +02:00
456417a467 Add version_id to Workflows
[MAILPOET-4430]
2022-08-10 16:57:25 +02:00
4aa323b612 Extract data-carrying classes to dedicated namespace
We need a separation of "Step" as an interface vs. "Step" as a serializable data structure.

[MAILPOET-4515]
2022-08-08 13:23:57 +02:00