Commit Graph

1443 Commits

Author SHA1 Message Date
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
ea4c5f46fb Refactor sendingQueue to distinguish bulk/individual sending method
[MAILPOET-1154]
2018-09-13 11:12:38 +02:00
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
fe69b56692 Add soft level errors distinction for PHPMail method
[MAILPOET-1154]
2018-09-13 11:12:38 +02:00
45433c9deb Add soft level errors distinction for SMTP method
[MAILPOET-1154]
2018-09-13 11:12:38 +02:00
6437f4a1b3 Add soft level errors distinction for SendGrid service
[MAILPOET-1154]
2018-09-13 11:12:38 +02:00
6df1db933e Add soft level errors distinction for Amazon SES service
[MAILPOET-1154]
2018-09-13 11:12:01 +02:00
db3ddd22f1 Add soft level errors distinction for MailPoet service
[MAILPOET-1154]
2018-09-13 09:52:13 +02:00
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
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
8cf5d17cfd Refactor sending task variable name and add typehint
[MAILPOET-1154]
2018-09-13 09:33:26 +02:00
f4f3ad225a fixes broken things [MQ-56] 2018-09-12 12:14:21 -04:00
5839b2df86 Made requested changes [MQ-56] 2018-09-12 11:31:01 -04:00
016560a01f Made requested changees [MQ-56] 2018-09-12 10:49:09 -04:00
1c814f7dcf Made requested changes [MQ-34] 2018-09-12 09:57:16 -04:00
05dd701be4 Made requested changes [MQ-34] 2018-09-12 09:38:51 -04:00
b904865beb Update SearchForNotificationCest.php 2018-09-10 13:39:49 -04:00
659ea14f4b Update SaveNotificationAsDraftCest.php 2018-09-10 13:38:04 -04:00
a9a4f6b6ac update admin notice php version 2018-09-10 18:21:49 +01:00
2eb68ed561 Fixed spacing issues [MQ-34] 2018-09-10 11:40:36 -04:00
5e90447d8e Delete Post Notification [MQQ-26] 2018-09-10 11:11:30 -04:00
b658215515 Delete Post Notification [MQQ-26] 2018-09-10 10:40:56 -04:00
6c4c5bea37 Search for Notification [MQ-56] 2018-09-09 20:10:29 -04:00
08dd759e70 Save Notification as Draft [MQ-32] 2018-09-09 17:57:31 -04:00
1c1723a636 Delete Post Notification [MQ-26] 2018-09-09 16:15:04 -04:00
9105c8734d Confirm Notification Autosave Test [MQ-34] 2018-09-09 14:04:13 -04:00
cc5a4d0aac Merge pull request #1453 from mailpoet/schedule-standard
Schedule standard  [MQ-55] [MQ-45]
2018-09-07 10:06:38 -04:00
fd4af798f1 Update ScheduleNewsletterCest.php 2018-09-07 09:26:05 -04:00
3e9be631e4 Fix rendering of nested vertical containers
[MAILPOET-1524]
2018-09-06 14:14:21 +02:00
428b7a1363 Schedule standard [MQ-55] [MQ-45] 2018-09-05 11:59:18 -04:00
ddcc6c03a0 Schedule standard [MQ-55] [MQ-45] 2018-09-05 11:33:59 -04:00
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
cbcc8eebf1 Mark status as confirmed if MP2 double opt in is disabled
[MAILPOET-1514]
2018-09-03 12:19:13 +02:00
cc300b2df0 Merge pull request #1481 from mailpoet/logging-backend
Logging backend [MAILPOET-570]
2018-08-30 16:13:54 -04:00
c7f71663d9 Make templates payload smaller
[MAILPOET-1479]
2018-08-30 11:46:37 +02:00
20b1330094 Add logging dependencies
[MAILPOET-570]
2018-08-30 09:34:25 +02:00
12af3a3e14 Merge pull request #1476 from mailpoet/php-version-warning
Display PHP version warning via notice filter instead of stdout [MAILPOET-1506] [MAILPOET-1499]
2018-08-27 14:18:59 -04:00
8b725f1c91 Rename transient attribute to data_notice_name 2018-08-27 17:36:52 +03:00
8cf548db9f Update composer dependencies
[MAILPOET-1496]
2018-08-23 15:23:05 +02:00
c68f58a7c0 Display PHP version warning via notice filter instead of stdout 2018-08-23 15:06:21 +03:00
ae0e03d2f3 Update code for PHP 5.5
[MAILPOET-1496]
2018-08-23 12:10:21 +02:00
6ddbe46b73 Merge pull request #1469 from mailpoet/api-cf-validate
Reject requests without mandatory custom fields [MAILPOET-1405]
2018-08-22 08:09:21 -04:00
ac33e11c60 Reject requests without mandatory custom fields
We need to make sure subscribers cannot be created without custom fields
Users require GDPR consent and we need to make sure there are no way to
create a subscriber without mandatory custom fields

[MAILPOET-1405]
2018-08-21 15:03:08 +02:00
0d28fe1464 Merge pull request #1466 from mailpoet/drag-drop-video
Editor tutorial: drag and drop [MAILPOET-1447]
2018-08-16 13:13:02 +03:00
8ea06f3f31 Use POST for cron requests
[MAILPOET-1485]
2018-08-16 08:27:05 +02:00
f6eccfbe3b Skip the video in tests
[MAILPOET-1447]
2018-08-14 16:22:08 +02:00
9369e7883c Add acceptance test for post notification duplication [MQ-41] 2018-08-13 10:08:41 +02:00
51c89d5aa1 Requires PHP 5.5 or newer. 2018-08-09 14:12:58 +02:00
b6a367f770 Use ui to update settings 2018-08-07 10:21:35 +02:00
e9c79a1952 Merge pull request #1444 from mailpoet/tasks-status
Add latest sending tasks to help's page system status [MAILPOET-1460]
2018-08-06 08:45:47 -04:00