Commit Graph

185 Commits

Author SHA1 Message Date
Pavel Dohnal
5890fb3510 Use the latest updated queue
[MAILPOET-3876]
2021-11-10 12:49:48 +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
Jan Lysý
4d32cf2f5d Add BC compatibility for getters
If a migration to new columns wasn't executed correctly, we want to be sure that getters return the correct value.
[MAILPOET-3910]
2021-11-04 12:03:24 +01:00
Jan Lysý
81bfcc4247 Remove code for backward compatibility
[MAILPOET-3427]
2021-10-27 15:45:17 +02:00
Jan Lysý
78e763deee Add new properties and change constructor
[MAILPOET-3427]
2021-10-27 15:45:17 +02:00
Rodrigo Primo
498ceabc8c Refactor CronWorkerRunner to use Doctrine instead of Paris
[MAILPOET-3844]
2021-10-25 14:17:21 +02:00
Rodrigo Primo
2c78db9e04 Refactor ScheduledTasks::rescheduleProgressively() to use Doctrine
[MAILPOET-3844]
2021-10-25 14:17:21 +02:00
Pavel Dohnal
bab51da527 Copy createOrUpdateByClickDataAndOrder to doctrine repository
[MAILPOET-3814]
2021-10-25 13:08:17 +02:00
Rostislav Wolny
3c5a368c2c Add scheduling of re-engagement emails
[MAILPOET-3782]
2021-10-18 16:21:52 +02:00
Rodrigo Primo
a020b6aaaa Add methods getRescheduledCount() and setRescheduledCount() to ScheduledTaskEntity
[MAILPOET-3843]
2021-10-05 13:21:53 +02:00
Pavel Dohnal
6ac7015b5c Save the re-engagement email
[MAILPOET-3763]
2021-09-29 14:17:57 +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
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
bdda742caa Create entity for statistics bounce
[MAILPOET-3765]
2021-09-13 10:19:15 +02:00
Rostislav Wolny
a6b58e501a Disallow reseting last engagement via setter
[MAILPOET-3762]
2021-09-07 10:07:08 +02:00
Rostislav Wolny
cd9f83834e Add lastEngagementAt to SubscriberEntity
[MAILPOET-3762]
2021-09-07 10:07:08 +02:00
Jan Lysý
ee84dc382b Change user_agent_type column to tinyint
[MAILPOET-3736]
2021-08-23 16:37:59 +02:00
Jan Lysý
34ad21187d Add userAgentType property to statistics entities
[MAILPOET-3736]
2021-08-23 16:37:59 +02:00
Jan Lysý
f6513ab2b7 Add user-agent type detection
[MAILPOET-3736]
2021-08-23 16:37:59 +02:00
Brezo Cordero
67b88b862e Delete old orphan SubscriberSegments
On PreFlush we clean up old SubscriberSegments referencing deleted segments. This prevents errors when updating subscribers.

[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
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
Rostislav Wolny
35058bca63 Add unsubscribes tracking for WooCommerce checkout
[MAILPOET-3657]
2021-08-09 16:51:27 +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
94ac913aa3 Update nesbot/carbon
[MAILPOET-3658]
2021-07-06 13:29:00 +02:00
Jan Lysý
62d6881966 Fix name of getter in SegmentEntity
[MAILPOET-3469]
2021-06-21 14:02:04 +02:00
Jan Lysý
3fdbb050cd Add getter for connect operand to SegmentEntity
[MAILPOET-3469]
2021-06-21 14:02:04 +02:00
Jan Lysý
96fa2c2430 Move BC compatibility for UserRole to entity data getter
[MAILPOET-3469]
2021-06-21 14:02:04 +02:00
Jan Lysý
f4c2e4880a Add dynamic filter connect type to response
[MAILPOET-3469]
2021-06-21 14:02:04 +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
Pavel Dohnal
7bf6c44ea0 Refactor newsletter data factories to doctrine
[MAILPOET-3627]
2021-06-14 11:28:18 +02:00
Pavel Dohnal
e661d07acb Use doctrine to create logs
[MAILPOET-3624]
2021-06-07 14:41:14 +02:00
Jan Lysý
f4ce284e5c Add engagement score into segment list
[MAILPOET-3533]
2021-05-12 14:42:22 +02:00
Pavel Dohnal
3f91c40594 Round score to 1 decimal instead of 0
[MAILPOET-3525]
2021-04-26 13:46:23 +02:00
Pavel Dohnal
5d4916efc3 Create score columns
[MAILPOET-3525]
2021-04-26 13:46:23 +02:00
Rostislav Wolny
2f7f4536a2 Add filter class for WooCommerce subscriptions filter
[MAILPOET-3471]
2021-04-20 15:51:09 +02:00
Jan Lysý
02e1ce7e4d Remove getFields method from FormEntity
[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ý
d530b02843 Add StatisticsFormEntity
[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
Rodrigo Primo
90526362cc Ignore PHPStan Carbon related error introduced after update to version 0.12.83
This commit ignores the following PHPStan error introduced after the update to version 0.12.83. It seems the error is caused by a problem in Carbon's documentation so there is not way for us to fix it for now. Carbon's constructor accepts an instance of DateTimeInterface, but its phpdoc block only mentions string or null.

```
 ------ ----------------------------------------------------------------------
  Line   lib/Entities/NewsletterEntity.php
 ------ ----------------------------------------------------------------------
  283    Parameter #1 $time of class MailPoetVendor\Carbon\Carbon constructor
         expects string|null, DateTimeInterface|null given.
 ------ ----------------------------------------------------------------------
```
[MAILPOET-3491]
2021-04-12 08:55:14 +02:00
Jan Lysý
558d44c37d Add value formatting in SubscriberCustomFieldEntity
[MAILPOET-3031]
2021-03-29 15:22:53 +02:00
Jan Lysý
2e3f59423b Add validation on email in SubscriberEntity
[MAILPOET-3031]
2021-03-29 15:22:53 +02:00
Pavel Dohnal
63db6737df Only some statuses can be updated
We want to maintain the previous behaviour

[MAILPOET-3481]
2021-03-24 11:05:17 +01:00
Pavel Dohnal
50b98bd079 Only load queues after check passes
[MAILPOET-3481]
2021-03-24 11:05:17 +01:00
Pavel Dohnal
3ae3102f9c Leave old task paused when activating newsletter
[MAILPOET-3481]
2021-03-24 11:05:17 +01:00
Pavel Dohnal
2dcf9a8a8f Pause all scheduled tasks when pausing newsletter
[MAILPOET-3481]
2021-03-24 11:05:17 +01:00
Pavel Dohnal
7a98abdead Connect dynamic segments filters using UNION select
[MAILPOET-3212]
2021-03-23 15:58:34 +01:00