Commit Graph

2602 Commits

Author SHA1 Message Date
Vlad
b590586d4c Reschedules previously scheduled sending queues when post notification's
scheduling options change
2017-03-07 18:39:55 -05:00
Vlad
5d88938d94 Reduces sending batch size 2017-03-06 19:05:14 -05:00
Vlad
66d039ace3 Catches exception thrown by cron dependency and prevents a fatal error 2017-02-27 19:21:32 -05:00
stoletniy
7f0195378c Merge pull request #833 from mailpoet/stop_daemon_with_sending_is_paused
Stops cron daemon when sending is paused due to an error [MAILPOET-839]
2017-02-27 16:49:55 +03:00
stoletniy
6caa3a069b Merge pull request #832 from mailpoet/mailer_output_escape_fix
Fixes double escaping of HTML entities in mailer output [MAILPOET-836]
2017-02-27 10:52:10 +03:00
Alexey Stoletniy
b2a92feb50 Restore unnecessary $this replacements [MAILPOET-840] 2017-02-27 10:18:14 +03:00
Vlad
c11b9677d5 Fixes 'Using $this when not in object context' error on PHP 5.3 2017-02-26 22:08:34 -05:00
Vlad
0e5a26ce1f Stops cron daemon when sending is paused due to an error 2017-02-26 11:26:59 -05:00
Vlad
40ec5569d0 Removes "unprocessed subscriber" message since MailPoet's mailer method
processes subscribers in batches of 50 and it makes no sense to display
them all
2017-02-25 10:32:14 -05:00
Vlad
d14ecc982b Does not display unprocessed subscriber when sending a test message 2017-02-24 11:18:27 -05:00
Vlad
9c27384ba3 Passes responsibility for mailer error message HTML entity escaping from
server to the client side
2017-02-24 11:06:20 -05:00
Alexey Stoletniy
bfc04bfa87 Fix bulk trashing/restoring not working for newsletters/forms on PHP 5.3 [MAILPOET-835] 2017-02-24 15:10:38 +03:00
Alexey Stoletniy
16724affad Remove an excess count() [MAILPOET-833] 2017-02-23 23:42:28 +03:00
mrcasual
384d59abe0 Update Newsletters.php
Removes request interruption when options are not found
2017-02-23 15:25:34 -05:00
Vlad
027414b7a2 Updates method data verification condition 2017-02-23 14:39:56 -05:00
Vlad
a1cd56c419 Updates newsletter option creation logic and fixes a bug that results in
them being wiped clean
2017-02-23 14:30:53 -05:00
mrcasual
6ee1c23f9a Merge pull request #829 from mailpoet/post_title_shortcode_fix
Fix post_title shortcode breaking sending if the post is trashed in the process [MAILPOET-831]
2017-02-23 14:41:24 +01:00
Alexey Stoletniy
44a223eba1 Fix post_title shortcode breaking sending if the post is trashed in the process [MAILPOET-831] 2017-02-23 16:33:18 +03:00
Alexey Stoletniy
bb80fc0860 Add unit tests for API endpoints injection [PREMIUM-4] 2017-02-22 18:02:58 +03:00
Alexey Stoletniy
6c7cc5de0d Implement support for additional endpoints in Free API [PREMIUM-4] 2017-02-22 11:19:35 +03:00
Jonathan Labreuille
063cc9edc3 added do_action() helper to twig + settings/basics hook 2017-02-22 10:12:08 +03:00
stoletniy
554add0882 Merge pull request #823 from mailpoet/smtp_mailer_logger_implementation
Provides detailed SMTP error message and shows last unprocessed subscriber [MAILPOET-823]
2017-02-21 18:09:23 +03:00
Vlad
689c340081 Converts special characters to HTML entities for all error messages 2017-02-21 09:55:18 -05:00
Tautvidas Sipavičius
59f408846a Make all default newsletter templates read-only 2017-02-21 16:32:03 +02:00
Tautvidas Sipavičius
64606e69cf Fix Populator to update existing newsletter templates and remove duplicates 2017-02-21 15:46:28 +02:00
Tautvidas Sipavičius
953c124ef0 Move newsletter template assets to be shared through WP plugin repo 2017-02-21 15:46:28 +02:00
mrcasual
2e1be55bf9 Merge pull request #826 from mailpoet/newsletter_restore_fix
Set newsletter status to draft when restoring newsletters trashed during sending [MAILPOET-816]
2017-02-21 13:54:17 +01:00
mrcasual
33125f2ce7 Merge pull request #820 from mailpoet/translations
Fix translations based on translators' feedback [MAILPOET-819]
2017-02-21 13:20:24 +01:00
Alexey Stoletniy
e99d2b380c Fix a space [MAILPOET-816] 2017-02-21 13:34:33 +03:00
Alexey Stoletniy
bcf89f0dfe Set newsletter status as draft when restoring newsletters trashed during sending [MAILPOET-816] 2017-02-21 13:13:59 +03:00
Tautvidas Sipavičius
3d64a42126 Merge pull request #819 from mailpoet/bulk_delete_custom_fields
Deletes custom fields associations when bulk deleting subscribers [MAILPOET-820]
2017-02-21 11:32:11 +02:00
Vlad
97eb772ab8 Enables temporarily disabled unit test 2017-02-20 13:17:06 -05:00
Vlad
bc40bbb44b Convert special characters to HTML entities when displaying email
addresses
2017-02-20 13:03:08 -05:00
Tautvidas Sipavičius
b3abf46604 Update outdated newsletter template translation strings 2017-02-20 14:58:53 +02:00
Tautvidas Sipavičius
6f19a1593e Fix translations from GDocs based on FxB's feedback [MAILPOET-819] 2017-02-20 14:58:53 +02:00
Vlad
bdcfd77d42 Returns last unprocessed subscriber in error message 2017-02-16 23:25:05 -05:00
mrcasual
2cd503e0e0 Merge pull request #822 from mailpoet/php71_button_rendering
Fix button block rendering producing notices on PHP 7.1 [MAILPOET-822]
2017-02-17 05:05:38 +01:00
Vlad
c9519f0b3d Adds logger to record SMTP communication
Returns a more complete error message and last unprocessed subscriber
2017-02-16 22:45:09 -05:00
Alexey Stoletniy
a3aa347fdf Fix button block rendering producing notices on PHP 7.1 [MAILPOET-822] 2017-02-16 17:53:36 +03:00
stoletniy
9955b8fda1 Merge pull request #821 from mailpoet/php53_fix
Replaces references to self::$variable with Class:$variable for PHP 5.3 hosts [MAILPOET-821]
2017-02-16 11:53:34 +03:00
Alexey Stoletniy
c994438fa8 Replace more self:: references in closures for PHP 5.3 [MAILPOET-821] 2017-02-16 11:22:26 +03:00
Vlad
3085ae575a Replaces references to self::$variable with Class:$variable for PHP 5.3
hosts
2017-02-15 18:27:52 -05:00
Vlad
793b8ce29e Deletes custom fields associations when bulk deleting subscribers 2017-02-15 15:40:26 -05:00
Vlad
e7698b0131 Optimizes DB query and result processing code 2017-02-15 10:02:13 -05:00
Vlad
440b7e4e6c Fixes DB query that returns large result set when there are thousands of
subscribers
2017-02-14 21:07:40 -05:00
mrcasual
a0b37eb08c Merge pull request #810 from mailpoet/list_stats_fix
Fix subscriber stats for lists ignoring subscription status and including trashed items [MAILPOET-807]
2017-02-14 14:27:59 +01:00
Alexey Stoletniy
cb813171ce Remove html_entity_decode() constants not supported by PHP 5.3 [MAILPOET-812] 2017-02-14 12:22:35 +03:00
Vlad
e74938df90 Updates code to use the extended pQuery class 2017-02-13 21:00:45 -05:00
Vlad
93f7739f46 Extends pQuery to use UTF-8 encoding on older versions of PHP 2017-02-13 21:00:32 -05:00
Alexey Stoletniy
b539eae7f9 Fix SendGrid error message assignment [MAILPOET-810] 2017-02-13 10:35:21 +03:00