Commit Graph

13768 Commits

Author SHA1 Message Date
Rostislav Wolny
b9815c609f Refactor cron worker scheduler test to Doctrine
[MAILPOET-3726]
2021-09-08 16:12:37 +02:00
Rostislav Wolny
1c4eb15f93 Refactor CronWorkerScheduler to Doctrine
[MAILPOET-3726]
2021-09-08 16:12:37 +02:00
Rostislav Wolny
493a6a6704 Disable periodical scheduling of Woo Customers sync
[MAILPOET-3726]
2021-09-08 16:12:37 +02:00
Pavel Dohnal
b0b6f1ff35 Remove unnecessary check
[MAILPOET-3737]
2021-09-08 14:38:41 +02:00
Pavel Dohnal
d1b2458227 Add # of machine opens segment
[MAILPOET-3737]
2021-09-08 14:38:41 +02:00
Pavel Dohnal
2ab5f04f46 Add segment for machine opens
[MAILPOET-3737]
2021-09-08 14:38:41 +02:00
Pavel Dohnal
cdd3ff5178 Use only non-machine opens for segment # open
[MAILPOET-3737]
2021-09-08 14:38:41 +02:00
Pavel Dohnal
49c9dd5f79 Use only non-machine opens for segment open
[MAILPOET-3737]
2021-09-08 14:38:41 +02:00
Rostislav Wolny
aa4312dd3c Fix incorrect counts in dynamic segments form
[MAILPOET-3761]
2021-09-08 12:02:26 +02:00
dependabot[bot]
ceeb75257e Bump codeception/codeception from 4.1.21 to 4.1.22
Bumps [codeception/codeception](https://github.com/Codeception/Codeception) from 4.1.21 to 4.1.22.
- [Release notes](https://github.com/Codeception/Codeception/releases)
- [Changelog](https://github.com/Codeception/Codeception/blob/4.1/CHANGELOG-4.x.md)
- [Commits](https://github.com/Codeception/Codeception/compare/4.1.21...4.1.22)

---
updated-dependencies:
- dependency-name: codeception/codeception
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-08 09:28:11 +02:00
Rostislav Wolny
4fad8d829f Release 3.69.0 2021-09-07 13:22:46 +02:00
Rostislav Wolny
8df940e02c Add strict types to newly added classes
[MAILPOET-3762]
2021-09-07 10:07:08 +02:00
Rostislav Wolny
eae0072f24 Use WordPress current_time for setting lats engagement
[MAILPOET-3762]
2021-09-07 10:07:08 +02:00
Rostislav Wolny
a6b58e501a Disallow reseting last engagement via setter
[MAILPOET-3762]
2021-09-07 10:07:08 +02:00
Rostislav Wolny
ae2d450dce Search for last engagement in orders only if WooCommerce is active
[MAILPOET-3762]
2021-09-07 10:07:08 +02:00
Rostislav Wolny
754f901e30 Schedule last engagement prefilling after updating to newer version
[MAILPOET-3762]
2021-09-07 10:07:08 +02:00
Rostislav Wolny
dfd733aa39 Handle different collations when comparing columns with emails
[MAILPOET-3762]
2021-09-07 10:07:08 +02:00
Rostislav Wolny
ebf4773eb8 Process adding last engagement time in batches
[MAILPOET-3762]
2021-09-07 10:07:08 +02:00
Rostislav Wolny
bb806613d7 Update last engagement time also from latest Woo order
[MAILPOET-3762]
2021-09-07 10:07:08 +02:00
Rostislav Wolny
8dd7c240bb Add worker for updating last engagement from opens and clicks
[MAILPOET-3762]
2021-09-07 10:07:08 +02:00
Rostislav Wolny
62ae0db39e Update subscribers last engagement when they create new order
[MAILPOET-3762]
2021-09-07 10:07:08 +02:00
Rostislav Wolny
b215ab13c8 Track last engagement only once per minute
[MAILPOET-3762]
2021-09-07 10:07:08 +02:00
Rostislav Wolny
9c3fc95a6d Add updating last engagement within clicks tracking
[MAILPOET-3762]
2021-09-07 10:07:08 +02:00
Rostislav Wolny
ed8de3eb17 Save last engagement when tracking opens
[MAILPOET-3762]
2021-09-07 10:07:08 +02:00
Rostislav Wolny
cd9f83834e Add lastEngagementAt to SubscriberEntity
[MAILPOET-3762]
2021-09-07 10:07:08 +02:00
Rostislav Wolny
4a72a9c2f1 Add column for saving last engagement date for a subscriber
[MAILPOET-3762]
2021-09-07 10:07:08 +02:00
Rodrigo Primo
aecee74bb4 Change header string used when setting up Welcome Emails
[MAILPOET-3781]
2021-09-06 15:13:25 +02:00
Jan Lysý
05c7230543 Fix unsubscribe URL for preview when the user isn't logged in
[MAILPOET-3730]
2021-09-06 12:20:16 +02:00
Jan Lysý
00bd5e2e7d Schedule recalculation only when another is not running or scheduled
[MAILPOET-3776]
2021-09-06 12:14:38 +02:00
Jan Lysý
aec9ecbcde Change return value from getItem in TransientCache
[MAILPOET-3778]
2021-09-06 12:14:38 +02:00
Brezo Cordero
04adfe6fc6 Use data factories on tests
[MAILPOET-3637]
2021-09-06 10:08:09 +02:00
Brezo Cordero
1de3aef76f Use data factories on tests
[MAILPOET-3637]
2021-09-06 10:08:09 +02:00
Brezo Cordero
69d9da9f17 Removed unused variable on ViewBrowserRenderer
[MAILPOET-3673]
2021-09-06 10:08:09 +02:00
Brezo Cordero
fb5f65f60e Refactor ViewInBrowser to Doctrine
Use NewsletterLinkEntity in test instead of MailPoet\Models\NewsletterLink

[MAILPOET-3673]
2021-09-06 10:08:09 +02:00
Brezo Cordero
9d9efccd98 Refactor ViewInBrowser to Doctrine
Use NewsletterEntity and NewslettersRepository instead of MailPoet\Models\Newsletter.

[MAILPOET-3673]
2021-09-06 10:08:09 +02:00
Rostislav Wolny
c7db461c4a Add tooltip to machine opens in subscribers stats summary
[MAILPOET-3741]
2021-08-31 15:15:54 +02:00
Rostislav Wolny
4ae2a2a78c Display machine opened stats in subscriber stats summary
[MAILPOET-3741]
2021-08-31 15:15:54 +02:00
Rostislav Wolny
14ff48c7fa Differentiate machine and humans opens on subscriber stats API
[MAILPOET-3741]
2021-08-31 15:15:54 +02:00
Rostislav Wolny
bbf19d07c8 Refactor mocking NewsletterRenderer in Woo Renderer test
[MAILPOET-3758]
2021-08-31 12:23:02 +02:00
Rostislav Wolny
54c83a0dac Fix woo transactional email heading rendering
[MAILPOET-3758]
2021-08-31 12:23:02 +02:00
Rostislav Wolny
3e57bc187f Fix subscriber in subscription via checkout for older WooCommerce
We use hidden field to indicate that the option checkbox was rendered.
The support for the hidden field was added in Woo 4.6.0 (51afe3207a (diff-019fb1a3da8e1f8d9f148c7407195e640587dfeb3e7830ef8e8fa6f29aa0a6ed))
This commit adds a workaround that can be removed we drop support of older WooCommerce versions.
[MAILPOET-3772]
2021-08-31 12:22:01 +02:00
Jan Lysý
0cffa0cadb Release 3.68.0 2021-08-31 12:11:04 +02:00
Rodrigo Primo
f8388c5497 Fix reply-to address when sending WP e-mails
This commit makes sure that the reply-to set for WP e-mails is
preserved when MailPoet is used to send them. Before this change,
MailPoet would ignore whatever was set for the reply-to field for WP
e-mails and use the same address as the one used for the sender instead.

I'm not super happy with the solution proposed here. I couldn't find an
easy way to simple set the reply-to address in the Mailer class and that
is why I'm calling Mailer::init() inside WordPressMailer.

[MAILPOET-3707]
2021-08-30 15:21:09 +02:00
Pavel Dohnal
a53a680e8c Make naming more consistent
[MAILPOET-3740]
2021-08-30 14:04:29 +02:00
Pavel Dohnal
cfc3eac250 Add a tooltip
[MAILPOET-3740]
2021-08-30 14:04:29 +02:00
Pavel Dohnal
464f23c82b Display machine opens
[MAILPOET-3740]
2021-08-30 14:04:29 +02:00
Pavel Dohnal
58a9e9580d Make opens less prominent
[MAILPOET-3740]
2021-08-30 14:04:29 +02:00
Pavel Dohnal
aca3d97ecc Swap opens and clicks
[MAILPOET-3740]
2021-08-30 14:04:29 +02:00
Rostislav Wolny
c4c0e860a7 Unify font style for open rate unit and value in newsletters listing
[MAILPOET-3739]
2021-08-30 12:32:40 +02:00
Rostislav Wolny
2ab0a8448b Remove badge and bold font from newsletter opens in listing
[MAILPOET-3739]
2021-08-30 12:32:40 +02:00