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
Pavel Dohnal
3b7752daed
Refactor creating new list to Doctrine
...
[MAILPOET-3625]
2021-08-23 14:18:57 +02:00
Pavel Dohnal
e31707903e
Refactor import export test to doctrine
...
[MAILPOET-3625]
2021-08-23 14:18:57 +02:00
Rodrigo Primo
5e73b78840
Remove extra space after opening parenthesis
...
[MAILPOET-3682]
2021-08-23 10:57:41 +02:00
Brezo Cordero
e6fbf98da8
Fix generate data command
...
[MAILPOET-3682]
2021-08-23 10:57:41 +02:00
Jan Lysý
79a2d1f934
Check that data are not array before base64 decoding
...
[MAILPOET-3699]
2021-08-23 09:51:29 +02:00
Brezo Cordero
d2570001db
Add test for orphan SubscriberSegments deletion
...
[MAILPOET-3652]
2021-08-19 09:04:31 +02:00
Pavel Dohnal
bb52329168
Track user agent on click
...
[MAILPOET-3735]
2021-08-18 14:41:20 +02:00
Pavel Dohnal
0b675680ef
Refactor click tracking to Doctrine
...
[MAILPOET-3735]
2021-08-18 14:41:20 +02:00
Pavel Dohnal
7197be3116
Override user agent on open
...
[MAILPOET-3735]
2021-08-18 14:41:20 +02:00
Pavel Dohnal
9f672adad4
Add test for existing user agent
...
[MAILPOET-3735]
2021-08-18 14:41:20 +02:00
Pavel Dohnal
a84471b65c
Save user agent on open
...
[MAILPOET-3735]
2021-08-18 14:41:20 +02:00
Jan Lysý
f9a093c958
Add testing rendering button in post process
...
[MAILPOET-3468]
2021-08-16 11:44:41 +02:00
Jan Lysý
f6a881da98
Remove redundant important from style
...
We test stripping redundant from rendered emails. I removed redundant important option.
It is based on this article:
https://www.litmus.com/blog/a-guide-to-bulletproof-buttons-in-email-design/
[MAILPOET-3468]
2021-08-16 11:44:41 +02:00
Jan Lysý
811b25673e
Update newsletter ButtonTest.php
...
[MAILPOET-3468]
2021-08-16 11:44:41 +02:00
Rodrigo Primo
7ffb85d1cf
Update jsdom to version 16.7.0
...
This commits updates jsdom to version 16.7.0. It also updates
tests/javascript_newsletter_editor/mochaTestHelper.js to use the new
jsdom API as the old API was removed.
[MAILPOET-3678]
2021-08-16 11:00:54 +02:00
Brezo Cordero
44932d27c9
Allow import subscribers with empty IP address
...
Allow import subscribers with empty confirmed_ip or subscribed_ip when one of the columns is selected in the last step of the import.
Don't allow importing invalid IP addresses - still import the subscriber but remove the invalid IP address.
[MAILPOET-3665]
2021-08-16 10:37:31 +02:00
Jan Lysý
74dc9fce53
Remove the character "~" from counts
...
[MAILPOET-3708]
2021-08-16 10:25:37 +02:00
Brezo Cordero
b2857cbf40
Refactor code that checks for list deletion with form
...
Move segment deletion to new function doTrash to avoid calling methods twice on individual segment deletion. Refactor acceptance test.
[MAILPOET-3661]
2021-08-16 09:42:08 +02:00
Brezo Cordero
711830d44d
Add acceptance test for list with form deletion
...
[MAILPOET-3661]
2021-08-16 09:42:08 +02:00
Brezo Cordero
d9186e4230
Prevent deleting a list if attached to a form
...
[MAILPOET-3661]
2021-08-16 09:42:08 +02:00
Rostislav Wolny
adcbcc9982
Add tests for existing subscribers subscribing on checkout page
...
[MAILPOET-3657]
2021-08-09 16:51:27 +02:00
Rostislav Wolny
35058bca63
Add unsubscribes tracking for WooCommerce checkout
...
[MAILPOET-3657]
2021-08-09 16:51:27 +02:00
Rostislav Wolny
774142dd01
Add test for subscriptions via Woo on my-account page
...
[MAILPOET-3657]
2021-08-09 16:51:27 +02:00
Rostislav Wolny
61e61d4612
Enable registration on my-account page in acceptance tests
...
[MAILPOET-3657]
2021-08-09 16:51:27 +02:00
Rostislav Wolny
b7cdb71f18
Delete redundant WooCommerce customer lists tests
...
Same functionality is tested in newly added subscription tests
[MAILPOET-3657]
2021-08-09 16:51:27 +02:00
Rostislav Wolny
c110851a82
Add acceptance tests for registered customer subscriptions on checkout
...
[MAILPOET-3657]
2021-08-09 16:51:27 +02:00
Rostislav Wolny
3849b7fa33
Add acceptance tests for guest customers subscriptions on checkout
...
[MAILPOET-3657]
2021-08-09 16:51:27 +02:00
Rostislav Wolny
7b773e2acb
Fix createOrder in tests to work with disabled opt-in checkbox
...
[MAILPOET-3657]
2021-08-09 16:51:27 +02:00
Rostislav Wolny
3cedca311d
Unsubscribe on checkout only when opt-in is checkbox is present
...
This change unifies behaviour with registration page opt-in checkbox.
[MAILPOET-3657]
2021-08-09 16:51:27 +02:00
Rostislav Wolny
12c9019939
Mark customers without optin as unsubscribed
...
[MAILPOET-3657]
2021-08-09 16:51:27 +02:00