Commit Graph

13505 Commits

Author SHA1 Message Date
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
Rostislav Wolny
7ee35cd24c Swap clicks and opens order in newsletter listing table
[MAILPOET-3739]
2021-08-30 12:32:40 +02:00
Rostislav Wolny
96cbddc1d5 Remove top margin for first block in columns in form editor
This slightly improves WYSIWYG experience in the editor.
[MAILPOET-3654]
2021-08-30 12:10:55 +02:00
Rostislav Wolny
aed6a0c266 Pass editor context to inserter library component
We need to pass insertion point data to the inserter Library component in side panel,
so that it select proper blocks and insert block to correct place.
Fallback values in the Library component don't work correctly with the default appender
(plus icon at very end of the form).

[MAILPOET-3654]
2021-08-30 12:10:55 +02:00
Rostislav Wolny
0d0ac4c6f2 Refactor inserter sidebar open state to form editor store
[MAILPOET-3654]
2021-08-30 12:10:55 +02:00
Rostislav Wolny
cfcb4fd661 Center appender icon in nested columns in form editor
[MAILPOET-3654]
2021-08-30 12:10:55 +02:00
Rostislav Wolny
abc965e143 Add support for colors in column block in form editor
[MAILPOET-3654]
2021-08-30 12:10:55 +02:00
Rostislav Wolny
05de6ae163 Update form editor acceptance tests SelectControl selectors
[MAILPOET-3654]
2021-08-30 12:10:55 +02:00
Rostislav Wolny
6a412ac035 Update form editor default configuration
[MAILPOET-3654]
2021-08-30 12:10:55 +02:00
Rostislav Wolny
8d0d2e168b Add support for custom padding in form column
[MAILPOET-3654]
2021-08-30 12:10:55 +02:00
Rostislav Wolny
3700003e15 Don't render form column width style if only unit is saved
[MAILPOET-3654]
2021-08-30 12:10:55 +02:00
Rostislav Wolny
8c9c17b261 Fix inserter sidebar appearance on mobile
[MAILPOET-3654]
2021-08-30 12:10:55 +02:00
Rostislav Wolny
7ab4576d04 Fix block inserter sidebar appearance
[MAILPOET-3654]
2021-08-30 12:10:55 +02:00
Rostislav Wolny
c1a0b70cd0 Fix react props warning on settings page
[MAILPOET-3532]
2021-08-30 12:10:55 +02:00