Commit Graph

18419 Commits

Author SHA1 Message Date
Veljko
34b7bf5cad Update expected in newsletter listing test 2023-04-05 11:32:08 +02:00
Veljko
902e275c47 Update config yml 2023-04-05 11:32:08 +02:00
Veljko
774266ee8d Include taking screenshots 2023-04-05 11:32:08 +02:00
Veljko
b488ae71d9 Update onboarding wizard test 2023-04-05 11:32:08 +02:00
Veljko
97848a42f5 Update RoboFile with PW 2023-04-05 11:32:08 +02:00
Veljko
82d6c51365 Update code to align with eslint 2023-04-05 11:32:08 +02:00
Veljko
b1704a268c Switch back to per-vu-iterations 2023-04-05 11:32:08 +02:00
Veljko
99f6d7445a Refactor newsletterStatistics test and add onboardingWizzard 2023-04-05 11:32:08 +02:00
Veljko
59cb38a986 Remove duplicated code 2023-04-05 11:32:08 +02:00
Veljko
f0b7c42275 Update per vu to shared iterations and fix auth method
[MAILPOET-4950]
2023-04-05 11:32:08 +02:00
Jan Jakes
eca4e2104a Cache mysql volume for performance tests
[MAILPOET-4950]
2023-04-05 11:32:08 +02:00
Jan Jakes
2db1157c63 Increase performance tests mysql start timeouts for data import
[MAILPOET-4950]
2023-04-05 11:32:08 +02:00
Jan Jakes
6141e4a57a Download and import data for performance tests
[MAILPOET-4950]
2023-04-05 11:32:08 +02:00
Rodrigo Primo
7680e879d0 Add brand templates feature flag to JS
[MAILPOET-5192]
2023-04-05 11:19:20 +02:00
Rodrigo Primo
22aa07093c Add brand templates feature flag
[MAILPOET-5192]
2023-04-05 11:19:20 +02:00
Rostislav Wolny
b47fc02ca4 Use underprivileged key for stats reporting also when saving settings
[MAILPOET-5165]
2023-04-04 18:45:41 +02:00
Rostislav Wolny
910eb812c0 Improve variable name in WordPress cron trigger check
[MAILPOET-5165]
2023-04-04 18:45:41 +02:00
Rostislav Wolny
cbd5c443f2 Ensure that subscriber stats are sent even for valid underprivileged keys
[MAILPOET-5165]
2023-04-04 18:45:41 +02:00
Jan Jakes
4af1b970e3 Release 4.11.0 2023-04-04 13:57:23 +02:00
Jan Jakes
66259fc9b6 Reintroduce AWS SES sending error test with actual SES response
[MAILPOET-5190]
2023-04-04 06:47:26 +02:00
John Oleksowicz
72c18782cc Simplify and move test to more appropriate spot
MAILPOET-5190
2023-04-04 06:47:26 +02:00
Rodrigo Primo
13e79082a0 Restore subject and preview text tooltips
We used to display a tooltip next to the fields subject and preview text
in the email editor. Those tooltips were accidentally in 4367f44. The
referenced commit changed the code and tried to get the elements used to
display the tooltip before they were present in the browser.

This commit fixes this problem by making sure that the code tries to get
those elements after StartApp._appView.showChildView() runs and the
elements are present.

[MAILPOET-5151]
2023-04-03 14:31:14 +02:00
Rodrigo Primo
332408f4f4 Make sure newsletter segment entities are deleted when list is deleted
This commit adds code to delete corresponding newsletter segment
entities when a given list is deleted. This is necessary to fix an error
when duplicating a newsletter that was sent with a list that was
deleted.

Without this change users see the following SQL error:

```
An exception occurred while executing ‘UPDATE wp_mailpoet_newsletter_segment SET segment_id = ?, updated_at = ? WHERE id = ?’ with params [null, “2023-03-23 09:07:52”, 66]: SQLSTATE[23000]: Integrity constraint violation: 1048 Column ‘segment_id’ cannot be null
```

