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
Tautvidas Sipavičius
c658778476
Merge pull request #723 from mailpoet/bounced_subscribers
...
Add 'Bounced' status to subscribers [MAILPOET-684]
2016-11-29 12:47:41 +02:00
Vlad
5bc17f5e76
- Saves welcome emails with high priority
...
- Fixes welcome emails not being sent to WP users
- Updates unit tests
2016-11-28 18:49:35 -05:00
Alexey Stoletniy
36b935b9ae
Add 'Bounced' status to subscribers [MAILPOET-684]
...
Fix SubscriberTest->testItHasGroupFilter() making only one of four assertions due to lack of data.
Fix a small issue with Import. Unexpected values for the status field were converted to 'unconfirmed' rather than 'subscribed' due to non-strict comparison in in_array(). This hindered 'bounced' status import as well.
2016-11-28 19:37:47 +03:00
Vlad
9cd7b1a204
- Updates unit tests
...
- Addresses #628 (3)
2016-11-03 20:56:25 -04:00
Vlad
5e9e53ec41
- Updates router to use json_encode() instead of serialize() for publicly modified data payload
...
- Updates unit tests
- Fixes #634
2016-10-17 22:39:36 -04:00
Jonathan Labreuille
90b95a2c25
fixed 'newletter' typo and replaced integer weekdays by their carbon constant equivalent
2016-10-17 11:35:57 +02:00
Vlad
78c50c41e3
- Fixes unit test
...
- Updates code as per code review comments
2016-10-18 14:29:53 -04:00
Vlad
e565a7a234
- Uses Codeception's native methods to verify expectations
...
- Updates next run date test conditions to use account for possible time
difference
2016-09-26 12:35:00 -04:00
Vlad
e1c5f609ff
- Adds unit test
2016-09-23 20:16:53 -04:00
Vlad
13ed3aa3b9
- Adds unit test
2016-09-21 14:09:24 -04:00
Vlad
e1caf49ea5
- Updates depreciated method name
2016-09-19 20:10:47 -04:00
Vlad
59d30cc139
- Renames router URL query parameter and router class
...
- Updates other classes to use the new name
- Updates unit tests
2016-08-25 09:57:14 -04:00
Vlad
6868142e35
- Extracts view in browser response to the endpoint
...
- Updates unit tests
2016-08-24 10:20:35 -04:00
Vlad
75b94690e2
- Adds unit tests
2016-08-23 23:42:56 -04:00
Tautvidas Sipavičius
87332037c2
Do not render images or social icons if image src is not defined
2016-08-12 16:18:44 +03:00
Vlad
d3ebc9706c
- Updates unit test
2016-07-22 08:45:32 -04:00
Vlad
d6cbe5aac8
- Fixes incorrect shortcode name
...
- Updates unit test
2016-06-08 11:09:33 -04:00