Commit Graph

195 Commits

Author SHA1 Message Date
b44fe6d522 Merge pull request #1422 from mailpoet/tasks-pausing
Pause scheduled tasks for deactivated emails [MAILPOET-1442]
2018-07-10 09:59:03 -04:00
aab68bc0eb Extend pausing of scheduled tasks also for welcome and automatic emails [MAILPOET-1442]
Without setting the tasks status to paused they would stay sheduled but couldn't be sent.
2018-06-29 16:29:46 +02:00
55affcb556 Set default sender on newsletter save
[MAILPOET-1415]
2018-06-25 12:45:02 +01:00
9308cffd45 Refactor fetching newsletter options to respect its type [MAILPOET-1431] 2018-06-19 17:06:56 +02:00
04d676f9e3 Fixes test after rebase 2018-06-11 13:40:06 -04:00
e578b0a4ea Decodes meta option field if it exists on the object 2018-06-11 13:38:11 -04:00
32e02cbf52 Adds meta column to sending queues 2018-06-11 13:33:44 -04:00
ec34a9efca Merge pull request #1360 from mailpoet/mp1306
Newsletter template thumbnail redesign [MAILPOET-1306]
2018-05-23 07:06:06 -04:00
75bad97b10 Newsletter template thumbnail redesign
Redesigned the template selection screen to
look like the WordPress theme selector.

The main changes relate to:
* style changes, to achieve the new look
* jsx templates, to work with new css changes
* template, removed the description field

[MAILPOET-1306]
2018-05-22 10:23:07 +02:00
941b88495a Pause sending tasks for inactive notifications
[MAILPOET-1376]
2018-05-15 16:40:31 +01:00
3e9d7fc68d Add NOT NULL constraint to custom field value field type 2018-05-15 11:33:22 +03:00
e93fc41281 Allows limiting listings query of automatic emails to specific group 2018-04-11 19:03:04 -04:00
adbebb39f1 Adds automatic email type to newsletter model/API listing method 2018-04-11 19:03:03 -04:00
a3cabad752 Merge pull request #1268 from mailpoet/sending_queue_refactoring
Refactor sending queues to use scheduled task and task subscriber tables [MAILPOET-903]
2018-03-20 08:47:26 -04:00
734d1ded1f Check processed subscribers for old and new queues differently [MAILPOET-903] 2018-03-01 21:17:51 +03:00
b5b0a02ea4 Removes option to export only confirmed subscribers 2018-02-16 14:46:34 +00:00
c8f334d782 Prevents overwriting global subscription status 2018-02-16 14:46:34 +00:00
7cf63965a0 Adds distinction between global and list status
Exports subscribers with any list status
Limits "confirmed only" option to global status
2018-02-16 14:46:34 +00:00
be6647d763 Fix unit tests [MAILPOET-903] 2018-02-13 11:39:50 +03:00
a754cfaa52 limitting the recently sent templates to 12 2018-02-09 16:43:40 +00:00
8ff28fd974 Return error code for duplication errors
[PREMIUM-42]
2018-02-05 14:34:15 +00:00
a45a7a7616 Fixes newsletter body being incorrectly saved 2018-01-09 12:25:04 +00:00
cb430673f8 Uses json_encode() instead of serialize() to save rendered newsletter
body
2017-12-20 22:13:00 -05:00
adea1e9be1 Fixes condition that allowed unsubscribing from WP segments 2017-11-14 09:56:53 -05:00
5f58e5ca82 Add tests
[PREMIUM-38]
2017-10-18 15:04:44 +01:00
697f9ba5bc Adds min/max email length in UI and backend 2017-09-19 20:04:49 -04:00
c8d92b3cd2 Default status is set depending on the signup confirmation option 2017-08-31 18:48:43 -04:00
5807fd2e02 Merge pull request #1067 from mailpoet/emoji
Add emoji support to newsletter body [MAILPOET-1009]
2017-08-30 10:04:26 -04:00
b9bdc86fd9 Add emoji support to newsletter body [MAILPOET-1009] 2017-08-28 19:07:17 +03:00
8a8108b41d Prevents WP subscribers' first/last name from being erased when updating
subscription
2017-08-24 13:19:42 -04:00
6fb18ad321 Fix PSR1.Classes.ClassDeclaration sniffer rule in tests [MAILPOET-1025] 2017-07-26 18:28:56 +03:00
90b93bd76e Merge pull request #1018 from mailpoet/prevent_sending_with_broken_newsletter_body
Prevents sending emails when rendered newsletter is broken [MAILPOET-1020]
2017-07-25 13:13:03 +03:00
81a2ba8e03 Adds new validation method for rendered newsletter body 2017-07-24 11:11:22 -04:00
7e6d900b53 Merge pull request #997 from mailpoet/scheduled_task_subscribers
Extract subscribers to a separate table in the Bounce worker [MAILPOET-987]
2017-07-24 17:14:38 +03:00
cb1a1e51ba Use fixtures instead of IDs in the sheduled task subscriber test [MAILPOET-987] 2017-07-20 13:26:31 +03:00
c924778d50 Rename unprocessed status, refactor counting a bit more clearly [MAILPOET-987] 2017-07-20 10:56:34 +03:00
e2a048a65f Uses MP Model class vs. Idiorm's in test 2017-07-18 09:49:01 -04:00
7c74885669 Merge pull request #1003 from mailpoet/php53_listing_fix
Adds asArray() method to the base Model class [MAILPOET-1007]
2017-07-17 20:00:10 +03:00
a4dad46fb7 Adds asArray() method to the base Model that's used as proxy for
Idiorm's as_array()
2017-07-15 14:25:50 -04:00
cdc87c23ea Resets sent at data when duplicating a sent newsletter 2017-07-15 13:00:25 -04:00
acbe2e383a Add tests [MAILPOET-940] 2017-07-13 13:27:28 +03:00
77ed4d34e8 Uses Helper's replaceLinkTags method to replace activation link in
subscription confirmation email
2017-07-08 12:00:45 -04:00
703ee7ff71 Fix line breaks in tests [MAILPOET-981] 2017-07-03 16:29:21 +03:00
d5227a9f2c Add tests for PDO exceptions rethrowing [MAILPOET-966] 2017-07-03 10:59:38 +01:00
5b99e66d8d Merge pull request #922 from mailpoet/fix-tests-problems
Fix tests problems
2017-06-07 10:34:20 -04:00
b80683a9a1 Fix unit tests for PHPUnit v6
Codeception from version 2.3 up comes with PHPUnit v6 which changed
__construct behaviour. Our tests have to call parent __constructor in
order to work. The error was:
[PHPUnit\Framework\Exception] array_merge(): Argument #1 is not an array
2017-06-07 11:32:33 +01:00
028de860a2 Merge pull request #913 from mailpoet/sending_queue_update_on_newsletter_status_change
Prevents processing of sending queues when newsletter is paused [MAILPOET-900]
2017-06-06 15:00:21 +03:00
cdf36ccb20 Trashes/restores/deletes (+ same bulk actions) children newsletters and
associations as per discussion on Slack:
https://mailpoet.slack.com/archives/C02MTKAJL/p1496427873491785
2017-06-05 11:36:04 -04:00
79b6ab1d15 Finishes incomplete test 2017-06-05 10:30:45 -04:00
d27968a215 Uses WP's is_email() to validate email addresses in Subscriber model 2017-06-04 18:19:37 -04:00