Commit Graph

2602 Commits

Author SHA1 Message Date
0a298f5fad creating new ALC block and widget 2018-05-23 07:42:30 +00:00
d7ab03b1c7 rewrite PostTransformer to return old or new structure depending on the newVersion attribute 2018-05-23 05:15:40 +00:00
e5a1af96cb Stop showing the what's new page
[MAILPOET-1336]
2018-05-22 15:09:45 +02: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
59f9fdb3b6 fix failing tests 2018-05-21 19:03:13 +02:00
62b5502eb1 use Carbon 2018-05-21 17:07:14 +02:00
498c014464 function wording & use Carbon 2018-05-21 16:53:20 +02:00
b3a23bdddc Merge pull request #1363 from mailpoet/fix-post-notification-update
Fix sending task reschedule [MAILPOET-1378]
2018-05-21 10:43:54 -04:00
587eaffc3c Merge pull request #1357 from mailpoet/unblock-paused
Pause sending tasks for inactive notifications [MAILPOET-1376]
2018-05-21 09:47:16 -04:00
2da6c2ec49 Merge pull request #1362 from mailpoet/welcome-email-fix
Fix welcome emails
2018-05-21 09:45:25 -04:00
8a1fe0df6b Merge pull request #1367 from mailpoet/bugfix
fixing fatal error when using `wp_add_privacy_policy_content` in init hook [MAILPOET-1390]
2018-05-21 08:18:28 -04:00
d56f2c59ef Merge pull request #1355 from mailpoet/subscriber-source
Subscriber source [MAILPOET-1377]
2018-05-21 08:17:00 -04:00
fbd11cf848 fixing fatal error when using wp_add_privacy_policy_content in init hook 2018-05-21 07:47:17 +00:00
e469a32f9e Live chat & better Helpscout integration 2018-05-18 20:00:45 +02:00
9b9abf5cde Fix sending task reschedule
The query returned data from the sending queue table
So the next update updated the wrong row in the tasks table

[MAILPOET-1378]
2018-05-17 16:13:51 +01:00
dbdf432c1d Merge pull request #1347 from mailpoet/queue_rendered_subject_improvement
Uses queue's rendered subject when sending newsletter [MAILPOET-1373]
2018-05-17 08:35:25 -04:00
8a877ed637 Merge pull request #1356 from mailpoet/welcome-email-scheduling
Add index based on subscriber_id to scheduled_task_subscribers [MAILPOET-1382]
2018-05-17 08:33:57 -04:00
4da7ed44e5 Merge pull request #1352 from mailpoet/less-info
Returning only the id and email on form's response [MAILPOET-1370]
2018-05-17 06:59:10 -04:00
5223687326 Fix welcome emails
Decreased priority. This was a conflict with Members plugin
Members plugin has priority 5 and we were checking
user roles before Members plugin correctly
assigned them.

[PREMIUM-83]
2018-05-17 11:13:34 +01:00
941b88495a Pause sending tasks for inactive notifications
[MAILPOET-1376]
2018-05-15 16:40:31 +01:00
859b87c7c9 Add index based on subscriber_id to scheduled_task_subscribers
[MAILPOET-1382]

This is done to avoid full table scans when scheduling welcome emails
and checking whether or not an email has been sent.
There we have to query based on `subscriber_id`, but without having a
`task_id`, so MySQL cannot make use of the `(task_id, subscriber_id)`
primary key.
2018-05-15 18:39:17 +03:00
3e9d7fc68d Add NOT NULL constraint to custom field value field type 2018-05-15 11:33:22 +03:00
1c6c275295 Passes single array with shortcode details 2018-05-14 19:16:24 -04:00
1d8e8e8786 Text field cannot have default values 2018-05-14 19:54:20 +03:00
6ad6190da3 Fix custom fields to allow values longer than 255 characters
[MAILPOET-1381]
2018-05-14 19:39:07 +03:00
3c499d0626 retuning empty response on subscribe 2018-05-14 15:24:39 +00:00
d4e3334f9e Add source to privacy exports
[MAILPOET-1377]
2018-05-14 16:22:51 +01:00
603062f23e Set source for existing subscribers
[MAILPOET-1377]
2018-05-14 15:56:36 +01:00
e55aab43b5 Merge pull request #1350 from mailpoet/gdpr-clicks
Export statistics clicks [MAILPOET-1357]
2018-05-14 10:19:37 -04:00
3940381e30 Add source to wp users
[MAILPOET-1377]
2018-05-14 13:55:47 +01:00
582f241ea4 Add source to subscribed entered in admin
[MAILPOET-1377]
2018-05-14 13:55:47 +01:00
11b29a1efa Add source to subscribed entered in admin
[MAILPOET-1377]
2018-05-14 13:55:47 +01:00
f5d59eb00e Add source to imported subscribers
[MAILPOET-1377]
2018-05-14 13:55:47 +01:00
1af5802030 Add subscriber source
[MAILPOET-1377]
2018-05-14 13:55:47 +01:00
2627ea865a Merge pull request #1344 from mailpoet/mp1371
Fix: CPU usage and sending issue on slow host [MAILPOET-1371]
2018-05-14 07:54:55 -04:00
572cc1671b Merge branch 'master' into gdpr-privacy-policy 2018-05-14 12:13:21 +01:00
709de7dd54 Merge pull request #1348 from mailpoet/gdpr-opens
Export viewed emails [MAILPOET-1356]
2018-05-14 07:00:46 -04:00
a664d3631b Export statistics clicks
[MAILPOET-1357]
2018-05-11 18:34:25 +01: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
f5c56bf492 Add privacy policy
[MAILPOET-1360]
2018-05-10 11:39:14 +01:00
bd01b5855e Add subscriber eraser for GDPR
[MAILPOET-1359]
2018-05-09 09:28:04 +01:00
ee99195b30 Export viewed emails
[MAILPOET-1356]
2018-05-08 12:26:41 +01:00
2f2a651fd2 Merge pull request #1329 from mailpoet/old-php-warning
Show warning when customer uses an old PHP version [MAILPOET-1314]
2018-05-08 06:39:28 -04:00
28651227d5 Uses rendered subject from queue when preparing newsletter for sending 2018-05-07 20:06:03 -04:00
b57c8b7533 Returns shortcode when subscriber object is null 2018-05-07 19:07:58 -04:00
ee4aefb6e3 Passes full shortcode object as function argument 2018-05-07 19:07:53 -04:00
68b091848c Export newsletters sent to a user
[MAILPOET-1355]
2018-05-07 14:19:44 +03:00
22d3d00841 Use transient instead of option
[MAILPOET-1314]
2018-05-04 15:43:13 +01:00
d68dffafd3 Fix typo and translation
[MAILPOET-1314]
2018-05-04 15:33:56 +01:00
df58322f0e Move old versions code to own class
[MAILPOET-1316]
2018-05-04 15:33:56 +01:00