00a45f3214
Make Codeception report all errors (incl. E_STRICT and E_DEPRECATED) when running tests [MAILPOET-961]
2017-07-04 14:30:15 +03:00
8e46451337
Fixes non static methods called statically (good practice + PHP 7
...
compatibility)
2017-07-03 19:39:11 -04:00
af559a6fac
Merge pull request #971 from mailpoet/tests_qa
...
Add a copy of MailPoet PHP coding standard for tests [MAILPOET-981]
2017-07-03 18:03:43 +03:00
67acceb968
Merge pull request #965 from mailpoet/posts_dynamic_loading
...
Add dynamic post loading in Posts widget settings [MAILPOET-971]
2017-07-03 17:18:12 +03:00
703ee7ff71
Fix line breaks in tests [MAILPOET-981]
2017-07-03 16:29:21 +03:00
29491dfd3e
Fix active coding standard rule violations in tests [MAILPOET-981]
2017-07-03 16:20:44 +03:00
d5227a9f2c
Add tests for PDO exceptions rethrowing [MAILPOET-966]
2017-07-03 10:59:38 +01:00
2774101380
Adds Twig filter to replace [link] tags inside strings
...
Adds unit tests
2017-07-03 09:35:01 +01:00
3ac416de56
Allows passing request data to form submission class
...
Adds unit tests
2017-07-01 11:17:04 -04:00
1e4c00169f
Adds AspectMock library to mock static methods/etc.
2017-07-01 11:15:15 -04:00
04e238634d
Add unit tests [MAILPOET-971]
2017-06-29 15:34:26 +03:00
f89a728c38
Uses predetermined timestamps from which next run date is calculated
2017-06-24 15:59:28 -04: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
0e5401dd68
Fix keys being invalidated after saving settings [MAILPOET-963]
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
5f9baed195
Modifies Assets class to use manifest file
...
Adds unit tests
2017-06-20 11:33:07 -04:00
1d6cdfe2cc
Merge pull request #945 from mailpoet/newsletter_preview_email_update
...
Adds bogus list-unsubscribe link & disables view in browser link in preview emails [MAILPOET-948] [MAILPOET-875]
2017-06-20 12:22:25 +03:00
812c6634ba
Mixpanel analytics [MAILPOET-686] ( #940 )
...
* Send analytics data to mixpanel
[MAILPOET-686]
2017-06-20 12:20:50 +03:00
cbcd9fb22f
Adds support for list-unsubscribe header to the MSS method
...
[MAILPOET-956]
2017-06-19 16:19:31 +01: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
43c2908a2b
Adds unit test for "preview" mode, which replaces system links with
...
hashes in preview emails
2017-06-19 11:04:51 -04:00
8d496e7aa3
Adds unit test for fake unsubscribe url
2017-06-19 09:08:19 -04:00
2d3aae9dd0
Fixes queue not being processed for scheduled newsletters
...
Sets newsletter status to "sending" when queue was processed
Uses defined constants where appropriate
2017-06-15 19:11:35 -04:00
6653327f7f
Merge pull request #939 from mailpoet/key_check_refactoring
...
Separate checking and storing of the keys [MAILPOET-939]
2017-06-15 15:47:38 +03:00
1aba3112e9
Separate checking and storing of the keys [MAILPOET-939]
2017-06-15 13:00:56 +03: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
7d9a072545
Merge pull request #928 from mailpoet/wp_mail_switch
...
Replaces SwiftMailer's mail() method with WP's PHPMailer [MAILPOET-926]
2017-06-13 14:10:07 +03:00
02098a3cf0
Merge pull request #888 from mailpoet/mp2tomp3migration
...
MP2 to MP3 migration [MAILPOET-946]
2017-06-12 19:41:46 +03:00
09db1aac22
Merge pull request #929 from mailpoet/mp_api_fix
...
Fixes confirmation emails not sent when adding subscriber in MP API [MAILPOET-942]
2017-06-12 14:22:05 +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
667aa91581
Adds character encoding
2017-06-12 13:13:02 +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
09f4f2e78a
Fix a unit test [MAILPOET-942]
2017-06-12 11:38:01 +03:00
420058a86d
Optimizes tests
...
Adds new tests
2017-06-11 12:18:14 -04:00
c91f8ccc7a
Replaces SwiftMailer's mail() method with WP's PHPMailer
2017-06-09 09:52:22 -04:00
6a2b5e28c2
Merge pull request #927 from mailpoet/fix-alc-buttons-settings
...
Fix ALC buttons settings when updating all buttons [MAILPOET-896]
2017-06-09 09:35:36 +03:00
bc51b6efc8
Add replaceAllButtonStyles test to button
...
[MAILPOET-896]
2017-06-09 07:24:26 +01:00
152edda03f
Add unit test
...
[MAILPOET-896]
2017-06-08 16:58:30 +01:00
94fb8c6096
Merge pull request #918 from mailpoet/beacon_update_with_premium_version
...
UTF-8 encodes beacon data
2017-06-08 12:38:18 +03:00
5b99e66d8d
Merge pull request #922 from mailpoet/fix-tests-problems
...
Fix tests problems
2017-06-07 10:34:20 -04:00