Jan Lysý
1f249fea30
Fix PHPStan error about parameter passed to strval()
...
[MAILPOET-5719]
2023-12-13 13:27:45 +01:00
Jan Lysý
525c80bac4
Fix PHPStan warnings in lib
...
[MAILPOET-5751]
2023-12-13 11:48:14 +01:00
Jan Jakes
0d2e3e4f19
Add API endpoint to fetch automation template data
...
[MAILPOET-4537]
2023-12-11 20:51:12 +01:00
Ján Mikláš
f71935f137
Add translator comments to automation steps and subjects
...
[MAILPOET-5729]
2023-11-24 08:10:35 +02:00
Jan Jakes
d220f05840
Move automation template categories to registry
...
This will also allow 3rd parties adding new categories in the future.
[MAILPOET-4676]
2023-11-20 14:30:05 +01:00
David Remer
ae0e952159
Use the correct WordPress wrapper
...
[MAILPOET-5661]
2023-11-06 12:57:56 +01:00
David Remer
1d885ea238
Add order created|cancelled|completed triggers
...
[MAILPOET-5661]
2023-11-06 12:57:56 +01:00
David Remer
7c382f4034
Add getCommentMeta
...
[PREMIUM-249]
2023-10-31 10:20:17 +01:00
David Remer
221e496714
Add comment
...
[PREMIUM-248]
2023-10-30 21:22:23 +01:00
David Remer
8eb596bfcf
Add getPostStatuses()
...
[PREMIUM-248]
2023-10-30 21:22:23 +01:00
David Remer
a7fb860da2
Add get_taxonomy and get_term
...
[PREMIUM-248]
2023-10-30 21:22:23 +01:00
David Remer
d34524df15
Specify return types
...
[PREMIUM-248]
2023-10-30 21:22:23 +01:00
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
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
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
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
a464df2831
Ensure WP_DEBUG is cast to a boolean value
...
[MAILPOET-5608]
2023-09-26 13:26:22 +02: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
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
Jan Jakes
13202ed191
Keep "coming soon" templates as last
...
[MAILPOET-5384]
2023-08-14 12:54:09 +02:00
Jan Jakes
44d869af70
Simplify automation run data factory
2023-07-31 09:44:56 +02:00
David Remer
1c370f6136
Allow to alter created at date
...
[MAILPOET-5405]
2023-07-31 09:44:56 +02:00
David Remer
8bd03b7a10
Add method to delete an automation run
...
[MAILPOET-5405]
2023-07-31 09:44:56 +02:00