Commit Graph

101 Commits

Author SHA1 Message Date
d1fddb85f7 Add before step save hook per step key to simplify usage
[MAILPOET-4515]
2022-08-08 13:23:57 +02:00
24a63f6448 Call step before save hook more safely and explicitly
[MAILPOET-4515]
2022-08-08 13:23:57 +02:00
1f6ce667e5 Add schema definition for automation steps
[MAILPOET-4515]
2022-08-08 13:23:57 +02:00
15e4635fe3 Add hook registration helper methods to registry
[MAILPOET-4515]
2022-08-08 13:23:57 +02:00
da58a5c416 Trigger workflow and step before save hooks
[MAILPOET-4515]
2022-08-08 13:23:57 +02:00
87f35abf8b Add workflow and step before save hooks
[MAILPOET-4515]
2022-08-08 13:23:57 +02:00
a6cbf99ee5 Fix wrong ...$args typehints
[MAILPOET-4515]
2022-08-08 13:23:57 +02:00
2faf0739a3 Check that step implementation exists when saving workflow
[MAILPOET-4515]
2022-08-08 13:23:57 +02:00
cc2f908236 Add registry methods for step interface implementations
[MAILPOET-4515]
2022-08-08 13:23:57 +02:00
ebe8d5d478 Add step interface as a parent of action and trigger
[MAILPOET-4515]
2022-08-08 13:23:57 +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
fbd27afedf Move step runner interface to the control namespace
[MAILPOET-4515]
2022-08-08 13:23:57 +02:00
ca308321fd Rename step runner to handler (free the name to step runner interface)
[MAILPOET-4515]
2022-08-08 13:23:57 +02:00
c9aa53df8b Extract workflow step updating to a separate controller
[MAILPOET-4515]
2022-08-08 13:23:57 +02:00
e3fbf2421d Move action scheduler initialization to Initializer as one of first actions
[MAILPOET-4274]
2022-08-03 10:36:57 +02:00
7da2d2f7c8 Add basic workflow step saving to workflow update API
[MAILPOET-4420]
2022-07-26 15:10:05 +02:00
960e917b64 Run update query only once, use Builder minLength for name
[MAILPOET-4422]
2022-07-15 11:32:58 +02:00
5ac27d125b Add workflow name editing capability
[MAILPOET-4422]
2022-07-15 11:32:58 +02:00
da43849c30 Use more descriptive method name
[MAILPOET-4465]
2022-07-12 13:36:58 +02:00
3cccc52515 Require subjects by class name to have them type checked and autocompleted
[MAILPOET-4465]
2022-07-12 13:36:58 +02:00
841ee97203 Add require subject helper method
[MAILPOET-4465]
2022-07-12 13:36:58 +02:00
494cc7b780 Allow multiple subjects of the same type
[MAILPOET-4465]
2022-07-12 13:36:58 +02:00
7df8342a18 Define manage automation capability in automation code
[MAILPOET-4465]
2022-07-12 13:36:58 +02:00
a073f05ffe Shorten automation table names
[MAILPOET-4465]
2022-07-12 13:36:58 +02:00
73909a4cf0 Complete workflow run if step ID is null
[MAILPOET-4450]
2022-07-05 08:39:57 +02:00
263123ba44 Don't schedule next step if it's null
[MAILPOET-4450]
2022-07-05 08:39:57 +02:00
9e56609ee0 Check workflow status validity
[MAILPOET-4454]
2022-07-04 14:09:00 +02:00
5c87442c6b Fix subject initialization in workflow runs
[MAILPOET-4454]
[MAILPOET-4449]
2022-07-04 14:09:00 +02:00
d7fe884452 Use subject loader in trigger handler
[MAILPOET-4454]
2022-07-04 14:09:00 +02:00
b733e7b770 Add subjects to registry, implement subject loader service
[MAILPOET-4454]
2022-07-04 14:09:00 +02:00
d6633efef2 Add workflows PUT endpoint for workflow updating
[MAILPOET-4454]
2022-07-04 14:09:00 +02:00
bb90ae97d0 Add basic workflow update controller with status change caps
[MAILPOET-4454]
2022-07-04 14:09:00 +02:00
92d55362b1 Add update workflow method to storage
[MAILPOET-4454]
2022-07-04 14:09:00 +02:00
083bf93851 Add welcome email sequence template
[MAILPOET-4454]
2022-07-04 14:09:00 +02:00
a1ddef0c99 Add ability to inject step runners
[PREMIUM-180]
2022-06-15 15:32:51 +02:00
c583d3aa12 Move CreateWorkflowController to Premium
[PREMIUM-180]
2022-06-09 13:30:54 +02:00
6d98a051a4 Add id parameter to workflow constructors
[PREMIUM-180]
2022-06-09 13:30:54 +02:00
98b01f46e0 Move workflow creation POST endpoint to Premium
[PREMIUM-180]
2022-06-09 13:30:54 +02:00
455e463916 Better naming
MAILPOET-4264
2022-06-08 13:14:11 +02:00
12b677ce5e Change default workflow status to draft
MAILPOET-4264
2022-06-08 13:14:11 +02:00
2bf59eab9a Create templated workflows in draft status
MAILPOET-4264
2022-06-08 13:14:11 +02:00
25b9f3a876 Create a workflow from a PHP template
MAILPOET-4264
2022-06-08 13:14:11 +02:00
d9c47a40f2 Add permissions to manage automations
[MAILPOET-4287]
2022-05-19 10:09:05 +02:00
3660d12dd0 Return workflow list data in workflows endpoint
[MAILPOET-4287]
2022-05-19 10:09:05 +02:00
47c5111996 Add method to fetch list of workflows to workflow storage
[MAILPOET-4287]
2022-05-19 10:09:05 +02:00
1b46765f47 Fix workflow date loading
[MAILPOET-4287]
2022-05-19 10:09:05 +02:00
adf6dd3ce9 Add schema for workflow post endpoint
[MAILPOET-4207]
2022-04-20 15:30:50 +02:00
29df2dddb6 Sanitize unknown params
[MAILPOET-4207]
2022-04-20 15:30:50 +02:00
679f2200bd Rename endpoint "factory" to a more exact "container"
[MAILPOET-4207]
2022-04-20 15:30:50 +02:00
c5ff597267 Add the possibility to specify request schema
[MAILPOET-4207]
2022-04-20 15:30:50 +02:00