03d7306611
Add check from automation flows with welcome emails
...
This commit improves the check that a user has set a welcome email campaign (a task in product discovery task list)
by checking also for automation flows that are triggered by new subscriber or user and contain
send email action.
[MAILPOET-4827]
2023-01-23 16:48:52 +01:00
b25f2cd5f4
Enable a Trigger to activate a second automation
...
[MAILPOET-4842]
2022-11-28 13:03:06 +01:00
1b9eb223b0
Load templates late
...
[MAILPOET-4788]
2022-11-14 12:35:29 +02:00
c46c61a923
Simplify and optimize automation stats
...
[MAILPOET-4788]
2022-11-14 12:35:29 +02:00
1136431551
Use $wpdb->prepare() for automation stats
...
[MAILPOET-4788]
2022-11-14 12:35:29 +02:00
957be23212
Improve query formatting
...
[MAILPOET-4788]
2022-11-14 12:35:29 +02:00
91a88b3e91
Rename alias "w" to "a"
...
[MAILPOET-4788]
2022-11-14 12:35:29 +02:00
2e328b6d7f
Move temporary automation migrator to a new migration
...
[MAILPOET-4788]
2022-11-14 12:35:29 +02:00
8489e63d34
Delete automation testing system endpoints
...
[MAILPOET-4788]
2022-11-14 12:35:29 +02:00
9063dc3079
Remove duplicities in naming
...
[MAILPOET-4793]
2022-11-14 12:14:35 +02: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
63cd326191
Update template descriptions
...
[MAILPOET-4745]
2022-11-09 15:24:50 +03:00
c239566e1e
Add premium and coming-soon template stubs
...
[MAILPOET-4745]
2022-11-09 15:24:50 +03:00
dfdc8cfd09
Add WorkflowTemplate types
...
[MAILPOET-4745]
2022-11-09 15:24:50 +03:00
4977b7ffa2
Add free templates
...
[MAILPOET-4745]
2022-11-09 15:24:50 +03:00
f825e535e3
Save next step in trigger handler
...
[MAILPOET-4787]
2022-11-08 22:55:57 +02:00
a2c5420d7f
Save updated at timestamp in workflow runs
...
[MAILPOET-4787]
2022-11-08 22:55:57 +02:00
c6d3573652
Save next step ID to workflow runs
...
[MAILPOET-4787]
2022-11-08 22:55:57 +02:00
c0ce5944dc
Use short table aliases
...
[MAILPOET-4778]
2022-11-08 16:17:34 +02:00
467f354eb1
Do not skip workflow trigger queries when trigger keys are empty
...
[MAILPOET-4778]
2022-11-08 16:17:34 +02:00
3f016b45f9
Don't escape table names when not needed
...
[MAILPOET-4778]
2022-11-08 16:17:34 +02:00
679f74e498
Unify query error checking
...
[MAILPOET-4778]
2022-11-08 16:17:34 +02:00
08b314e0b4
Unify table variable naming
...
[MAILPOET-4778]
2022-11-08 16:17:34 +02:00
cc5959805b
Use "workflow_triggers" table instead of an inline JSON
...
[MAILPOET-4778]
2022-11-08 16:17:34 +02:00
c76a0adb5e
Move validation rules for active workflows below structural rules
...
[MAILPOET-4757]
2022-11-07 11:17:36 +02:00
848fc51070
Run full workflow validation for all non-draft statuses
...
[MAILPOET-4757]
2022-11-07 11:17:36 +02:00
af1e09f46f
Remove "inactive" status for now, use "draft" instead
...
[MAILPOET-4757]
2022-11-07 11:17:36 +02:00
12f2d1730f
Do not enforce workflow content for non-active workflows
...
[MAILPOET-4757]
2022-11-07 11:17:36 +02:00
902eeccea1
Block updating workflows with active runs in the backend
...
[MAILPOET-4744]
2022-11-07 02:22:21 -06:00
dc5e5b4f8b
Use "automation" instead of "workflow" in user-facing strings
...
[MAILPOET-4758]
2022-11-04 10:51:23 +02:00
421549d6ee
Make all automation strings in PHP translatable, improve context/comments
...
[MAILPOET-4611]
2022-10-31 10:03:45 +01:00
5075982cd3
Rename validateArray to validateSchemaArray and specify the format in doc comment
...
[MAILPOET-4700]
2022-10-26 12:51:16 +02:00
540b34c63f
Validate multiple properties
...
[MAILPOET-4700]
2022-10-26 12:51:16 +02:00
2cacb5809d
Avoid iteration
...
[MAILPOET-4700]
2022-10-26 12:51:16 +02:00
900faa2a71
order error cases
...
[MAILPOET-4700]
2022-10-26 12:51:16 +02:00
4e1b1b3c27
Ensure at least one trigger is present and triggers are followed by actions
...
[MAILPOET-4700]
2022-10-26 12:51:16 +02:00
8af01c3bcb
Use Rest API error codes and map them to error messages
...
[MAILPOET-4700]
2022-10-26 12:51:16 +02:00
686f702ec9
Add errors per field in Response data
...
[MAILPOET-4700]
2022-10-26 12:51:16 +02:00
f95824dea0
Add withError() method to exceptions
...
[MAILPOET-4700]
2022-10-26 12:51:16 +02:00
916080fa5a
Reset step runners to not interfer with other tests
...
[MAILPOET-4731]
2022-10-25 12:46:07 +02:00
c10f80457d
Use new getCountForWorkflow for performance
...
[MAILPOET-4731]
2022-10-25 12:46:07 +02:00
9773408c8b
Add getCountForWorkflow method to return how many runs exist for specific status
...
[MAILPOET-4731]
2022-10-25 12:46:07 +02:00
098aebfaf9
Add truncate() method to WorkflowRunLogStorage
...
[MAILPOET-4731]
2022-10-25 12:46:07 +02:00
2c57251bae
Revert e8cfb2565
...
[MAILPOET-4731]
2022-10-25 12:46:07 +02:00
9bdb32c073
Verify deactivating workflow gets inactive after last workflow run
...
[MAILPOET-4731]
2022-10-25 12:46:07 +02:00
b74890137a
Set a deactivating Workflow to inactive once all runs are completed
...
[MAILPOET-4731]
2022-10-25 12:46:07 +02:00
57548b579f
Add method to fetch all runs of a workflow
...
[MAILPOET-4731]
2022-10-25 12:46:07 +02:00
7aa1a5f4ba
Enable setStatus to handle multiple WorkflowRuns at the same time
...
[MAILPOET-4731]
2022-10-25 12:46:07 +02:00
2620ef0b57
Do not handle workflow runs when workflow status is not active/deactivating
...
[MAILPOET-4731]
2022-10-25 12:46:07 +02:00