Commit Graph

25 Commits

Author SHA1 Message Date
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
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
0b675680ef Refactor click tracking to Doctrine
[MAILPOET-3735]
2021-08-18 14:41:20 +02:00
Jan Jakeš
e185121f43 Fix properties with trailing underscore
[MAILPOET-2715]
2020-02-19 19:12:53 +00:00
Jan Jakeš
d0292f8624 Convert variable names to camel case in PHPDoc
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
Jan Jakeš
3bbc8ea2af Convert variable names to camel case in strings
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
Jan Jakeš
54549ff037 Convert variable names to camel case
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
Amine Ben hammou
43df66d162 Add public keyword to methods
[MAILPOET-2413]
2019-12-26 18:09:45 +03:00
Pavel Dohnal
650f9a8c90 Use proper check for existence
[MAILPOET-2535]
2019-11-20 10:24:39 +00:00
Jan Jakeš
0091755301 Fix and simplify query for latest click per-newsleter-per-subscriber
[MAILPOET-2446]
2019-10-09 14:29:02 +01:00
Jan Jakeš
1b5b9d89ff Autofix namespace declaration spacing
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
Jan Jakeš
01a0fe96c4 Remove no longer necessary checks
[MAILPOET-1948]
2019-09-12 13:59:32 +02:00
Jan Jakeš
6b9542385f Calculate two weeks range from order date, not from actual date
This will select clicks correctly also when used from cron.

[MAILPOET-1857]
2019-06-25 11:06:19 -04:00
Pavel Dohnal
5da7110eb6 Use short array syntax
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
Jan Jakeš
db7c0cddac Use DateTimeInterface instead of DateTime
[MAILPOET-1855]
2019-04-24 14:52:40 -04:00
Jan Jakeš
481f5b9344 Add tracking of WooCommerce oders after payment
[MAILPOET-1855]
2019-04-24 14:52:40 -04:00
Pavel Dohnal
bed80e67f1 Use phpstan level 2
[MAILPOET-1822]
2019-02-21 13:49:52 -05:00
Ján Mikláš
3ee58aea10 Add space between if and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
Tautvidas Sipavičius
1af4666744 Declare missing properties and methods for PHPStan 2019-01-23 21:30:24 +02:00
Ján Mikláš
4260960b59 Fix typos - subsciber => subscriber 2018-12-15 13:08:47 +01:00
Pavel Dohnal
a664d3631b Export statistics clicks
[MAILPOET-1357]
2018-05-11 18:34:25 +01:00
Vlad
e48d55f0b1 - Adds new model methods 2016-08-22 09:26:25 -04:00
Tautvidas Sipavičius
67661e3aad Remove useless constructors 2016-06-30 18:50:48 +03:00
Vlad
67359980e9 - Renames statistics table to the new "statistics_entity" format
- Adds new clicks statistics model
2016-04-14 19:37:27 -04:00
Vlad
f1b955d74a - Implements link extraction, processing, replacement and saving 2016-04-14 19:37:27 -04:00