Commit Graph

147 Commits

Author SHA1 Message Date
02e1ce7e4d Remove getFields method from FormEntity
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
4631fb7320 Add SubscriberIP entity and repository
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
d530b02843 Add StatisticsFormEntity
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
69d5eb42f7 Use Doctrine in RequiredCustomFieldValidator
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
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
558d44c37d Add value formatting in SubscriberCustomFieldEntity
[MAILPOET-3031]
2021-03-29 15:22:53 +02:00
2e3f59423b Add validation on email in SubscriberEntity
[MAILPOET-3031]
2021-03-29 15:22:53 +02:00
63db6737df Only some statuses can be updated
We want to maintain the previous behaviour

[MAILPOET-3481]
2021-03-24 11:05:17 +01:00
50b98bd079 Only load queues after check passes
[MAILPOET-3481]
2021-03-24 11:05:17 +01:00
3ae3102f9c Leave old task paused when activating newsletter
[MAILPOET-3481]
2021-03-24 11:05:17 +01:00
2dcf9a8a8f Pause all scheduled tasks when pausing newsletter
[MAILPOET-3481]
2021-03-24 11:05:17 +01:00
7a98abdead Connect dynamic segments filters using UNION select
[MAILPOET-3212]
2021-03-23 15:58:34 +01:00
c3372dfee8 Load logs
[MAILPOET-3135]
2021-03-16 14:29:18 +01:00
174583cc84 Create repository for logs
[MAILPOET-3135]
2021-03-16 14:29:18 +01:00
wxa
67824f9eb1 Set task status to invalid instead of deleting
[MAILPOET-3359]
2021-03-10 18:24:21 +01:00
9fdebdb4d7 Refactor api for creating/updating dynamic segments
[MAILPOET-3177]
2021-03-10 15:20:32 +01:00
40c9f047be Refactor segment filter data to embedded object
[MAILPOET-3177]
2021-03-10 15:20:32 +01:00
09acbb0d07 Use Doctrine instead of Paris in Import
[MAILPOET-3378]
2021-02-18 10:13:44 +01:00
8cfd47e656 Move custom field type constants to entity
[MAILPOET-3378]
2021-02-18 10:13:44 +01:00
e08e19902b Use Doctrine for Segment duplication
[MAILPOET-3170]
2021-01-26 17:03:48 +01:00
8456581695 Refactor segment lists fetching methods to separate repository
[MAILPOET-3164]
2021-01-25 09:17:17 +01:00
e576002d70 Append subscribers limit notice with info about WP users segment
[MAILPOET-3143]
2021-01-11 14:55:44 +01:00
441cb86a76 Refactor subscription segments selection from old model to api
[MAILPOET-3297]
2021-01-04 11:32:28 +01:00
af574f7e1b Refactor getting segments from form body to form entity
[MAILPOET-3297]
2021-01-04 11:32:28 +01:00
74e0fc6b52 Add getBlocksByType to Form entity
[MAILPOET-3297]
2021-01-04 11:32:28 +01:00
b3db3dbcb3 Add PHP constants for form block types
[MAILPOET-3297]
2021-01-04 11:32:28 +01:00
d13f63b3e2 Fix other minor type issues in libs
[MAILPOET-3926]
2020-12-07 11:36:01 +01:00
06dca19738 Add magic getters for backward compatibility
[MAILPOET-3333]
2020-12-03 14:11:53 +01:00
a8050f0f02 Create method for wp check
[MAILPOET-2993]
2020-11-11 11:34:55 +01:00
b97dee0bfe Refactor welcome newsletter scheduler to Doctrine
[MAILPOET-3141]
2020-11-09 12:56:17 +01:00
6438081476 Fix issues in Doctrine entities newly found by PHPStan
[MAILPOET-3029]
2020-11-09 11:04:32 +01:00
3479783588 Use WP currentTime when newsletter is duplicated
[MAILPOET-2946]
2020-10-27 15:00:14 +01:00
c68728670e Remove using Idiorm from Newsletter::duplicate
[MAILPOET-2946]
2020-10-27 15:00:14 +01:00
a4dcec49c7 Add list of names for NewsletterOptionFieldEntity
[MAILPOET-2946]
2020-10-27 15:00:14 +01:00
78118b07e8 Refactor to doctrine
[MAILPOET-2335] [MAILPOET-2334]
2020-10-22 11:54:41 +02:00
1f42a4bb46 Update SubscriberSegmentEntity relation annotation
[MAILPOET-3146]
2020-10-08 15:59:05 +02:00
cd5079efda Remove unused SegmentEntity method
[MAILPOET-3077]
2020-09-28 14:26:53 +02:00
2f270575f3 Make segment description mandatory
[MAILPOET-3077]
2020-09-28 14:26:53 +02:00
5aa4e880e6 Refactor static/dynamic condition to match old behavior
[MAILPOET-3077]
2020-09-28 14:26:53 +02:00
231b7eb2a9 Add SegmentSubscriberRepository with basic methods
[MAILPOET-3077]
2020-09-28 14:26:53 +02:00
00db901d94 Implement email actions filter in Doctrine
[MAILPOET-3077]
2020-09-28 14:26:53 +02:00
cf76480ab3 Implement userRole filter using Doctrine
[MAILPOET-3077]
2020-09-28 14:26:53 +02:00
d2e46c17ed Add dummy dynamic segments filters
[MAILPOET-3077]
2020-09-28 14:26:53 +02:00
d18d3b052d Add dynamic segments filter entity
[MAILPOET-3077]
2020-09-28 14:26:53 +02:00
f9f8428b42 Move dynamic segment type constant to segment entity
[MAILPOET-3077]
2020-09-28 14:26:53 +02:00
36bad65b80 Add getCount to StatisticsClickEntity
[PREMIUM-145]
2020-09-03 15:04:11 +02:00
aee2d82396 Add WooCommerce purchases relation to statistics clicks entity
[PREMIUM-145]
2020-09-03 15:04:11 +02:00
401b780dce Use refactored in form displaying
[MAILPOET-3072]
2020-09-02 13:17:44 +02:00
c878bb9ab0 Update the status
[MAILPOET-3087]
2020-08-24 10:40:12 +02:00
ca8831e5bb Display form only if it is enabled
[MAILPOET-3075]
2020-08-12 16:35:28 +02:00