Commit Graph

271 Commits

Author SHA1 Message Date
0c389f7a0c Merge pull request #1709 from mailpoet/upgrade-codeception
Upgrade codeception and lucatume/wp-browser [MAILPOET-1713]
2019-01-10 07:07:34 -05:00
afb61700a3 Improve PHP 5.6 warning
[MAILPOET-1690]
2019-01-03 14:34:22 +01:00
d76d5d2675 Upgrade codeception and lucatume/wp-browser and minor deps versions
[MAILPOET-1713]
2019-01-03 11:30:08 +01:00
wxa
bd9118a42e Change outdated PHP version notice [MAILPOET-1659] 2018-11-29 16:06:50 +03:00
wxa
d93a3bb52f Exclude permanent notices in the welcome wizard [MAILPOET-1659] 2018-11-29 16:06:50 +03:00
250a02f7f8 Update the PHP version message
[MAILPOET-1660]
2018-11-27 16:29:39 +01:00
0e4de4197d Merge pull request #1651 from mailpoet/array-column-fix
User polyfill for array_column [MAILPOET-1618]
2018-11-27 07:51:31 -05:00
a9f3eeeb0d User polyfill for array_column
[MAILPOET-1618]
2018-11-27 11:13:00 +01:00
wxa
467bef1d61 Do not require pluggable.php [MAILPOET-1650] 2018-11-22 17:01:33 +03:00
9d0b7077d0 Fix catching non-existent exception & missing exception instantiation 2018-11-15 11:41:04 +01:00
wxa
4a781849db Display outdated PHP version warning for 5.6 [MAILPOET-1610] 2018-11-05 11:18:15 +03:00
c4094efd91 Update PHP 5.6 warning
[MAILPOET-1610]
2018-11-05 11:15:59 +03:00
wxa
82d6a4b096 Permit CSS assets to be loaded from WP.com CDN on MP3 pages [MAILPOET-1584] 2018-10-26 14:42:46 +03:00
a943589de9 Update text on premium page
[MAILPOET-1590]
2018-10-18 15:08:51 +02:00
c0e252f42a Update the discount amount
[MAILPOET-1590]
2018-10-18 09:36:41 +02:00
72ea5fb84e Display the announcement on the dashboard only
[MAILPOET-1590]
2018-10-18 09:31:22 +02:00
cc303c0cd3 Remove opening in new tab
[MAILPOET-1590]
2018-10-18 09:16:25 +02:00
d11c9c5296 Remove hanging period
[MAILPOET-1590]
2018-10-18 09:14:54 +02:00
64e5742700 Merge pull request #1553 from mailpoet/fix-wp-com
Permit JS assets to be loaded from WP.com CDN on MP3 pages [MAILPOET-1584]
2018-10-16 05:57:37 -04:00
91a1ca69ed fixing typos and failing tests 2018-10-15 20:07:05 +02:00
ce6711d69e adding discount to premium page 2018-10-15 17:36:05 +02:00
0639b1ad1f adding notice to dashboard 2018-10-15 17:36:05 +02:00
bdf244536d Permit JS assets to be loaded from WP.com CDN on MP3 pages [MAILPOET-1584]
The CDN is provided by JetPack plugin in their "Asset CDN" beta feature
2018-10-11 17:21:06 +03:00
b632d74e5f triming settings values 2018-10-09 19:54:06 +02:00
c2bb93f3b7 Ensure notice is not shown on wizard
[MAILPOET-1492]
2018-09-19 14:30:11 +02:00
d42d48c716 Rename some methods
[MAILPOET-1492]
2018-09-19 10:28:24 +02:00
017918c870 Add after migration notice
[MAILPOET-1492]
2018-09-19 10:27:04 +02:00
de6ba39595 Fix private access error 2018-09-19 10:24:37 +02:00
4a641ba94e Create permanent notices
[MAILPOET-1492]
2018-09-19 10:24:37 +02:00
ae0e03d2f3 Update code for PHP 5.5
[MAILPOET-1496]
2018-08-23 12:10:21 +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
ca9e11a231 using apply_filters 2018-03-14 15:00:57 +01:00
cca4fc02c0 adding dynamic segments to export options 2018-03-07 15:14:29 +01:00
a5137c8d62 adding polyfill for mb_detect_order 2018-03-06 12:15:18 +01:00
c4f285afca Not use deprecated code 2018-01-18 16:28:30 +00:00
8852f6a3f4 Adds function to test if string is a valid json 2017-12-20 22:13:00 -05:00
955f24e71a Load mb_strtoupper() polyfill for MP2 migration
* Load mb_strtoupper() polyfill for MP2 migration
* Add "symfony/polyfill-mbstring" as explicit dependency
* Fixate AspectMock at 2.0.1
* Generate composer.lock with PHP 5.6 to include required dependencies

[MAILPOET-1234]
2017-12-05 11:15:31 +00:00
9f5fc151b4 Move throttling out of the Subscriber model to the API 'subscribe' method [MAILPOET-1115] 2017-09-28 15:45:35 +01:00
7ac5e65963 Fix php notice 2017-08-30 10:30:16 +02:00
6de746162e Update Posts transformer to extract images by splitting the DOM tree 2017-07-28 14:36:12 +03:00
849ca27d1f Adds filters to whitelist styles or scripts 2017-07-15 14:57:40 -04:00
b88452c5a2 Fixed: the "Skip Import" link was hidden after unit tests 2017-07-10 18:37:23 +02: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
f5e985baa4 Change: Move the progress bar JSON file to the wp-content/uploads/mailpoet directory and remove "mailpoet" from its filename 2017-06-12 13:13:14 +02:00
c78933f7c4 Numerous fixes following the code review:
H1 title should be "Welcome to MailPoet version 3!", as per wireframes
remove logo in top right of the page
remove the classes feature-section one-col to the parent
new styles for #logger
progress bar: ensure that the color and size for the font are the same as our current progress bar.
display the progress bar at 100% when the import of subscribers and lists is complete
move loadSQL() function in tests/_support/Helper/Database.php
remove CSS browser prefixes
use AMD module definition to embed the JavaScript
remove extra whitespace in JavaScript file
remove the redundant functions descriptions
rename objectPlugin to mailpoet_mp2_migrator
replace private $chunks_size by the constant CHUNK_SIZE
add the constant IMPORT_TIMEOUT_IN_SECONDS
replace Helpers::mysqlDate() by $datetime->formatTime(time(), \MailPoet\WP\DateTime::DEFAULT_DATE_TIME_FORMAT)
make the log messages translatable
fix PHPDoc
replace Env::$plugin_name by 'mailpoet' in the translation functions
use $snake_case for variable names, use lowercaseCamelCase for method names, use CamelCase for class names
define MP2 table names as constants
add spaces around ternary operators
use the models for MP3 entities, instead of counting via raw SQL queries
use \ORM::for_table('some_table')::count()
2017-06-12 13:13:05 +02:00
cb6f4046a2 Removes utf8 decoding that breaks import 2017-06-12 13:13:03 +02:00
b7f7dc6728 Add unit tests for the MP2Migrator class
Add the method "invokeMethod" in the MailPoetTest class to be able to test private and protected methods
Move the "rowsCount" method in the Helpers class for reusability
Add the method "loadSQL" in the Helpers class
Store the mapping between MP2 user ID and MP3 subscriber ID
2017-06-12 13:13:02 +02:00
ad1e8feb23 QA fixes 2017-06-12 13:13:01 +02:00