Commit Graph

385 Commits

Author SHA1 Message Date
44d869af70 Simplify automation run data factory 2023-07-31 09:44:56 +02:00
1c370f6136 Allow to alter created at date
[MAILPOET-5405]
2023-07-31 09:44:56 +02:00
8bd03b7a10 Add method to delete an automation run
[MAILPOET-5405]
2023-07-31 09:44:56 +02:00
8d8fcf3164 Query log statistics for automation in a timeframe
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
d2fce2014a Query statistic how many runs in a timeframe are at which step
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
b80875d268 Enable querying statistics in a given timeframe
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
99f5d64d61 Allow for adding already generated statistics
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
640fb61861 Use versions loader when an automation with a specific version is queried
[MAILPOET-5433]
2023-07-14 21:50:59 +02:00
5aaa7b2361 Query list of Automation with different versions
[MAILPOET-5433]
2023-07-14 21:50:59 +02:00
10f4d6c3c3 Query all versions of an Automation with create date
[MAILPOET-5433]
2023-07-14 21:50:59 +02:00
91db4eb1cf Add get_option and get_avatar_url
[PREMIUM-224]
2023-07-12 14:58:11 +02:00
3839ca7a0e Initialize fields lazily to avoid calling queries on every request
[MAILPOET-5426]
2023-06-26 13:19:32 +02:00
8876ff978d Add filter errors to the error payload
[MAILPOET-5418]
2023-06-26 13:19:32 +02:00
cc3112cc8a Collect filter validation errors
[MAILPOET-5418]
2023-06-26 13:19:32 +02:00
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
d1bdc1b2f0 Manage templates fully by registry
[MAILPOET-5372]
2023-06-19 13:29:25 +02:00
05b00530bc Do not construct automations when serializing templates
[MAILPOET-5372]
2023-06-19 13:29:25 +02:00
dd037c349c Use strings for template categories
[MAILPOET-5372]
2023-06-19 13:29:25 +02:00
0236a6c919 Apply templates filter on all templates (in registry)
[MAILPOET-5372]
2023-06-19 13:29:25 +02:00
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
d3b63b4c0f Move MailPoet templates to MailPoet integration
[MAILPOET-5372]
2023-06-19 13:29:25 +02:00
24111af58b Move template management to registry
[MAILPOET-5372]
2023-06-19 13:29:25 +02:00
25a0d56ed1 Move automation builder to engine
[MAILPOET-5372]
2023-06-19 13:29:25 +02:00
fd40a03682 Add abandoned cart campaign
[MAILPOET-5372]
2023-06-19 13:29:25 +02:00
c3be75cd07 Add abandoned cart reminder template
[MAILPOET-5372]
2023-06-19 13:29:25 +02:00
8612619f3f Add first-time buyers template
[MAILPOET-5372]
2023-06-19 13:29:25 +02:00
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
d04baaee4f Sort subject keys that are used to render field groups
[MAILPOET-5169]
2023-06-19 11:06:23 +02:00
9375d8cab7 Add coupon field
[MAILPOET-5169]
2023-06-19 11:06:23 +02:00
4a4eb45267 Add customer product categories and tags fields
[MAILPOET-5168]
2023-06-12 12:13:41 +02:00
916aea1e8d Add customer review fields
[MAILPOET-5168]
2023-06-12 12:13:41 +02:00
cc352e6e2d Add WordPress integration
[MAILPOET-5168]
2023-06-12 12:13:41 +02:00
262a8b9540 Manage WP_Locale in WordPress wrapper
[MAILPOET-5036]
2023-05-17 12:36:05 +02:00
8dc3f109dd Fix and simplify fetching automations with status filter
[MAILPOET-5172]
2023-05-17 12:36:05 +02:00
7444131021 Add subscriber automation fields
[MAILPOET-5172]
2023-05-17 12:36:05 +02:00
8d5e9bd951 Get all subjectEntries into the StepArgs, not just the required ones
[MAILPOET-4934]
2023-05-15 08:19:19 +02:00
9b6ea25d6f Add method to get all triggers
[MAILPOET-4934]
2023-05-15 08:19:19 +02:00
38ad5b75b6 Query Automations by trigger key
[MAILPOET-4934]
2023-05-15 08:19:19 +02:00
11d2dd7c24 Make subjectData available
[MAILPOET-4934]
2023-05-15 08:19:19 +02:00
2a38e639db Implement datetime filter
[MAILPOET-5000]
2023-05-08 13:58:31 +02:00
b45e105cb4 Evaluate global filter operator
[MAILPOET-5218]
2023-05-04 14:34:11 +02:00
c40cb47928 Evaluate filter group operators (and/or)
[MAILPOET-5218]
2023-05-04 14:34:11 +02:00
ee0c3f4bbf Add one field for each new filter type (number, integer, boolean, string)
[MAILPOET-4624]
[MAILPOET-5001]
[MAILPOET-5187]
2023-05-01 12:42:35 +02:00
b91d96deab Fix doctype to reflect the array key can be an integer
[MAILPOET-5267]
2023-04-26 09:56:08 +02:00
6a6d158785 Cast steps array key to string
[MAILPOET-5267]
2023-04-26 09:56:08 +02:00
f75620a7c1 Add IDs for filter groups and filter definitions
[MAILPOET-5257]
2023-04-24 10:42:28 +02:00
34ca96d007 Introduce filters data type and filter groups to enable saving and/or filter combinations
[MAILPOET-5257]
2023-04-24 10:42:28 +02:00
f6a59647d5 Implement filter args validation
[MAILPOET-4946]
2023-04-20 16:32:32 +02:00
0157feb508 Remove no longer used exception
[MAILPOET-4946]
2023-04-20 16:32:32 +02:00
abe44ca9f8 Implement filter handler to apply filters on field values during automation run
[MAILPOET-4946]
2023-04-20 16:32:32 +02:00