Commit Graph

651 Commits

Author SHA1 Message Date
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
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
Amine Ben hammou
43df66d162 Add public keyword to methods
[MAILPOET-2413]
2019-12-26 18:09:45 +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
Jan Jakeš
20456ec8c8 Add test for WP transactional email meta info
[MAILPOET-2574]
2019-12-19 13:40:43 +00:00
Jan Jakeš
e784b120b6 Add subscriber source and status for WP transactional emails
[MAILPOET-2574]
2019-12-19 13:40:43 +00:00
Pavel Dohnal
ff9bd232ec Refactor custom fields api to doctrine
[MAILPOET-2453]
2019-12-19 10:24:41 +01:00
Jan Jakeš
fd94475194 Make fallback mailer initialization lazy to avoid crashing the plugin
[MAILPOET-2581]
2019-12-17 20:06:20 +00:00
Jan Jakeš
a5ec593568 Rewrite mocks to nicer variants
[MAILPOET-2539]
2019-12-17 19:54:23 +00:00
Jan Jakeš
04f266518b Rewrite SimpleWorkerTest to tests of particular services
[MAILPOET-2539]
2019-12-17 19:54:23 +00:00
Jan Jakeš
9c02da4626 Fix WooCommerce orders worker tests
[MAILPOET-2539]
2019-12-17 19:54:23 +00:00
Jan Jakeš
9adbd7f4a8 Fix automated emails worker tests
[MAILPOET-2539]
2019-12-17 19:54:23 +00:00
Jan Jakeš
a8f1cd15bf Fix Migration worker tests
[MAILPOET-2539]
2019-12-17 19:54:23 +00:00