Commit Graph

3851 Commits

Author SHA1 Message Date
Jan Lysý
ccedd3a112 Add count of bounced emails into API response
[MAILPOET-3766]
2021-09-14 15:59:50 +02:00
Jan Lysý
221d8843f5 Update unit test for MailpoetMapper
[MAILPOET-3667]
2021-09-13 15:34:10 +02:00
Brezo Cordero
f3ad7ac0b4 Show CAPTCHA from first signup
[MAILPOET-3788]
2021-09-13 11:29:21 +02:00
Pavel Dohnal
5ef1f9afa1 Add an integration test
[MAILPOET-3765]
2021-09-13 10:19:15 +02:00
Pavel Dohnal
a303b4f04e Process queues to save statistics
[MAILPOET-3765]
2021-09-13 10:19:15 +02:00
Pavel Dohnal
db04687f3c Refactor to Doctrine
[MAILPOET-3765]
2021-09-13 10:19:15 +02:00
Pavel Dohnal
731b5e7448 Refactor to Doctrine
[MAILPOET-3765]
2021-09-13 10:19:15 +02:00
Pavel Dohnal
6f28228c55 Stop using a deprecated function
[MAILPOET-3765]
2021-09-13 10:19:15 +02:00
Brezo Cordero
39e0bd1ad5 Throttling also for logged-in users
[MAILPOET-3790]
2021-09-13 09:46:30 +02:00
Rostislav Wolny
c2c383e0b5 Add method for immediate scheduling/rescheduling cron tasks
[MAILPOET-3726]
2021-09-08 16:12:37 +02:00
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
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
eae0072f24 Use WordPress current_time for setting lats engagement
[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
Rodrigo Primo
aecee74bb4 Change header string used when setting up Welcome Emails
[MAILPOET-3781]
2021-09-06 15:13:25 +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
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
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
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
464f23c82b Display machine opens
[MAILPOET-3740]
2021-08-30 14:04:29 +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
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
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
e5c90821be Add support for isStackedOnMobile for columns
[MAILPOET-3564]
2021-08-30 12:10:55 +02:00
Rostislav Wolny
d8d777b4d2 Update inserting a block in acceptance tests
[MAILPOET-3654]
2021-08-30 12:10:55 +02:00
Rostislav Wolny
bd41098e5e Fix saving and rendering form columns widths
[MAILPOET-3654]
2021-08-30 12:10:55 +02:00
Rodrigo Primo
fb5ff0b90a Replace Paris code with Doctrine equivalents for exporter tests
[MAILPOET-3738]
2021-08-25 17:01:33 +02:00
Rodrigo Primo
8b7815caf8 Use Doctrine for the opens and clicks exporters
This commit refactors the code that handles exporting e-mails opens and
clicks when generating the personal data file to use Doctrine instead of
Paris. I opted to do this in this task as opens and clicks code share
some functionality, and I didn't want to add more code that relies on
Paris, as we are eventually going to remove it.

[MAILPOET-3738]
2021-08-25 17:01:33 +02:00
Rodrigo Primo
780ac5e53c Add email opens data when exporting personal data
This commit adds stats about email opens data to the personal data
exported by WP.

To do this, I refactored the code that adds email clicks stats to use
base abstract class with functionality that is shared between both
exporters.

[MAILPOET-3738]
2021-08-25 17:01:33 +02:00
Rodrigo Primo
4fdcee1064 Add the new user agent field when exporting data about clicks
This commit includes information about the user agent used when clicking
links in e-mails to the data that MailPoet exports when the WP tool
"Export Personal Data" is used.

When information about the user agent is not available, the string
'Unknown' is displayed instead.

This information is available under the section "MailPoet Emails
Clicks".

[MAILPOET-3738]
2021-08-25 17:01:33 +02:00
Pavel Dohnal
285b76162c Run the test only if premium plugin is not present
[MAILPOET-3723]
2021-08-24 14:18:12 +02:00
Jan Lysý
ee84dc382b Change user_agent_type column to tinyint
[MAILPOET-3736]
2021-08-23 16:37:59 +02:00
Jan Lysý
292f075abe Improve user agent overriding
[MAILPOET-3736]
2021-08-23 16:37:59 +02:00
Jan Lysý
a22ab943be Add integration tests for statistic user agent update
[MAILPOET-3736]
2021-08-23 16:37:59 +02:00