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
fb5d43e975
Adds helper method to translate shortcodes
...
Adds translations to Date shortcode
2017-08-09 18:56:33 -04:00
0865995d21
Does not remove padding from the last element in a column
2017-08-01 09:47:29 +02:00
7c30192a03
Adds option to replace shortcodes in one string using contents from
...
another string
Adds unit tests
2017-08-01 09:32:42 +02:00
334c3ff420
Returns false when data-post-id tag is not found
...
Uses all post types, including custom, when querying posts
2017-08-01 09:32:42 +02:00
6de746162e
Update Posts transformer to extract images by splitting the DOM tree
2017-07-28 14:36:12 +03:00
60b3c066a5
Allow rendering blockquote tags
2017-07-28 11:10:57 +03:00
0cebcd3965
Add missing brackets to custom field shortcodes [MAILPOET-1013]
2017-07-21 14:40:56 +03:00
213d0e8627
Distinguishes between link TYPE and link CATEGORY NAME
...
Uses $replacement_link variable for clarity
2017-07-17 09:14:11 -04:00
fe9ae392f2
Replaces URL extraction regex with DOM parser
...
Simplifies link replacement logic
Cleans up code
2017-07-14 23:15:08 -04:00
9501640f4f
Prevents double UTF-8 encoding
2017-07-14 14:03:48 -04:00
9079d7d4db
Merge pull request #977 from mailpoet/subscription_confirmation_update
...
Prevents repeat subscription confirmation/duplicate welcome notifications [MAILPOET-988]
2017-07-06 22:52:44 +03:00
89da4c9aae
Prevents repeat subscription confirmation
...
Prevents scheduling of duplicate welcome notifications
2017-07-05 19:50:57 -04:00
eba482cc67
Add dynamic post loading in Posts widget settings [MAILPOET-971]
2017-06-29 13:13:36 +03:00
58f2c32362
Allows passing custom time value to calculate the next run date from
2017-06-24 15:59:17 -04:00
088d4f800d
Hide preheader in gmail on android
...
[MAILPOET-802]
2017-06-21 17:23:57 +01:00
49673fabbd
Does not display logo when MSS is active or preview is enabled
...
Adds additional unit tests and optimizes existing
2017-06-07 12:30:42 +03:00
1c1a210542
Adds MailPoet logo to newsletters in the free version
2017-06-07 12:30:41 +03:00
7f509f66ff
Changes newsletter link hash generation function
2017-05-15 08:36:43 -04:00
cd5f3165c7
Uses queue ID when fetching newsletter link by hash
2017-05-14 22:02:19 -04:00
6e700b0cfa
Moves newsletter hash generating logic into Security helper class
...
Updates Links class to use Security helper's hash generating method
2017-05-14 20:15:40 -04:00