Commit Graph

55 Commits

Author SHA1 Message Date
5eeee574b2 Extract strings to constants
MAILPOET-4991
2023-07-30 19:20:09 +02:00
251dcdc6fb Add filters for automations events
MAILPOET-5003
2023-07-12 11:10:18 +02:00
b018918bc4 Extract (soon to be) shared text field operators
MAILPOET-4990
2023-06-28 15:14:03 +02:00
1e82378df2 Add new tracking columns
MAILPOET-4998
2023-06-22 15:29:22 +02:00
ddfdbb23dc Add automation field for subscriber lists
[MAILPOET-5172]
2023-05-17 12:36:05 +02:00
e636537580 Add ability to duplicate dynamic segments
MAILPOET-4635
2023-05-15 13:48:41 +02:00
bf4a2ac287 Add subscriber status changed hook
This PR adds a new hook and notification when the subscriber status changes. It will be used by AutomateWoo integration.

[MAILPOET-4230]
2023-05-15 12:04:24 +02:00
2ef78b1bba Add getter for specific subscriberCustomField entity in relation
[MAILPOET-5246]
2023-05-03 11:31:24 +02:00
ca3487abee Introduce Automation notification email type
[PREMIUM-223]
2023-04-27 13:40:10 +02:00
69f21814e3 Rename "transactional" email type to "automation_transactional"
[MAILPOET-5258]
2023-04-24 09:54:08 +03:00
ec987cbc4e Fix errors in 3rd party lib
MAILPOET-5239
2023-04-19 14:47:38 +01:00
18baff3888 Add type transactional
[MAILPOET-4999]
2023-04-17 13:59:39 +02:00
c507229dd2 Add unsubscribe API method
It can be used by calling:

```
$mailpoet_api = \MailPoet\API\API::MP('v1');
$mailpoet_api->unsubscribe($subscriberId);
```

[MAILPOET-5152]
2023-03-27 19:25:49 +02:00
26a85458a5 Remove usage Sending::createFromQueue from Scheduler test
[MAILPOET-4369]
2023-03-02 12:39:35 +02:00
ddd89e70ed Add context and raw message to mailpoet_logs
[MAILPOET-4983]
2023-03-01 17:46:22 +01:00
976c374cb7 Catch exception when processing coupon block throws
When processing coupon block throws, the exception is
caught, custom exception is thrown and the newsletter status
is updated

[MAILPOET-4983]
2023-03-01 17:46:22 +01:00
05e941e449 Allow dynamic genration of coupon code for some newsletters
Those newsletters that allow updating their body html should
persist the couponId along side the Coupon block settings so
that on the next rendering attempt the same coupon code is
used

[MAILPOET-4763]
2023-01-30 12:46:38 +01:00
d19f5dc732 Add ConfirmationEmailCustomizer class and confirmation email template
MAILPOET-4649
2022-12-15 18:15:01 +01:00
4bcd4a2cf2 Add single const to expose shortcodes for unsubscribe link
[MAILPOET-4862]
2022-12-07 10:52:07 +01:00
926620e8f8 Ignore strict types rule in all existing files that don't have it
[MAILPOET-2688]
2022-11-29 15:04:09 +01:00
c67c58709b Unify spacing of declare statements
[MAILPOET-2688]
2022-11-29 15:04:09 +01:00
842f435976 Add default value for method to StatisticsUnsubscribeEntity
When entity is created the default value is not set and it may causes
failures when it is not set additionally.
This commit sets default value and also defines a constant for the default value.
[PREMIUM-211]
2022-11-28 18:21:52 +01:00
461df1a560 Adjust strict_types & method typehint based on PR feedback
[MAILPOET-4733]
2022-11-25 14:51:57 +01:00
735d33d05b Add method of tracking when tracking unsubscriptions
[MAILPOET-4733]
2022-11-25 14:51:57 +01:00
90c8e5b2c9 Introduce method column to statistics_unsubscribes table
[MAILPOET-4733]
2022-11-25 14:51:57 +01:00
8b922681b6 Use boolean instead of integer for displayInManageSubscriptionPage column
MAILPOET-4669
2022-11-21 15:21:29 +01:00
bd33cdbc24 Add new migration file for DisplayInManageSubscriptionPage column
MAILPOET-4669
2022-11-21 15:21:29 +01:00
9d55d3f134 Use "automation" instead of "workflow"
[MAILPOET-4793]
2022-11-14 12:14:35 +02:00
2d835cdec1 Add new action hooks for multiple changes
[MAILPOET-4727]
2022-10-27 09:31:40 +02:00
9ff72b4d4c Add SubscriberListener for notification about changes
[MAILPOET-4727]
2022-10-27 09:31:40 +02:00
2dab7fdb0c Add new service for handling subscriber changes
This new service should store all changes and notify about them at the end of the HTTP request.
[MAILPOET-4727]
2022-10-27 09:31:40 +02:00
2cf3f37f5c Fix creation notification history records
[MAILPOET-4679]
2022-09-26 13:23:28 +02:00
6e399a5842 Replace getSubscribedSegments() with a new getSubscriberSegments() parameter
After the PR review, we decided to add a new $status parameter to
getSubscriberSegments() instead of creating getSubscribedSegments().

[MAILPOET-4365]
2022-09-19 13:35:39 +02:00
de6a0b4790 Add method to get segments that a subscriber is subscribed to
[MAILPOET-4365]
2022-09-19 13:35:39 +02:00
c1e9f86a32 Remove usage of old model for creating post notification history
[MAILPOET-4310]
2022-08-22 11:04:45 +02:00
5dfda9f3e2 Move task type const from entity to worker
[MAILPOET-4366]
2022-08-19 15:11:23 +02:00
5f30c7a511 Add method for getting running sending tasks
[MAILPOET-4366]
2022-08-19 15:11:23 +02:00
6f1e5c9a98 Add new const with the type sending
[MAILPOET-4366]
2022-08-19 15:11:23 +02:00
4b5afeac54 Save workflow step ID to automation email options
[MAILPOET-4515]
2022-08-08 13:23:57 +02:00
bb24838881 Save workflow ID to automation email options
[MAILPOET-4515]
2022-08-08 13:23:57 +02:00
5445bf9305 Add tags statistics method
[MAILPOET-4442]
2022-08-08 10:57:42 +02:00
5042cdd15e Refactor fetching newsletter options in SendingQueue using doctrine
[MAILPOET-4511]
2022-07-29 10:33:05 +02:00
6baf4b21c3 Save or update subscriber's tags
[MAILPOET-4440]
2022-07-12 13:35:00 +02:00
586a5b8b8e Fix typo in const name
[MAILPOET-4440]
2022-07-12 13:35:00 +02:00
40912185fe Add tags entities
[MAILPOET-4440]
2022-07-12 13:35:00 +02:00
868661a543 Add email type 'automation'
[MAILPOET-4432]
2022-07-04 14:04:16 +03:00
2fe95320e2 Add MailPoet Premium integration for automation
[PREMIUM-180]
2022-06-09 13:30:54 +02:00
a4c7854967 Add subscriberCustomFields association
[MAILPOET-4137]
2022-04-25 10:58:18 +02:00
8077322a29 Simplify the query to calculate lifetime emails
Also rename email_counts to email_count and update tests

[MAILPOET-4177]
2022-04-07 10:17:38 +02:00
8fe323c9c7 Add new column on subscribers to store email counts
This value will store the emails received in the lifetime of a subscriber. Used for stats and deactivation.

[MAILPOET-4177]
2022-04-07 10:17:38 +02:00