Commit Graph

20858 Commits

Author SHA1 Message Date
David Remer
82d7f77f9c Render send email title and description
[MAILPOET-4999]
2023-04-17 13:59:39 +02:00
David Remer
f44ae7ac8f Make title and description dynamic, introduce keywords
[MAILPOET-4999]
2023-04-17 13:59:39 +02:00
Rostislav Wolny
4f42fa86a3 Use proper escaping function in option inner html
[MAILPOET-5233]
2023-04-17 11:51:52 +02:00
Brezo Cordero
94eeae5626 Escape values in Select block render
[MAILPOET-5233]
2023-04-17 11:51:52 +02:00
Rostislav Wolny
d549ae713a Update texts in subscriber limit notice
[MAILPOET-5203]
2023-04-17 08:44:38 +02:00
Rodrigo Primo
fa5cb8aaf9 Bump the Woo version used in the acceptance_oldest CircleCI job
Bumping from 6.8.0 to 7.3.0 as this is the oldest version that we still
support.

[MAILPOET-5225]
2023-04-14 09:41:37 +02:00
Rodrigo Primo
ac8e2ac927 Download the latest Woo version by default for CircleCI jobs
Let's try to always download the laest version of Woo by default for the
CircleCI jobs. This way we have one less thing to update when a new
version of Woo is released and in theory MailPoet should always work
with the latest Woo version anyway.

[MAILPOET-5225]
2023-04-14 09:41:37 +02:00
John Oleksowicz
479499ccb3 Remove no-longer-used variable
MAILPOET-5220
2023-04-13 18:19:59 +02:00
John Oleksowicz
0c8c61cede Extract WooCommerce fields into separate functions
MAILPOET-5220
2023-04-13 18:19:59 +02:00
John Oleksowicz
d1abde13f8 Don't validate single order value as date field
MAILPOET-5220
2023-04-13 18:19:59 +02:00
John Oleksowicz
3681852041 Better naming
MAILPOET-5220
2023-04-13 18:19:59 +02:00
John Oleksowicz
d3debdd29a Prevent error when switching between filter types
MAILPOET-5220
2023-04-13 18:19:59 +02:00
John Oleksowicz
8700178f01 Remove debug code
MAILPOET-5083
2023-04-13 17:56:13 +02:00
John Oleksowicz
5e9b83bf2d Add required cleanup
MAILPOET-5083
2023-04-13 17:56:13 +02:00
John Oleksowicz
aaa08d5ab6 Add missing group
MAILPOET-5083
2023-04-13 17:56:13 +02:00
John Oleksowicz
cf7cfe40f8 Remove unused imports
MAILPOET-5083
2023-04-13 17:56:13 +02:00
John Oleksowicz
6b2faeeecb Remove unnecessary cleanup
MAILPOET-5083
2023-04-13 17:56:13 +02:00
John Oleksowicz
f3f7d4dc61 Remove redundant tests
MAILPOET-5083
2023-04-13 17:56:13 +02:00
John Oleksowicz
4576dd289f Add woo filter helper tests for order status
MAILPOET-5083
2023-04-13 17:56:13 +02:00
John Oleksowicz
096ab74ee3 Use helper for creating customers
MAILPOET-5145
2023-04-13 17:56:13 +02:00
John Oleksowicz
40fc3882f3 Use correct statuses for category filter
MAILPOET-5083
2023-04-13 17:56:13 +02:00
John Oleksowicz
483acb0040 Use correct statuses for single order value
MAILPOET-5083
2023-04-13 17:56:13 +02:00
John Oleksowicz
30c8ce0839 Use correct statuses for total spent
MAILPOET-5083
2023-04-13 17:56:13 +02:00
John Oleksowicz
2caa535098 Use correct statuses for product filter
MAILPOET-5083
2023-04-13 17:56:13 +02:00
John Oleksowicz
aa7bd6eb67 Use correct statuses for number of orders filter
MAILPOET-5083
2023-04-13 17:56:13 +02:00
John Oleksowicz
192bdce421 Refactor tests to use helper
MAILPOET-5083
2023-04-13 17:56:13 +02:00
John Oleksowicz
a2d6da8c61 Add test helper for checking emails
MAILPOET-5083
2023-04-13 17:56:13 +02:00
Sam Najian
a9d89ff514 Use onChange instead of onClick for check boxes
[MAILPOET-5193]
2023-04-12 11:20:39 +02:00
Sam Najian
84f263db2e Add missing translation domain
[MAILPOET-5193]
2023-04-12 11:20:39 +02:00
Sam Najian
c0fb4c44ff Fix failing js tests
The test suits need window.mailpoet_feature_flags to be defined
in case the feature flags are checked in the code

