Commit Graph

37 Commits

Author SHA1 Message Date
Rodrigo Primo
6a438f68d8 Remove duplicated method in ScheduledTaskSubscribersRepository
[MAILPOET-5422]
2023-06-23 16:59:32 +02:00
David Remer
a69b2ee7dc Query for tasks by type and subscriber
[MAILPOET-4934]
2023-05-15 08:19:19 +02:00
Sam Najian
397232e932 Set status of scheduled_task to invalid if it has not subs
[MAILPOET-5134]
2023-04-03 11:53:49 +02:00
Jan Lysý
2547f4bfbd Replace old model usages by Doctrine
[MAILPOET-4303]
2023-03-22 09:20:11 +01:00
Jan Lysý
2ead4214cd Move query with inserting task subscribers to repository
[MAILPOET-4303]
2023-03-22 09:20:11 +01:00
Jan Lysý
d54e666eea Fix ordering by subscriber
[MAILPOET-4660]
2023-03-09 13:02:45 +01:00
Sam Najian
3ec2a187de Force a re-render when resuming a corrupt newsletter
[MAILPOET-5104]
2023-03-06 12:53:02 +01:00
Jan Lysý
26a85458a5 Remove usage Sending::createFromQueue from Scheduler test
[MAILPOET-4369]
2023-03-02 12:39:35 +02:00
Jan Lysý
20e435872f Add method for update processed subscribers
[MAILPOET-4369]
2023-03-02 12:39:35 +02:00
John Oleksowicz
49c85c05ed Move campaignId generation to more logical place
MAILPOET-5034
2023-02-26 15:20:48 +01:00
John Oleksowicz
0435c09c53 Calculate and store campaign IDs on sending queues
[MAILPOET-5033]
2023-02-26 15:20:48 +01: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
Jan Jakes
c67c58709b Unify spacing of declare statements
[MAILPOET-2688]
2022-11-29 15:04:09 +01:00
Jan Lysý
c121c60e8c Fix condition for the running status
[MAILPOET-4664]
2022-11-21 12:45:28 +01:00
Jan Lysý
110859508e Fix tasks order on the status page
[MAILPOET-4664]
2022-11-21 12:45:28 +01:00
Jan Lysý
efd3377ecd Fix count of tasks on the status page
[MAILPOET-4664]
2022-11-21 12:45:28 +01:00
Jan Lysý
d2247a1c76 Refactor parameter from int to entity
[MAILPOET-4372]
2022-10-12 11:44:37 +02:00
Jan Lysý
a1e96c63a0 Remove old model usages from AutomaticEmailScheduler
[MAILPOET-4372]
2022-10-12 11:44:37 +02:00
Jan Lysý
745ff6af2a Remove SendingTask usages from AutomaticEmailTest
[MAILPOET-4372]
2022-10-12 11:44:37 +02:00
Jan Lysý
6989bd9413 Make limit parameter optional
Unification function parameters with a similar method from the repository.
[MAILPOET-4367]
2022-09-19 11:07:16 +02:00
Jan Lysý
9e7a3c2767 Add method for finding scheduled tasks
[MAILPOET-4367]
2022-09-19 11:07:16 +02:00
Jan Lysý
abfab0b0ea Use currentTimme from WP
[MAILPOET-4367]
2022-09-19 11:07:16 +02:00
Jan Lysý
aa84ce66a6 Add new method into repository
[MAILPOET-4309]
2022-08-31 13:42:21 +02:00
Sam Najian
e3b02a9a64 PR feedback adjustments
[MAILPOET-4355]
2022-08-22 11:24:06 +02:00
Sam Najian
73d15c8c44 Move getLatestTasks to ScheduledTasksRepository
- Move the method
- Adjust the usages
- Adjust and update tests

[MAILPOET-4355]
2022-08-22 11:24:06 +02:00
Sam Najian
bf1ddbedbc Move getCountsPerStatus to ScheduledTasksRepository
- Move getCountsPerStatus
- Defined test for getCountsPerStatus
- Update usage

[MAILPOET-4355]
2022-08-22 11:24:06 +02:00
Jan Lysý
5dfda9f3e2 Move task type const from entity to worker
[MAILPOET-4366]
2022-08-19 15:11:23 +02:00
Jan Lysý
77eaa7e710 Remove check that sending queue is deleted at
[MAILPOET-4366]
2022-08-19 15:11:23 +02:00
Jan Lysý
5f30c7a511 Add method for getting running sending tasks
[MAILPOET-4366]
2022-08-19 15:11:23 +02:00
Rodrigo Primo
2ecf5fc2fa Simplify code by using intval() instead of if
[MAILPOET-4357]
2022-08-16 15:03:52 +02:00
Rodrigo Primo
6127336eab Simplify code by removing some duplication
[MAILPOET-4357]
2022-08-16 15:03:52 +02:00
Rodrigo Primo
d8770675a4 Replace Paris models with Doctrine entities in BatchIterator
[MAILPOET-4357]
2022-08-16 15:03:52 +02:00
Jan Lysý
155445b313 Remove old model from SendingQueue Migration
[MAILPOET-4358]
2022-08-01 13:09:20 +02:00
Rodrigo Primo
dd6cbbbbce Create SendingQueuesRepository::countAllByNewsletterAndTaskStatus()
This method will be used in a subsequent commit to replace some of the
usages of the method SendingQueue::findTaskByNewsletterId() as part of
the refactor from Paris to Doctrine.

[MAILPOET-4138]
2022-05-09 13:04:56 +02:00
Rostislav Wolny
4f471d26bc Add listing repository for scheduler task subscribers
[MAILPOET-4006]
2022-04-04 15:33:52 +02:00
Rostislav Wolny
823aca38e4 Refactor fetching task ids to doctrine in task subscribers listing
[MAILPOET-4006]
2022-04-04 15:33:52 +02:00
Jan Jakes
9f790efbf0 Move plugin files to a subfolder
[MAILPOET-3988]
2022-01-18 15:30:22 +01:00