Commit Graph

353 Commits

Author SHA1 Message Date
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
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
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ý
525c80bac4 Fix PHPStan warnings in lib
[MAILPOET-5751]
2023-12-13 11:48:14 +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
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
d4ea49d09a Move OrderStatusChangeTrigger into own namespace
[MAILPOET-5661]
2023-11-06 12:57:56 +01:00
David Remer
17f3fcb368 Make variable protected
[PREMIUM-249]
2023-10-31 10:20:17 +01:00
David Remer
261098cc41 Add ratings enabled value to context
[PREMIUM-249]
2023-10-31 10:20:17 +01:00
David Remer
9fe87e8910 Add wcReviewRatingsEnabled
[PREMIUM-249]
2023-10-31 10:20:17 +01:00
David Remer
f7f37044fc Ensure integers
[PREMIUM-248]
2023-10-30 21:22:23 +01:00
David Remer
6cee6ac887 Normalize the status differences between wp_get_comment_status and get_comment_statuses
[PREMIUM-248]
2023-10-30 21:22:23 +01:00
David Remer
00453fdb99 Use null when comment or post not found
[PREMIUM-248]
2023-10-30 21:22:23 +01:00
David Remer
59e4688799 Add comment fields
[PREMIUM-248]
2023-10-30 21:22:23 +01:00
David Remer
0c4b743247 Add CommentToPost subject transformer
[PREMIUM-248]
2023-10-30 21:22:23 +01:00
David Remer
e0b871454b Add PostSubject
[PREMIUM-248]
2023-10-30 21:22:23 +01:00
David Remer
936d96427c Use comment_statuses in context
[PREMIUM-248]
2023-10-30 21:22:23 +01:00
David Remer
e2c5f2af4b Specify interface
[PREMIUM-248]
2023-10-30 21:22:23 +01:00
David Remer
8f529491e8 Move WordPress context factory to free plugin
[PREMIUM-248]
2023-10-30 21:22:23 +01:00
David Remer
f92d560d6a Add comment to subscriber subject transformer
[PREMIUM-248]
2023-10-30 21:22:23 +01:00
David Remer
6a90ca9080 Add CommentSubject and Payload
[PREMIUM-248]
2023-10-30 21:22:23 +01:00
Jan Jakes
d0726e348e Implement if/else action
[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