Commit Graph

2878 Commits

Author SHA1 Message Date
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
Tautvidas Sipavičius
b7c1594cf6 Merge pull request #732 from mailpoet/import_export_select2_fix
Import/export dependency injection of Select2 [MAILPOET-723]
2016-12-05 16:25:29 +02:00
Jonathan Labreuille
3d24f0c77b handle db update 2016-12-05 13:14:12 +01:00
stoletniy
13001008c4 Merge pull request #731 from mailpoet/sending_restart_update
Prevents sent newsletters from being paused/updates error messages [MAILPOET-718] [MAILPOET-719]
2016-12-05 13:54:34 +03:00
Vlad
4b8caccb46 - Fixes subscriber shortcodes not being rendered when sending a preview
newsletter
2016-12-04 19:48:25 -05:00
Vlad
04ae6efaf6 - Updates connection/mailer error messages 2016-12-04 17:22:20 -05:00
Vlad
98812834f6 - Uses dependency injection for Select2 library 2016-12-03 19:18:17 -05:00
mrcasual
732ea59e34 Merge pull request #727 from mailpoet/import_step2_subs_count_fix
Fix import step 2 list selection box tallying unconfirmed subscribers… [MAILPOET-709]
2016-12-02 11:20:18 -05:00
Vlad
9b9e31fcc8 - Prevents sent newsletters' status from changing to "paused" when
sending error is displayed
2016-12-02 10:39:29 -05:00
stoletniy
9b44becc7d Merge pull request #729 from mailpoet/mailer_endpoint_update
Fixes mailer's error message not being displayed in Settngs [MAILPOET-715]
2016-12-01 10:49:36 +03:00
Vlad
82e153a2e8 - Fixes mailer's error message not being displayed 2016-11-30 13:31:02 -05:00
stoletniy
dc981b23e4 Merge pull request #728 from mailpoet/mailer_tests_update
Updates mailer methods unit tests [MAILPOET-714]
2016-11-30 21:28:45 +03:00
Vlad
eb3f872dc6 - Updates mailer unit test 2016-11-30 12:39:27 -05:00
stoletniy
3f9b41f042 Merge pull request #725 from mailpoet/import_fix
Fixes subscribers not being added to list(s) upon import [MAILPOET-712]
2016-11-30 19:15:59 +03:00
Vlad
9e4762cbd7 - Updates mailer methods unit tests 2016-11-30 10:59:34 -05:00
Vlad
249824b83c - Updates unit test 2016-11-30 10:54:07 -05:00
Tautvidas Sipavičius
0b89a6d2ff Merge pull request #726 from mailpoet/cron_blocking_requests
Fixes Cron on hosts that don't support non-blocking HTTP requests [MAILPOET-692]
2016-11-30 14:17:13 +02:00
Alexey Stoletniy
b074b01b9f Fix import step 2 list selection box tallying unconfirmed subscribers (item B from #476)
Segments::getSegmentsForImport() was aliased to Segments::getSegmentsWithSubscriberCount()
2016-11-30 12:21:08 +03:00
Vlad
9a0bb52860 - Fixes subscribers not being added to list(s) upon import 2016-11-29 15:28:56 -05:00
Vlad
bf36deccb2 - Enables blocking requests for Cron and fixes an issue on hosts that
don't support non-blocking requests
2016-11-29 15:03:51 -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
Tautvidas Sipavičius
f90ba712ee Bump up release version to 3.0.0-beta.6 3.0.0-beta.6 2016-11-29 14:18:40 +02:00
Tautvidas Sipavičius
c658778476 Merge pull request #723 from mailpoet/bounced_subscribers
Add 'Bounced' status to subscribers [MAILPOET-684]
2016-11-29 12:47:41 +02:00
Alexey Stoletniy
c221e52cc4 Remove a temp file [MAILPOET-684] 2016-11-29 13:39:11 +03:00
stoletniy
556803af5d Merge pull request #724 from mailpoet/scheduler_and_queue_priority_update
Scheduler and queue priority update [MAILPOET-706] [MAILPOET-707]
2016-11-29 13:12:52 +03:00
Vlad
5bc17f5e76 - Saves welcome emails with high priority
- Fixes welcome emails not being sent to WP users
- Updates unit tests
2016-11-28 18:49:35 -05:00
Vlad
fe537a0445 - Adds a missing class import 2016-11-28 12:20:22 -05:00
Vlad
08ec4e83c8 - Adds method to clear previous errors
- Updates unit tests
- Rebases master
2016-11-28 12:20:13 -05:00
Vlad
e72a8efbd4 - Sorts queues to process according to their priority in ascending manner 2016-11-28 12:04:21 -05:00
Vlad
c49d96d63a - Adds piority constants
- Sets medmium priority as default when none is specified
2016-11-28 12:03:09 -05:00
Alexey Stoletniy
36b935b9ae Add 'Bounced' status to subscribers [MAILPOET-684]
Fix SubscriberTest->testItHasGroupFilter() making only one of four assertions due to lack of data.
Fix a small issue with Import. Unexpected values for the status field were converted to 'unconfirmed' rather than 'subscribed' due to non-strict comparison in in_array(). This hindered 'bounced' status import as well.
2016-11-28 19:37:47 +03:00
Jonathan Labreuille
f1985f7e81 refresh listing after resuming mailer sending 2016-11-28 09:50:32 -05:00
Vlad
8c14df6c1f - Rebases master and updates method names 2016-11-28 09:50:32 -05:00
Vlad
181c0cab36 - Displays notice only when sending has been paused 2016-11-28 09:50:32 -05:00
Jonathan Labreuille
2a04c3c054 refactored mailer mixin - removed notices.jsx 2016-11-28 09:50:32 -05:00
Jonathan Labreuille
80efc3c12d Added callback afterGetItems on Listings
Updated MP Notice to allow reuse of notices (by id)
Updated newsletters endpoint's listing method to include mta_log & mta_method in response
Updated all newsletter listings in order to dynamically display mailer error
2016-11-28 09:50:32 -05:00
Vlad
8b96806b11 - Updates variable names 2016-11-28 09:50:32 -05:00
Vlad
a2f7fbac33 - Checks window parameters
- Defines constants in main components and passes them to
  subcomponents/mixins
2016-11-28 09:50:32 -05:00
Vlad
981cb91a13 - Adds space 2016-11-28 09:50:32 -05:00
Vlad
89545ba104 - Adds unit tests 2016-11-28 09:50:32 -05:00
Vlad
709b76d01e - Updates/adds translations 2016-11-28 09:50:32 -05:00
Vlad
da2d6dd405 - Updates newsletter listings components to render notices 2016-11-28 09:50:32 -05:00
Vlad
28f5375609 - Adds new component to display notices in newsletter listings
- Displays sending error notice if sending has been globally paused
2016-11-28 09:50:32 -05:00
Vlad
37a259f73b - Displays "paused" status for all newsletters if sending is paused
globally
- Adds new mixin to globally restart sending
2016-11-28 09:50:32 -05:00
Vlad
cdb3b94cbd - Updates mailer endpoint to handle sending restart 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
57dff5ff00 - Corrects code comments
- Resets mailer log on each run
2016-11-28 09:50:32 -05:00
Vlad
90a0061233 - Updates mailer log to record error messages, track retry attempts and
pause sending
2016-11-28 09:50:32 -05:00
Vlad
2955b6d5a0 - Clarifies const values 2016-11-28 09:50:32 -05:00
Vlad
1d03482463 - Updates API endpoint with to handle the new mailer response format 2016-11-28 09:50:32 -05:00