Commit Graph

1079 Commits

Author SHA1 Message Date
Rostislav Wolny
26472d8b9a Introduce ContainerWrapper
Container wrapper wraps both premium and free containers and adds ability for free plugin to use premium plugin services directly.
[PREMIUM-99]
2018-12-12 08:52:11 +01:00
wxa
0fbbcf3f9e Fix conflicts for test coverage to work [MAILPOET-1607] 2018-11-14 17:51:20 +03:00
wxa
8944fdbf1e Move tests without dependencies to unit folder [MAILPOET-1607] 2018-11-14 17:38:17 +03:00
Amine Ben hammou
62e47dcf12 make small improvements and additional specs details. 2018-11-06 11:01:55 +01:00
Amine Ben hammou
8209facb5c adding custom fonts 2018-11-06 10:59:20 +01:00
wxa
b6f40a9b52 Remove AspectMock, private method call trick and WP globals fixes from unit tests 2018-10-29 17:57:47 +03:00
wxa
1936524cec Move a test from integration to unit as an example 2018-10-29 17:57:47 +03:00
wxa
8b2c5116f4 Fix AspectMock config 2018-10-29 17:57:47 +03:00
wxa
9092aa3029 Make separate setups for integration and unit tests 2018-10-29 17:57:47 +03:00
wxa
87e515b89d Move current unit tests to integration tests 2018-10-29 17:57:47 +03:00
Rostislav Wolny
b21ef30202 Fix failing Scheduler test
[MAILPOET-1602]
2018-10-25 08:43:17 +02:00
M. Shull
1e7542848a Merge pull request #1556 from mailpoet/arrays-to-objects
Replace entity arrays with objects [MAILPOET-1495]
2018-10-22 14:59:12 -04:00
M. Shull
4ae459838a Merge pull request #1558 from mailpoet/fix-flaky-scheduler-test
Try to fix flaky scheduler tests [MAILPOET-1579]
2018-10-22 14:54:31 -04:00
M. Shull
f81c5617ed Merge pull request #1574 from mailpoet/remove-www-from-sender
Remove www from confirmation email sender [MAILPOET-1593]
2018-10-22 10:11:07 -04:00
Pavel Dohnal
ee00464cc5 Remove www from confirmation email sender
[MAILPOET-1593]
2018-10-22 09:17:10 +02:00
wxa
6b6f488f1e Schedule welcome email only if subscriber is confirmed in MPAPI [MAILPOET-1589] 2018-10-16 19:03:44 +03:00
M. Shull
ad37c6b9c5 Merge pull request #1552 from mailpoet/email-notifications
Email notifications [MAILPOET-1522]
2018-10-15 11:16:23 -04:00
Pavel Dohnal
605f8f1ce1 Try to fix flaky scheduler tests
[MAILPOET-1579]
2018-10-15 15:50:06 +02:00
M. Shull
1ffd5741be Merge pull request #1548 from mailpoet/php-deps-update
PHP Dependencies update [MAILPOET-1542]
2018-10-15 08:01:03 -04:00
Pavel Dohnal
a1d606e533 Add cleanup
[MAILPOET-1522]
2018-10-15 13:52:04 +02:00
Pavel Dohnal
654dd1e8d0 Rename Send classes
[MAILPOET-1522]
2018-10-15 13:06:19 +02:00
Rostislav Wolný
c3481dd4b7 Refactor subscription links to work with subscriber entity
[MAILPOET-1495]
2018-10-12 11:33:15 +02:00
Rostislav Wolný
b45c47a9e7 Update SubscriberFinder and Scheduler to use object entities
[MAILPOET-1495]
2018-10-12 11:26:23 +02:00
wxa
cb3952c9fb Fix unit tests failing in MySQL strict mode [MAILPOET-1585] 2018-10-11 23:09:37 +03:00
Rostislav Wolný
4b675a41d6 Update aspect mock and goaop framework
[MAILPOET-1542]
2018-10-11 14:02:13 +02:00
Pavel Dohnal
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
Pavel Dohnal
4249c7a2cb Send an email notification on new subscriber
[MAILPOET-1522]
2018-10-11 10:23:06 +02:00
Rostislav Wolný
6b9c252649 Remove unused methods in SubscribersFinder
[MAILPOET-1495]
2018-10-11 09:19:23 +02:00
Amine Ben hammou
b632d74e5f triming settings values 2018-10-09 19:54:06 +02:00
Michelle Shull
9ec6f52098 Merge pull request #1526 from mailpoet/linux-cron
Linux cron [MAILPOET-1538]
2018-10-08 06:41:57 -04:00
Amine Ben hammou
c51a3f208c delete related scheduled_task_subscribers records 2018-10-04 14:52:49 +02:00
Pavel Dohnal
b2e2087cfc Split cron daemon into 2 classes
[MAILPOET-1538]
2018-10-04 08:27:31 +02:00
Pavel Dohnal
f81323ad52 Rename Daemon to DaemonHttpRunner
[MAILPOET-1538]
2018-10-03 10:28:26 +02:00
Pavel Dohnal
5d1f3153cd Add Linux Cron Script
[MAILPOET-1538]
2018-09-27 16:51:44 +02:00
Michelle Shull
5614a7a4b2 Merge pull request #1505 from mailpoet/sending-erros-levels
Multiple Sending Error Levels [MAILPOET-1154]
2018-09-24 07:09:39 -04:00
Michelle Shull
02e1f7f6dc Merge pull request #1489 from mailpoet/migration-notice
Migration notice [MAILPOET-1492]
2018-09-20 14:13:17 -04:00
Pavel Dohnal
017918c870 Add after migration notice
[MAILPOET-1492]
2018-09-19 10:27:04 +02:00
Pavel Dohnal
de6ba39595 Fix private access error 2018-09-19 10:24:37 +02:00
Pavel Dohnal
4a641ba94e Create permanent notices
[MAILPOET-1492]
2018-09-19 10:24:37 +02:00
Tautvidas Sipavičius
bb8a94d580 Fix broken test after translation change 2018-09-17 15:55:33 +03:00
Rostislav Wolny
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
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