Commit Graph

1335 Commits

Author SHA1 Message Date
Rostislav Wolny
3ecef7e4fc Update version check for newsletter thumbnails data migration
[MAILPOET-2686]
2021-11-08 13:24:53 +01:00
Rostislav Wolny
0113402bce Schedule template images check/regeneration within activation
[MAILPOET-2686]
2021-11-08 13:24:53 +01:00
Rostislav Wolny
f5e4bab40b Migrate base64 template images data to new column
[MAILPOET-2686]
2021-11-08 13:24:53 +01:00
Rostislav Wolny
bd222a4c32 Add column for storing template thumbnail data
We will use the current column for saving URL of the image, but we want to keep base64 data so that we are able to re-create the image file. Base64 image is generated on the frontend and we can't regenerate it on the backend.
[MAILPOET-2686]
2021-11-08 13:24:53 +01:00
wxa
57f4468efc Fix 'Enable auto-updates' link missing when Premium is up-to-date
[MAILPOET-3921]
2021-11-08 11:40:53 +01:00
Jan Lysý
22288431b7 Fix version for migration data for dynamic filters
[MAILPOET-3910]
2021-11-04 12:03:24 +01:00
Rostislav Wolny
ffe291c521 Add cron worker for reporting subscriber stats
[MAILPOET-3868]
2021-11-03 13:31:29 +01:00
Rostislav Wolny
04052d7d9c Schedule last engagement detection again for the new update
[MAILPOET-3892]
2021-11-01 10:54:43 +01:00
Rostislav Wolný
586443e13c Fix scheduling tasks on activation
[MAILPOET-2686]

Co-authored-by: brezocordero <brezo.cordero@automattic.com>
2021-11-01 10:54:43 +01:00
Rostislav Wolny
73a9bed483 Replace deprecated doctrine methods in lib directory
[MAILPOET-3889]
2021-10-28 15:44:18 +02:00
Jan Lysý
9b5576babd Add fix for inconsistent data in dynamic filters table
[MAILPOET-3427]
2021-10-27 15:45:17 +02:00
Jan Lysý
c51d5afd48 Add new columns into dynamic_segment_filters table
[MAILPOET-3427]
2021-10-27 15:45:17 +02:00
Brezo Cordero
3d96af0326 Trailing comma
[MAILPOET-3598]
2021-10-18 13:12:14 +02:00
Brezo Cordero
683c5fa01f Fix subscribe on Order Pay form
[MAILPOET-3598]
2021-10-18 13:12:14 +02:00
Pavel Dohnal
6ac7015b5c Save the re-engagement email
[MAILPOET-3763]
2021-09-29 14:17:57 +02:00
Pavel Dohnal
b94b8f119a Remove old form model from MP2 migrator
[MAILPOET-3644]
2021-09-22 15:37:24 +02:00
Rodrigo Primo
ffa91da869 Create a proxy method to get the processed date from within NewsletterEntity
[MAILPOET-3629]
2021-09-20 14:01:34 +02:00
Rodrigo Primo
2e354173db Deprecated old archive filters and add new ones
Using new filters is needed as the parameters passed to the filters
changed. If we continued using the same filters, users might run into
fatal errors.

[MAILPOET-3629]
2021-09-20 14:01:34 +02:00
Rodrigo Primo
0c44e4dbd2 Replace $newsletter->getQueues()->first() with $newsletter->getLatestQueue()
[MAILPOET-3629]
2021-09-20 14:01:34 +02:00
Rodrigo Primo
97d177013f Refactor \MailPoet\Models\Newsletter::getArchives() to Doctrine
[MAILPOET-3629]
2021-09-20 14:01:34 +02:00
Rodrigo Primo
3ca95ed4da Add a WP filter to let users change the MP prefix for DB tables
[MAILPOET-3798]
2021-09-20 13:07:39 +02:00
Pavel Dohnal
21839fc30b Fix indentation of multiline function declarations
[MAILPOET-3732]
2021-09-17 12:17:36 +02:00
Pavel Dohnal
cdda3480ca Make all constructor signatures multiline
[MAILPOET-3732]
2021-09-16 14:19:40 +02:00
Pavel Dohnal
995b716fe3 Add bounces table
[MAILPOET-3765]
2021-09-13 10:19:15 +02:00
Rostislav Wolny
754f901e30 Schedule last engagement prefilling after updating to newer version
[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
4a72a9c2f1 Add column for saving last engagement date for a subscriber
[MAILPOET-3762]
2021-09-07 10:07:08 +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
Jan Lysý
ee84dc382b Change user_agent_type column to tinyint
[MAILPOET-3736]
2021-08-23 16:37:59 +02:00
Jan Lysý
9192602adf Add a new column user_agent_type to statistics tables
[MAILPOET-3736]
2021-08-23 16:37:59 +02:00
Pavel Dohnal
bb52329168 Track user agent on click
[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
Pavel Dohnal
4f37cde9f9 Create table for user agents
[MAILPOET-3735]
2021-08-18 14:41:20 +02:00
Jan Lysý
41a3ac0268 Remove mso condition for include fonts for newsletters editor
[MAILPOET-3468]
2021-08-16 11:44:41 +02:00
Jan Lysý
2165baa5ee Fix non mso condition in Menu
[MAILPOET-3468]
2021-08-16 11:44:41 +02:00
Jan Lysý
6dc0c62640 Fix getting NewsletterExporter instance in PersonalDataExporters
[MAILPOET-3702]
2021-08-11 15:18:58 +02:00
Rostislav Wolny
21c712c930 Fix issues in woocommerce_registration_errors callback
* After this change we will process only registrations without any errors.
* The filter expect that it returns $errors, but the callback was not returning anything. This was under some circumstances causing 500 error.
[MAILPOET-3657]
2021-08-09 16:51:27 +02:00
Brezo Cordero
1909950353 Remove the poll on plugin deactivation
Remove the poll asking for deactivation reasons as we are no longer using the data.

[MAILPOET-3705]
2021-08-09 11:33:14 +02:00
Rostislav Wolny
65b834a9ff Update renamed NotCamelCaps rule
[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
Jan Lysý
2b43531c59 Use try-finally for delete transient on error
[MAILPOET-3656]
2021-06-14 14:56:26 +02:00
Jan Lysý
a5b964c785 Add try-catch for activation hook
[MAILPOET-3656]
2021-06-14 14:56:26 +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
Rostislav Wolny
611b860317 Add migration for missing updated_at on scheduled_task_subscribers
[MAILPOET-3651]
2021-06-14 13:06:58 +02:00
Jan Lysý
d7724c5768 Register NewslettersExporter as service
[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ý
30d42972ff Remove updatingSuccess message for old versions
[MAILPOET-3643]
2021-06-07 14:14:50 +02:00
Jan Lysý
7d00568dc8 Add comment with units
[MAILPOET-3537]
2021-05-24 14:59:40 +02:00
Jan Lysý
c7e4fa32b0 Rename method in initializer
[MAILPOET-3537]
2021-05-24 14:59:40 +02:00