Commit Graph

13505 Commits

Author SHA1 Message Date
Rostislav Wolny
7b773e2acb Fix createOrder in tests to work with disabled opt-in checkbox
[MAILPOET-3657]
2021-08-09 16:51:27 +02:00
Rostislav Wolny
3cedca311d Unsubscribe on checkout only when opt-in is checkbox is present
This change unifies behaviour with registration page opt-in checkbox.
[MAILPOET-3657]
2021-08-09 16:51:27 +02:00
Rostislav Wolny
47ef8944f8 Do not set status in sync of registered customer
Subscriber status is already handled when the user is added to
WordPress Users list.
[MAILPOET-3657]
2021-08-09 16:51:27 +02:00
Rostislav Wolny
12c9019939 Mark customers without optin as unsubscribed
[MAILPOET-3657]
2021-08-09 16:51:27 +02:00
Rostislav Wolny
b46335a562 Fix filter for rendering WooCommerce checkou optin
Without the return argument the input is immediately rendered
and the function returns null. The filter than received null
instead of HTML string and the input was already rendered before
the filter was called.
[MAILPOET-3657]
2021-08-09 16:51:27 +02:00
Rodrigo Primo
8513a4d986 Fix checkMissingTypehint PHPStan errors
This commit removes the checkMissingTypehints flag
from PHPStan configuration files and fixes all associated errors in our
code base.

[MAILPOET-3236]
2021-08-09 12:58:56 +02:00
Rodrigo Primo
e59992cc16 Fix checkGenericClassInNonGenericObjectType PHPStan errors
This commit removes the checkGenericClassInNonGenericObjectType flag
from PHPStan configuration files and fixes all associated errors in our
code base.

[MAILPOET-3236]
2021-08-09 12:58:56 +02:00
Rodrigo Primo
f0dc0b3556 Stop excluding the PHPStan checkMissingTypehints error
This check doesn't produce any errors so we don't need to exclude it
from our checks. Note that this only removes the exclusion of this error
from phpstan.neon. The same error check is kept in phpstan-tests.neon as
there are some change that we need to make to two tests before being
able to update this file as well.

[MAILPOET-3236]
2021-08-09 12:58:56 +02:00
Rodrigo Primo
30b4b3e073 Stop excluding the PHPStan checkMissingVarTagTypehint error
This check doesn't produce any errors so we don't need to exclude it
from our checks.

[MAILPOET-3236]
2021-08-09 12:58:56 +02:00
Rostislav Wolny
c182e953ef Prevent trashing customer users when WP segment is inactive
[MAILPOET-3695]
2021-08-09 12:36:29 +02:00
Brezo Cordero
1909950353 Remove the poll on plugin deactivation
Remove the poll asking for deactivation reasons as we are no longer using the data.

