Jan Jakes
c0ef898dc0
Remove no longer needed Scheduler code
...
[MAILPOET-4375]
2023-11-02 12:53:36 +01:00
Jan Jakes
2d027d4482
Rewrite Scheduler::processScheduledTransactionalEmail() using Doctrine
...
[MAILPOET-4375]
2023-11-02 12:53:36 +01:00
Jan Jakes
a8a98478fe
Rewrite Scheduler::processScheduledAutomationEmail() using Doctrine
...
[MAILPOET-4375]
2023-11-02 12:53:36 +01:00
Jan Jakes
bd193968b1
Rewrite Scheduler::processReEngagementEmail() using Doctrine
...
[MAILPOET-4375]
2023-11-02 12:53:36 +01:00
Jan Jakes
a488d0b275
Rewrite Scheduler::processScheduledAutomaticEmail() using Doctrine
...
[MAILPOET-4375]
2023-11-02 12:53:36 +01:00
Jan Jakes
d574b55b3f
Rewrite Scheduler::processScheduledStandardNewsletter() using Doctrine
...
[MAILPOET-4375]
2023-11-02 12:53:36 +01:00
Jan Jakes
1ef88a5fb5
Rewrite Scheduler::processPostNotificationNewsletter() using Doctrine
...
[MAILPOET-4375]
2023-11-02 12:53:36 +01:00
Jan Jakes
6517c697d6
Rewrite Scheduler::processWelcomeNewsletter() using Doctrine
...
[MAILPOET-4375]
2023-11-02 12:53:36 +01:00
Jan Jakes
a1c0399e96
Implement scheduler task, queue, and subscribers removal with Doctrine
...
[MAILPOET-4375]
2023-11-02 12:53:36 +01:00
Jan Jakes
e81a7c1517
Enable usage of both Doctrine and legacy task/queue entities in scheduler loop
...
[MAILPOET-4375]
2023-11-02 12:53:36 +01:00
John Oleksowicz
38e709e3b1
Filter subscribers when creating scheduled tasks
...
MAILPOET-5509
2023-08-31 14:16:10 +02:00
Rodrigo Primo
cc03b21e32
Add return type to verifySubscriber()
...
[MAILPOET-4370]
2023-05-30 13:12:29 +02:00
Rodrigo Primo
7a82270769
Add types to verifyWPSubscriber() based on PR reviewer feedback
...
[MAILPOET-4370]
2023-05-30 13:12:29 +02:00
Rodrigo Primo
bb2c77de31
Simplify verifyMailpoetSubscriber() by setting types in the signature
...
[MAILPOET-4370]
2023-05-30 13:12:29 +02:00
Rodrigo Primo
06a2c4e2bc
Refactor Scheduler to use SubscriberEntity instead of Subscriber model
...
It was necessary to add a call to SubscribersRepository::remove() to two
integration tests to make sure Doctrine cleared its internal cache.
Maybe this should be handled by SubscribersRepository::bulkDelete().
[MAILPOET-4370]
2023-05-30 13:12:29 +02:00
Rodrigo Primo
b251fa8ee9
Replace SubscribeSegment model with Doctrine code in Scheduler
...
[MAILPOET-4370]
2023-05-30 13:12:29 +02:00
Rodrigo Primo
6da2b5ad82
Refactor Scheduler::process() to use Doctrine
...
[MAILPOET-4370]
2023-05-30 13:12:29 +02:00
Rodrigo Primo
2ea8309908
Refactor processScheduledAutomaticEmail() to use Doctrine
...
[MAILPOET-4370]
2023-05-30 13:12:29 +02:00
Rodrigo Primo
e24d12f641
Refactor verifyMailpoetSubscriber() and verifyWPSubscriber()
...
Refactor those two methods to use Doctrine instead of Paris.
[MAILPOET-4370]
2023-05-30 13:12:29 +02:00
Rodrigo Primo
fcc2f93d91
Refactor deleteQueueOrUpdateNextRunDate() to use Doctrine
...
[MAILPOET-4370]
2023-05-30 13:12:29 +02:00
Rodrigo Primo
5e9b820607
Refactor processPostNotificationNewsletter() to use Doctrine
...
[MAILPOET-4370]
2023-05-30 13:12:29 +02:00
Rodrigo Primo
0c74a5ae8c
Refactor processWelcomeNewsletter() to use Doctrine
...
[MAILPOET-4370]
2023-05-30 13:12:29 +02:00
Rodrigo Primo
3b46668784
Refactor processScheduledStandardNewsletter() to use Doctrine
...
[MAILPOET-4370]
2023-05-30 13:12:29 +02:00
Rodrigo Primo
ca3b5032ca
Replace Newsletter model with NewsletterEntity in SchedulerTest
...
Temporary code was added to Scheduler to make some of its methods work
both with a Newsletter model and a NewsletterEntity.
[MAILPOET-4370]
2023-05-30 13:12:29 +02:00
Jan Jakes
69f21814e3
Rename "transactional" email type to "automation_transactional"
...
[MAILPOET-5258]
2023-04-24 09:54:08 +03:00
David Remer
19c6f777fc
Schedule transactional emails to all subscribers who are not bounced
...
[MAILPOET-4999]
2023-04-17 13:59:39 +02:00
Jan Jakes
926620e8f8
Ignore strict types rule in all existing files that don't have it
...
[MAILPOET-2688]
2022-11-29 15:04:09 +01:00
Rostislav Wolny
918a4d7c74
Refresh the sending queue entity when fetching it from the old model
...
By moving the refresh code into the method used for getting sending queue entity for the old model object
we want to make our code better protected from working with inconsistent sending queue data.
[MAILPOET-4750]
2022-10-27 12:08:31 +02:00
David Remer
522629eeff
Update other instances where SendingTask and Entity get out of sync
...
[MAILPOET-4708]
2022-10-10 17:13:17 +02:00
David Remer
94da004454
Refresh newsletterEntity and taskEntity.
...
We need to refresh those, because the database values have
changed and Doctrine needs to clear its internal cache.
[MAILPOET-4708]
2022-10-10 17:13:17 +02:00
Jan Lysý
0551d02815
Add refreshing sending queue
...
Because we are still working with old model on some places, it's necessary to refresh both sides of the relation.
[MAILPOET-4685]
2022-09-29 15:19:09 -03:00
Jan Lysý
2cf3f37f5c
Fix creation notification history records
...
[MAILPOET-4679]
2022-09-26 13:23:28 +02:00
Jan Lysý
bc8be524fb
Use ScheduledTaskEntity instead of Sending
...
[MAILPOET-4367]
2022-09-19 11:07:16 +02:00
Jan Lysý
97801cfe25
Remove usage of Sending::getScheduledQueues
...
[MAILPOET-4367]
2022-09-19 11:07:16 +02:00
Jan Jakes
047bd94d98
Implement sending for automation emails
...
[PREMIUM-194]
2022-09-08 09:20:20 +02:00
Jan Lysý
fecb26b3b5
Replace usage ScheduledTask::touchAllByIds with repository
...
[MAILPOET-4309]
2022-08-31 13:42:21 +02:00
Jan Lysý
c1e9f86a32
Remove usage of old model for creating post notification history
...
[MAILPOET-4310]
2022-08-22 11:04:45 +02:00
David Remer
ca3f8bdc43
Make Scheduler non-static
...
[MAILPOET-4252]
2022-04-25 12:08:18 +02:00
Rostislav Wolny
9b71a7804c
Update Monolog/Monolog from v1 to v2
...
[MAILPOET-4175]
2022-03-28 13:49:41 +02:00
Rodrigo Primo
54ecb6065c
Replace old ScheduledTask model with ScheduledTaskEntity in SubscribersFinder
...
[MAILPOET-3925]
2022-03-28 08:13:53 +02:00
Rodrigo Primo
0a73135c83
Replace old Segment model with Doctrine in SubscribersFinder
...
[MAILPOET-3925]
2022-03-28 08:13:53 +02:00
Jan Jakes
9f790efbf0
Move plugin files to a subfolder
...
[MAILPOET-3988]
2022-01-18 15:30:22 +01:00