Commit Graph

114 Commits

Author SHA1 Message Date
250e450c82 Replace most usages of old Subscriber model with SubscriberEntity in the Pages class
[MAILPOET-4020]
2022-04-04 16:24:21 +02:00
ac0a9e7b6f Update doctrine/* libraries
[MAILPOET-4175]
2022-03-28 13:49:41 +02:00
45dd3fc308 Use current definition for counting subscribers in a Group
[MAILPOET-3535]
2022-03-24 16:00:56 +01:00
5dc215efa7 Improve comments and tests for inactive subscribers
[MAILPOET-4081]
2022-03-14 12:07:59 +01:00
6e6720d9f1 Remove old code and comments
[MAILPOET-4081]
2022-03-14 12:07:59 +01:00
11cd756e6d Deactivation requires 3 received emails
[MAILPOET-4081]
2022-03-14 12:07:59 +01:00
3fca53f350 Also count machine opens and clicks as engagement
[MAILPOET-4081]
2022-03-14 12:07:59 +01:00
86d934ba36 Add hook for segment subscription
This will be used for a "SegmentSubscribed" trigger for automation
that can trigger welcome emails and other actions.

[MAILPOET-4136]
2022-03-14 09:36:21 +01:00
9f822818c3 Make sure batch size is positive integer
Fixes PHPStan error array_chunk expects int<1, max>.

[MAILPOET-4131]
2022-03-07 16:07:16 +01:00
f6a6dc1802 Rename premium page to upgrade page
[MAILPOET-4164]
2022-02-28 16:49:26 +01:00
bfa9a98df6 Do not display form if logged in and registered to any segment.
[MAILPOET-3059]
2022-02-23 15:22:24 +01:00
b1f51714ca Add mailpoet_subscription_before_subscribe hook
In order for 3rd parties to hook into the subscription process, e.g. to
validate the data themselves, the action hook
mailpoet_subscription_before_subscribe has been added. [MAILPOET-3632]
2022-02-09 15:06:58 +01:00
94af2c324b Update subscriber last engagement with correct value
For mutable Carbon object $now->subMinute() was altering also $now variable which was causing that the saved engagement at was not accurate.
[MAILPOET-3897]
2022-02-07 09:38:25 +01:00
9f790efbf0 Move plugin files to a subfolder
[MAILPOET-3988]
2022-01-18 15:30:22 +01:00