[MAILPOET-5193]
2023-04-12 11:20:39 +02:00
Sam Najian
b276202e45 Add brand/theme colors and typography to boxes
[MAILPOET-5193]
2023-04-12 11:20:39 +02:00
Sam Najian
52357eb586 Adjust box bg and border on select
[MAILPOET-5193]
2023-04-12 11:20:39 +02:00
Sam Najian
931c6ca198 Convert sidebar.js to tsx
[MAILPOET-5193]
2023-04-12 11:20:39 +02:00
Sam Najian
152b9af871 Add the boxes and the check boxes
[MAILPOET-5193]
2023-04-12 11:20:39 +02:00
Sam Najian
325dc9e9f6 Remove fix for lodash/underscore conflict (MediaManagerBehavior)
[MAILPOET-5127]
2023-04-12 08:37:16 +02:00
Rodrigo Primo
5d1ae1f9d0 Force sync with customers lookup table after a change in Woo core
A unintentional side-effect in Woo core < 7.6 synched the customer
lookup table immediately after the creation of an order. This
unintentional behavior was removed in Woo 7.6 and now we need to call
\Automattic\WooCommerce\Admin\API\Reports\Customers\DataStore::sync_order_customer()
explicitly for Woo to add to the customer lookup table.

Without this change, a few tests in WooCommerceCountryTest were failing
when running with Woo 7.6. As far as I could check this change does not
affect anything else in MP other than the tests.

[MAILPOET-5148]
2023-04-11 11:30:09 -05:00
Veljko
8728229659 Decrease nightly tests max duration to 12m and update email in test
[MAILPOET-5208]
2023-04-11 18:09:21 +02:00
Rodrigo Primo
3077723a27 Release 4.11.1 2023-04-11 11:35:38 -03:00
 Ján Mikláš
3848c3e653 Add missing translations for paused emails
[MAILPOET-5201]
2023-04-10 13:03:18 +02:00
 Ján Mikláš
63be8969f3 Improve strings based on translators' feedback
[MAILPOET-5201]
2023-04-10 13:03:18 +02:00
John Oleksowicz
428f52fdb6 Update tests not included in original PR
MAILPOET-5145
2023-04-07 20:17:05 -05:00
John Oleksowicz
6c03702fbd Fix test failure that was occurring for multisite
A previous test must have sent a confirmation email to a subscriber with
 the same ID.

 This didn't seem worth adding to the cleanup extension since it was
 only causing a single failure.

MAILPOET-5145
2023-04-07 20:17:05 -05:00
John Oleksowicz
4b35b24f6a More accurate name for cleanup property
MAILPOET-5145
2023-04-07 12:11:12 -05:00
Jan Jakes
b296e40077 Extract Carbon datetime reset to test bootstrap
MAILPOET-5145
2023-04-07 12:11:12 -05:00
Jan Jakes
70e6447e28 Extract WPFunctions reset to test bootstrap
MAILPOET-5145
2023-04-07 12:11:12 -05:00
Jan Jakes
81274b1691 Replace hardcoded custom field ID with the actual one
MAILPOET-5145
2023-04-07 12:11:12 -05:00
Jan Jakes
c1babe49db Remove more no longer necessary test cleanups
MAILPOET-5145
2023-04-07 12:11:12 -05:00
Jan Jakes
90bbca0987 Clean all mailpoet tables by prefix
MAILPOET-5145
2023-04-07 12:11:12 -05:00
John Oleksowicz
18b953e68c Add tmpfs mount for faster MySQLing
MAILPOET-5145
2023-04-07 12:11:12 -05:00
John Oleksowicz
e7f766aedf Remove empty _afters
MAILPOET-5145
2023-04-07 12:11:12 -05:00