Commit Graph

250 Commits

Author SHA1 Message Date
Rostislav Wolny
fc2bbda9a2 Add dummy email body renderer for new editor
[MAILPOET-5365]
2023-08-24 15:44:34 +02:00
Rostislav Wolny
ba23b5f224 Refactor email body rendering into a separate class
[MAILPOET-5365]
2023-08-24 15:44:34 +02:00
Rostislav Wolny
fabdf6f4c5 Add EmailApiController that adds MailPoet specific data to post api
When loading an email post in the editor we need to attach MailPoet
specific data like associated newsletter entity id, email type etc.

This is done using register_rest_field function.
So far we only send the associated entity ID but there is also a method `saveEmailData` that will
be used to save MailPoet specific email data.

[MAILPOET-5365]
2023-08-24 15:44:34 +02:00
Rostislav Wolny
c7f1ecfb5e Add EmailEditor class with basic registration of CPT for emails
The idea is that there is a core class
Mailpoet\MailPoet\EmailEditor\Core\EmailEditor which will contain common email editor related stuff
that can be used and shared between projects.
Mailpoet\MailPoet\EmailEditor\Integration\EmailEditor which contains MailPoet specific settings and and extra modifications
specific for MailPoet.
[MAILPOET-5365]
2023-08-24 15:44:34 +02:00
Jan Jakes
6414cc832c Include parent category IDs in order category field
[MAILPOET-5377]
2023-08-14 16:41:29 +02:00
John Oleksowicz
a446a13354 Add backend logic for used coupon code filter
MAILPOET-5007
2023-08-14 13:49:55 +02:00
Jan Jakes
7c1dd656d3 Remove subscriber controller and endpoint
[MAILPOET-5492]
2023-08-14 10:48:24 +02:00
Jan Jakes
330d1e2f34 Remove order controller and endpoint
[MAILPOET-5492]
2023-08-14 10:48:24 +02:00
John Oleksowicz
ce9cbdc45d Add backend logic for number of reviews filter
MAILPOET-5413
2023-08-07 11:06:27 +02:00
John Oleksowicz
3ded9be927 Refactor subscribedDate filter to use SubscriberDateField
MAILPOET-4989
2023-07-26 10:53:55 +02:00
John Oleksowicz
f27f469b17 Add backend logic for subscriber date filters
MAILPOET-4989
2023-07-26 10:53:55 +02:00
David Remer
a33422123a Add subscriber backend
[PREMIUM-225]
2023-07-19 14:57:26 +02:00
David Remer
8d9133b79e Add StepStatisticController to map step data
[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
8c2251089f Add AutomationEmailController
[MAILPOET-5433]
2023-07-14 21:50:59 +02:00
Rodrigo Primo
c72fce9aae Separate the segments and lists pages on the PHP side
Until now we were using the same render() method and Twig templates for
the segments and lists pages. This commit separates them by creating two
different render() methods, one for each page, and also separing the
Twig templates. Only the translations remain shared as separating them
would be more involved and probably not worth it.

[MAILPOET-5392]
2023-07-12 18:46:08 +02:00
John Oleksowicz
73eae47a39 Add cron worker for backfilling engagement data
MAILPOET-5404
2023-07-12 15:48:03 +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
John Oleksowicz
251dcdc6fb Add filters for automations events
MAILPOET-5003
2023-07-12 11:10:18 +02:00
Rodrigo Primo
5447e253e5 Add backend logic to handle new "used shipping method" segment
[MAILPOET-4992]
2023-07-04 22:23:06 +02:00
John Oleksowicz
61bb3a65d7 Add backend logic for customer text field filters
MAILPOET-4990
2023-06-28 15:14:03 +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
3ddc8a6a3d Add billing info fields
[MAILPOET-5169]
2023-06-19 11:06:23 +02:00
Jan Jakes
364479cc4f Extract building category and tag field options to a service
[MAILPOET-5169]
2023-06-19 11:06:23 +02:00
David Remer
1336cb9086 Rename to Analytics
[MAILPOET-5088]
2023-06-15 12:25:12 +02:00
David Remer
f10ef78825 Add Analytics Page and backend logic
[MAILPOET-5088]
2023-06-15 12:25:12 +02:00
Jan Jakes
916aea1e8d Add customer review fields
[MAILPOET-5168]
2023-06-12 12:13:41 +02:00
Jan Jakes
d259f5948c Add customer order fields
[MAILPOET-5168]
2023-06-12 12:13:41 +02:00
Jan Jakes
4c1f4ba073 Add basic Woo customer fields
[MAILPOET-5168]
2023-06-12 12:13:41 +02:00
Jan Jakes
cb56ec74fc Add WP user to Woo customer transformer
[MAILPOET-5168]
2023-06-12 12:13:41 +02:00
Jan Jakes
88b23f6a59 Add subscriber to WP user subject transformer
[MAILPOET-5168]
2023-06-12 12:13:41 +02:00
Jan Jakes
b132405f42 Add WordPress user subject and payload
[MAILPOET-5168]
2023-06-12 12:13:41 +02:00
Jan Jakes
cc352e6e2d Add WordPress integration
[MAILPOET-5168]
2023-06-12 12:13:41 +02:00
David Remer
28b38ef8f5 Add MailPoet info to WooCommerce System Status Report
[MAILPOET-4973]
2023-05-29 10:53:38 +02:00
John Oleksowicz
ec68818c1a Add filter for used payment method
MAILPOET-4993
2023-05-19 11:57:13 +02:00
Rodrigo Primo
00d021109c Move ModelValidator::validateNonRoleEmail() to a new Validator class
We want to remove/refactor the whole ModelValidator class as part of the
Doctrine refactor.

This commit moves the method ModelValidator::validateNonRoleEmail() to a
new Validator class as the method is not used by the validator system of
the Paris models. ModelValidator::validateEmail() was also moved as it
is called by ModelValidator::validateNonRoleEmail().

[MAILPOET-4343]
2023-05-17 12:37:22 +02:00
Jan Jakes
7444131021 Add subscriber automation fields
[MAILPOET-5172]
2023-05-17 12:36:05 +02:00
Jan Jakes
6cfc808248 Add subscriber statistic fields
[MAILPOET-5172]
2023-05-17 12:36:05 +02:00
Jan Jakes
2e39798cd3 Extract subscriber fields creation to a factory
[MAILPOET-5172]
2023-05-17 12:36:05 +02:00
Jan Jakes
906e76c73c Map subscriber custom fields to automation fields
[MAILPOET-5036]
2023-05-17 12:36:05 +02:00
Brezo Cordero
00e5dea5b4 Opt out AutomateWoo customer
This commit adds an action to opt out AutomateWoo customer When MailPoet Subscriber global status changes to unsubscribed.

[MAILPOET-4230]
2023-05-15 12:04:24 +02:00
David Remer
0cc02b38a5 Move abandoned cart into WooCommerce vendor space
[MAILPOET-4934]
2023-05-15 08:19:19 +02:00
David Remer
23fe9533b7 Move AbandonedCartSubject to free plugin
[MAILPOET-4934]
2023-05-15 08:19:19 +02:00
David Remer
d113ec9fdb Remove ProductsSubject
[MAILPOET-4934]
2023-05-15 08:19:19 +02:00
David Remer
649c4efff4 Add AbandonedCart Worker
[MAILPOET-4934]
2023-05-15 08:19:19 +02:00
David Remer
3ae7399721 Introduce ProductsSubject
[MAILPOET-4934]
2023-05-15 08:19:19 +02:00