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
472be3b071
Import the MP2 users lists
...
Import the MP2 users
Add the table "imported_data_mapping"
Add the function Helpers::mysql_date
2017-06-12 13:13:00 +02:00
a1ea56f505
Coding standard fixes
2017-06-12 13:12:58 +02:00
dd7f959731
Migration from Mailpoet 2 to Mailpoet 3 : phase 0
...
Interface
2017-06-12 13:12:57 +02:00
adc86ef247
Increases hash length and random string size
2017-05-15 13:07:18 -04: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
4c785902bc
Resolves script conflicts in WP's admin footer
2017-05-01 11:57:48 -04:00
87b270482b
Fixes rules with colons (e.g, background-image: url(http://....);) from
...
being incorrectly parsed
2017-03-26 18:45:07 -04:00
bcf89f0dfe
Set newsletter status as draft when restoring newsletters trashed during sending [MAILPOET-816]
2017-02-21 13:13:59 +03:00
cb813171ce
Remove html_entity_decode() constants not supported by PHP 5.3 [MAILPOET-812]
2017-02-14 12:22:35 +03:00
93f7739f46
Extends pQuery to use UTF-8 encoding on older versions of PHP
2017-02-13 21:00:32 -05:00
1e1ae4c3cf
Whitelist translation handling plugin's admin assets on MP pages
...
[MAILPOET-805]
2017-02-02 14:10:57 +02: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
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
a851527ff5
- Unloads all scripts/styles that are not loaded by default by WP in
...
admin panel
2017-01-15 15:35:48 -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
bbe3d48ec1
Add dependency checking to prevent conflicts with other plugins
...
MAILPOET-690
2016-12-09 18:05:19 +02:00
bf54eeb345
- Updates error messages and links to KB articles
...
- Adds polyfills for mb_string functions
- Aborts initialization if PDO extension is not found (critical
requirement)
2016-11-20 12:14:27 -05:00
e553922eca
Update composer.lock and remove leftover comment
2016-11-02 11:30:52 +02:00
f037e1271d
- Removes php-simple-html-dom-parser dependency
...
- Updates CSS inliner to use pQuery DOM parser
2016-10-31 19:01:48 -04: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
a4395f2350
- Adds unit tests
2016-10-27 11:16:30 -04:00
411969b3eb
- Adds check for premium plugin status
...
- Bypasses subscriber count enforcement if premium is enabled
2016-10-27 10:20:05 -04:00
cc523a3c0b
ability to specify action for generateToken() method
2016-10-21 13:36:41 +02:00
37f59814e5
removed unused methods in Util/CSS -> fixes security issue #635
2016-10-13 10:34:36 +02:00
4402f826c3
fixed issue with namespace AND fixed issue #649
2016-10-06 12:54:04 +02:00
b9745b555a
make sure ABSPATH is defined before using it - fixes issue #648
2016-10-06 12:52:53 +02:00
e7ee356f90
cleanup permissions related classes
2016-07-07 15:49:03 +02:00
b8c6d54f48
Fix "Closing brace must be on a line by itself" code sniffer errors
2016-06-30 18:50:48 +03:00
24e108bce7
Remove spaces after type casts
2016-06-30 18:49:50 +03:00
c22d434dff
Merge pull request #531 from mailpoet/unit_test_catchup
...
Unit test update
2016-06-28 12:22:50 +03:00
88dc7f4199
removing DKIM and useless classes
2016-06-22 13:47:54 +02:00