Commit Graph

20858 Commits

Author SHA1 Message Date
David Remer
fd04d005d0 Return Step data
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
David Remer
8d9133b79e Add StepStatisticController to map step data
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
David Remer
d2fce2014a Query statistic how many runs in a timeframe are at which step
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
David Remer
ae57f81c14 Query short statistics for automation
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
David Remer
b80875d268 Enable querying statistics in a given timeframe
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
David Remer
99f5d64d61 Allow for adding already generated statistics
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
David Remer
4c0bd1815b Query Automation in correct timespan
[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
5e4631ec9d Add AutomationPlaceholder
[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
bd17cf98bf Use editorState for information about the automation
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
David Remer
854f0e5315 Raise priority of StatisticSeparator filter
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
David Remer
d112bb81cb Render Automation in analytics
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
David Remer
82270e074e Initialize editor store in analytics
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
David Remer
439ccf4a1b Add action to update whole automation
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
David Remer
23b15f419c Add view context to Automation component
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
David Remer
19de902c3f Load editor styles in analytics
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
David Remer
f7689232b2 Move user roles from global window to context
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
Oluwaseun Olorunsola
88702d65d8 Release 4.21.0 2023-07-18 11:41:26 +01:00
Brezo Cordero
a07ac12978 Escape date_display_format
[MAILPOET-5457]
2023-07-17 14:02:18 +02:00
Brezo Cordero
5c0201f3b1 Make selection component more robust
[MAILPOET-5457]
2023-07-17 14:02:18 +02:00
David Remer
db15738ab9 Improve filtering of versions which where active in a given time span
[MAILPOET-5433]
2023-07-14 21:50:59 +02:00
David Remer
2a708c5bc7 Calculate difference to previously sent emails 2023-07-14 21:50:59 +02:00
David Remer
ea3b23847e Make sure email_id property exists
[MAILPOET-5433]
2023-07-14 21:50:59 +02:00
David Remer
8c2251089f Add AutomationEmailController
[MAILPOET-5433]
2023-07-14 21:50:59 +02:00
David Remer
edffd4e705 Test that automation with correct versions are loaded
[MAILPOET-5433]
2023-07-14 21:50:59 +02:00
David Remer
640fb61861 Use versions loader when an automation with a specific version is queried
[MAILPOET-5433]
2023-07-14 21:50:59 +02:00
David Remer
38012ae8a1 Test it loads the correct version dates
[MAILPOET-5433]
2023-07-14 21:50:59 +02:00
David Remer
badedd2d52 Query data from the correct automation versions
[MAILPOET-5433]
2023-07-14 21:50:59 +02:00
David Remer
8f14dee501 Get rid of previous data for each email as it is not necessary
[MAILPOET-5433]
2023-07-14 21:50:59 +02:00
David Remer
5aaa7b2361 Query list of Automation with different versions
[MAILPOET-5433]
2023-07-14 21:50:59 +02:00
David Remer
10f4d6c3c3 Query all versions of an Automation with create date
[MAILPOET-5433]
2023-07-14 21:50:59 +02:00
Jan Lysý
631f71957c Add support default value for subscriber's custom fields shortcode
[MAILPOET-5463]
2023-07-14 13:26:10 +02:00
John Oleksowicz
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
Jan Lysý
d7a3f6f758 Refactor subscriber list to TS
[MAILPOET-5454]
2023-07-13 13:12:56 +02:00
Jan Lysý
577a82ca49 Add bulk action for removing tag from subscribers
[MAILPOET-5454]
2023-07-13 13:12:56 +02:00
Jan Lysý
aa12fd57d7 Add bulk action for tagging subscribers
[MAILPOET-5454]
2023-07-13 13:12:56 +02:00
alex-mailpoet
a12886ded9 Display progress modal during import
[MAILPOET-5174]
2023-07-13 11:23:30 +02:00
alex-mailpoet
30257189e5 Add progress modal
[MAILPOET-5174]
2023-07-13 11:23:30 +02:00
Veljko
bab4ec082b Go to Segments page 2023-07-13 09:21:25 +03:00
Veljko
43e9746ab3 Improve the WC Subscription test
[MAILPOET-5330]
2023-07-13 09:21:25 +03:00
Rodrigo Primo
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
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
Rodrigo Primo
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
Rodrigo Primo
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
Rodrigo Primo
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
Rodrigo Primo
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
John Oleksowicz
0d9a6345d1 Actually use the batch size
MAILPOET-5404
2023-07-12 15:48:03 +02:00
John Oleksowicz
c9dda915dc Only create the backfill task once
MAILPOET-5404
2023-07-12 15:48:03 +02:00
John Oleksowicz
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