Commit Graph

3114 Commits

Author SHA1 Message Date
Jan Jakeš
75c9f700ba Clean Premium plugin in tests CleanupExtension
[MAILPOET-2431]
2020-01-16 10:29:55 +00:00
Jan Jakeš
c77c523c57 Fix permissions in acceptance tests to allow plugin installation
[MAILPOET-2431]
2020-01-16 10:29:55 +00:00
Jan Jakeš
4e75bcd296 Implement API for Premium plugin installation and activation
[MAILPOET-2431]
2020-01-16 10:29:55 +00:00
Pavel Dohnal
1dbd2bd1da Skip failing test for now
[MAILPOET-2640]
2020-01-16 11:05:20 +01:00
Pavel Dohnal
2496cb7fce Update tests for new MySQL version
[MAILPOET-2640]
2020-01-16 11:05:20 +01:00
Pavel Dohnal
3b9ba5cac2 Fix stats redirect
When an unauthenticated user comes to any page they are redirected
to login screen. After they authenticate they are redirected
to the original page. But the # part of the url is ignored.
So we have to use regular query params from the email and
redirect user to the canonical URL later.

[MAILPOET-2554]
2020-01-15 16:50:24 +00:00
Jan Jakeš
0c62da9664 Fix errors discovered by automated script
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
Jan Jakeš
2ec85eee7b Fix mock naming and strings in integration tests
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
Jan Jakeš
e66c76133e Exclude MailPoet data structures from camel case conversion
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
Jan Jakeš
685b4885c0 Exclude WordPress and WooCommerce variables from camel case conversion
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
Jan Jakeš
fbcaeaadbc Convert Doctrine specific code to camel case
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
Jan Jakeš
3ef92bacba Avoid name collisions in acceptance tests
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
Jan Jakeš
6522635dc7 Exclude globals from camel case conversion
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
Jan Jakeš
94afd66325 Convert properties not caught by Code Sniffer to camel case
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
Jan Jakeš
f49757bd4e Convert variables not caught by Code Sniffer to camel case
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
Jan Jakeš
d0292f8624 Convert variable names to camel case in PHPDoc
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
Jan Jakeš
7a66366ab5 Convert property names to camel case in strings
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
Jan Jakeš
3bbc8ea2af Convert variable names to camel case in strings
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
Jan Jakeš
8c848cfa28 Convert property names to camel case
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
Jan Jakeš
54549ff037 Convert variable names to camel case
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
Amine Ben hammou
5d59f53834 Check the API key state
[MAILPOET-2624]
2020-01-14 10:57:20 +00:00
Pavel Dohnal
02a924ed28 Update default form name spelling
[MAILPOET-2592]
2020-01-13 10:41:19 +01:00
Rostislav Wolny
a18bf316a0 Fix custom fields unique flag mapping when saving
This flag is used by old form editor and it prevents adding the field multiple times
[MAILPOET-2592]
2020-01-09 09:20:33 +01:00
Pavel Dohnal
e4cae403ad Update default form copy
[MAILPOET-2592]
2020-01-09 09:20:33 +01:00
Pavel Dohnal
34203b3d69 Set default label ''
[MAILPOET-2592]
2020-01-09 09:20:33 +01:00
Rostislav Wolny
8806e4e8f8 Add sanitization for missing label to mapper
[MAILPOET-2592]
2020-01-09 09:20:33 +01:00
Amine Ben hammou
bf175e6e3a Add tests
[MAILPOET-2617]
2020-01-07 17:55:23 +00:00
Amine Ben hammou
fa961d27b8 Recheck keys and update subscribers limit
[MAILPOET-2396]
2020-01-07 09:39:28 +00:00
Amine Ben hammou
55f8626493 Change warning when user hasw an API key
[MAILPOET-2396]
2020-01-07 09:39:28 +00:00
Rostislav Wolny
2a70a4813c Fix Carbon:createFromTimestamp data type
[MAILPOET-2590]
2020-01-06 11:18:02 +00:00
Rostislav Wolny
9c82da7b01 Update last_subscribed_at when user confirms subscription
[MAILPOET-2590]
2020-01-06 11:18:02 +00:00
wxa
cde877122a Fix various undefined variables and argument types [MAILPOET-2488] 2019-12-30 14:51:22 +01:00
wxa
17b578a09f Fix undefined classes and functions [MAILPOET-2488] 2019-12-30 14:51:22 +01:00
wxa
09a1411c81 Fix types with annotations [MAILPOET-2488] 2019-12-30 14:51:22 +01:00
wxa
bd1a84c5c3 Fix types by casting [MAILPOET-2488] 2019-12-30 14:51:22 +01:00
wxa
c493a43c35 Fix SendingTask creation from queue [MAILPOET-2488] 2019-12-30 14:51:22 +01:00
wxa
6ed3915b1a Use a wrapped function for current_time [MAILPOET-2488] 2019-12-30 14:51:22 +01:00
wxa
176aba69fe Specify types for mocks [MAILPOET-2488] 2019-12-30 14:51:22 +01:00
wxa
dec7bc24a5 Fix undefined properties in models [MAILPOET-2488] 2019-12-30 14:51:22 +01:00
wxa
7285a4a075 Fix extra arguments in method calls [MAILPOET-2488] 2019-12-30 14:51:22 +01:00
wxa
ce719433e8 Fix constructors [MAILPOET-2488] 2019-12-30 14:51:22 +01:00
wxa
1d757e1374 Fix undefined properties in tests [MAILPOET-2488] 2019-12-30 14:51:22 +01:00
wxa
091e17ce0c Add PHPStan to integration tests, fix a class name conflict [MAILPOET-2488] 2019-12-30 14:51:22 +01:00
Amine Ben hammou
43df66d162 Add public keyword to methods
[MAILPOET-2413]
2019-12-26 18:09:45 +03:00
Jan Jakeš
395a66228a Fix PHP 7.4 deprecations in test setup
[MAILPOET-2588]
2019-12-26 14:36:45 +01:00
wxa
20d42af4dc Remove the WC customizer feature flag [MAILPOET-2285] 2019-12-24 17:01:32 +03:00
wxa
9fdd37dbd8 Fix WC heading padding in rendering [MAILPOET-2569] 2019-12-23 21:55:40 +03:00
wxa
d84c45e5f1 Fix colors in rendering [MAILPOET-2569] 2019-12-23 21:55:40 +03:00
wxa
fa81c24825 Sync WC customizer styles to WooCommerce settings [MAILPOET-2569] 2019-12-23 21:55:40 +03:00
Rostislav Wolny
d3ce76f88d Use instance of checks for detecting WCProduct
[MAILPOET-2586]
2019-12-19 18:08:26 +00:00