Commit Graph

2433 Commits

Author SHA1 Message Date
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
ea47524cc4 Remove 5.5 warning for now
[MAILPOET-1316]
2018-05-04 15:32:29 +01:00
56f7b4d523 Show warning when customer uses an old PHP version
[MAILPOET-1314] [MAILPOET-1316]
2018-05-04 15:32:29 +01:00
1d1aa52fa8 Merge pull request #1341 from mailpoet/gdpr-export-subscriber
Gdpr data export subscriber [MAILPOET-1358]
2018-05-04 09:46:45 -04:00
39ae92e580 Merge pull request #1340 from mailpoet/data-fetching-limits
Add a limit to fetch 5 scheduled tasks at a time [MAILPOET-1366]
2018-05-04 09:45:56 -04:00
11067327a1 Add Subscriber exporter
[MAILPOET-1358]
2018-05-03 16:35:40 +01:00
8e13eb50bf Export lists for email
[MAILPOET-1354]
2018-05-03 16:33:22 +01:00
7bb2d86f93 Fix private constant being impossible 2018-05-03 13:16:34 +03:00
2b351e4f34 Use constants for magic numbers, clean up tests 2018-05-03 13:07:29 +03:00
a588e95762 Add a limit to fetch 5 scheduled tasks at a time [MAILPOET-1366] 2018-05-02 23:27:30 +03:00
73f51505a2 Close [MAILPOET-1344] "Easier what's new skipping"
* URL test now check for home URL instead of just 'http'
* Fixed a bug where getCurrentlURL() returned a broken path
* Added "I don't care about the update" button
* Update skip buttons now return to the previous page
2018-05-02 16:16:36 +02:00
a640e52eaf Don't crash on duplicit rows
[MAILPOET-1351]
2018-04-23 16:20:59 +01:00
2dd15438d8 Merge pull request #1325 from mailpoet/sending_task_fix
Fixes stuck sending [MAILPOET-1346]
2018-04-17 05:41:21 -04:00
937aaae2c4 Merge pull request #1319 from mailpoet/am_creating_emails
Makes necessary changes to create and display automatic emails [PREMIUM-75]
2018-04-14 00:49:17 +03:00
6c64ba90c7 Abstracts WP's remove_all_filters function and fixes export test 2018-04-13 14:20:53 -04:00
cb648da677 Adds hook to filter each listings item 2018-04-11 23:20:07 -04:00
ea0676718e Filters data before other logic 2018-04-11 23:11:41 -04:00
f019eaf38e Filters newsletters by type and, if available, type group 2018-04-11 19:03:04 -04: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