Commit Graph

19029 Commits

Author SHA1 Message Date
8f14dee501 Get rid of previous data for each email as it is not necessary
[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
631f71957c Add support default value for subscriber's custom fields shortcode
[MAILPOET-5463]
2023-07-14 13:26:10 +02:00
a94902ccc8 Fix failing integration tests
The tests seemed to be failing because orders were being created without
 a billing ID, so a random md5 email address was being inserted into the
  customer lookup table instead of the actual email address, causing the
   queries to return nothing. In addition to fixing that, I added some
   cleanup to ensure that these tests don't leave behind any WC data.
2023-07-13 17:54:32 -03:00
d7a3f6f758 Refactor subscriber list to TS
[MAILPOET-5454]
2023-07-13 13:12:56 +02:00
577a82ca49 Add bulk action for removing tag from subscribers
[MAILPOET-5454]
2023-07-13 13:12:56 +02:00
aa12fd57d7 Add bulk action for tagging subscribers
[MAILPOET-5454]
2023-07-13 13:12:56 +02:00
a12886ded9 Display progress modal during import
[MAILPOET-5174]
2023-07-13 11:23:30 +02:00
30257189e5 Add progress modal
[MAILPOET-5174]
2023-07-13 11:23:30 +02:00
bab4ec082b Go to Segments page 2023-07-13 09:21:25 +03:00
43e9746ab3 Improve the WC Subscription test
[MAILPOET-5330]
2023-07-13 09:21:25 +03:00
413f864f13 Rename app files for the static and dynamic segment pages
The convention is to use the name of the directory instead of `app.tsx`
for the files where the React app is initialized. See for example
`assets/js/src/wizard/wizard.tsx` and `assets/js/src/homepage/homepage.tsx`.

[MAILPOET-5392]
2023-07-12 18:46:08 +02:00
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
f156629a93 Update performance tests to reflect separating segments and lists
Segments and lists were separated into different pages in a previous
commit. This commit updates the performance tests to reflect this change.

[MAILPOET-5392]
2023-07-12 18:46:08 +02:00
3782fb4bdd Update acceptance tests to reflect separating segments and lists
Segments and lists were separated into different pages in a previous
commit. This commit updates the acceptance tests to reflect this change.

[MAILPOET-5392]
2023-07-12 18:46:08 +02:00
b7b0688819 Split Segments and Lists into two different pages
Before both Segments and Lists where acessible via two different tabs on
the page `/wp-admin/admin.php?page=mailpoet-segments`. Now they are
separated into their own pages:
`/wp-admin/admin.php?page=mailpoet-segments` and
`/wp-admin/admin.php?page=mailpoet-lists`.

[MAILPOET-5392]
2023-07-12 18:46:08 +02:00
728b8e91ac Add new menu entry to lists
Segments and lists now will have separate menu entries. The pages will
be split in subsequent commits.

[MAILPOET-5392]
2023-07-12 18:46:08 +02:00
0d9a6345d1 Actually use the batch size
MAILPOET-5404
2023-07-12 15:48:03 +02:00
c9dda915dc Only create the backfill task once
MAILPOET-5404
2023-07-12 15:48:03 +02:00
2078ddf292 Save last_subscriber_id as we go
Otherwise the task would always be starting at 0 if it times out

MAILPOET-5404
2023-07-12 15:48:03 +02:00
b02ef8fe8f Use populator instead of migration
MAILPOET-5404
2023-07-12 15:48:03 +02:00
64a92c259d Add clarifying comment
MAILPOET-5404
2023-07-12 15:48:03 +02:00
fc410c2154 Make sure lastProcessedSubscriberId is always correct
MAILPOET-5404
2023-07-12 15:48:03 +02:00
25cbba1246 Use order by id for query
MAILPOET-5404
2023-07-12 15:48:03 +02:00
784df9c1ac Add migration to trigger initial backfilling
MAILPOET-5404
2023-07-12 15:48:03 +02:00
73eae47a39 Add cron worker for backfilling engagement data
MAILPOET-5404
2023-07-12 15:48:03 +02:00
9595ed299d Query always from the beginning of the day to the end of the day
[PREMIUM-224]
2023-07-12 14:58:11 +02:00
24e57c07a9 Add styles
[PREMIUM-224]
2023-07-12 14:58:11 +02:00
1e5217f3ee Add order tab
[PREMIUM-224]
2023-07-12 14:58:11 +02:00
844fa421c8 Add custom query for sections and extend some types
[PREMIUM-224]
2023-07-12 14:58:11 +02:00
aa00a34753 Add order endpoint
[PREMIUM-224]
2023-07-12 14:58:11 +02:00
d4b621acbb Use factory to switch between free and premium order controller
[PREMIUM-224]
2023-07-12 14:58:11 +02:00
f8075fec43 Add controller to return order data for free plugin
[PREMIUM-224]
2023-07-12 14:58:11 +02:00
ff9909eaef Add OrderSection types
[PREMIUM-224]
2023-07-12 14:58:11 +02:00
9b6dcb2fb7 Add orders section to store
[PREMIUM-224]
2023-07-12 14:58:11 +02:00
acd91eafc6 Add withPreviousData separator
This allows to query endpoints who do not provide
previous data

[PREMIUM-224]
2023-07-12 14:58:11 +02:00
a27d639968 Extend Query definition
[PREMIUM-224]
2023-07-12 14:58:11 +02:00
c71d2cb97f Add wc_get_order_status_name
[PREMIUM-224]
2023-07-12 14:58:11 +02:00
91db4eb1cf Add get_option and get_avatar_url
[PREMIUM-224]
2023-07-12 14:58:11 +02:00
104f6c9b66 Make orders tab gray
[PREMIUM-224]
2023-07-12 14:58:11 +02:00
4cc751b9b0 Add icon to orders tab
[PREMIUM-224]
2023-07-12 14:58:11 +02:00
a7b5bad346 Fix type mismatch
MAILPOET-5003
2023-07-12 11:10:18 +02:00
7488b244f2 Add unit tests for mapping automations filters
MAILPOET-5003
2023-07-12 11:10:18 +02:00
251dcdc6fb Add filters for automations events
MAILPOET-5003
2023-07-12 11:10:18 +02:00
22bd33fecc Add automations segmentation filters frontend code
MAILPOET-5003
2023-07-12 11:10:18 +02:00
f3f33e5859 Don't automatically include homepage in all pages
MAILPOET-4897
2023-07-12 10:14:52 +02:00
c0a0dc6188 Add test to confirm no duplicate rendering
MAILPOET-4897
2023-07-12 10:14:52 +02:00
677ae370ed Handle special case for selected Posts page
MAILPOET-4897
2023-07-12 10:14:52 +02:00
481f5585a0 Add form placement options for homepage, archives
MAILPOET-4897
2023-07-12 10:14:52 +02:00