Commit Graph

746 Commits

Author SHA1 Message Date
Jan Jakes
7560aa495e Unify quotes and apostrophes
[MAILPOET-5934]
2024-03-14 11:09:12 +01:00
Jan Jakes
4674c1443d Use order completed trigger instead of status change
[MAILPOET-5934]
2024-03-14 11:09:12 +01:00
Jan Jakes
261907e93b Add missing translation functions
[MAILPOET-5934]
2024-03-14 11:09:12 +01:00
Jan Jakes
ad1ffea2c0 Enable abandoned cart campaign template
[MAILPOET-5934]
2024-03-14 11:09:12 +01:00
Jan Jakes
9be4e730c0 Add win-back customers template
[MAILPOET-5934]
2024-03-14 11:09:12 +01:00
Jan Jakes
d816e97d31 Enable thank loyal customers template, improve naming
[MAILPOET-5934]
2024-03-14 11:09:12 +01:00
Jan Jakes
888df573e5 Apply filter parameters in templates
[MAILPOET-5936]
2024-03-14 11:09:12 +01:00
David Remer
1a753ca2af Order explicitly by name
[MAILPOET-5942]
2024-03-12 14:27:21 +01:00
Jan Jakes
9327485441 Use "comment_date_gmt" for "in the last" condition
[PREMIUM-253]
2024-03-11 10:31:15 +01:00
Jan Jakes
b5b21c9f7a Add check for product post type when fetching customer review data
[PREMIUM-253]
2024-03-11 10:31:15 +01:00
Jan Jakes
46a462ee23 Add test for an automation with if/else step and "in the last X days" filter
[PREMIUM-253]
2024-03-11 10:31:15 +01:00
Jan Jakes
5439db1e5a Unify parameter naming
[PREMIUM-253]
2024-03-11 10:31:15 +01:00
Jan Jakes
1a0eb90402 Mark which fields support the "in the last" parameter for UI
[PREMIUM-253]
2024-03-11 10:31:15 +01:00
Jan Jakes
5f7362282d Add "in the last" parameter and schema to number and enum filters
[PREMIUM-253]
2024-03-11 10:31:15 +01:00
Jan Jakes
7f63445f5a Pass filter-provided parameters to field value factories
[PREMIUM-253]
2024-03-11 10:31:15 +01:00
Jan Jakes
467f1f8c8c Add ability for filters to provide field params
[PREMIUM-253]
2024-03-11 10:31:15 +01:00
Jan Jakes
7cb75e77c5 Add explicit casts for WordPressDotOrg.sniffs.DirectDB.UnescapedDBParameter
None of these are needed, but the sniff reports them as false positives, so this is a workaround.

[PREMIUM-253]
2024-03-11 10:31:15 +01:00
Jan Jakes
d4fd0bec71 Check for empty array when getting parent term IDs
[PREMIUM-253]
2024-03-11 10:31:15 +01:00
Jan Jakes
5b2d75dc1f Add "in the last" parameter to "woocommerce:customer:purchased-tags" field
[PREMIUM-253]
2024-03-11 10:31:15 +01:00
Jan Jakes
176b2dbd53 Add "in the last" parameter to "woocommerce:customer:purchased-categories" field
[PREMIUM-253]
2024-03-11 10:31:15 +01:00
Jan Jakes
399e61d7b9 Add "in the last" parameter to "woocommerce:customer:review-count" field
[PREMIUM-253]
2024-03-11 10:31:15 +01:00
Jan Jakes
67786c1eee Add "in the last" parameter to "mailpoet:subscriber:automations-exited" field
[PREMIUM-253]
2024-03-11 10:31:15 +01:00
Jan Jakes
44b65d10be Add "in the last" parameter to "mailpoet:subscriber:automations-processing" field
[PREMIUM-253]
2024-03-11 10:31:15 +01:00
Jan Jakes
2ef7bf6fac Add "in the last" parameter to "mailpoet:subscriber:automations-entered" field
[PREMIUM-253]
2024-03-11 10:31:15 +01:00
Jan Jakes
f1b1ca882c Add "in the last" filter for fetching automation IDs by subject
[PREMIUM-253]
2024-03-11 10:31:15 +01:00
Jan Jakes
504510d724 Simplify fetching automation IDs by subject
[PREMIUM-253]
2024-03-11 10:31:15 +01:00
Jan Jakes
f36b117987 Add "in the last" parameter to "mailpoet:subscriber:email-clicked-count" field
[PREMIUM-253]
2024-03-11 10:31:15 +01:00
Jan Jakes
1c7ed9602f Add "in the last" parameter to "mailpoet:subscriber:email-machine-opened-count" field
[PREMIUM-253]
2024-03-11 10:31:15 +01:00
Jan Jakes
c87fc5ab7e Add "in the last" parameter to "mailpoet:subscriber:email-opened-count" field
[PREMIUM-253]
2024-03-11 10:31:15 +01:00
Jan Jakes
2421a1b8ea Add "in the last" parameter to "mailpoet:subscriber:email-sent-count" field
[PREMIUM-253]
2024-03-11 10:31:15 +01:00
Jan Jakes
3dbe1bd049 Add "in the last" parameter to "woocommerce:customer:spent-average" field
[PREMIUM-253]
2024-03-11 10:31:15 +01:00
Jan Jakes
adff3b61a6 Add "in the last" parameter to "woocommerce:customer:order-count" field
[PREMIUM-253]
2024-03-11 10:31:15 +01:00
Jan Jakes
d9be326aa7 Add "in the last" parameter to "woocommerce:customer:spent-total" field
[PREMIUM-253]
2024-03-11 10:31:15 +01:00
Jan Jakes
a17fc5e963 Identify all triggers with "woocommerce:" key prefix as WooCommerce triggers
[MAILPOET-5725]
2024-02-14 14:36:22 +01:00
Jan Jakes
d5d20d5219 Send transactional emails with order created/completed/cancelled triggers
[MAILPOET-5725]
2024-02-14 14:36:22 +01:00
Jan Jakes
738c35891a Simplify getSinglePayloadByClass, remove wrong check
[MAILPOET-5720]
2024-02-14 14:36:22 +01:00
Jan Jakes
8b40553d0b Do not check subscriber against segment when sending transactional email
[MAILPOET-5720]
2024-02-14 14:36:22 +01:00
Jan Jakes
d6da2af55b Extract newsletter bulk delete logic to a controller
Repositories shouldn't inject other repositories. Also, this solves circular DI dependency.

[MAILPOET-5845]
2024-02-02 12:48:40 +01:00
Brezo Cordero
74a8a0aefc Modify context for Automations
[MAILPOET-5796]
2024-01-29 16:53:00 +01:00
Brezo Cordero
1a7a424936 Add Sender Domain Data to MailPoet Context
[MAILPOET-5796]
2024-01-29 16:53:00 +01:00
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
 Ján Mikláš
dfe6076599 Unify quotes around IDs in error messages
[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
4b2a63e8d6 Use - instead of _ in field keys
[PREMIUM-243]
2023-11-08 13:42:36 +01:00
David Remer
042daf934e Add NewsletterLinkSubject
[PREMIUM-243]
2023-11-08 13:42:36 +01:00
David Remer
5d525de247 Filter taxonomies for only \WP_Taxonomy types
[MAILPOET-5704]
2023-11-07 11:40:17 +01:00
David Remer
4a15751d7a Add comment to explain why we just return true
[MAILPOET-5661]
2023-11-06 12:57:56 +01:00