Commit Graph

38 Commits

Author SHA1 Message Date
5da7110eb6 Use short array syntax
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
9f16cb6a5f Check for unused privates
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
e5f6211793 Ignore duplicities when preparing bounce task
[MAILPOET-1997]
2019-04-25 12:41:02 -04:00
3e66e9e1dd Fix phpstan level 6
[MAILPOET-1969]
2019-04-10 09:55:13 -04:00
7d6f69ec1d Upgrade PHPStan level to 3
[MAILPOET-1915]
2019-03-21 14:02:59 -04:00
ef0f6c9a5a Reduce the number of SQL queries 2019-02-28 15:56:40 -05:00
4dbca3efb3 Remove unnecessary condition 2019-02-28 15:56:40 -05:00
bed80e67f1 Use phpstan level 2
[MAILPOET-1822]
2019-02-21 13:49:52 -05:00
3ee58aea10 Add space between if and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
a935b091d3 Add space between elseif/else if and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
ebbdec5ebd Add space between foreach and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
1af4666744 Declare missing properties and methods for PHPStan 2019-01-23 21:30:24 +02:00
a46d98ec44 Refactor WPFunctions to be injectable with DI 2018-12-12 16:43:52 +01:00
a9f3eeeb0d User polyfill for array_column
[MAILPOET-1618]
2018-11-27 11:13:00 +01:00
624c6d900e Add processing of soft errors
When processing soft error we only save error to particular subscriber and continue sending.

[MAILPOET-1154]
2018-09-13 11:12:38 +02:00
5eb112f101 Merge pull request #1477 from mailpoet/remove-code-from-54
Remove code from 54 [MAILPOET-1496]
2018-08-27 14:11:50 -04:00
a08ed493cf Add join on queues to scheduled tasks query
[MAILPOET-1471]
2018-08-25 17:18:31 +02:00
54629b7690 Add missing deleted_at exclusion to scheduled queues query
[MAILPOET-1471]
2018-08-25 16:11:44 +02:00
ae0e03d2f3 Update code for PHP 5.5
[MAILPOET-1496]
2018-08-23 12:10:21 +02:00
7186f4b13a Add fetching of latest sending tasks for help page
[MAILPOET-1460]
2018-08-02 08:06:06 +02:00
1252f35a23 Add sending queue status to help page
[MAILPOET-1459]
2018-07-26 13:08:15 +02:00
32e02cbf52 Adds meta column to sending queues 2018-06-11 13:33:44 -04:00
2c290c6e4c Rotate sending queues
This should prevent sending queues to be stuck when a newsletter cannot be send.

[MAILPOET-1391]
2018-06-05 11:05:59 +01:00
b8ce6ff88c Rotate scheduled tasks
Scheduled tasks should rotate so that they don't block
sending when they cannot be send.

[MAILPOET-1391]
2018-06-04 16:00:32 +01:00
941b88495a Pause sending tasks for inactive notifications
[MAILPOET-1376]
2018-05-15 16:40:31 +01:00
7bb2d86f93 Fix private constant being impossible 2018-05-03 13:16:34 +03:00
2b351e4f34 Use constants for magic numbers, clean up tests 2018-05-03 13:07:29 +03:00
a588e95762 Add a limit to fetch 5 scheduled tasks at a time [MAILPOET-1366] 2018-05-02 23:27:30 +03:00
cb80b5ca69 Stops returning empty values when getting scheduled/running queues 2018-04-11 18:27:33 -04:00
467cf350e9 Abstract WP's current_time() function in the code base 2018-03-20 16:34:50 -04:00
be6647d763 Fix unit tests [MAILPOET-903] 2018-02-13 11:39:50 +03:00
0b17a1099b Bring back a check from MAILPOET-1261 (was omitted during rebase) 2018-02-13 11:39:50 +03:00
c0c57f6b67 Sending queue refactoring WIP [MAILPOET-903] 2018-02-13 11:39:50 +03:00
f98d02121b Fix BatchIterator skipping rows when subscribers' processed status is modified [MAILPOET-987] 2017-07-20 16:31:27 +03:00
b42d8e68d9 Rename removeSubscribers() method and encapsulate task completion logic [MAILPOET-987] 2017-07-20 11:22:47 +03:00
c924778d50 Rename unprocessed status, refactor counting a bit more clearly [MAILPOET-987] 2017-07-20 10:56:34 +03:00
55d3b67a2a Extract common and task-specific methods for subscribers [MAILPOET-940] 2017-07-13 13:27:28 +03:00
6a9b8d88c2 Extract subscribers to a separate table in the Bounce worker [MAILPOET-940] 2017-07-13 13:27:27 +03:00