Commit Graph

165 Commits

Author SHA1 Message Date
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
Vlad
26d9b915a2 - Adds unit test for shortcodes helper class 2016-05-31 21:30:38 -04:00
Vlad
16cb91990b - Updates unit test 2016-05-31 20:08:45 -04:00
Vlad
be238f4c67 - Fixes unit test
- Corrects method name in scheduler
2016-05-18 10:00:09 -04:00
Vlad
f36dbb78e6 - Updates unit test 2016-05-02 13:44:36 -04:00
Vlad
cca76d0d97 - Adds custom shortcode processing logic
- Updates shortcode categories code
- Completely rewrites shortcodes unit tess
2016-05-01 14:07:06 -04:00
Vlad
412201d965 - Updates unit test 2016-04-30 22:38:39 -04:00
Vlad
5bad682879 - Merges all shortcode links under one category
- Adds filter hooks for custom links
- Renames old shortcodes in the editor and elsewhere
2016-04-30 22:19:59 -04:00
Vlad
2459a103fd - Ignores sticky posts when fetching latest post title
- Updates unit test
2016-04-26 19:53:23 -04:00
Vlad
dd8f58e35e - Fixes incorrect newsletter issue number display
- Updates newsletter 'last post title' logic
- Updates shortcode extraction regex to allow limiting extraction of only
  specific categories
- Updates unit tests
- Closes #380
2016-04-21 20:04:02 -04:00
Vlad
f930b3303b - Sets text-align to left when it's not center|justify|right 2016-04-08 20:37:00 -04:00
Vlad
ba40437eb9 - Enables dynamic line-height based on font-size 2016-04-08 15:19:14 -04:00
Vlad
a00f1efcfe - Updates unit test due to button style change 2016-04-07 19:38:15 -04:00
Vlad
4f30158722 - Updates button height calculation
- Removes background color when it's set to "transparent"
- Removes second line break from paragraphs
- Introduces other changes based on Becks's testing
- Updates unit tests
2016-03-31 19:19:58 -04:00
Vlad
aa1a2a0da9 - Updates button padding 2016-03-30 20:09:06 -04:00
Vlad
608b559ee1 - Minor adjustment to the shortcodes logic 2016-03-21 09:09:43 -04:00
Vlad
181ed45d0b - Updates shortcodes logic
- Implements [newsletter:total] and [newsletter:number] shortcodes
- Implements shortcode replacement in subject line
- Updates unit tests
Issue #380
2016-03-21 09:09:43 -04:00
Jonathan Labreuille
8ece62c9a6 fix tests 2016-03-18 14:58:33 +01:00
Jonathan Labreuille
a9b9e9c631 Updated tests in order to fix WP related issues 2016-03-18 14:30:59 +01:00
Jonathan Labreuille
f11de2f1ad Updated shortcodes for unsubscribe/manage/browser links
- fixed all issues in #387 except the custom mailpoet pages
2016-03-17 15:48:06 +01:00
Jonathan Labreuille
72882aaf2b fixed shortcodes replacement for "global:" in newsletters
- extracted "get subscription pages urls" from models\Subscriber
- added unit tests for subscription\url class (not working because of WP/Codeception issue)
2016-03-17 15:45:05 +01:00