Commit Graph

15684 Commits

Author SHA1 Message Date
Jan Lysý
f3d769e9c0 Update acceptance tests
[MAILPOET-4168]
2022-03-08 15:05:15 +01:00
Jan Lysý
96ef192287 Change link in onboarding wizard
[MAILPOET-4168]
2022-03-08 15:05:15 +01:00
Jan Lysý
599df85bfa Add support of group in purchase links
[MAILPOET-4168]
2022-03-08 15:05:15 +01:00
Jan Lysý
6fd01baf47 Update the first newsletter success page
[MAILPOET-4168]
2022-03-08 15:05:15 +01:00
Jan Lysý
9b3167d38f Change premium banner on subscribers'stats page
[MAILPOET-4168]
2022-03-08 15:05:15 +01:00
Jan Lysý
9ab7501186 Change premium cta text and url in acceptance tests
[MAILPOET-4168]
2022-03-08 15:05:15 +01:00
Jan Lysý
bf1a0ac482 Update premium banner on new segment page
[MAILPOET-4168]
2022-03-08 15:05:15 +01:00
Jan Lysý
22c06223f7 Update texts on the first newsletter success page
[MAILPOET-4168]
2022-03-08 15:05:15 +01:00
Jan Lysý
5141deb827 Update premium banner on the stats page
[MAILPOET-4168]
2022-03-08 15:05:15 +01:00
Jan Lysý
89d4caceaa Extend purchase plan URL for new parameters
[MAILPOET-4168]
2022-03-08 15:05:15 +01:00
Jan Lysý
b13137a1e7 Add current user email into window
[MAILPOET-4168]
2022-03-08 15:05:15 +01:00
Jan Lysý
d145dbe042 Change texts in the 4th onboarding wizard step
[MAILPOET-4168]
2022-03-08 15:05:15 +01:00
Rostislav Wolny
b1976b2d1b Save correct processed_at when finishing scheduled task
[MAILPOE-4172]
2022-03-08 12:39:34 +01:00
Jan Jakes
be0e6e37fe Fix missing type
[MAILPOET-4176]
2022-03-07 17:00:57 +01:00
Brezo Cordero
bb962a5af6 Upgrade PHPStan and update baselines
[MAILPOET-4131]
2022-03-07 16:07:16 +01:00
Brezo Cordero
0d4f14eb1e Use empty string instead of null
Fixes PHPStan error.

[MAILPOET-4131]
2022-03-07 16:07:16 +01:00
Brezo Cordero
2aa1aac423 Add array type to var $data
Fixes PHPStan errors when modifying initial $data for tests.

[MAILPOET-4131]
2022-03-07 16:07:16 +01:00
Brezo Cordero
9f822818c3 Make sure batch size is positive integer
Fixes PHPStan error array_chunk expects int<1, max>.

[MAILPOET-4131]
2022-03-07 16:07:16 +01:00
Brezo Cordero
0139c4da3d Remove unnecessary condition
Fixes PHPStan error 'If condition is always true'.
See: https://github.com/WordPress/wordpress-develop/blob/5.9/src/wp-includes/functions.php#L2987-L2991
Verified up to WP5.3

[MAILPOET-4131]
2022-03-07 16:07:16 +01:00
Rostislav Wolny
6a6c04f168 Fetch only subscribed recipients when sending a newsletter
[MAILPOET-4166]
2022-03-07 16:05:48 +01:00
David Remer
3316a2a3f8 Include wc-pending-cancel status when filtering subscriptions
[MAILPOET-4109]
2022-03-07 16:05:11 +01:00
David Remer
62a3e47632 Add integration test for WooCommerceSubscription dynamic filter
[MAILPOET-4109]
2022-03-07 16:05:11 +01:00
David Remer
eafaf697b5 Add woocommerce_order_item* data tables [MAILPOET-4109] 2022-03-07 16:05:11 +01:00
David Remer
a69af2331d Update reported segments
Removes deprecated segments "not clicked" and "not opened" with the "score" and the "subscribed to list" segments [MAILPOET-4118]
2022-03-07 16:04:35 +01:00
John Oleksowicz
039ce50237 No waiting for easy-to-miss text in tests
If the segment count calculation is fast, the
text "Calculating segment size…" might only
show for a split second.

