Tautvidas Sipavičius
2b351e4f34
Use constants for magic numbers, clean up tests
2018-05-03 13:07:29 +03:00
Tautvidas Sipavičius
a588e95762
Add a limit to fetch 5 scheduled tasks at a time [MAILPOET-1366]
2018-05-02 23:27:30 +03:00
Fred. P
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
Pavel Dohnal
a640e52eaf
Don't crash on duplicit rows
...
[MAILPOET-1351]
2018-04-23 16:20:59 +01:00
Michelle Shull
2dd15438d8
Merge pull request #1325 from mailpoet/sending_task_fix
...
Fixes stuck sending [MAILPOET-1346]
2018-04-17 05:41:21 -04:00
Tautvidas Sipavičius
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
Vlad
6c64ba90c7
Abstracts WP's remove_all_filters function and fixes export test
2018-04-13 14:20:53 -04:00
Vlad
cb648da677
Adds hook to filter each listings item
2018-04-11 23:20:07 -04:00
Vlad
ea0676718e
Filters data before other logic
2018-04-11 23:11:41 -04:00
Vlad
f019eaf38e
Filters newsletters by type and, if available, type group
2018-04-11 19:03:04 -04:00
Vlad
e93fc41281
Allows limiting listings query of automatic emails to specific group
2018-04-11 19:03:04 -04:00
Vlad
adbebb39f1
Adds automatic email type to newsletter model/API listing method
2018-04-11 19:03:03 -04:00
Vlad
3e432d7b5d
Changes method visibility to allow extending class
2018-04-11 19:03:02 -04:00
Vlad
afefa89466
Ensures that queues are instance of the scheduled task class
2018-04-11 18:58:29 -04:00
Vlad
cb80b5ca69
Stops returning empty values when getting scheduled/running queues
2018-04-11 18:27:33 -04:00
Michelle Shull
2bba10127d
Merge pull request #1323 from mailpoet/fix-slow-hosts
...
Fix sending big emails on slow hosts [MAILPOET-1322]
2018-04-10 09:17:29 -04:00
Michelle Shull
10ee48076a
Merge pull request #1309 from mailpoet/export-segments
...
Export segments [PREMIUM-68]
2018-04-09 08:09:16 -04:00
Pavel Dohnal
51d97ddda8
Fix sending on slow hosts
...
[MAILPOET-1322]
2018-04-06 22:09:07 -04:00
mrcasual
baab0840b7
Revert "Fix sending big emails on slow hosts [MAILPOET-1322]"
2018-04-06 22:00:45 -04:00
Pavel Dohnal
66b5aeb578
Fix sending on slow hosts
...
[MAILPOET-1322]
2018-04-06 10:23:52 +01:00
Tautvidas Sipavičius
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
Amine Ben hammou
7c47b81569
fixing subscribers count
2018-04-02 17:07:15 +02:00
Amine Ben hammou
c25d4d4943
fix minors issues
2018-04-02 16:00:34 +02:00
Tautvidas Sipavičius
251198cf9c
Merge pull request #1317 from mailpoet/scheduled_sending_fix
...
Fixes issues associated with scheduling/rescheduling of newsletters [MAILPOET-1338]
2018-03-28 14:57:26 +03:00
Pavel Dohnal
0d11416f4e
Ignore duplicities when adding subscribers tasks
...
[MAILPOET-1340]
2018-03-28 08:34:27 +01:00
Rostislav Wolny
662b033677
api/newsletters: Re-render newsletter with queue on save [MAILPOET-1305]
2018-03-27 19:24:59 +02:00
Pavel Dohnal
1756df0085
Fix segments newsletters sending
...
[MAILPOET-1340]
2018-03-26 13:59:29 +01:00
Vlad
986cce4a92
Adds unit tests
2018-03-24 13:33:18 -04:00
Vlad
a0947611fb
Fixes the rescheduling of sending tasks
2018-03-24 11:36:00 -04:00
Vlad
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
Tautvidas Sipavičius
cdc6d8a966
Merge pull request #1314 from mailpoet/add-index
...
Add index to task_id [MAILPOET-1334]
2018-03-21 13:39:41 +02:00
Tautvidas Sipavičius
37f70b900d
Fix DB migration
2018-03-21 11:29:54 +02:00
Tautvidas Sipavičius
511e07455f
Fix migration task to be done only when one hasn't been done
...
[MAILPOET-1333]
2018-03-21 11:21:23 +02:00
Pavel Dohnal
d28b4fda58
Add index to task_id
...
[MAILPOET-1334]
2018-03-21 08:26:32 +00:00
Vlad
467cf350e9
Abstract WP's current_time() function in the code base
2018-03-20 16:34:50 -04:00
Vlad
d317eb4fbd
Adds unit test
2018-03-20 16:30:28 -04:00
Vlad
44b96aa9a7
Uses WP time to schedule migration task
2018-03-20 15:48:21 -04:00
Tautvidas Sipavičius
a5782a32bc
Merge pull request #1310 from mailpoet/tracked_url_shortcodes
...
Processes shortcodes in tracked URLs [MAILPOET-1329]
2018-03-20 15:10:34 +02:00
Michelle Shull
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
Vlad
58f92045c0
Processes shortcodes in tracked URLs
2018-03-16 13:00:34 -04:00
Amine Ben hammou
82ec8d7ef9
adding tests
2018-03-16 15:31:29 +01:00
Amine Ben hammou
1af242c2dd
adding subscribers getter from dynamic segments
2018-03-15 19:04:25 +01:00
Pavel Dohnal
7775b5ace3
Make message clearer
...
[MAILPOET-1321]
2018-03-15 13:48:09 +00:00
mrcasual
78f9fea2b0
Sends welcome notifications when subscribing to lists via MP's API
...
[MAILPOET-1295]
2018-03-15 13:04:30 +00:00
Amine Ben hammou
ca9e11a231
using apply_filters
2018-03-14 15:00:57 +01:00
amine-mp
9173b114a7
Merge pull request #1301 from mailpoet/call-for-rating
...
Call for rating [MAILPOET-1299]
2018-03-13 19:21:39 +01:00
Vlad
4469cef647
Fixes cast statement format
2018-03-13 11:28:25 +00:00
Vlad
7e6b29896f
Removes type check given that Newsletter model object is not persisted
2018-03-13 11:28:25 +00:00
Vlad
4c4f6be59b
Passes object as value instead of reference
2018-03-13 11:28:25 +00:00
Pavel Dohnal
669d072853
Not show call for rating if user already clicked
...
[MAILPOET-1299]
2018-03-12 11:36:19 +00:00