Commit Graph

618 Commits

Author SHA1 Message Date
Rostislav Wolny
d0acad5c3b Inject WPFunctions to FieldNameObfuscator using DI
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
Jan Jakeš
4c4a0e4caa Fix and refactor ViewInBrowserRendererTest
[MAILPOET-2430]
2020-02-13 18:40:37 +00:00
Jan Jakeš
ce21cc2085 Move Newsletter\ViewInBrowserTest to ViewInBrowserRendererTest
[MAILPOET-2430]
2020-02-13 18:40:37 +00:00
Jan Jakeš
e3cc5a0ec0 Fix and refactor ViewInBrowserControllerTest
[MAILPOET-2430]
2020-02-13 18:40:37 +00:00
Jan Jakeš
216341d5f6 Move ViewInBrowserTest to ViewInBrowserControllerTest
[MAILPOET-2430]
2020-02-13 18:40:37 +00:00
Jan Jakeš
ddfc9647dd Use array instead of \stdClass, fix coding style
[MAILPOET-2430]
2020-02-13 18:40:37 +00:00
Jan Jakeš
923dc0d1dd Simplify and unify getViewInBroserUrl calls
[MAILPOET-2430]
2020-02-13 18:40:37 +00:00
Jan Jakeš
e5fcf5819d Remove 'type' parameter for view-in-browser, always include hash
[MAILPOET-2430]
2020-02-13 18:40:37 +00:00
Jan Jakeš
eb1c7673e3 Make $preview = true default for view-in-broser URL
[MAILPOET-2430]
2020-02-13 18:40:37 +00:00
wxa
d41eca48b2 Fix captcha case in comparison [MAILPOET-2698] 2020-02-12 18:11:06 +00:00
Amine Ben hammou
4516a44d9e Add test for newsletter stats
[MAILPOET-2503]
2020-02-10 18:07:59 +00:00
Amine Ben hammou
a5679a5dbf Fix code style and small bugs
[MAILPOET-2503]
2020-02-10 18:07:59 +00:00
Jan Jakeš
3018c1935c Fix cannot declare class error
[MAILPOET-2582]
2020-01-28 20:18:39 +00:00
Jan Jakeš
835d8bc0af Fix PHPUnit 6 & Codeception\Verify incompatibilities
[MAILPOET-2582]
2020-01-28 20:18:39 +00:00
Jan Jakeš
684b533bd8 Warn users on PHP < 7.1
[MAILPOET-2582]
2020-01-28 20:18:39 +00:00
Rostislav Wolny
447e01b0aa Remove new form editor feature flag
[MAILPOET-2549]
2020-01-27 10:08:31 +00:00
Jan Jakeš
996b58a388 Fix duplicate key messages for MySQL >= 8.0.19
[MAILPOET-2642]
2020-01-27 09:35:29 +00:00
Pavel Dohnal
4c5155132a Send a confirmation email when a user is added to a website
[MAILPOET-2567]
2020-01-27 09:26:15 +00:00
wxa
3584b717dc Fix array offset access on null/boolean and with curly braces [MAILPOET-2577] 2020-01-23 12:46:52 +00:00
Jan Jakeš
2ef41b56e0 Fix various regressions introduced by camel case conversion
[MAILPOET-2635]
2020-01-20 10:27:36 +00:00
Jan Jakeš
d955a9105a Use correct field names when mocking plugin information in a test
[MAILPOET-2635]
2020-01-20 10:27:36 +00:00
Rostislav Wolny
5ac582edcb Temporary comment out migration test assertion 2020-01-16 11:43:03 +01:00
Amine Ben hammou
856589da3d Fix code style
[MAILPOET-2537]
2020-01-16 10:35:43 +00:00
Amine Ben hammou
d9c86b8af2 Fix tests
[MAILPOET-2537]
2020-01-16 10:35:43 +00:00
Amine Ben hammou
6b8802e3f5 Add test
[MAILPOET-2537]
2020-01-16 10:35:43 +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š
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š
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š
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
Pavel Dohnal
02a924ed28 Update default form name spelling
[MAILPOET-2592]
2020-01-13 10:41:19 +01:00
Amine Ben hammou
fa961d27b8 Recheck keys and update subscribers limit
[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