Vlad
c1e542cb5a
Reschedules past due scheduled queues when reactivating notification
2017-08-28 09:20:17 +02:00
Tautvidas Sipavičius
8540e5eea9
Merge pull request #1017 from mailpoet/rerender-newsletter
...
Rerender newsletter [MAILPOET-675]
2017-08-17 16:19:16 +03:00
Amine Ben hammou
9117ae1a27
Fixing more bugs. Lists and scheduling options are hidden when editing a newsletter that is being sent
2017-08-15 14:39:02 +00:00
Amine Ben hammou
a587b0a966
Links are not re-hashed when re-rendering the same newsletter
2017-08-15 12:55:05 +00:00
Vlad
49318791fc
Adds hook to modify max post excerpt
2017-08-14 20:55:49 -04:00
Vlad
7e0c500e4f
Uses WP's date_i18n() to localize date shortcode
2017-08-10 12:46:27 -04:00
Vlad
40cbefd1f4
Uses WP time vs. system time
2017-08-09 18:59:55 -04:00
Vlad
fb5d43e975
Adds helper method to translate shortcodes
...
Adds translations to Date shortcode
2017-08-09 18:56:33 -04:00
Vlad
0865995d21
Does not remove padding from the last element in a column
2017-08-01 09:47:29 +02:00
Tautvidas Sipavičius
6de746162e
Update Posts transformer to extract images by splitting the DOM tree
2017-07-28 14:36:12 +03:00
Tautvidas Sipavičius
60b3c066a5
Allow rendering blockquote tags
2017-07-28 11:10:57 +03:00
stoletniy
6fb18ad321
Fix PSR1.Classes.ClassDeclaration sniffer rule in tests [MAILPOET-1025]
2017-07-26 18:28:56 +03:00
stoletniy
321393f119
Fix Squiz.Classes.ClassFileName sniffer rule in tests [MAIPOET-1025]
2017-07-26 17:03:43 +03:00
Vlad
9dd326e7db
Updates class to use newly added validate() method on the model
...
Validates existing queue's rendered newsletter body
Cleans code formatting
2017-07-24 12:49:39 -04:00
stoletniy
0cebcd3965
Add missing brackets to custom field shortcodes [MAILPOET-1013]
2017-07-21 14:40:56 +03:00
Vlad
213d0e8627
Distinguishes between link TYPE and link CATEGORY NAME
...
Uses $replacement_link variable for clarity
2017-07-17 09:14:11 -04:00
Vlad
fe9ae392f2
Replaces URL extraction regex with DOM parser
...
Simplifies link replacement logic
Cleans up code
2017-07-14 23:15:08 -04:00
stoletniy
0be872eea9
Fix PHPCompatibility.PHP.EmptyNonVariable rule [MAILPOET-989]
2017-07-07 11:30:16 +03:00
stoletniy
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
Vlad
89da4c9aae
Prevents repeat subscription confirmation
...
Prevents scheduling of duplicate welcome notifications
2017-07-05 19:50:57 -04:00
stoletniy
b1425198b6
Merge pull request #967 from mailpoet/subscription_form_unit_test
...
Adds test for subscription form submission class [MAILPOET-961]
2017-07-04 14:46:26 +03:00
Vlad
8e46451337
Fixes non static methods called statically (good practice + PHP 7
...
compatibility)
2017-07-03 19:39:11 -04:00
stoletniy
29491dfd3e
Fix active coding standard rule violations in tests [MAILPOET-981]
2017-07-03 16:20:44 +03:00
Vlad
f89a728c38
Uses predetermined timestamps from which next run date is calculated
2017-06-24 15:59:28 -04:00
mrcasual
5b99e66d8d
Merge pull request #922 from mailpoet/fix-tests-problems
...
Fix tests problems
2017-06-07 10:34:20 -04:00
Pavel Dohnal
b80683a9a1
Fix unit tests for PHPUnit v6
...
Codeception from version 2.3 up comes with PHPUnit v6 which changed
__construct behaviour. Our tests have to call parent __constructor in
order to work. The error was:
[PHPUnit\Framework\Exception] array_merge(): Argument #1 is not an array
2017-06-07 11:32:33 +01:00
Vlad
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
Vlad
1c1a210542
Adds MailPoet logo to newsletters in the free version
2017-06-07 12:30:41 +03:00
Vlad
cd5f3165c7
Uses queue ID when fetching newsletter link by hash
2017-05-14 22:02:19 -04:00
stoletniy
abfebc8643
Merge pull request #880 from mailpoet/subscriber_shortcode_fix
...
Returns shortcode's default value when subscriber's first/last name is blank [MAILPOET-899]
2017-05-01 11:28:54 +03:00
Alexey Stoletniy
40a3487d3d
Remove a redundant condition, fix a typo in a test name [MAILPOET-880]
2017-05-01 11:20:33 +03:00
Vlad
4e76286b44
Returns shortcode's default value when subscriber's first or last name is empty
2017-04-28 09:49:00 -04:00
Vlad
586470e8f9
Updates unit tests
2017-04-26 17:58:45 -04:00
Tautvidas Sipavičius
0cdb426712
Fix ALC filtering for custom taxonomies and post types
2017-04-10 19:23:19 +03:00
Alexey Stoletniy
37fcd5699b
Fix last <br/> removal cutting off text when rendering a text block [MAILPOET-856]
2017-04-06 10:07:11 +03:00
Vlad
835f25cc82
Fixes unit test that fails on the last Saturday of the month
2017-03-25 02:24:38 -04:00
Alexey Stoletniy
ff36833270
Add a hook for reinstalling Premium [PREMIUM-2]
2017-03-23 15:27:15 +03:00
Alexey Stoletniy
32097b4512
Test that Premium hooks are executed [PREMIUM-2]
2017-03-21 21:36:36 +03:00
Alexey Stoletniy
e2864e2243
Add hooks for GA tracking feature [PREMIUM-2]
2017-03-20 12:09:58 +03:00
Vlad
66d039ace3
Catches exception thrown by cron dependency and prevents a fatal error
2017-02-27 19:21:32 -05:00
Vlad
d781ef6d01
Fixes scheduler test that fails on last Saturday
2017-01-28 11:07:26 -05:00
Vlad
a3f2c32a6d
- Adds custom date format as a shortcode action's argument
...
- Updates shortcodes logic to allow action arguments other than
"default"
2017-01-09 09:05:24 -05:00
Vlad
497c2fb595
- Introduces shortcode to custom format dates
2017-01-06 21:29:05 -05:00
Vlad
e4166cecba
- Updates date:dtext shortcode to display full day name
2017-01-04 13:06:29 -05:00
Vlad
f821a60a2c
- Removes open tracking code URL when newsletter is previewed
2016-12-22 22:58:43 -05:00
Vlad
e5e5e7b426
- Fixes preview of unsent post notifications
2016-12-19 19:19:51 -05:00
Vlad
9095482af2
- Updates unit tests
2016-12-18 23:24:58 -05:00
Vlad
eee22227b3
- Removes unused class import
...
- Fixes newsletter URL generation in archive shortcode
- Disables generation of subscription management/unsubscribe/view in
browser shortcodes when newsletter is previewed
2016-12-18 23:08:07 -05:00
Vlad
59b6877675
- Fixes non-paragraph elements inside blockquotes note being rendered
...
- Updates blockquote table width to 100% and allows text alignment
- Updates unit tests
2016-12-07 20:50:07 -05:00
Vlad
9708019ab6
- Returns false when subscriber is defined but not an object
...
- Updates unit tests
2016-12-05 11:48:20 -05:00