Commit Graph

59 Commits

Author SHA1 Message Date
Jan Jakes
ff6a98fae1 Replace deprecated array types with Doctrine's ArrayParameterType
[MAILPOET-6142]
2024-08-19 15:29:42 +02:00
Jan Lysý
fe25ce4857 Update condition for abandoned cart emails on homepage
[MAILPOET-5848]
2024-06-21 14:53:05 +02:00
Jan Lysý
26a98f1000 Update composer package doctrine/dbal
We cannot update to the latest version of the dbal 3 because there is a another package conflict.
[MAILPOET-6101]
2024-06-17 12:38:08 +02:00
Mike Jolley
f6a793d2e8 Sync post and newsletter 2024-04-30 14:12:08 +02:00
John Oleksowicz
ba4e54f261 Move query to SendingQueuesRepository
The main piece of data we care about is the campaignId, which is saved
in the sending queue's meta, so I think it makes more sense to base the
query on the sending queues as opposed to newsletters.

MAILPOET-5629
2024-04-22 10:06:12 +02:00
John Oleksowicz
9d88f9abee Use consistent date for query
MAILPOET-5629
2024-04-22 10:06:12 +02:00
John Oleksowicz
d513961bad Ues consistent dates
MAILPOET-5629
2024-04-22 10:06:12 +02:00
John Oleksowicz
401fa92f2c Move calculation of sentToSegment to query
MAILPOET-5629
2024-04-22 10:06:12 +02:00
John Oleksowicz
a747c98c19 Move date calculation to query
MAILPOET-5629
2024-04-22 10:06:12 +02:00
John Oleksowicz
cc11ab25aa Add campaign analytics logic
MAILPOET-5629
2024-04-22 10:06:12 +02:00
John Oleksowicz
c8a90760e6 Add 7 day sending stat
MAILPOET-5629
2024-04-22 10:06:12 +02:00
Jan Lysý
50df6c3d4e Use NPS poll in the new email editor
[MAILPOET-5911]
2024-04-15 08:18:35 +02:00
Mike Jolley
435f638011 Apply rules on lib dir 2024-03-21 16:57:59 +01:00
Jan Jakes
d6da2af55b Extract newsletter bulk delete logic to a controller
Repositories shouldn't inject other repositories. Also, this solves circular DI dependency.

