David Remer
dd103b81d7
Catch exceptions when trying to match filters in trigger handler
...
[PREMIUM-248]
2023-10-30 21:22:23 +01:00
David Remer
8f529491e8
Move WordPress context factory to free plugin
...
[PREMIUM-248]
2023-10-30 21:22:23 +01:00
David Remer
f92d560d6a
Add comment to subscriber subject transformer
...
[PREMIUM-248]
2023-10-30 21:22:23 +01:00
David Remer
53f3a5d001
Allow to return null in SubjectTransformer::transform()
...
Sometimes a transformer can't return a subject. In this case transform() will return null
instead of throwing an exception. This means an automation can run until it comes to a
step where the subject would be needed. There it would fail.
[PREMIUM-248]
2023-10-30 21:22:23 +01:00
David Remer
4102f854b0
Add WordPress functions
...
[PREMIUM-248]
2023-10-30 21:22:23 +01:00
David Remer
6a90ca9080
Add CommentSubject and Payload
...
[PREMIUM-248]
2023-10-30 21:22:23 +01:00
Jan Jakes
c33da588af
Validate that fields in filters are provided by subjects available in the automation
...
[MAILPOET-5586]
2023-10-23 17:09:16 +02:00
Jan Jakes
d0726e348e
Implement if/else action
...
[MAILPOET-5586]
2023-10-23 17:09:16 +02:00
Jan Jakes
f55c4f7755
Make next step ID nullable (ability to save multiple edges without next steps)
...
[MAILPOET-5586]
2023-10-23 17:09:16 +02:00
Jan Jakes
32e5d4f8ac
Add check that next step was scheduled when multiple next steps are possible
...
[MAILPOET-5586]
2023-10-23 17:09:16 +02:00
Jan Jakes
72ce5fb569
Add a possibility to schedule next step by index
...
[MAILPOET-5586]
2023-10-23 17:09:16 +02:00
Jan Jakes
8720d8881f
Remove NoSplitRule to allow for multiple next steps
...
[MAILPOET-5586]
2023-10-23 17:09:16 +02:00
Jan Jakes
004dc57f75
Fix edge case for NoUnreachableStepsRuleTest
...
[MAILPOET-5586]
2023-10-23 17:09:16 +02:00
Jan Jakes
901427c3d1
Fix edge case for NoJoinRule, simplify logic
...
[MAILPOET-5586]
2023-10-23 17:09:16 +02:00
David Remer
b9ecac91d4
Query all runs when no status has been added
...
[MAILPOET-5514]
2023-10-03 19:14:30 +02:00
David Remer
6ef3435a80
Remove segment as a required subject
...
If a segment is given, the subscriber needs to be subscribed to it, otherwise
the subscriber only needs to be globally subscribed
[MAILPOET-5514]
2023-10-03 19:14:30 +02:00
David Remer
787e4d32b2
Return parent product for variations
...
[MAILPOET-5553]
2023-10-02 14:24:42 +02:00
David Remer
978ca03189
Add wcGetProduct method
...
[MAiLPOET-5553]
2023-10-02 14:24:42 +02:00
David Remer
a464df2831
Ensure WP_DEBUG is cast to a boolean value
...
[MAILPOET-5608]
2023-09-26 13:26:22 +02:00
David Remer
5ef146cc2b
Add BuysFromACategory Trigger backend
...
[MAILPOET-5517]
2023-09-25 07:11:43 -07:00
David Remer
a7f66d9812
Add BuysAProduct trigger backend
...
[MAILPOET-5516]
2023-09-25 07:11:43 -07:00
David Remer
2ea9a69a40
Make method public
...
[MAILPOET-5516]
2023-09-25 07:11:43 -07:00
Jan Jakes
7fac20fc8c
Make default error value NULL, make data non-nullable
...
[MAILPOET-5599]
2023-09-25 06:10:52 -07:00
Jan Jakes
8eb2e3f43e
Rename hook to better correspond to its function
...
[MAILPOET-5568]
2023-09-20 02:36:40 -07:00
Jan Jakes
944b440bdf
Rethrow integration log exceptions in debug mode
...
[MAILPOET-5568]
2023-09-20 02:36:40 -07:00
Jan Jakes
4b8705e6b4
Normalize error trace objects to associative arrays
...
[MAILPOET-5568]
2023-09-20 02:36:40 -07:00
Jan Jakes
864cc2b01d
Add run number to logs
...
[MAILPOET-5568]
2023-09-20 02:36:40 -07:00
Jan Jakes
ef97e4d05a
Add logging for automation triggers
...
[MAILPOET-5568]
2023-09-20 02:36:40 -07:00
Jan Jakes
862693e785
Fix empty associative arrays being encoded as list arrays
...
[MAILPOET-5568]
2023-09-20 02:36:40 -07:00
Jan Jakes
a13dc71cd0
Log step key data
...
[MAILPOET-5568]
2023-09-20 02:36:40 -07:00
Jan Jakes
370f4ee3ae
Add step type, step key, and updated timestamp to run logs
...
[MAILPOET-5568]
2023-09-20 02:36:40 -07:00
Jan Jakes
c2027932c0
Remove unnecessary check
...
[MAILPOET-5568]
2023-09-20 02:36:40 -07:00
Jan Jakes
ef42cf39f1
Reorder props & getters and polish automation run log
...
[MAILPOET-5568]
2023-09-20 02:36:40 -07:00
Jan Jakes
dd881d8b33
Extract logging logic to a service, make logs mutable
...
[MAILPOET-5568]
2023-09-20 02:36:40 -07:00
Jan Jakes
43c396220b
Move all of step handler args checks to top-level handler, improve readability
...
[MAILPOET-5568]
2023-09-20 02:36:40 -07:00
Jan Jakes
9cd871c32e
Remove unused step runner interface
...
[MAILPOET-5568]
2023-09-20 02:36:40 -07:00
Jan Jakes
d8afb42d89
Fix inconsistency between automation run and run log statuses
...
[MAILPOET-5568]
2023-09-20 02:36:40 -07:00
Jan Jakes
e343c9201a
Use step run controller in delay action
...
[MAILPOET-5569]
2023-09-20 02:36:40 -07:00
Jan Jakes
e5550ffead
Add the possibility to schedule another run of the same step (progress)
...
[MAILPOET-5569]
2023-09-20 02:36:40 -07:00
Jan Jakes
eeb4d64e8b
Pass step run controller to automation actions
...
[MAILPOET-5569]
2023-09-20 02:36:40 -07:00
Jan Jakes
9d4f55b399
Add step run controller to allow actions control their flow
...
[MAILPOET-5569]
2023-09-20 02:36:40 -07:00
Jan Jakes
5f088d2c35
Add step run number to step run args
...
[MAILPOET-5569]
2023-09-20 02:36:40 -07:00
Jan Jakes
e3da509f70
Move automation completion to step scheduler
...
[MAILPOET-5569]
2023-09-20 02:36:40 -07:00
Jan Jakes
b7ef250511
Refactor next step scheduling to a StepScheduler service
...
[MAILPOET-5569]
2023-09-20 02:36:40 -07:00
David Remer
ff78c0907d
Add AbandonedCart trigger
...
[MAILPOET-5576]
2023-09-13 14:58:48 +02:00
Jan Jakes
c09410af94
Include parent category IDs in customer order fields
...
[MAILPOET-5377]
2023-08-14 16:41:29 +02:00
Jan Jakes
6414cc832c
Include parent category IDs in order category field
...
[MAILPOET-5377]
2023-08-14 16:41:29 +02:00
Jan Jakes
8e640acaf1
Fix is-first-order for guest customers
...
[MAILPOET-5459]
2023-08-14 13:59:38 +02:00
Jan Jakes
45b907f3d9
Do not create Woo templates when WooCommerce is not active
...
[MAILPOET-5384]
2023-08-14 12:54:09 +02:00
Jan Jakes
13202ed191
Keep "coming soon" templates as last
...
[MAILPOET-5384]
2023-08-14 12:54:09 +02:00