Commit Graph

1156 Commits

Author SHA1 Message Date
wxa
cb3952c9fb Fix unit tests failing in MySQL strict mode [MAILPOET-1585] 2018-10-11 23:09:37 +03:00
4b675a41d6 Update aspect mock and goaop framework
[MAILPOET-1542]
2018-10-11 14:02:13 +02:00
70debcc828 Refactor confirmation email sending
Aspect mock stopped working for me so I had to create a separate service
for sending confirmation emails.

[MAILPOET-1522]
2018-10-11 13:39:39 +02:00
4249c7a2cb Send an email notification on new subscriber
[MAILPOET-1522]
2018-10-11 10:23:06 +02:00
6b9c252649 Remove unused methods in SubscribersFinder
[MAILPOET-1495]
2018-10-11 09:19:23 +02:00
b632d74e5f triming settings values 2018-10-09 19:54:06 +02:00
9ec6f52098 Merge pull request #1526 from mailpoet/linux-cron
Linux cron [MAILPOET-1538]
2018-10-08 06:41:57 -04:00
c51a3f208c delete related scheduled_task_subscribers records 2018-10-04 14:52:49 +02:00
b2e2087cfc Split cron daemon into 2 classes
[MAILPOET-1538]
2018-10-04 08:27:31 +02:00
f81323ad52 Rename Daemon to DaemonHttpRunner
[MAILPOET-1538]
2018-10-03 10:28:26 +02:00
5d1f3153cd Add Linux Cron Script
[MAILPOET-1538]
2018-09-27 16:51:44 +02:00
5614a7a4b2 Merge pull request #1505 from mailpoet/sending-erros-levels
Multiple Sending Error Levels [MAILPOET-1154]
2018-09-24 07:09:39 -04:00
02e1f7f6dc Merge pull request #1489 from mailpoet/migration-notice
Migration notice [MAILPOET-1492]
2018-09-20 14:13:17 -04:00
017918c870 Add after migration notice
[MAILPOET-1492]
2018-09-19 10:27:04 +02:00
de6ba39595 Fix private access error 2018-09-19 10:24:37 +02:00
4a641ba94e Create permanent notices
[MAILPOET-1492]
2018-09-19 10:24:37 +02:00
bb8a94d580 Fix broken test after translation change 2018-09-17 15:55:33 +03:00
f5c9d0f7db Remove unnecessary test_email extra parameter for mailer->send
It was used only to prevent appending unprocessed subscribers into error message.
Since the message is now composed by on demand by MailerError the parameter is not needed any more.

[MAILPOET-1154]
2018-09-13 11:12:38 +02:00
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
a9a4f6b6ac update admin notice php version 2018-09-10 18:21:49 +01:00
3e9be631e4 Fix rendering of nested vertical containers
[MAILPOET-1524]
2018-09-06 14:14:21 +02: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
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
8ea06f3f31 Use POST for cron requests
[MAILPOET-1485]
2018-08-16 08:27:05 +02:00
51c89d5aa1 Requires PHP 5.5 or newer. 2018-08-09 14:12:58 +02:00
7186f4b13a Add fetching of latest sending tasks for help page
[MAILPOET-1460]
2018-08-02 08:06:06 +02:00
a3b79a6907 Fix overriding cron token 2018-07-31 17:48:26 +02:00
3184b43b3b Add status flag for cron deactivation
Cron daemon, which was triggered by WordPress method, was deactivated
by deletion from DB and it caused the lost of all log data about it.
This commit changes the implementation so that the daemon is deactivated by changing status flag.

[MAILPOET-1457]
2018-07-25 13:23:21 +02:00
65e49808c0 Merge pull request #1430 from mailpoet/improve-errors
Improve error reporting for MSS sending [MAILPOET-1445]
2018-07-23 11:16:53 -04:00
d165732f66 Merge pull request #1431 from mailpoet/background-images
Column Background Images [MAILPOET-1403]
2018-07-23 09:33:08 -04:00
27b9857e6a Improve error reporting for MSS sending
[MAILPOET-1445]
2018-07-19 16:21:23 +01:00