Commit Graph

6737 Commits

Author SHA1 Message Date
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
fe69b56692 Add soft level errors distinction for PHPMail method
[MAILPOET-1154]
2018-09-13 11:12:38 +02:00
Rostislav Wolny
45433c9deb Add soft level errors distinction for SMTP method
[MAILPOET-1154]
2018-09-13 11:12:38 +02:00
Rostislav Wolny
6437f4a1b3 Add soft level errors distinction for SendGrid service
[MAILPOET-1154]
2018-09-13 11:12:38 +02:00
Rostislav Wolny
6df1db933e Add soft level errors distinction for Amazon SES service
[MAILPOET-1154]
2018-09-13 11:12:01 +02:00
Rostislav Wolny
db3ddd22f1 Add soft level errors distinction for MailPoet service
[MAILPOET-1154]
2018-09-13 09:52:13 +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
Michelle Shull
f4f3ad225a fixes broken things [MQ-56] 2018-09-12 12:14:21 -04:00
Michelle Shull
5839b2df86 Made requested changes [MQ-56] 2018-09-12 11:31:01 -04:00
Michelle Shull
016560a01f Made requested changees [MQ-56] 2018-09-12 10:49:09 -04:00
Michelle Shull
1c814f7dcf Made requested changes [MQ-34] 2018-09-12 09:57:16 -04:00
Michelle Shull
05dd701be4 Made requested changes [MQ-34] 2018-09-12 09:38:51 -04:00
Tautvidas Sipavičius
8a2e9d2170 Merge pull request #1497 from mailpoet/trash-notification
Delete Post Notification [MQ-26]
2018-09-11 15:39:23 +03:00
Tautvidas Sipavičius
8ff02878e2 Release MP3 3.10 3.10 2018-09-11 15:29:02 +03:00
Michelle Shull
b904865beb Update SearchForNotificationCest.php 2018-09-10 13:39:49 -04:00
Michelle Shull
659ea14f4b Update SaveNotificationAsDraftCest.php 2018-09-10 13:38:04 -04:00
Michelle Shull
82a4681cd6 Merge pull request #1492 from mailpoet/translations-load
Rename global translations file [MAILPOET-1520]
2018-09-10 13:27:34 -04:00
Amine Ben hammou
a9a4f6b6ac update admin notice php version 2018-09-10 18:21:49 +01:00
Michelle Shull
2eb68ed561 Fixed spacing issues [MQ-34] 2018-09-10 11:40:36 -04:00
Michelle Shull
5e90447d8e Delete Post Notification [MQQ-26] 2018-09-10 11:11:30 -04:00
Michelle Shull
b658215515 Delete Post Notification [MQQ-26] 2018-09-10 10:40:56 -04:00
Michelle Shull
6c4c5bea37 Search for Notification [MQ-56] 2018-09-09 20:10:29 -04:00
Michelle Shull
08dd759e70 Save Notification as Draft [MQ-32] 2018-09-09 17:57:31 -04:00
Michelle Shull
1c1723a636 Delete Post Notification [MQ-26] 2018-09-09 16:15:04 -04:00
Michelle Shull
9105c8734d Confirm Notification Autosave Test [MQ-34] 2018-09-09 14:04:13 -04:00
Michelle Shull
7035d92815 Merge pull request #1491 from mailpoet/welcome-emails
Move welcome emails to free plugin [MAILPOET-1518]
2018-09-07 12:17:37 -04:00
Michelle Shull
cc5a4d0aac Merge pull request #1453 from mailpoet/schedule-standard
Schedule standard  [MQ-55] [MQ-45]
2018-09-07 10:06:38 -04:00
Michelle Shull
fd4af798f1 Update ScheduleNewsletterCest.php 2018-09-07 09:26:05 -04:00
Michelle Shull
bf03dd105f Merge pull request #1494 from mailpoet/nested-container-render
Fix rendering of nested vertical containers [MAILPOET-1524]
2018-09-06 14:07:56 -04:00
Michelle Shull
013ab522c6 Merge pull request #1493 from mailpoet/unsubscribe-link
Use newsletter body content to check for unsubscribe link [MAILPOET-1515]
2018-09-06 13:32:56 -04:00
Rostislav Wolny
3e9be631e4 Fix rendering of nested vertical containers
[MAILPOET-1524]
2018-09-06 14:14:21 +02:00
Michelle Shull
30538f9f9b Merge pull request #1490 from mailpoet/changelog-fix
Fix Changelog formatting in readme.txt [MAILPOET-1521]
2018-09-06 07:49:03 -04:00
Michelle Shull
428b7a1363 Schedule standard [MQ-55] [MQ-45] 2018-09-05 11:59:18 -04:00
Michelle Shull
ddcc6c03a0 Schedule standard [MQ-55] [MQ-45] 2018-09-05 11:33:59 -04:00
Pavel Dohnal
f8306635a7 Use newsletter body content to check for unsubscribe link
We used the whole newsletter but there is a defaultContent which always contains
unsubscribe link so the check always passed
2018-09-05 16:10:32 +02:00
Pavel Dohnal
8c10896bc8 Rename global translations file
[MAILPOET-1520]
2018-09-05 14:51:45 +02:00
Pavel Dohnal
8ee8498bd5 Move welcome emails to free plugin
[MAILPOET-1518]
2018-09-05 13:00:29 +02:00
Rostislav Wolny
a2ce279e23 Fix Changelog formatting in readme.txt
[MAILPOET-1521]
2018-09-04 17:55:33 +02:00
Rostislav Wolny
8623cbb164 Release 3.9.1 3.9.1 2018-09-04 16:37:52 +02:00
Michelle Shull
95f1f6e1fc Merge pull request #1485 from mailpoet/mp2-subscriber-status
Mark status as confirmed if MP2 double opt in is disabled [MAILPOET-1514]
2018-09-04 07:15:15 -04:00
Michelle Shull
ebe65cde9d Merge pull request #1484 from mailpoet/php-requirements-update
update php requirements [MAILPOET-1516]
2018-09-04 06:39:28 -04:00
Michelle Shull
d29b495082 Merge pull request #1488 from mailpoet/help-status-fixes
Help Page System Status JS fixes
2018-09-04 06:01:48 -04:00
Michelle Shull
3e085d9734 Merge pull request #1486 from mailpoet/migration-page
Simplify migration step page [MAIPOET-1513]
2018-09-03 12:47:32 -04:00
Michelle Shull
98a66b1f5b Merge pull request #1487 from mailpoet/remove-link
Remove link to checklist [MAILPOET-1512]
2018-09-03 12:05:08 -04:00
Rostislav Wolny
e17cbee363 Fix displaying of an error message in sending queue table and paused translation
[MAILPOET-1517]
2018-09-03 17:07:24 +02:00