Commit Graph

59 Commits

Author SHA1 Message Date
273809be77 Update 'View in browser' header link
[MAILPOET-2196]
2019-08-21 11:17:13 -04:00
5d64ec168d Add rule for concatenation operator spacing
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
5da7110eb6 Use short array syntax
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
b9af15e19f Enforce array trailling commas
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
wxa
2fd244528d Move assorted tests from integration to unit [MAILPOET-2009] 2019-05-03 08:41:05 -04:00
wxa
f2e0dc7d2f Refactor URL helper to DI and move its test to unit [MAILPOET-2009] 2019-05-03 08:41:05 -04:00
bc32e5f6f3 Get rid of unused argument in inlineCss
[MAILPOET-1891]
2019-04-10 03:05:22 -04:00
c2f5a98893 Get rid of double parsing of html within rendering
[MAILPOET-1891]
2019-04-10 03:05:22 -04:00
wxa
f0683f5226 Revert "Get rid of double html parsing during render" [MAILPOET-1914]
This reverts commit 6056dcd417.
2019-03-20 09:23:14 -04:00
66ae3edf78 Get rid of double html parsing during render
[MAILPOET-1797]
2019-03-05 13:47:15 -05:00
3ee58aea10 Add space between if and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
ebbdec5ebd Add space between foreach and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
cd2ababade Refactor utils CSS so that it can be used as service in DI container
[MAILPOET-1730]
2019-01-31 14:36:26 +01:00
f1ab901e02 Preserve inlined link styles in header and footer
[MAILPOET-1730]
2019-01-31 14:36:26 +01:00
f43f3497af Fix styles inlining so that more specific styles are preserved
[MAILPOET-1730]
2019-01-31 14:36:26 +01:00
b6516068a0 Fix parseCss to return rules in correct order
[MAILPOET-1730]
2019-01-31 14:36:17 +01:00
wxa
0fbbcf3f9e Fix conflicts for test coverage to work [MAILPOET-1607] 2018-11-14 17:51:20 +03:00
wxa
8944fdbf1e Move tests without dependencies to unit folder [MAILPOET-1607] 2018-11-14 17:38:17 +03:00
wxa
87e515b89d Move current unit tests to integration tests 2018-10-29 17:57:47 +03:00
b632d74e5f triming settings values 2018-10-09 19:54:06 +02:00
f81323ad52 Rename Daemon to DaemonHttpRunner
[MAILPOET-1538]
2018-10-03 10:28:26 +02:00
017918c870 Add after migration notice
[MAILPOET-1492]
2018-09-19 10:27:04 +02:00
4a641ba94e Create permanent notices
[MAILPOET-1492]
2018-09-19 10:24:37 +02:00
cc2a39ac26 Fix: Using double quote break rendering [MAILPOET-1397] 2018-06-14 11:56:03 +02:00
73f51505a2 Close [MAILPOET-1344] "Easier what's new skipping"
* URL test now check for home URL instead of just 'http'
* Fixed a bug where getCurrentlURL() returned a broken path
* Added "I don't care about the update" button
* Update skip buttons now return to the previous page
2018-05-02 16:16:36 +02:00
8852f6a3f4 Adds function to test if string is a valid json 2017-12-20 22:13:00 -05:00
6996615999 Improves tests that would fail due to array_flip and 1 item in array 2017-12-10 19:31:35 -05:00
6de746162e Update Posts transformer to extract images by splitting the DOM tree 2017-07-28 14:36:12 +03:00
6fb18ad321 Fix PSR1.Classes.ClassDeclaration sniffer rule in tests [MAILPOET-1025] 2017-07-26 18:28:56 +03:00
321393f119 Fix Squiz.Classes.ClassFileName sniffer rule in tests [MAIPOET-1025] 2017-07-26 17:03:43 +03:00
849ca27d1f Adds filters to whitelist styles or scripts 2017-07-15 14:57:40 -04:00
cfc5f5a88d Allows defining custom link tag 2017-07-08 11:56:51 -04:00
1ba2492929 Combines Twig's "replaceLink" and Util/Helper's "replaceLinkTags"
methods into one
2017-07-07 11:02:20 -04:00
29491dfd3e Fix active coding standard rule violations in tests [MAILPOET-981] 2017-07-03 16:20:44 +03:00
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
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
c616b3299a Reverts to the use of public class property and introduces ugliness of
$_this
2017-01-27 11:51:26 -05:00
bfd35b1cdc Changes class variable to static; prevents
Fixed 'using $this when not in object contex' error on PHP 5.3
2017-01-27 09:12:31 -05:00
f1ced11809 Remove leading slashes in unit test imports [MAILPOET-764] 2017-01-25 16:28:36 +03:00
940328c608 - Updates assets locations to more precise names 2017-01-19 11:26:32 -05:00
5666116645 - Replaces reliance on style/script names with asset location
- Updates unit tests
2017-01-19 10:20:22 -05:00
efe187953c - Mocks a list of permitted assets 2017-01-17 08:30:51 -05:00
81d91188ac Merge pull request #782 from mailpoet/conflict_resolution_implementation
Unloads all scripts/styles that are not loaded by default by WP in admin panel [MAILPOET-723]
2017-01-16 17:30:03 +02:00
a851527ff5 - Unloads all scripts/styles that are not loaded by default by WP in
admin panel
2017-01-15 15:35:48 -05:00
76e292f494 - Fixes test when premium unlocker is enabled 2017-01-13 18:03:25 -05:00
5800883416 - Updates action names 2017-01-11 21:18:37 -05:00
39a6318105 - Adds scipts/styles conflict resolver and executes it only on MailPoet
admin menu pages
- Adds unit tests
2017-01-11 20:52:03 -05:00
4196d35e35 - Adds new ConflictResolver class
- Executes URL query parameter conflict resolver action in Router class
- Adds unit tests
2017-01-11 20:52:03 -05:00
c24d8135aa - Fixes subscriber limit unit test when premium plugin is active 2016-12-31 10:26:58 -05:00
7d2e13b9a3 - Updates license check logic
- Updates subscriber limit check logic
- Updates unit tests
- Updates Menu's check for subscriber limit
2016-10-27 12:35:57 -04:00