Commit Graph

656 Commits

Author SHA1 Message Date
David Remer
d2fce2014a Query statistic how many runs in a timeframe are at which step
[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
b80875d268 Enable querying statistics in a given timeframe
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
David Remer
99f5d64d61 Allow for adding already generated statistics
[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
640fb61861 Use versions loader when an automation with a specific version is queried
[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
5aaa7b2361 Query list of Automation with different versions
[MAILPOET-5433]
2023-07-14 21:50:59 +02:00
David Remer
10f4d6c3c3 Query all versions of an Automation with create date
[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
91db4eb1cf Add get_option and get_avatar_url
[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
3839ca7a0e Initialize fields lazily to avoid calling queries on every request
[MAILPOET-5426]
2023-06-26 13:19:32 +02:00
Jan Jakes
8876ff978d Add filter errors to the error payload
[MAILPOET-5418]
2023-06-26 13:19:32 +02:00
Jan Jakes
cc3112cc8a Collect filter validation errors
[MAILPOET-5418]
2023-06-26 13:19:32 +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
d1bdc1b2f0 Manage templates fully by registry
[MAILPOET-5372]
2023-06-19 13:29:25 +02:00
Jan Jakes
05b00530bc Do not construct automations when serializing templates
[MAILPOET-5372]
2023-06-19 13:29:25 +02:00
Jan Jakes
dd037c349c Use strings for template categories
[MAILPOET-5372]
2023-06-19 13:29:25 +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
24111af58b Move template management to registry
[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
fd40a03682 Add abandoned cart campaign
[MAILPOET-5372]
2023-06-19 13:29:25 +02:00
Jan Jakes
c3be75cd07 Add abandoned cart reminder template
[MAILPOET-5372]
2023-06-19 13:29:25 +02:00
Jan Jakes
8612619f3f Add first-time buyers template
[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