Commit Graph

2602 Commits

Author SHA1 Message Date
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
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
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
c658778476 Merge pull request #723 from mailpoet/bounced_subscribers
Add 'Bounced' status to subscribers [MAILPOET-684]
2016-11-29 12:47:41 +02: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
Vlad
8c14df6c1f - Rebases master and updates method names 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
981cb91a13 - Adds space 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
Vlad
d1def923f8 - Enables error response in newsletter preview if sending fails 2016-11-28 09:50:32 -05:00
Vlad
8a278360f4 - Adds methods to format mailer send/connection succes & error results
- Updates all mailing methods to return true on success and error message
  on failure
2016-11-28 09:50:32 -05:00
Vlad
5d12de8ec0 - Removes unused mailing methods 2016-11-28 09:47:07 -05:00
Tautvidas Sipavičius
daa36c833f Merge pull request #722 from mailpoet/mailer_sender_and_subscriber_unicode_support
Fix for unicode characters in to/reply-to/from fields [MAILPOET-705]
2016-11-28 16:02:02 +02:00
Vlad
a9e02f745f - Encodes non-ASCII from/reply-to/to addresses as per RFC 2047 2016-11-28 08:56:14 -05:00
Tautvidas Sipavičius
a04f5a2d25 Merge pull request #717 from mailpoet/import_fix
Fixes import of duplicate subscribers and whose column data is incomplete [MAILPOET-694]
2016-11-28 15:05:35 +02:00
Vlad
71fbc1a7b0 - Simplifies code that prepares subscriber custom field data for
creation/update
- Updates tests
2016-11-27 20:53:20 -05:00
Vlad
677060491d - Fixes an issue with unicode characters not rendering in from/reply-to/to
fields.
2016-11-25 15:34:55 -05:00
Tautvidas Sipavičius
03fec11947 Merge pull request #720 from mailpoet/renderer_update
Newsletter text version rendering warning [MAILPOET-704]
2016-11-25 16:26:02 +02:00
Tautvidas Sipavičius
a0817a1e97 Merge pull request #721 from mailpoet/amazon_ses_fix
Amazon SES sending fix [MAILPOET-698]
2016-11-25 16:00:49 +02:00
Vlad
1926b7ba29 - urlencodes POST data and fixes the "unable to determine service/operation
name to be authorized" error
2016-11-24 17:20:54 -05:00
Vlad
75602be304 - Converts special chars to HTML entities in subject
- Silences warnings from HTML->text renderer
2016-11-24 11:15:06 -05:00
Vlad
8e438e1819 - Enforces worker execution limit between each send operation 2016-11-23 12:02:48 -05:00
Vlad
0c8cc27ea2 - Updates MailChimp API key regex 2016-11-22 12:44:58 -05:00
Vlad
6f49201393 - Extends save() method to convert emails to lowercase format 2016-11-22 12:13:13 -05:00
Vlad
7bf9e8b06e - Removes unused method 2016-11-22 12:12:51 -05:00
Tautvidas Sipavičius
9a82e718ce Merge pull request #715 from mailpoet/queue_delete_update
Sending queue deletes parent newsletter [MAILPOET-683]
2016-11-22 13:49:08 +02:00
Vlad
d8b1be9ccc - Deletes related custom fields when deleting subscriber
- Updates unit tests
2016-11-21 22:38:43 -05:00
Vlad
7c61fa2c81 - Fixes an issue where a subscriber with the same email but different case
variant is not considered unique
- Fixes an issue where an object of existing subscribers would not have
  the same number of data in each child array due to null values being
  removed
- Updates unit tests
2016-11-21 21:53:43 -05:00
Vlad
0af99c771e - Fixes 'get_userdata() function not found' error
- Tidies up format
2016-11-21 20:26:08 -05:00
Vlad
c5488571be - Removes unused class imports 2016-11-21 20:25:23 -05:00
Vlad
e0aeeb29d9 - Deletes post notification history record when no posts are found and
when sending queue record is deleted
- Reverts back changes to the model's delete() method
- Updates unit tests
2016-11-21 19:27:08 -05:00
Tautvidas Sipavičius
fd417d8d95 Merge pull request #712 from mailpoet/access_to_temp_folder
Restricts access to plugin's temp/cache folder [MAILPOET-643]
2016-11-21 20:10:39 +02:00
Vlad
0291c3a9a0 - Updates models' delete() method to delete parent newsletter
- Updates unit tests
2016-11-20 12:31:04 -05:00
Vlad
bf54eeb345 - Updates error messages and links to KB articles
- Adds polyfills for mb_string functions
- Aborts initialization if PDO extension is not found (critical
  requirement)
2016-11-20 12:14:27 -05:00
Tautvidas Sipavičius
adc232fc3f Prevent MailPoet Page post type from showing up in menu MAILPOET-674 2016-11-18 12:56:06 +02:00
Vlad
7d15c391ea - Adds new Requirements Checker class
- Updates Initializer to check requirements
2016-11-16 21:46:21 -05:00