Commit Graph

530 Commits

Author SHA1 Message Date
2ee77e0034 Deleted TODOs after noting them as JIRA issues 2018-06-13 16:46:18 +02:00
2ad9ebf1d3 Uses full font-family name in element styles 2018-06-12 19:15:30 -04:00
71fed489ec Improve error reporting in API
[MAILPOET-1290]
2018-06-12 10:32:20 +01:00
4611a7ea74 Updates method names 2018-06-11 13:40:05 -04:00
bf0c5abd4f Adds newsletter scheduler unit tests for automatic emails 2018-06-11 13:38:11 -04:00
b75d4db412 Adds newsletter/cron scheduler for automatic emails 2018-06-11 13:38:11 -04:00
b36537a4e8 renderer: Processing Post without layout renders featured_image only for excerpt display type [MAILPOET-1409] 2018-06-08 17:05:37 +02:00
62fd56400b renderer: Fixed notice in PostTransformer for older data without 'withLayout' property [MAILPOET-1409] 2018-06-08 17:02:03 +02:00
b9ce9ecf28 Fix image fullwidth toggle [MAILPOET-1365]
Prevent WordPress $content_width global to override
mailpoet_image_size when calling wp_get_attachment_image_src()
in ACL generated posts.
2018-06-05 10:19:39 +02:00
ac47866295 Fix image fullwidth toggle [MAILPOET-1365]
Prevent WordPress $content_width global to override
mailpoet_image_size when calling wp_get_attachment_image_src()
in ACL generated posts.
2018-06-05 08:59:57 +02:00
67b66856f5 removing images and headings from the excerpt 2018-06-01 11:21:59 +00:00
6914a9c224 excerpt are now displayed 2018-05-30 09:15:14 +00:00
88be42fea1 fixing naming issues 2018-05-28 10:33:13 +00:00
2215b53141 removing top padding from excerpt text 2018-05-24 07:44:41 +00:00
5b077cfb54 adding styles to containers 2018-05-23 10:39:08 +00:00
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
2da6c2ec49 Merge pull request #1362 from mailpoet/welcome-email-fix
Fix welcome emails
2018-05-21 09:45:25 -04: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
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
1c6c275295 Passes single array with shortcode details 2018-05-14 19:16:24 -04: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
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
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
7e6b29896f Removes type check given that Newsletter model object is not persisted 2018-03-13 11:28:25 +00: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
e7ffe4d694 Replaces spaces in image URLs 2017-11-21 21:02:33 -05:00
72c3f763ec Removes shortcodes from full post content 2017-11-14 13:17:47 -05:00
44c5d8490f Fixes shortcodes not being properly stripped on excerpts 2017-11-14 12:35:08 -05:00
893c6bd72b Remove tags from ALC display
[MAILPOET-1182]
2017-10-25 15:49:23 +01:00
996e6b16e7 Merge pull request #1142 from mailpoet/links
Enabling links on header and footer on preview [MAILPOET-1121]
2017-10-19 20:07:32 +03:00
0217e21753 Restore a default argument value [MAILPOET-1121] 2017-10-19 19:43:39 +03:00
8c8c01aa75 shows links when previewing sent newsletters 2017-10-17 14:14:08 +00:00
6f80dcb1de adding unit tests 2017-10-17 13:09:37 +00:00
c79bf7d337 forcing absolute image source when rendering 2017-10-17 12:35:11 +00:00
19e67ea2b0 Enabling links on header and footer on preview 2017-10-11 12:45:07 +00:00
9d93f3ea95 Add a test for image alignment rendering [MAILPOET-1124] 2017-10-09 09:37:31 +03:00
26241afb86 Add image alignment option to newsletter editor [MAILPOET-1124] 2017-10-02 15:30:43 +03:00
c1e542cb5a Reschedules past due scheduled queues when reactivating notification 2017-08-28 09:20:17 +02:00
cc5227ca0d Don't track sent ALC posts for welcome and standard emails (always send the latest posts) [MAILPOET-1069] 2017-08-25 15:51:45 +03:00
8540e5eea9 Merge pull request #1017 from mailpoet/rerender-newsletter
Rerender newsletter [MAILPOET-675]
2017-08-17 16:19:16 +03:00
de261d6179 Added confirmation when 'edit' is clicked 2017-08-15 12:55:05 +00:00
a587b0a966 Links are not re-hashed when re-rendering the same newsletter 2017-08-15 12:55:05 +00:00
49318791fc Adds hook to modify max post excerpt 2017-08-14 20:55:49 -04:00
a5abdd28e1 Removes unused constructor parameter 2017-08-14 20:55:42 -04:00
7e0c500e4f Uses WP's date_i18n() to localize date shortcode 2017-08-10 12:46:27 -04:00
40cbefd1f4 Uses WP time vs. system time 2017-08-09 18:59:55 -04:00