[MAILPOET-5153]
2023-04-03 14:15:17 +02:00
Oluwaseun Olorunsola
feba707c76 Use dependency injection (DI) for process shortcodes
MAILPOET-5110
2023-04-03 13:36:04 +02:00
Oluwaseun Olorunsola
c75dc63cc5 Process Shortcodes in WooCommerce custom template
MAILPOET-5110
2023-04-03 13:36:04 +02:00
Brezo Cordero
685af267cb Use constant, improve test and naming
[MAILPOET-5131]
2023-04-03 12:57:31 +02:00
Brezo Cordero
fb93c73a34 Add premium key verification
[MAILPOET-5131]
2023-04-03 12:57:31 +02:00
Brezo Cordero
c0eed5b919 Integration tests for provisioning
[MAILPOET-5131]
2023-04-03 12:57:31 +02:00
Brezo Cordero
fc8837e03c Filter for license provisioning
This commit adds a filter that will provision the API key. It only runs on WP.com sites with plugins.

[MAILPOET-5131]
2023-04-03 12:57:31 +02:00
Sam Najian
397232e932 Set status of scheduled_task to invalid if it has not subs
[MAILPOET-5134]
2023-04-03 11:53:49 +02:00
Sam Najian
cb786ee57f Write acceptance test to replicate the bug
[MAILPOET-5134]
2023-04-03 11:53:49 +02:00
Rodrigo Primo
47bbba4898 Remove mailpoet/.nvmrc
This file is not needed anymore, as in
7c373a85ba we added a .nvmrc file to the
root directory of this repository.

[MAILPOET-5186]
2023-04-03 11:02:42 +02:00
John Oleksowicz
1d87c4377e Ensure purchase date fields are properly validated
MAILPOET-4986
2023-04-03 10:20:02 +02:00
John Oleksowicz
4eaaa51bce Fix type issue
MAILPOET-4986
2023-04-03 10:20:02 +02:00
John Oleksowicz
0c109ea34c Fix rebase issue
MAILPOET-4986
2023-04-03 10:20:02 +02:00
John Oleksowicz
df3b790c0b Prettier fix
MAILPOET-4986
2023-04-03 10:20:02 +02:00
John Oleksowicz
03da98e5df Avoid simple text replacements in SQL if possible
MAILPOET-4986
2023-04-03 10:20:02 +02:00
John Oleksowicz
1cab4a944a Use standard joins where possible
MAILPOET-4986
2023-04-03 10:20:02 +02:00
John Oleksowicz
509a79fd1a Proper method naming
MAILPOET-4986
2023-04-03 10:20:02 +02:00
John Oleksowicz
68902a206d Extract more to helpers
MAILPOET-4986
2023-04-03 10:20:02 +02:00
John Oleksowicz
26ec430942 Refactor to use DI instead of inheritance
MAILPOET-4986
2023-04-03 10:20:02 +02:00
John Oleksowicz
fa43495d81 Minor refactoring
MAILPOET-4986
2023-04-03 10:20:02 +02:00
John Oleksowicz
c747b71829 Simplify subquery
MAILPOET-4986
2023-04-03 10:20:02 +02:00
John Oleksowicz
d505bffcfd Refactor to use shared date functionality
MAILPOET-4986
2023-04-03 10:20:02 +02:00
John Oleksowicz
caba21b8af Fix relative date calculation
MAILPOET-4986
2023-04-03 10:20:02 +02:00
John Oleksowicz
d52113d104 Extract shared date filter functionality
MAILPOET-4986
2023-04-03 10:20:02 +02:00
John Oleksowicz
37226202bc Implement purchase date dynamic filter
MAILPOET-4986
2023-04-03 10:20:02 +02:00
Sam Najian
398f8ffddd Accomadate the translations placement change in WP6.2
- Compatible WPCLI is installed
- Translation folder is make writable

[MAILPOET-5073]
2023-03-30 15:58:49 +02:00
Sam Najian
8ea409cb22 Verify language switch was successful
[MAILPOET-5073]
2023-03-30 15:58:49 +02:00
Sam Najian
8c13b726f3 Be more specific whens electing Checkout block
[MAILPOET-5073]
2023-03-30 15:58:49 +02:00