Commit Graph

237 Commits

Author SHA1 Message Date
David Remer
7092b5713e Invent values if no orders found
[MAILPOET-5405]
2023-07-31 09:44:56 +02:00
David Remer
0aaf0f335e Return early when no emails found
[MAILPOET-5405]
2023-07-31 09:44:56 +02:00
David Remer
5ead6a5b39 Remove unused variable
[MAILPOET-5405]
2023-07-31 09:44:56 +02:00
David Remer
66e05a0063 Show failed runs per step
[MAILPOET-5460]
2023-07-24 16:19:30 +02:00
David Remer
be669a5f61 Return available emails in free endpoint controller
[PREMIUM-232]
2023-07-24 16:19:30 +02:00
David Remer
fd2e0f8500 Add filter and search to Query entities
[PREMIUM-225]
2023-07-19 14:57:26 +02:00
David Remer
9afe3655b0 Remove permission check and fall back to default
[PREMIUM-225]
2023-07-19 14:57:26 +02:00
David Remer
a33422123a Add subscriber backend
[PREMIUM-225]
2023-07-19 14:57:26 +02:00
David Remer
fc68729ff6 Show notice when tree is inconsistent
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
David Remer
fb057af6f8 Fix ordering of next_step
We are actually waiting for the next_step to be executed and therefore we do not need to map the step to the previous one.

[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
David Remer
4199822aff Return flow data
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
David Remer
2a6af4a77b Transform log data for response
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
David Remer
fd04d005d0 Return Step data
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
David Remer
8d9133b79e Add StepStatisticController to map step data
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
David Remer
ae57f81c14 Query short statistics for automation
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
David Remer
4c0bd1815b Query Automation in correct timespan
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
David Remer
8b81016814 Add getAutomationsInTimespan method to controller
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
David Remer
9363e8714a Add AutomationFlow section and allow for custom update callbacks
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
David Remer
f7689232b2 Move user roles from global window to context
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
David Remer
db15738ab9 Improve filtering of versions which where active in a given time span
[MAILPOET-5433]
2023-07-14 21:50:59 +02:00
David Remer
2a708c5bc7 Calculate difference to previously sent emails 2023-07-14 21:50:59 +02:00
David Remer
ea3b23847e Make sure email_id property exists
[MAILPOET-5433]
2023-07-14 21:50:59 +02:00
David Remer
8c2251089f Add AutomationEmailController
[MAILPOET-5433]
2023-07-14 21:50:59 +02:00
David Remer
badedd2d52 Query data from the correct automation versions
[MAILPOET-5433]
2023-07-14 21:50:59 +02:00
David Remer
8f14dee501 Get rid of previous data for each email as it is not necessary
[MAILPOET-5433]
2023-07-14 21:50:59 +02:00
David Remer
aa00a34753 Add order endpoint
[PREMIUM-224]
2023-07-12 14:58:11 +02:00
David Remer
d4b621acbb Use factory to switch between free and premium order controller
[PREMIUM-224]
2023-07-12 14:58:11 +02:00
David Remer
f8075fec43 Add controller to return order data for free plugin
[PREMIUM-224]
2023-07-12 14:58:11 +02:00
David Remer
a27d639968 Extend Query definition
[PREMIUM-224]
2023-07-12 14:58:11 +02:00
David Remer
c71d2cb97f Add wc_get_order_status_name
[PREMIUM-224]
2023-07-12 14:58:11 +02:00
David Remer
43a540c03c Order emails by order in automation
[MAILPOET-5092]
2023-07-03 12:44:07 +02:00
David Remer
c03a3becc4 Use WooCommerce abstraction from automations instead of MP 2023-07-03 12:44:07 +02:00
David Remer
3b8569e47e Ensure newsletter exists
[MAILPOET-5092]
2023-07-03 12:44:07 +02:00
David Remer
4c6f0ff073 Add interactive elements to email tab
[MAILPOET-5092]
2023-07-03 12:44:07 +02:00
David Remer
1bd4050c1a Format prices in frontend
[MAILPOET-5092]
2023-07-03 12:44:07 +02:00
David Remer
be29c00f08 Add price formatter
[MAILPOET-5092]
2023-07-03 12:44:07 +02:00
David Remer
aa7ca7039a Add Email Tab
[MAILPOET-5092]
2023-07-03 12:44:07 +02:00
Jan Jakes
34d043232b Refactor filter args validation to work per-condition
This also fixes string "is-blank" and "is-not-blank" being marked as invalid.

[MAILPOET-5415]
2023-06-26 13:19:32 +02:00
Jan Jakes
0236a6c919 Apply templates filter on all templates (in registry)
[MAILPOET-5372]
2023-06-19 13:29:25 +02:00
Jan Jakes
b372a176e1 Create automations from templates lazily
This prevents creating all automations for all templates just to list them, etc.

[MAILPOET-5372]
2023-06-19 13:29:25 +02:00
Jan Jakes
60c1429238 Split templates into private methods
[MAILPOET-5372]
2023-06-19 13:29:25 +02:00
Jan Jakes
d3b63b4c0f Move MailPoet templates to MailPoet integration
[MAILPOET-5372]
2023-06-19 13:29:25 +02:00
Jan Jakes
25a0d56ed1 Move automation builder to engine
[MAILPOET-5372]
2023-06-19 13:29:25 +02:00
Jan Jakes
c8fdf6e7f0 Add filters to to automation template builder
[MAILPOET-5372]
2023-06-19 13:29:25 +02:00
Jan Jakes
b753a97ad6 Simplify automation template builder API
This will also allow us to add filters and other parameters.

[MAILPOET-5372]
2023-06-19 13:29:25 +02:00
Jan Jakes
245c433650 Make TermOptionsBuilder a universal service
[MAILPOET-5169]
2023-06-19 11:06:23 +02:00
Jan Jakes
e9dc3d8b12 Make sure "wc-" prefixes are removed from order status options
[MAILPOET-5169]
2023-06-19 11:06:23 +02:00
Jan Jakes
e1cb32dd5a Use post title for coupon name
[MAILPOET-5169]
2023-06-19 11:06:23 +02:00
Jan Jakes
82e2025e83 Use enums for countries also for customer fields
[MAILPOET-5169]
2023-06-19 11:06:23 +02:00
Jan Jakes
0199786a0e Use enums for countries
[MAILPOET-5169]
2023-06-19 11:06:23 +02:00