Commit Graph

9033 Commits

Author SHA1 Message Date
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
6c67517b86 Refactor the code
[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
Amine Ben hammou
3caf7c5ce7 Fix code style
[MAILPOET-2537]
2020-01-16 10:35:43 +00:00
Amine Ben hammou
fd95939372 Add hidden lists to subscriber data
[MAILPOET-2537]
2020-01-16 10:35:43 +00:00
Jan Jakeš
f5927ea8ab Use camel case in new variables
[MAILPOET-2431]
2020-01-16 10:29:55 +00:00
Jan Jakeš
7fb08a495c Avoid displaying MSS not active message for a short time when activating
[MAILPOET-2431]
2020-01-16 10:29:55 +00:00
Jan Jakeš
61d66d730e Improve invalid key messages
[MAILPOET-2431]
2020-01-16 10:29:55 +00:00
Jan Jakeš
97a0f62d2c Update Premium & MSS messages
[MAILPOET-2431]
2020-01-16 10:29:55 +00:00
Jan Jakeš
10689f7a3c Add missing MSS not activated message & activation button
[MAILPOET-2431]
2020-01-16 10:29:55 +00:00
Jan Jakeš
8cde305a34 Remove side-effects from messages
[MAILPOET-2431]
2020-01-16 10:29:55 +00:00
Jan Jakeš
7151e23f47 Improve 'Verify' button styling
[MAILPOET-2431]
2020-01-16 10:29:55 +00:00
Jan Jakeš
121740a08f Track Premium plugin state correctly
[MAILPOET-2431]
2020-01-16 10:29:55 +00:00
Jan Jakeš
300f0141e1 Add acceptance tests for MSS & Premium install/activation
[MAILPOET-2431]
2020-01-16 10:29:55 +00:00
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
Jan Jakeš
757d09ac19 Improve message styling
[MAILPOET-2431]
2020-01-16 10:29:55 +00:00
Jan Jakeš
d0b5a136b3 Preserve dependent functionality on MTA tab
[MAILPOET-2431]
2020-01-16 10:29:55 +00:00
Jan Jakeš
014e6be4dc Automatically activate MSS after key activation
[MAILPOET-2431]
2020-01-16 10:29:55 +00:00
Jan Jakeš
7a35d0276d Reset status on key change and before verification
[MAILPOET-2431]
2020-01-16 10:29:55 +00:00
Jan Jakeš
0bd1b27826 Update MSS messages
[MAILPOET-2431]
2020-01-16 10:29:55 +00:00
Jan Jakeš
f73a7e0d5b Add and display global key status
[MAILPOET-2431]
2020-01-16 10:29:55 +00:00
Jan Jakeš
e569a90ad8 Implement automatic premium installation/activation
[MAILPOET-2431]
2020-01-16 10:29:55 +00:00
Jan Jakeš
84a17505c4 Add detailed premium installation messages
[MAILPOET-2431]
2020-01-16 10:29:55 +00:00
Jan Jakeš
233189a341 Use PremiumStatus for detailed premium messages
[MAILPOET-2431]
2020-01-16 10:29:55 +00:00
Jan Jakeš
b088dd8dcc Fully reload page when entering or leaving '#premium' tab in Settings
[MAILPOET-2431]
2020-01-16 10:29:55 +00:00
Jan Jakeš
7112836fad Hide 'Save settings' button on Key Activation tab
[MAILPOET-2431]
2020-01-16 10:29:55 +00:00
Jan Jakeš
7da4128169 Rewrite basics of Premium settings tab to React
[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š
8e38925850 Add back compatibility for older Premium plugin with underscore naming
[MAILPOET-2636]
2020-01-15 16:09:17 +01:00
Pavel Dohnal
d50d062e23 Ignore cancelled orders in segments
[MAILPOET-2524]
2020-01-14 18:56:20 +00:00
Pavel Dohnal
2d957c3836 Remove redundant keyword
[MAILPOET-2632]
2020-01-14 18:47:39 +00:00
Jan Jakeš
0c62da9664 Fix errors discovered by automated script
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
Jan Jakeš
edb07f03ac Convert variable names to camel case in PHPStan baseline files
[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š
71d623f915 Fix errors in Tracy panels
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
Jan Jakeš
9ce05257e4 Add support for camel case properties to old models
[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š
9a1a1c34f4 Replace usage of compact() function with an array
[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