[MAILPOET-5845]
2024-02-02 12:48:40 +01:00
Jan Jakes
82d5621caf Extract newsletter entity deletion to a method
[MAILPOET-5845]
2024-02-02 12:48:40 +01:00
Jan Jakes
cb803d6f4b Use epxlicit transaction demarcation
[MAILPOET-5845]
2024-02-02 12:48:40 +01:00
Jan Jakes
082ab78f90 Remove no longer needed cleanup
[MAILPOET-5845]
2024-02-02 12:48:40 +01:00
Jan Jakes
d1f48b6772 Detach deleted newsletters, simplify code
[MAILPOET-5845]
2024-02-02 12:48:40 +01:00
Jan Jakes
f5e1ae9fba Avoid unnecessary JOIN
[MAILPOET-5845]
2024-02-02 12:48:40 +01:00
Jan Jakes
4454dd6203 Delete stats notifications and tasks using a repository
[MAILPOET-5845]
2024-02-02 12:48:40 +01:00
Jan Jakes
ddfde2059e Delete newsletter data from woocommerce purchase stats using a repository
[MAILPOET-5845]
2024-02-02 12:48:40 +01:00
Jan Jakes
aa13c8956d Delete newsletter segments using a repository
[MAILPOET-5845]
2024-02-02 12:48:40 +01:00
Jan Jakes
18b227429f Delete sending queues using a repository
[MAILPOET-5845]
2024-02-02 12:48:40 +01:00
Jan Jakes
98d46f2fdb Delete scheduled tasks using a repository
[MAILPOET-5845]
2024-02-02 12:48:40 +01:00
Jan Jakes
bcc96d27bb Delete scheduled tasks subscribers using a repository
[MAILPOET-5845]
2024-02-02 12:48:40 +01:00
Jan Jakes
9aaffd9ceb Delete newsletter links using a repository
[MAILPOET-5845]
2024-02-02 12:48:40 +01:00
Jan Jakes
115616620e Delete newsletter options using a repository
[MAILPOET-5845]
2024-02-02 12:48:40 +01:00
Jan Jakes
bca9101921 Delete newsletter posts using a repository
[MAILPOET-5845]
2024-02-02 12:48:40 +01:00
Jan Jakes
1221a64d3d Delete statistics clicks using a repository
[MAILPOET-5845]
2024-02-02 12:48:40 +01:00
Jan Jakes
17168643c9 Delete statistics opens using a repository
[MAILPOET-5845]
2024-02-02 12:48:40 +01:00
Jan Jakes
c492ff4d8d Delete statistics newsletters using a repository
[MAILPOET-5845]
2024-02-02 12:48:40 +01:00
Jan Jakes
6f844e2bea Use typed properties
[MAILPOET-5845]
2024-02-02 12:48:40 +01:00
John Oleksowicz
f5aba4ebee Ensure invalid tasks don't prevent new post notifications
MAILPOET-5853
2024-01-29 17:16:12 +01:00
David Remer
b0c42248a3 Detach entities when bulk deleting Newsletters
[MAILPOET-5829]
2024-01-20 14:02:52 +05:00
Rostislav Wolny
b8b5696ab1 Use campaign name if available in newsletters listing in segment editor
[MAILPOET-5646]
2024-01-08 12:04:06 +05:00
Rostislav Wolny
8be034822e Add minimalistic WpPostEntity for fetching basic post data for listing
[MAILPOET-5646]
2024-01-08 12:04:06 +05:00
Jan Lysý
525c80bac4 Fix PHPStan warnings in lib
[MAILPOET-5751]
2023-12-13 11:48:14 +01:00
Oluwaseun Olorunsola
65de203ea3 Fix fetching standard newsletters and post-notification history items
MAILPOET-5698
2023-12-11 10:58:22 +01:00
Jan Lysý
899b68f2df Remove setting click_id to zero and keep the old one
Setting newsletter_id and click_id blocked deleting newsletters due to the unique index.
[MAILPOET-5607]
2023-09-26 01:52:19 -07:00
John Oleksowicz
0e770ed649 Use CarbonImmutable instead of Carbon
MAILPOET-5574
2023-09-11 13:49:57 +02:00
John Oleksowicz
000cb5e6d5 Add limit to mailpoet_archive shortcode
MAILPOET-5574
2023-09-11 13:49:57 +02:00
John Oleksowicz
ec71b44648 Add ability to filter mailpoet_archive by subject
MAILPOET-5574
2023-09-11 13:49:57 +02:00
John Oleksowicz
a0c1a137d6 Update mailpoet_archive to accept date params
MAILPOET-5574
2023-09-11 13:49:57 +02:00
Rostislav Wolny
3ff4ba0c86 Delete WP Posts when deleting Newsletter Entities
[MAILPOET-5365]
2023-08-24 15:44:34 +02:00
David Remer
5649dd22bb Do not delete revenue, but update newsletter_id and click_id
[MAILPEOT-5486]
2023-08-22 10:19:37 +02:00
Sam Najian
c84a6894ba Throw and log the issue if coupon was not found when rendering
[MAILPOET-4983]
2023-03-01 17:46:22 +01:00
Sam Najian
534bff5a80 Show a notice on top of newsletter listing for corrupt emails
[MAILPOET-4983]
2023-03-01 17:46:22 +01:00
Rostislav Wolny
62cff7b388 Refactor analytics data campaigns_count to be more future proof
[MAILPOET-5014]
2023-01-30 09:21:39 +01:00
Rostislav Wolny
0cf2787937 Add email campaigns count to WC tracker data
[MAILPOET-5014]
2023-01-30 09:21:39 +01:00
Rostislav Wolny
68187a0fb6 Add product discovery status detection to homepage data service
[MAILPOET-4827]
2023-01-23 16:48:52 +01:00