279c36a30d
Merge pull request #1094 from mailpoet/initializer_update
...
Updates plugin initialization logic [MAILPOET-1097]
2017-09-12 12:34:27 +03:00
ba86cbfb18
Updates unit test
2017-09-11 11:40:14 -04:00
b0343254c0
Renames db version setting value
2017-09-11 10:05:09 -04:00
98482cebf9
Uses plugin's settings to store DB version
2017-09-10 16:31:36 -04:00
36abd8e5e6
Don't show network activation notice for other plugins
...
[MAILPOET-1072]
2017-08-30 11:39:42 +02:00
eff996e1f8
Unify key state constant names, leave back compat with unlocker [MAILPOET-1070]
2017-08-29 10:58:16 +03:00
7c23415d26
Updates unit test as a result of AccessControl implementation
2017-08-23 11:28:09 -04:00
48f3ae4ea1
Adds access control unit tests
2017-08-23 11:28:08 -04:00
632bce7894
Adds AccessControl class that defines permissions for major plugin
...
operations
2017-08-22 09:04:39 -04:00
7cf3d0960d
Unify API response constants
...
[MAILPOET-1035]
2017-07-31 13:51:23 +02: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
6aca598dc3
Fix tests: unneeded migration was triggered by resetting the DB version to 1.0.0 (after EnvTest)
...
This caused errors when pinging the daemon [MAILPOET-940]
2017-07-13 16:26:53 +03:00
7a2aaa86cf
Tests that populator method is not run for versions below
...
3.0.0-beta.36.2.1
2017-07-11 14:26:29 +01:00
a36fe400ed
Merge pull request #966 from mailpoet/mp2tomp3migration
...
Settings migration from MP2 to MP3
2017-07-11 12:43:19 +03:00
22bb971db5
Merge pull request #980 from mailpoet/newsletter_listing_update
...
Sorts standard/history notification records by sent_at date in listings [MAILPOET-932]
2017-07-11 12:43:06 +03:00
b88452c5a2
Fixed: the "Skip Import" link was hidden after unit tests
2017-07-10 18:37:23 +02:00
f164e9bb95
Fixed: Leave the Newsletter task scheduler (cron) to its default value
2017-07-10 18:37:16 +02:00
25625b1ce1
Add unit tests for the settings migration
2017-07-10 18:37:13 +02:00
394118f113
Adds sent_at column to the newsletters table
...
Modifies populator to update existing newsletters' sent_at field
2017-07-07 11:05:33 -04:00
0be872eea9
Fix PHPCompatibility.PHP.EmptyNonVariable rule [MAILPOET-989]
2017-07-07 11:30:16 +03:00
22c39c0092
Fix PEAR.WhiteSpace.ScopeClosingBrace rule in tests [MAILPOET-989]
2017-07-07 11:11:16 +03:00
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
8e46451337
Fixes non static methods called statically (good practice + PHP 7
...
compatibility)
2017-07-03 19:39:11 -04:00
d5227a9f2c
Add tests for PDO exceptions rethrowing [MAILPOET-966]
2017-07-03 10:59:38 +01:00
933749f8f0
Merge pull request #941 from mailpoet/mp2tomp3migration
...
Mp2tomp3migration phase 2
2017-06-26 18:47:58 +03:00
faa035a7c3
Updates subscription forms to use assets manifest
...
Adds unit tests
2017-06-22 20:42:04 -04:00
6ff3895940
Add missing this for stubs expecting a number of method calls to work
2017-06-22 11:55:15 +01:00
5b905a60e8
Fixed: Unit test testReplaceMP2Shortcodes
2017-06-21 19:24:05 +02:00
9458bf7418
Add Unit tests for MP2 to MP3 migration phase 2
2017-06-21 19:24:01 +02:00
be63aa727d
Adds return statement to CSS compilication task
...
Swaps is_file with is_readable when checking for manifest's existance
2017-06-20 11:33:56 -04:00
6c270ab095
Reads and stores assets manifest inside Renderer class
...
Updates unit tests
2017-06-20 11:33:56 -04:00
01eaf1ef2d
Merge pull request #937 from mailpoet/premium_updates_fix
...
Add updater to the Free [PREMIUM-22]
2017-06-19 11:09:42 -04:00
ebe3f0bd00
Rename variables by coding standards
...
[MAILPOET-923]
2017-06-14 14:35:33 +01:00
fa3ba609f3
Show a notice to admin if network activation
...
Mailpoet seems to be working on network activated multisites but we
don't support it.
[MAILPOET-923]
2017-06-14 14:30:20 +01:00
fe9aa03de1
Add updater to the Free [PREMIUM-22]
2017-06-14 14:24:18 +03:00
5fa1eb643a
Remove tests that may fail because of the original database content
2017-06-12 13:13:17 +02:00
3a4b364bcd
Modify unit tests following previous changes
2017-06-12 13:13:16 +02:00
8517896660
Rename imported_data_mapping table to mapping_to_external_entities
2017-06-12 13:13:06 +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
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
5b99e66d8d
Merge pull request #922 from mailpoet/fix-tests-problems
...
Fix tests problems
2017-06-07 10:34:20 -04: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
580dd38b3a
Rename methods for consistency and better readability [PREMIUM-9]
2017-06-07 12:39:44 +03:00
47d4e98aae
Integrate installer with the Release API [PREMIUM-9]
2017-06-07 12:39:43 +03:00
7ebb7bac17
Add Premium installation/activation UI [PREMIUM-9]
2017-06-07 12:39:43 +03:00
f7efe44f09
Fix ServicesChecker behavior, make MSS check stricter [MAILPOET-890]
2017-06-07 12:30:38 +03:00
7aa0f21d11
Rework 'Send with...' tab UI, make a single license key field [MAILPOET-890]
2017-06-07 12:30:37 +03:00
92616063ec
Fix unit test for generating DB source name
2017-05-30 21:18:45 +03:00
3d2168856d
Fix unit tests for Env charsets and collations
2017-05-24 15:45:12 +03:00