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
Ján Mikláš
0daaac8abf
Ignore Html2Text::convert errors in confirmation email
...
[MAILPOET-3756]
2021-08-23 11:33:57 +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ý
5e1f523c96
Improve code according the review
...
[MAILPOET-3708]
2021-08-16 10:25:37 +02:00
Jan Lysý
74dc9fce53
Remove the character "~" from counts
...
[MAILPOET-3708]
2021-08-16 10:25:37 +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
Jan Lysý
19fad073d0
Add cleanup subscribers counts cache
...
[MAILPOET-3714]
2021-08-09 10:38:37 +02:00
Jan Lysý
a6dc552cdc
Use new controller with subscribers counts
...
[MAILPOET-3646]
2021-07-12 11:51:39 +02:00
Jan Lysý
ac2a70f39b
Create controller for counting subscribers
...
[MAILPOET-3646]
2021-07-12 11:51:39 +02:00
Jan Lysý
40a511c641
Use transient cache for count of subscribers in lists
...
[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
7a3ffa388f
Update PHPStan
...
[MAILPOET-3658]
2021-07-06 13:29:00 +02:00
Rostislav Wolny
65b834a9ff
Update renamed NotCamelCaps rule
...
[MAILPOET-3658]
2021-07-06 13:29:00 +02:00
Jan Lysý
608396ade9
Remove segment ids from unconfirmed data on subscribe
...
[MAILPOET-3663]
2021-06-28 13:40:36 +02:00
Jan Lysý
6773c42131
Add check that signup confirmation is disabled
...
[MAILPOET-3659]
2021-06-28 12:26:03 +02:00
Jan Lysý
7d49d39efc
Use Doctrine entities in SubscriptionUrlFactory
...
[MAILPOET-3269]
2021-06-14 10:12:34 +02:00
Jan Lysý
aeeceeeb8d
Use Newsletter\Url as service
...
[MAILPOET-3269]
2021-06-14 10:12:34 +02:00
Jan Lysý
d34c923cef
Use Doctrine model in LinkTokens service
...
[MAILPOET-3269]
2021-06-14 10:12:34 +02:00
Jan Lysý
cfa29c9df1
Change cron scheduling for SubscribersEngagementScore
...
[MAILPOET-3585]
2021-05-03 11:23:47 +02:00
Rostislav Wolny
694dde085f
Optimise tasks SQL query in inactive subscribers detection
...
[MAILPOET-3582]
2021-04-28 10:52:39 +02:00
Pavel Dohnal
a2c1b4f8bc
Display subscribers score on the listings page
...
[MAILPOET-3525]
2021-04-26 13:46:23 +02:00
Jan Lysý
dbbe0266ec
Calculate batch size for import custom fields
...
[MAILPOET-3570]
2021-04-19 12:44:43 +02:00
Jan Lysý
fc455d7cfa
Add saving custom fields on subscribe
...
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
Jan Lysý
02e1ce7e4d
Remove getFields method from FormEntity
...
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
Jan Lysý
4d56020071
Remove usage old model from Throttling
...
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
Jan Lysý
4631fb7320
Add SubscriberIP entity and repository
...
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
Jan Lysý
a715aa9b76
Replace usages of StatisticsForms with Doctrine
...
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
Jan Lysý
52b3e34839
Create controller for subscribe Subscribers
...
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
Jan Lysý
7db23849f7
Use Doctrine in SubscriberActions
...
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
Jan Lysý
f92d31fdb6
Reset subscriber's unconfirmed data on save
...
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
Jan Lysý
ce6c38cfd3
Fix default status for new subscriber
...
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
Jan Lysý
69d5eb42f7
Use Doctrine in RequiredCustomFieldValidator
...
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
Jan Lysý
aaf85e0415
Fix reset subscriptions in SegmentsRepository
...
When we update subscriber segment status via executeUpdate,
we have to refresh state from the DB.
[MAILPOET-3551]
2021-04-06 13:51:50 +02:00
Jan Lysý
41324cf62a
Add more supported fields to save method
...
[MAILPOET-3031]
2021-03-29 15:22:53 +02:00
Jan Lysý
09a75e14bd
Remove static call WP function.
...
[MAILPOET-3031]
2021-03-29 15:22:53 +02:00
Jan Lysý
8d58c9beea
Fix query for non default subscribed segments
...
[MAILPOET-3031]
2021-03-29 15:22:53 +02:00
Jan Lysý
bb9d4429ec
Add integration test for SubscriberSaveController
...
[MAILPOET-3031]
2021-03-29 15:22:53 +02:00
Jan Lysý
b8e7fb3dd0
Create SubscriberSaveController
...
[MAILPOET-3031]
2021-03-29 15:22:53 +02:00
Jan Lysý
761d587573
Add createOrUpdate for SubscriberCustomField
...
[MAILPOET-3031]
2021-03-29 15:22:53 +02:00
Jan Lysý
d7648bbda0
Add methods for subscribe segments to repository
...
[MAILPOET-3031]
2021-03-29 15:22:53 +02:00
Pavel Dohnal
ce48153b12
Fix code using the combined segments
...
[MAILPOET-3212]
2021-03-23 15:58:34 +01:00
Jan Lysý
f3a54c0cec
Remove distinct statement from export query
...
[MAILPOET-3505]
2021-03-22 13:37:42 +01:00
Jan Lysý
97dd881e8d
Add method getCurrentWPUser to SubscribersRepository
...
[MAILPOET-3268]
2021-03-16 14:39:47 +01:00
Rostislav Wolny
aff4c9d5b7
Fix dynamic segments filtering in subscriber export
...
[MAILPOET-3177]
2021-03-10 15:20:32 +01:00
Rostislav Wolny
40c9f047be
Refactor segment filter data to embedded object
...
[MAILPOET-3177]
2021-03-10 15:20:32 +01:00
wxa
e71e063ef0
Use same query logic for counting and exporting subs w/o lists
...
[MAILPOET-3462]
2021-03-10 13:16:48 +01:00
wxa
10bf0d006d
Unify subscribers without segment queries for listing & export counting
...
[MAILPOET-3462]
2021-03-10 13:16:48 +01:00
Rostislav Wolny
6f42222abc
Fix subscriber consent data in export
...
[MAILPOET-3472]
2021-03-09 13:13:55 +01:00