David Remer
8b81016814
Add getAutomationsInTimespan method to controller
...
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
David Remer
8c2251089f
Add AutomationEmailController
...
[MAILPOET-5433]
2023-07-14 21:50:59 +02:00
Jan Jakes
a3cfeea552
Use tester helper to make sure order gets autocleaned
...
[MAILPOET-5169]
2023-06-19 11:06:23 +02:00
Jan Jakes
c2a63f4614
Unify automation ID format with WC order format
...
[MAILPOET-5169]
2023-06-19 11:06:23 +02:00
Jan Jakes
7444131021
Add subscriber automation fields
...
[MAILPOET-5172]
2023-05-17 12:36:05 +02:00
Jan Jakes
6cfc808248
Add subscriber statistic fields
...
[MAILPOET-5172]
2023-05-17 12:36:05 +02:00
Jan Jakes
906e76c73c
Map subscriber custom fields to automation fields
...
[MAILPOET-5036]
2023-05-17 12:36:05 +02:00
David Remer
402cb23b90
Test the transactional type is set correctly
...
[MAILPOET-4999]
2023-05-15 08:19:19 +02:00
Jan Jakes
69f21814e3
Rename "transactional" email type to "automation_transactional"
...
[MAILPOET-5258]
2023-04-24 09:54:08 +03:00
David Remer
b3e836548c
Create newsletter in test
...
[MAILPOET-4934]
2023-04-17 13:59:39 +02:00
David Remer
db3bbd83aa
Test the transactional type is set correctly
...
[MAILPOET-4999]
2023-04-17 13:59:39 +02:00
Jan Jakes
c1babe49db
Remove more no longer necessary test cleanups
...
MAILPOET-5145
2023-04-07 12:11:12 -05:00
John Oleksowicz
f90e869402
Clean up after automations too
...
MAILPOET-5145
2023-04-07 12:11:12 -05:00
John Oleksowicz
376dca1098
Remove unnecessary truncating
...
MAILPOET-5145
2023-04-07 12:11:12 -05:00
John Oleksowicz
cd0b795ac8
Extract customer creation/cleanup
...
This also ensures that cleanup always runs after all integration tests
MAILPOET-5145
2023-04-07 12:11:12 -05:00
John Oleksowicz
c75bc388c9
Remove unnecessary cleanup code
...
MAILPOET-5145
2023-04-07 12:11:12 -05:00
David Remer
6fa85ef879
Test order to subscriber subject transformation
...
[MAILPOET-4935]
2023-03-30 12:21:25 +02:00
David Remer
93cfffe295
Allow sending an email multiple times
...
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
Jan Jakes
c67c58709b
Unify spacing of declare statements
...
[MAILPOET-2688]
2022-11-29 15:04:09 +01:00
David Remer
7db40b27b5
Fix errors automatically with phpcbf
...
[MAILPOET-4850]
2022-11-28 22:54:13 +03:00
David Remer
99d6d96b05
Fix all is_numeric asserts in integration tests
...
[MAILPOET-4258]
2022-11-25 14:32:34 +01:00
David Remer
d2ec7bba42
Replace instance_of asserts in integration tests
...
[MAILPOET-4258]
2022-11-25 14:32:34 +01:00
Jan Jakes
9d55d3f134
Use "automation" instead of "workflow"
...
[MAILPOET-4793]
2022-11-14 12:14:35 +02:00
David Remer
394f9abd67
Make sure, we have a fresh subscriber from the database
...
[MAILPOET-4773]
2022-11-07 04:41:47 -06:00
David Remer
74b12bd2d9
Change trigger to mailpoet_segment_subscribed
...
We should listen to mailpoet_segment_subscribed to start the trigger.
This means the subscriber is confirmed. And it removes the fatal error
which was produced by not finding the $segment during signup.
[MAILPOET-4772]
[MAILPOET-4773]
2022-11-07 04:41:47 -06:00
David Remer
5201c359d3
Adjust SendEmailActionTest to new error format
...
[MAILPOET-4700]
2022-10-26 12:51:16 +02:00
Jan Jakes
7425c73d9e
Add error messages to action validation, use step validation args
...
[MAILPOET-4659]
2022-10-13 11:58:11 +02:00
David Remer
64a8c3700c
Fix loading of WpUserSegment
...
[MAILPOET-4690]
2022-09-30 15:28:03 +02:00
Jan Jakes
02aaba1ded
Pass full step map to automation workflow so it can be validated
...
[MAILPOET-4629]
2022-09-23 12:42:03 +03:00
Jan Jakes
8c2377b0f9
Fix trigger tests for new data structures & simplify them
...
[MAILPOET-4629]
2022-09-23 12:42:03 +03:00
Jan Jakes
fe3d719a13
Use step run args in existing actions
...
[MAILPOET-4629]
2022-09-23 12:42:03 +03:00
David Remer
a1775dd010
Delete user properly in multisite environment
...
[MAILPOET-4666]
2022-09-22 10:37:25 +02:00
David Remer
e1e5749eca
Change isTriggeredBy signature for clarity
...
[MAILPOET-4587]
2022-09-21 10:38:17 +02:00
David Remer
40acca4cbe
Use correct doc type
...
[MAILPOET-4587]
2022-09-21 10:38:17 +02:00
David Remer
b914a1d2ec
Rename SomeoneSubscribesTrigger key and class
...
[MAILPOET-4587]
2022-09-21 10:38:17 +02:00
David Remer
c0e8a70f06
Turn no item selected to former 'any item' behavior
...
[MAILPOET-4587]
2022-09-21 10:38:17 +02:00
David Remer
bb5da626ba
Add UserRegistrationTrigger
...
[MAILPOET-4587]
2022-09-21 10:38:17 +02:00
David Remer
e2c9356f4c
Execute WorkflowRun only when trigger criteria are met
...
[MAILPOET-4587]
2022-09-21 10:38:17 +02:00
Jan Jakes
1677cc2842
Save and load workflows in the new format, update API
...
[MAILPOET-4523]
2022-09-12 14:40:36 -05:00
Rostislav Wolny
e32b06a5a8
Add data cleanup after SendEmailActionTest tests
...
[MAILPOET-4566]
2022-09-08 13:02:52 +02:00
Rostislav Wolny
99d4dfb558
Fix integration test to run without WooCommerce related test
...
SendEmailActionTest test was dependent on a cleanup
from a previous test, which was moved to the woo group.
[MAILPOET-4566]
2022-09-08 13:02:52 +02:00
David Remer
34d94edd3e
Add author to Workflow
...
[MAILPOET-4417]
2022-08-24 14:02:08 +02:00
David Remer
24849afb7a
Make name a property of Step.args instead of Step
...
[MAILPOET-4445]
2022-08-17 16:01:45 +02:00
David Remer
33fb02e2ce
Add missing spaces and remove double spaces around "null,"
...
[MAILPOET-4445]
2022-08-17 16:01:45 +02:00
David Remer
d4bc448ac6
Add name property to Step
...
[MAILPOET-4445]
2022-08-17 16:01:45 +02:00
David Remer
02489a61a6
Add version_id to WorkflowRun
...
[MAILPOET-4430]
2022-08-10 16:57:25 +02:00
Jan Jakes
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
Jan Jakes
d447702941
Convert welcome email action to a generic send email action
...
[MAILPOET-4465]
2022-07-12 13:36:58 +02:00
John Oleksowicz
250dd441b4
Add step based validations
...
[MAILPOET-4191]
2022-04-18 09:10:23 +02:00
John Oleksowicz
da144a3778
Include all possibilities for validation
...
Although not required at the moment, validation could certainly involve
the current step as well as the workflow itself.
[MAILPOET-4191]
2022-04-18 09:10:23 +02:00