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
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
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
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
d9186e4230
Prevent deleting a list if attached to a form
...
[MAILPOET-3661]
2021-08-16 09:42:08 +02:00
Rostislav Wolny
35058bca63
Add unsubscribes tracking for WooCommerce checkout
...
[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
Rodrigo Primo
8513a4d986
Fix checkMissingTypehint PHPStan errors
...
This commit removes the checkMissingTypehints flag
from PHPStan configuration files and fixes all associated errors in our
code base.
[MAILPOET-3236]
2021-08-09 12:58:56 +02:00
Rodrigo Primo
e59992cc16
Fix checkGenericClassInNonGenericObjectType PHPStan errors
...
This commit removes the checkGenericClassInNonGenericObjectType flag
from PHPStan configuration files and fixes all associated errors in our
code base.
[MAILPOET-3236]
2021-08-09 12:58:56 +02:00
Rostislav Wolny
c182e953ef
Prevent trashing customer users when WP segment is inactive
...
[MAILPOET-3695]
2021-08-09 12:36:29 +02:00
Jan Lysý
0f6ad19036
Add clearing subscribers global status statistics
...
[MAILPOET-3646]
2021-07-12 11:51:39 +02:00
Jan Lysý
a6dc552cdc
Use new controller with subscribers counts
...
[MAILPOET-3646]
2021-07-12 11:51:39 +02:00
Jan Lysý
b735c8ac85
Fix dependency in settings integration test
...
[MAILPOET-3646]
2021-07-12 11:51:39 +02:00
Jan Lysý
9f9706e319
Clear cache in failing integration tests
...
[MAILPOET-3646]
2021-07-12 11:51:39 +02:00
Jan Lysý
7e7038deb3
Fix integration test fot DaemonHttpRunner
...
[MAILPOET-3646]
2021-07-12 11:51:39 +02:00
Jan Lysý
96c84009b7
Add tilde before subscribers count in selects
...
[MAILPOET-3646]
2021-07-12 11:51:39 +02:00
Rostislav Wolny
65b834a9ff
Update renamed NotCamelCaps rule
...
[MAILPOET-3658]
2021-07-06 13:29:00 +02:00
Rostislav Wolny
ff42762f93
Remove custom PDO driver
...
[MAILPOET-3658]
2021-07-06 13:29:00 +02:00
Rostislav Wolny
8af9b412ad
Switch to built in PDO driver
...
[MAILPOET-3658]
2021-07-06 13:29:00 +02:00
Rostislav Wolny
c9603b76dc
Update doctrine packages and fix metadata cache
...
[MAILPOET-3658]
2021-07-06 13:29:00 +02:00
Jan Lysý
9b51f4e70e
Send confirmation email when there are unconfirmed data
...
[MAILPOET-3649]
2021-06-28 12:26:03 +02:00
Jan Lysý
2288d745b1
Improve integration tests for DynamicSegments API
...
[MAILPOET-3559]
2021-06-28 11:29:46 +02:00
Jan Lysý
acf76e2905
Remove changing WP users as unconfirmed
...
This commit should revert functionality from the ticket MAILPOET-2134
[MAILPOET-3515]
2021-06-22 16:23:05 +02:00
Jan Lysý
fcfe7f5bea
Fix integration test for FilterHandler
...
[MAILPOET-3469]
2021-06-21 14:02:04 +02:00
Jan Lysý
746de18605
Add test cases for SegmentSaveController
...
[MAILPOET-3469]
2021-06-21 14:02:04 +02:00
Jan Lysý
a23c73b341
Add test into DynamicSegmentsResponseBuilder
...
[MAILPOET-3469]
2021-06-21 14:02:04 +02:00
Jan Lysý
38aa403602
Add integration test for DynamicSegments with two filters
...
[MAILPOET-3469]
2021-06-21 14:02:04 +02:00
Jan Lysý
471ed5cc18
Update integration test for SegmentSaveController
...
[MAILPOET-3469]
2021-06-21 14:02:04 +02:00
Jan Lysý
97dd402d21
Change error message when request is almost empty
...
[MAILPOET-3469]
2021-06-21 14:02:04 +02:00
Jan Lysý
72a3bfa35e
Update integration test for DynamicSegmentsResponseBuilder
...
[MAILPOET-3469]
2021-06-21 14:02:04 +02:00
Pavel Dohnal
ad330bff64
Gracefuly handle missing WC transactional template
...
[MAILPOET-3017]
2021-06-15 13:21:49 +02:00
Rostislav Wolny
a382ba8635
Prevent overriding woo settings if woo template is not set
...
[MAILPOET-3645]
2021-06-14 14:30:01 +02:00
Rostislav Wolny
d5f6f63ebe
Use option filters instead of synchronization Woo email styles
...
With this change the Woo template editor will never overwrite Woo commerce settings,
but replace values of those settings using hooks.
[MAILPOET-3645]
2021-06-14 14:30:01 +02:00