Pavel Dohnal
fd893cec0e
Remove newsletter logging where is no newsletter
...
[MAILPOET-1595]
2018-10-18 09:07:32 +02:00
Pavel Dohnal
e4db455a47
Add post notification logging
...
[MAILPOET-1536]
2018-10-01 15:02:12 +02:00
Rostislav Wolny
665fce9dbb
Temporarily set every sending error to hard
...
This is temporary solution until we implement follow-up feature https://mailpoet.atlassian.net/browse/MAILPOET-1155
[MAILPOET-1154]
2018-09-13 11:12:38 +02:00
Rostislav Wolny
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
Rostislav Wolny
ea4c5f46fb
Refactor sendingQueue to distinguish bulk/individual sending method
...
[MAILPOET-1154]
2018-09-13 11:12:38 +02:00
Rostislav Wolny
3ae8763837
Refactor sending error handling to extra class
...
The SendigQueue worker is already a very complex class and handles a lot of things.
Since we want to make error handling more sophisticated it is better to move the error handling responsibility
to a new class.
[MAILPOET-1154]
2018-09-13 11:12:38 +02:00
Rostislav Wolny
223c2e1562
Add subscriber errors passing via MailerError object
...
We want to process errors for individual subscribers.
Subscriber errors were inlined into error message string.
This commit changes this so that we are now able to get
subscriber errors as a data which are easy to process further.
[MAILPOET-1154]
2018-09-13 09:48:54 +02:00
Rostislav Wolny
0923c892c1
Refactor sending methods to use error mappers
...
We want to add some logic to error handling.
This commit extracts error handling code from sending methods classes,
which already do a lot of other stuff, to error mappers which are responsible
for creating proper error object (MailerError). This error object is a replacement
for assoc. array which already had some special keys for certain usecases and
can not be properly type hinted.
[MAILPOET-1154]
2018-09-13 09:33:26 +02:00
Rostislav Wolny
8cf5d17cfd
Refactor sending task variable name and add typehint
...
[MAILPOET-1154]
2018-09-13 09:33:26 +02:00
Pavel Dohnal
27b9857e6a
Improve error reporting for MSS sending
...
[MAILPOET-1445]
2018-07-19 16:21:23 +01:00
Pavel Dohnal
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
Tautvidas Sipavičius
a588e95762
Add a limit to fetch 5 scheduled tasks at a time [MAILPOET-1366]
2018-05-02 23:27:30 +03:00
Vlad
afefa89466
Ensures that queues are instance of the scheduled task class
2018-04-11 18:58:29 -04:00
Michelle Shull
a3cabad752
Merge pull request #1268 from mailpoet/sending_queue_refactoring
...
Refactor sending queues to use scheduled task and task subscriber tables [MAILPOET-903]
2018-03-20 08:47:26 -04:00
Vlad
4469cef647
Fixes cast statement format
2018-03-13 11:28:25 +00:00
Vlad
4c4f6be59b
Passes object as value instead of reference
2018-03-13 11:28:25 +00:00
stoletniy
c0c57f6b67
Sending queue refactoring WIP [MAILPOET-903]
2018-02-13 11:39:50 +03:00
Vlad
a7a8cd2be4
Updates filter name
2018-01-16 08:20:29 -05:00
Vlad
3bf800b51d
Adds filter to set custom batch processing size
2018-01-14 12:39:16 -05:00
Vlad
19c7efc9ef
Pauses sending if processed subscribers list can't be updated
2018-01-09 12:25:04 +00:00
Pavel Dohnal
0271675cd0
Use dynamic segments for sending queue
...
[PREMIUM-38]
2017-10-18 10:08:04 +01:00
Amine Ben hammou
de261d6179
Added confirmation when 'edit' is clicked
2017-08-15 12:55:05 +00:00
Amine Ben hammou
a587b0a966
Links are not re-hashed when re-rendering the same newsletter
2017-08-15 12:55:05 +00:00
Tautvidas Sipavičius
7e6d900b53
Merge pull request #997 from mailpoet/scheduled_task_subscribers
...
Extract subscribers to a separate table in the Bounce worker [MAILPOET-987]
2017-07-24 17:14:38 +03:00
stoletniy
b42d8e68d9
Rename removeSubscribers() method and encapsulate task completion logic [MAILPOET-987]
2017-07-20 11:22:47 +03:00
Vlad
34d09ce0c9
Sets mailer log error when queue cannot be saved during newsletter
...
pre-processing
2017-07-14 23:15:14 -04:00
Vlad
95b5206e8b
Updates sending queue worker to set newsletter's sent_at field when
...
newsletter is sent
2017-07-07 11:05:39 -04:00
Pavel Dohnal
27a734d005
Not include sensitive data in rendered subject
...
[MAILPOET-826]
2017-06-21 10:25:40 +01:00
mrcasual
cbcd9fb22f
Adds support for list-unsubscribe header to the MSS method
...
[MAILPOET-956]
2017-06-19 16:19:31 +01:00
Tautvidas Sipavičius
028de860a2
Merge pull request #913 from mailpoet/sending_queue_update_on_newsletter_status_change
...
Prevents processing of sending queues when newsletter is paused [MAILPOET-900]
2017-06-06 15:00:21 +03:00
Vlad
344990d59e
Only processes queues when newsletter exists and is active/sending
2017-06-02 12:03:34 -04:00
Vlad
92e4cc6a24
Sorts sending queue according to their creation date (oldest to newest)
2017-06-01 13:21:03 -04:00
Alexey Stoletniy
3f151fd235
Extract simple workers common code into a base class [PREMIUM-4]
2017-05-08 07:38:56 +03:00
Amine Ben hammou
8157780b68
removing uneeded code and moving the url generation to proper class
2017-04-18 21:12:41 +02:00
Amine Ben hammou
771a1bfc44
Adding List-Unsubscribe to header of newsletters
2017-04-15 21:21:28 +00:00
Alexey Stoletniy
1010c6f4f0
Remove a space [MAILPOET-859]
2017-03-15 13:15:34 +03:00
Alexey Stoletniy
8dd698ec75
Fix Welcome email sending [MAILPOET-859]
2017-03-15 12:12:47 +03:00
Vlad
3cde437628
Adds enforcement of global subcriber subscription status and
...
subscribption to segments to which newsletter is sent
2017-03-09 20:38:34 -05:00
Vlad
ccba1925b1
Prevents sending to unsubscribed subscribers
2017-03-07 18:55:49 -05:00
Vlad
5d88938d94
Reduces sending batch size
2017-03-06 19:05:14 -05:00
mrcasual
0535e1eaeb
Merge pull request #737 from mailpoet/sending_service_bounce_sync
...
Add bounce synchronization with MailPoet Sending Service [MAILPOET-696]
2016-12-08 21:47:55 -05:00
Alexey Stoletniy
baf0d374ae
Add bounce synchronization with MailPoet Sending Service [MAILPOET-696]
2016-12-06 22:48:36 +03:00
Vlad
398109dcf7
- Runs mailer and cron execution limit checks at the same and in 3
...
locations: before processing, after each send operations and after queue
processing
- Fixes an issue with sending continuing when newsletter is trashed
- Updates unit tests
2016-12-05 09:37:18 -05:00
Jonathan Labreuille
f77e24105d
Merge pull request #709 from mailpoet/sending_restart
...
Sending retry/pause/restart [MAILPOET-653]
2016-11-29 13:51:53 +01:00
Vlad
e72a8efbd4
- Sorts queues to process according to their priority in ascending manner
2016-11-28 12:04:21 -05:00
Vlad
8c14df6c1f
- Rebases master and updates method names
2016-11-28 09:50:32 -05:00
Vlad
72f696e834
- Removes unused logic to deal with "failed" subscribers
...
- Updates sending queue worker to handle new mailer response format
2016-11-28 09:50:32 -05:00
Vlad
8e438e1819
- Enforces worker execution limit between each send operation
2016-11-23 12:02:48 -05:00
Vlad
1ac288d286
- Prevents newsletters from being sent to trashed subscribers
...
- Updates unit tests
- Addresses #629
2016-10-21 14:36:44 -04:00
Vlad
2fa5e5ead2
- Moves logic of the Subscribers task to the Sending Queue model
2016-09-19 21:53:13 -04:00