Commit Graph

5522 Commits

Author SHA1 Message Date
Vlad
2104451ec3 Adjusts regex to match extension after the last period 2018-05-17 18:21:46 -04:00
Pavel Dohnal
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
Michelle Shull
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
Michelle Shull
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
Michelle Shull
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
Michelle Shull
952c0f5aa7 Merge pull request #1358 from mailpoet/vulnerable-dependencies
Update vulnerable jQuery 2.1.4 and hoek 4.2.0 dependencies [MAILPOET-1383]
2018-05-17 06:43:19 -04:00
Pavel Dohnal
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
Pavel Dohnal
ee07f3e734 Fix warning in console 2018-05-16 14:03:38 +01:00
Tautvidas Sipavičius
0c585d15e1 Refactor events_list.jsx to suppress lint6 warnings
Likely happened due to updated package-lock.json
2018-05-15 21:11:24 +03:00
Tautvidas Sipavičius
1d362f9cf6 Update webpack 1.11.0 -> 1.12.9 to force a newer Uglify version 2018-05-15 19:56:12 +03:00
Tautvidas Sipavičius
ff9f9a0a90 Update vulnerable jQuery 2.1.4 -> 3.3.1, and jsdom to update hoek
dependency [MAILPOET-1383]

Unless I missed something, judging based on the jQuery 3.0 upgrade guide
it appears we are compatible with jQuery 3.x, so I'm updating just the
library version.  We're using version bundled with WP anyways for the
most part, and only load 3.x in JS tests.

jsdom was updated to 11.10.0 to update dependency on hoek 4.2.0 -> 4.2.1
2018-05-15 19:21:54 +03:00
Pavel Dohnal
941b88495a Pause sending tasks for inactive notifications
[MAILPOET-1376]
2018-05-15 16:40:31 +01:00
Tautvidas Sipavičius
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
Tautvidas Sipavičius
d44c275790 Release 3.7.2 3.7.2 2018-05-15 15:47:57 +03:00
Michelle Shull
f942e98645 Merge pull request #1354 from mailpoet/custom-field-value-length
Fix custom fields to allow values longer than 255 characters [MAILPOET-1381]
2018-05-15 06:08:06 -04:00
Tautvidas Sipavičius
3e9d7fc68d Add NOT NULL constraint to custom field value field type 2018-05-15 11:33:22 +03:00
Vlad
1c6c275295 Passes single array with shortcode details 2018-05-14 19:16:24 -04:00
Tautvidas Sipavičius
1d8e8e8786 Text field cannot have default values 2018-05-14 19:54:20 +03:00
Tautvidas Sipavičius
6ad6190da3 Fix custom fields to allow values longer than 255 characters
[MAILPOET-1381]
2018-05-14 19:39:07 +03:00
Amine Ben hammou
3c499d0626 retuning empty response on subscribe 2018-05-14 15:24:39 +00:00
Pavel Dohnal
d4e3334f9e Add source to privacy exports
[MAILPOET-1377]
2018-05-14 16:22:51 +01:00
Pavel Dohnal
603062f23e Set source for existing subscribers
[MAILPOET-1377]
2018-05-14 15:56:36 +01:00
Michelle Shull
e55aab43b5 Merge pull request #1350 from mailpoet/gdpr-clicks
Export statistics clicks [MAILPOET-1357]
2018-05-14 10:19:37 -04:00
Michelle Shull
a4fdd32c48 Merge pull request #1353 from mailpoet/subscriber-source
Subscriber source [MAILPOET-1377]
2018-05-14 10:19:00 -04:00
Pavel Dohnal
3940381e30 Add source to wp users
[MAILPOET-1377]
2018-05-14 13:55:47 +01:00
Pavel Dohnal
582f241ea4 Add source to subscribed entered in admin
[MAILPOET-1377]
2018-05-14 13:55:47 +01:00
Pavel Dohnal
11b29a1efa Add source to subscribed entered in admin
[MAILPOET-1377]
2018-05-14 13:55:47 +01:00
Pavel Dohnal
f5d59eb00e Add source to imported subscribers
[MAILPOET-1377]
2018-05-14 13:55:47 +01:00
Pavel Dohnal
1af5802030 Add subscriber source
[MAILPOET-1377]
2018-05-14 13:55:47 +01:00
Michelle Shull
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
Michelle Shull
96b02cccc4 Merge pull request #1345 from mailpoet/react-warning
fixing the react select warning [MAILPOET-1310]
2018-05-14 07:29:04 -04:00
Michelle Shull
7d912e941f Merge pull request #1351 from mailpoet/gdpr-privacy-policy
Add privacy policy [MAILPOET-1360]
2018-05-14 07:27:26 -04:00
pavel-mailpoet
572cc1671b Merge branch 'master' into gdpr-privacy-policy 2018-05-14 12:13:21 +01:00
Michelle Shull
709de7dd54 Merge pull request #1348 from mailpoet/gdpr-opens
Export viewed emails [MAILPOET-1356]
2018-05-14 07:00:46 -04:00
Michelle Shull
24ce88c4d5 Merge pull request #1349 from mailpoet/gdpr-eraser
Gdpr eraser [MAILPOET-1359]
2018-05-14 07:00:03 -04:00
Pavel Dohnal
a664d3631b Export statistics clicks
[MAILPOET-1357]
2018-05-11 18:34:25 +01:00
Fred. P
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
Pavel Dohnal
f5c56bf492 Add privacy policy
[MAILPOET-1360]
2018-05-10 11:39:14 +01:00
Pavel Dohnal
d5b9664bde Fix failing tests 2018-05-09 12:47:25 +01:00
Pavel Dohnal
bd01b5855e Add subscriber eraser for GDPR
[MAILPOET-1359]
2018-05-09 09:28:04 +01:00
Vlad
a742dacf32 Updates changelog and bumps up release version to 3.7.1 3.7.1 2018-05-08 11:13:09 -04:00
Michelle Shull
e62444d34e Merge pull request #1346 from mailpoet/welcome_email_count_fix
Fixes sent count not being displayed in welcome listings [MAILPOET-1374]
2018-05-08 09:38:19 -04:00
Amine Ben hammou
d2f98bc2e5 text field warning 2018-05-08 13:40:38 +01:00
Pavel Dohnal
ee99195b30 Export viewed emails
[MAILPOET-1356]
2018-05-08 12:26:41 +01:00
Michelle Shull
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
Vlad
28651227d5 Uses rendered subject from queue when preparing newsletter for sending 2018-05-07 20:06:03 -04:00
Vlad
b57c8b7533 Returns shortcode when subscriber object is null 2018-05-07 19:07:58 -04:00
Vlad
ee4aefb6e3 Passes full shortcode object as function argument 2018-05-07 19:07:53 -04:00
Vlad
8a8b99ad54 Fixes sent count not being displayed in welcome listings 2018-05-07 19:02:29 -04:00
Amine Ben hammou
d0b1579731 fixing the react select warning 2018-05-07 20:16:25 +01:00