9308cffd45
Refactor fetching newsletter options to respect its type [MAILPOET-1431]
2018-06-19 17:06:56 +02:00
71fed489ec
Improve error reporting in API
...
[MAILPOET-1290]
2018-06-12 10:32:20 +01:00
8f758b11e1
Splits large tests into smaller ones
2018-06-11 13:40:05 -04:00
4611a7ea74
Updates method names
2018-06-11 13:40:05 -04:00
bf0c5abd4f
Adds newsletter scheduler unit tests for automatic emails
2018-06-11 13:38:11 -04:00
5912004c10
Fix: CPU usage and sending issue on slow host
...
On some slow host, the `newsletter` table get filled with
duplicated `notification_history` marked as `sending` that
never get sent.
To prevent this we've made the two following changes:
* We prevent firing `publis_*` hooks on post_type which
are excluded from search.
* We do not schedule a new post notification email if one
has an `notification_history` entry marked as `sending`.
[MAILPOET-1371]
2018-05-10 15:25:23 +02:00
be6647d763
Fix unit tests [MAILPOET-903]
2018-02-13 11:39:50 +03:00
c1e542cb5a
Reschedules past due scheduled queues when reactivating notification
2017-08-28 09:20:17 +02:00
321393f119
Fix Squiz.Classes.ClassFileName sniffer rule in tests [MAIPOET-1025]
2017-07-26 17:03:43 +03:00
9079d7d4db
Merge pull request #977 from mailpoet/subscription_confirmation_update
...
Prevents repeat subscription confirmation/duplicate welcome notifications [MAILPOET-988]
2017-07-06 22:52:44 +03:00
89da4c9aae
Prevents repeat subscription confirmation
...
Prevents scheduling of duplicate welcome notifications
2017-07-05 19:50:57 -04:00
29491dfd3e
Fix active coding standard rule violations in tests [MAILPOET-981]
2017-07-03 16:20:44 +03:00
f89a728c38
Uses predetermined timestamps from which next run date is calculated
2017-06-24 15:59:28 -04:00
835f25cc82
Fixes unit test that fails on the last Saturday of the month
2017-03-25 02:24:38 -04:00
66d039ace3
Catches exception thrown by cron dependency and prevents a fatal error
2017-02-27 19:21:32 -05:00
d781ef6d01
Fixes scheduler test that fails on last Saturday
2017-01-28 11:07:26 -05:00
5bc17f5e76
- Saves welcome emails with high priority
...
- Fixes welcome emails not being sent to WP users
- Updates unit tests
2016-11-28 18:49:35 -05:00
90b95a2c25
fixed 'newletter' typo and replaced integer weekdays by their carbon constant equivalent
2016-10-17 11:35:57 +02:00
78c50c41e3
- Fixes unit test
...
- Updates code as per code review comments
2016-10-18 14:29:53 -04:00
e565a7a234
- Uses Codeception's native methods to verify expectations
...
- Updates next run date test conditions to use account for possible time
difference
2016-09-26 12:35:00 -04:00
e1c5f609ff
- Adds unit test
2016-09-23 20:16:53 -04:00