Commit Graph

243 Commits

Author SHA1 Message Date
11b29a1efa Add source to subscribed entered in admin
[MAILPOET-1377]
2018-05-14 13:55:47 +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
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
adbebb39f1 Adds automatic email type to newsletter model/API listing method 2018-04-11 19:03:03 -04:00
06dac13327 Merge pull request #1300 from mailpoet/archive-page-subject
Api/newsletter: Re-render email in queue on save  [MAILPOET-1305]
2018-04-03 13:46:10 +03:00
662b033677 api/newsletters: Re-render newsletter with queue on save [MAILPOET-1305] 2018-03-27 19:24:59 +02:00
986cce4a92 Adds unit tests 2018-03-24 13:33:18 -04:00
a0947611fb Fixes the rescheduling of sending tasks 2018-03-24 11:36:00 -04:00
18a6a1c439 Removes call to method that marks sending queue task as complete
When sending queue is added, subscriber count is always 0 and
subscribers list is null. To that end, the removed code had no effect
and only introduced an issue.
2018-03-22 20:16:35 -04:00
467cf350e9 Abstract WP's current_time() function in the code base 2018-03-20 16:34:50 -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
78f9fea2b0 Sends welcome notifications when subscribing to lists via MP's API
[MAILPOET-1295]
2018-03-15 13:04:30 +00:00
99edc35b08 Handle bulk operations on subscribers filtered by dynamic segments
[PREMIUM-69]
2018-02-28 17:12:56 +00:00
476af99130 Display only terms with labels
[MAILPOET-1292]
2018-02-19 11:59:41 +00:00
b9546b61a8 Fix acceptance tests, update counters [MAILPOET-903] 2018-02-14 19:57:14 +03:00
84dfa88a1a Don't load subscriber IDs in memory when preparing tasks from static segments [MAILPOET-903] 2018-02-13 20:36:01 +03:00
be6647d763 Fix unit tests [MAILPOET-903] 2018-02-13 11:39:50 +03:00
c0c57f6b67 Sending queue refactoring WIP [MAILPOET-903] 2018-02-13 11:39:50 +03:00
bf8b0c81df Merge pull request #1262 from mailpoet/recently-sent-templates
limitting the recently sent templates to 12 [MAILPOET-1265]
2018-02-13 11:28:42 +03:00
a754cfaa52 limitting the recently sent templates to 12 2018-02-09 16:43:40 +00:00
4a3ba73406 Use filter for getTerms search
[MAILPOET-1293]
2018-02-07 12:58:00 +00:00
9159e8d21d Merge pull request #1249 from mailpoet/stats-segmentation
Stats segmentation [PREMIUM-42]
2018-02-01 20:34:39 -05:00
17a25120d4 Add conflict HTTP code
[PREMIUM-42]
2018-01-30 10:16:12 +00:00
cae46d9acd fixed duplicated templates when scheduling/sending same newsletter twice 2018-01-22 11:01:19 +00:00
3ae7b436de returning preview url in meta 2018-01-22 11:01:19 +00:00
a519eff231 saving recently sent templates 2018-01-22 11:01:19 +00:00
a1ba783264 reCaptcha works without javascript now 2018-01-18 10:50:07 +00:00
c63b7d9b91 handling multiple instances of reCaptcha 2018-01-15 10:47:25 +00:00
a8052c118a fixing minor issues and adding unit test 2018-01-15 10:46:07 +00:00
1ad0dce425 applying compact design and updating error messages 2018-01-15 10:46:06 +00:00
99a007fb70 fix recaptcha validation 2018-01-15 10:46:06 +00:00
caa0623112 handling recaptcha on the PHP side 2018-01-15 10:46:06 +00:00
5d5b61b76f Schedules welcome notification when adding/editing subscriber 2017-12-18 21:19:44 -05:00
d7bf6addf1 Fixes error due to throwing exception inside array_map 2017-11-14 09:58:01 -05:00
087f2ebcdd Uses a built-in method to handle plural exception cases
Implements check for empty segments
Implements check for WP segment when unsubscribing
2017-11-13 10:12:50 -05:00
3d2a63f319 Adds methods to unsubscribe from list(s) 2017-11-13 10:12:50 -05:00
54dd3b621a Improves error messages, cleans up code 2017-11-13 10:11:07 -05:00
7fea134109 Merge pull request #1183 from mailpoet/dynamic-segments-listings
Dynamic segments subscribers listings [PREMIUM-38] [PREMIUM-43]
2017-11-13 16:52:48 +03:00
6694555592 Adds method to get subscriber 2017-11-10 18:47:53 -05:00
00f2d418cc Load subscribers from dynamic segments
[PREMIUM-38]
2017-11-09 10:11:47 +00:00
c63f218edd Enable to add segments to subscribers listing filter
[PREMIUM-38]
2017-11-09 10:11:47 +00:00
3d78d6bbe9 Add a method to create a new list to public API [MAILPOET-1197] 2017-11-02 22:13:50 +03:00
f1b373924f Remove subscribers filtering for now
[PREMIUM-38]
2017-10-18 10:08:04 +01:00
0271675cd0 Use dynamic segments for sending queue
[PREMIUM-38]
2017-10-18 10:08:04 +01:00
fa9ef6e5bd Add 500 status code
[PREMIUM-38]
2017-10-18 10:08:04 +01:00
2c358ab179 Add progressive throttling of subscriptions from the same IP address [MAILPOET-1128] 2017-10-10 19:36:20 +03:00
b6c864e7a1 Change the JSON API error message
[MAILPOET-1103]
2017-10-10 09:45:50 +01:00
9f5fc151b4 Move throttling out of the Subscriber model to the API 'subscribe' method [MAILPOET-1115] 2017-09-28 15:45:35 +01:00
84b942b9d2 Merge pull request #1121 from mailpoet/template_sort
Applies sorting by date created and name [MAILPOET-1119]
2017-09-27 11:14:00 +02:00