Commit Graph

20858 Commits

Author SHA1 Message Date
John Oleksowicz
b02ef8fe8f Use populator instead of migration
MAILPOET-5404
2023-07-12 15:48:03 +02:00
John Oleksowicz
64a92c259d Add clarifying comment
MAILPOET-5404
2023-07-12 15:48:03 +02:00
John Oleksowicz
fc410c2154 Make sure lastProcessedSubscriberId is always correct
MAILPOET-5404
2023-07-12 15:48:03 +02:00
John Oleksowicz
25cbba1246 Use order by id for query
MAILPOET-5404
2023-07-12 15:48:03 +02:00
John Oleksowicz
784df9c1ac Add migration to trigger initial backfilling
MAILPOET-5404
2023-07-12 15:48:03 +02:00
John Oleksowicz
73eae47a39 Add cron worker for backfilling engagement data
MAILPOET-5404
2023-07-12 15:48:03 +02:00
David Remer
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
David Remer
24e57c07a9 Add styles
[PREMIUM-224]
2023-07-12 14:58:11 +02:00
David Remer
1e5217f3ee Add order tab
[PREMIUM-224]
2023-07-12 14:58:11 +02:00
David Remer
844fa421c8 Add custom query for sections and extend some types
[PREMIUM-224]
2023-07-12 14:58:11 +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
David Remer
ff9909eaef Add OrderSection types
[PREMIUM-224]
2023-07-12 14:58:11 +02:00
David Remer
9b6dcb2fb7 Add orders section to store
[PREMIUM-224]
2023-07-12 14:58:11 +02:00
David Remer
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
David Remer
a27d639968 Extend Query definition
[PREMIUM-224]
2023-07-12 14:58:11 +02:00
David Remer
c71d2cb97f Add wc_get_order_status_name
[PREMIUM-224]
2023-07-12 14:58:11 +02:00
David Remer
91db4eb1cf Add get_option and get_avatar_url
[PREMIUM-224]
2023-07-12 14:58:11 +02:00
David Remer
104f6c9b66 Make orders tab gray
[PREMIUM-224]
2023-07-12 14:58:11 +02:00
David Remer
4cc751b9b0 Add icon to orders tab
[PREMIUM-224]
2023-07-12 14:58:11 +02:00
John Oleksowicz
a7b5bad346 Fix type mismatch
MAILPOET-5003
2023-07-12 11:10:18 +02:00
John Oleksowicz
7488b244f2 Add unit tests for mapping automations filters
MAILPOET-5003
2023-07-12 11:10:18 +02:00
John Oleksowicz
251dcdc6fb Add filters for automations events
MAILPOET-5003
2023-07-12 11:10:18 +02:00
John Oleksowicz
22bd33fecc Add automations segmentation filters frontend code
MAILPOET-5003
2023-07-12 11:10:18 +02:00
John Oleksowicz
f3f33e5859 Don't automatically include homepage in all pages
MAILPOET-4897
2023-07-12 10:14:52 +02:00
John Oleksowicz
c0a0dc6188 Add test to confirm no duplicate rendering
MAILPOET-4897
2023-07-12 10:14:52 +02:00
John Oleksowicz
677ae370ed Handle special case for selected Posts page
MAILPOET-4897
2023-07-12 10:14:52 +02:00
John Oleksowicz
481f5585a0 Add form placement options for homepage, archives
MAILPOET-4897
2023-07-12 10:14:52 +02:00
Veljko
acbd7fe723 Change the test to avoid use of $this 2023-07-11 14:41:23 +01:00
Veljko
61a8e65a06 Remove bracelets 2023-07-11 14:41:23 +01:00
Veljko
7f662a7077 Removed $this and added parameters 2023-07-11 14:41:23 +01:00
Veljko
4e192d6b9a Improve the test subscribers count shortcode
[MAILPOET-5323]
2023-07-11 14:41:23 +01:00
Jan Lysý
418bf157d8 Release 4.20.2 2023-07-11 13:34:44 +02:00
Brezo Cordero
bc031e5936 Fix acceptance tests with WC latest
[MAILPOET-5449]
2023-07-10 10:52:53 -05:00
John Oleksowicz
8bf3eddf09 Return cached item for homepage stats
MAILPOET-5439
2023-07-10 11:04:33 +02:00
Veljko
52dba60b7b Improve managing segments test
[MAILPOET-5329]
2023-07-06 13:58:19 +03:00
Veljko
0f80c03fe6 Improve the scenario creating editing segment
[MAILPOET-5329]
2023-07-06 13:58:19 +03:00
John Oleksowicz
43c7e457ca Visit admin page first to install automate woo tables
AutomateWoo currently does not create its database tables until youy
visit an admin page. Starting with version 5.8.1, this was causing some
tests to fail because AutomateWoo was trying to run a scheduled task
that relied on a database table that didn't exist yet. This is a quick
attempt to fix this by visiting the admin to trigger table creation.

MAILPOET-5449
2023-07-05 14:28:35 -05:00
John Oleksowicz
fd17a1aa42 Ensure confirmation emails enabled
These tests have a final assertion that assumes confirmation emails are
enabled. If a previous test switched confirmation emails off, these
would fail.

MAILPOET-5449
2023-07-05 14:28:35 -05:00
Rodrigo Primo
ac40e3d802 Refactor segments.jsx to segments.tsx
[MAILPOET-5407]
2023-07-05 13:11:12 +02:00
Rodrigo Primo
34937e99c0 Refactor dynamic/list.jsx to dynamic/list.tsx
[MAILPOET-5407]
2023-07-05 13:11:12 +02:00
Rodrigo Primo
4583b80fa6 Move SegmentResponse type to types.ts to be able to reuse it
[MAILPOET-5407]
2023-07-05 13:11:12 +02:00
Rodrigo Primo
75ed1681e8 Refactor list.jsx to list.tsx
[MAILPOET-5407]
2023-07-05 13:11:12 +02:00
Rodrigo Primo
ad6d92f2f7 Refactor heading.jsx to heading.tsx
[MAILPOET-5407]
2023-07-05 13:11:12 +02:00
Rodrigo Primo
f991b40a6f Refactor form.jsx to form.tsx
[MAILPOET-5407]
2023-07-05 13:11:12 +02:00
Veljko
5e016b2b17 Improved the test for segment newsletter stats
[MAILPOET-5328]
2023-07-05 12:22:49 +03:00
Rodrigo Primo
d17d9ce246 Remove one more deprecated method from the Segment model
This methods was deprecated a long time ago and it is not used anymore.

[MAILPOET-5455]
2023-07-05 12:09:22 +03:00
Rodrigo Primo
bb16e94a5b Remove deprecated methods from the Segment model
Those methods were long deprecated and are not used anymore.

[MAILPOET-5455]
2023-07-05 12:09:22 +03:00
Rodrigo Primo
fb08b3e7ec Make sure long option names don't break the select layout
The segment `used shipping method` might contain long names that are
displayed inside the select box to select shipping method names. Those
long names were breaking the layout of the select box. This commit fixes
this problem by adding a scrollbar to each option when needed.

See https://github.com/mailpoet/mailpoet/pull/4967#issuecomment-1602425406

[MAILPOET-4992]
2023-07-04 22:23:06 +02:00