This was causing the tests to fail
intermittently because $i->waitForText was
missing the text.

For whatever reason, adding a 2 second delay
between the button clicks and the waiting for
text step apparently made this failure much more
likely, and it was also more likely in CircleCI
than locally.

[MAILPOET-4018]
2022-03-07 16:03:55 +01:00
John Oleksowicz
627b8f2d30 Debounce subscriber count calculation
- Reject results of completed Ajax requests
that complete after a newer one has been
initiated.
- Only allow a single in-flight Ajax request
- Start showing loading text immediately

[MAILPOET-4018]
2022-03-07 16:03:55 +01:00
Rostislav Wolny
f4d682f839 Release 3.83.0 2022-03-02 15:32:42 +01:00
Jan Lysý
c733e4279f Add checking mss and premium state
[MAILPOET-4047]
2022-03-01 10:58:31 +01:00
Jan Lysý
15877215d1 Use exception instead of early return
[MAILPOET-4047]
2022-03-01 10:58:31 +01:00
Jan Lysý
c6dd519a4b Use mailpoet URL factory for upgrade links
[MAILPOET-4047]
2022-03-01 10:58:31 +01:00
Jan Lysý
eb71035c88 Fix email_volume_limit_reached type
[MAILPOET-4047]
2022-03-01 10:58:31 +01:00
Jan Lysý
43ca802a44 Add sending resume when recheck keys
[MAILPOET-4047]
2022-03-01 10:58:31 +01:00
Jan Lysý
eced7d27cd Update dependencies in tests
[MAILPOET-4047]
2022-03-01 10:58:31 +01:00
Jan Lysý
581d5d1f7f Change upgrade link in subscribers limit notice
[MAILPOET-4047]
2022-03-01 10:58:31 +01:00
Jan Lysý
c51188a5a9 Hide default error message for email volume limit reached
[MAILPOET-4047]
2022-03-01 10:58:31 +01:00
Jan Lysý
f7128bca1c Create component for reached email volume limit
[MAILPOET-4047]
2022-03-01 10:58:31 +01:00
Jan Lysý
6d920d8c69 Store email volume limit to window
[MAILPOET-4047]
2022-03-01 10:58:31 +01:00
Jan Lysý
35c18063e8 Add refreshing premium state
We need to refresh premium state because it contains
count of sent emails and email volume limit.
[MAILPOET-4047]
2022-03-01 10:58:31 +01:00
Jan Lysý
9fa2f7d051 Add annotation for the Bridge property
[MAILPOET-4047]
2022-03-01 10:58:31 +01:00
Jan Lysý
69769697ab Add handling new type of error for email volume limit
[MAILPOET-4047]
2022-03-01 10:58:31 +01:00
Jan Lysý
f527a4ae2b Remove prefixing translation function in MailPoetMapper
[MAILPOET-4047]
2022-03-01 10:58:31 +01:00
Ján Mikláš
9df4c0c8b8 Update WP.org description
[MAILPOET-4167]
2022-03-01 08:51:50 +01:00
Rostislav Wolny
7c22d5e96d Update Stats page acceptance test
[MAILPOET-4164]
2022-02-28 16:49:26 +01:00
Rostislav Wolny
6104ad3f93 Small design enhancements on upgrade page
[MAILPOET-4164]
2022-02-28 16:49:26 +01:00
Rostislav Wolny
78d07d6ae6 Remove unused CSS for upgrade page
[MAILPOET-4164]
2022-02-28 16:49:26 +01:00
Rostislav Wolny
fef9750d42 Update upgrade page texts and links
[MAILPOET-4164]
2022-02-28 16:49:26 +01:00
Rostislav Wolny
f6a6dc1802 Rename premium page to upgrade page
[MAILPOET-4164]
2022-02-28 16:49:26 +01:00
Brezo Cordero
a1455c9f46 Remove Util\Notices\DeprecatedShortcodeNotice
[MAILPOET-3899]
2022-02-28 09:42:56 +01:00
Brezo Cordero
0854d36256 Remove \Models\SubscriberIP
[MAILPOET-3899]
2022-02-28 09:42:56 +01:00
Brezo Cordero
16869c4fb5 Remove Models\StatisticsForms
[MAILPOET-3899]
2022-02-28 09:42:56 +01:00