[MAILPOET-3705]
2021-08-09 11:33:14 +02:00
Jan Lysý
19fad073d0 Add cleanup subscribers counts cache
[MAILPOET-3714]
2021-08-09 10:38:37 +02:00
Jan Lysý
2deaeb284b Rename method in AcceptanceTester
[MAILPOET-3723]
2021-08-04 10:13:57 +02:00
Jan Lysý
d1edb2fa32 Skip StatPage acceptance test when Premium is active
[MAILPOET-3723]
2021-08-04 10:13:57 +02:00
Jan Lysý
ac2346a181 Copy mailpoet-premium instead of softlink
[MAILPOET-3586]
2021-08-02 08:37:32 +02:00
Jan Lysý
853e3c4f0e Remove CleanupPremiumPluginExtension
[MAILPOET-3586]
2021-08-02 08:37:32 +02:00
Jan Lysý
9960cd142e Bump "Tested up to" version to 5.8
[MAILPOET-3711]
2021-07-28 09:29:53 +02:00
Jan Lysý
50092320d5 Release 3.65.1 2021-07-20 13:20:33 +02:00
Pavel Dohnal
56e18c151d Encode value before printing it
[MAILPOET-3698]
2021-07-19 13:38:39 +02:00
Pavel Dohnal
3941fccefa Update MSS testing address
[MAILPOET-3681]
2021-07-19 13:13:19 +02:00
Rostislav Wolny
f4a87bec37 Fix sign up button in MSS pitch on send page
[MAILPOET-3704]
2021-07-14 14:54:56 +02:00
Rostislav Wolny
ac09c5a8af Fix sign up button in wizard step 4
[MAILPOET-3704]
2021-07-14 14:54:56 +02:00
Pavel Dohnal
79b2894d6c Release 3.65.0 2021-07-13 13:55:48 +02:00
Rostislav Wolny
4a0d814fd9 Downgrade symfony polyfills
Bootstrap files for PHP8 fail to pass WP plugins repository pre commit check.
We have to temporarily downgrade until WP plugins repo add support for PHP8 syntax.
[MAILPOET-3701]
2021-07-13 12:10:15 +02:00
Jan Lysý
f61faa7e19 Use react notice on error
[MAILPOET-3646]
2021-07-12 11:51:39 +02:00
Jan Lysý
ef1a3072c7 Return zero when sum is null
[MAILPOET-3646]
2021-07-12 11:51:39 +02:00
Jan Lysý
0f6ad19036 Add clearing subscribers global status statistics
[MAILPOET-3646]
2021-07-12 11:51:39 +02:00
Jan Lysý
a6dc552cdc Use new controller with subscribers counts
[MAILPOET-3646]
2021-07-12 11:51:39 +02:00
Jan Lysý
ac2a70f39b Create controller for counting subscribers
[MAILPOET-3646]
2021-07-12 11:51:39 +02:00
Jan Lysý
b735c8ac85 Fix dependency in settings integration test
[MAILPOET-3646]
2021-07-12 11:51:39 +02:00
Jan Lysý
759cea0f97 Add calling API on the click
[MAILPOET-3646]
2021-07-12 11:51:39 +02:00
Jan Lysý
d6e709ff53 Use cache oldest created at in template
[MAILPOET-3646]
2021-07-12 11:51:39 +02:00
Jan Lysý
3b9bf6142c Fix flaky acceptance test ReceiveWelcomeEmailCest
[MAILPOET-3646]
2021-07-12 11:51:39 +02:00
Jan Lysý
036f110953 Unify stats queries
[MAILPOET-3646]
2021-07-12 11:51:39 +02:00
Jan Lysý
bd49e73efb Add check that item cache contains created_at
[MAILPOET-3646]
2021-07-12 11:51:39 +02:00
Jan Lysý
9f9706e319 Clear cache in failing integration tests
[MAILPOET-3646]
2021-07-12 11:51:39 +02:00
Jan Lysý
7e7038deb3 Fix integration test fot DaemonHttpRunner
[MAILPOET-3646]
2021-07-12 11:51:39 +02:00
Jan Lysý
fabebcbea6 Add scheduling cache recalculation for admins
[MAILPOET-3646]
2021-07-12 11:51:39 +02:00
Jan Lysý
77c00014ca Create worker for subscribers count calculation
[MAILPOET-3646]
2021-07-12 11:51:39 +02:00
Jan Lysý
40a511c641 Use transient cache for count of subscribers in lists
[MAILPOET-3646]
2021-07-12 11:51:39 +02:00
Jan Lysý
0a3971c045 Create service for transient cache
[MAILPOET-3646]
2021-07-12 11:51:39 +02:00
Jan Lysý
063db4e4f4 Add component with message about cache on subscriber list page
[MAILPOET-3646]
2021-07-12 11:51:39 +02:00
Jan Lysý
96c84009b7 Add tilde before subscribers count in selects
[MAILPOET-3646]
2021-07-12 11:51:39 +02:00
Veljko
adaa004948 Fix manage segments flakiness [MAILPOET-3689] 2021-07-07 14:05:18 +02:00
Pavel Dohnal
93863888e7 Remove attributes from vendor
[MAILPOET-3658]
2021-07-06 13:29:00 +02:00
Rostislav Wolny
b270a91318 Update packages with npm audit fix
[MAILPOET-3658]
2021-07-06 13:29:00 +02:00
Rostislav Wolny
7d3b84f27c Update FileSaver library
[MAILPOET-3568]
2021-07-06 13:29:00 +02:00
Rostislav Wolny
e6823f137e Update css and cross-env packages
[MAILPOET-3658]
2021-07-06 13:29:00 +02:00
Rostislav Wolny
538d19622e Update install package
[MAILPOET-3658]
2021-07-06 13:29:00 +02:00
Rostislav Wolny
9d0a0aee86 Update grunt cli
[MAILPOET-3658]
2021-07-06 13:29:00 +02:00