Commit Graph

15684 Commits

Author SHA1 Message Date
Jan Lysý
9a9df4a596 Update test dependencies
[MAILPOET-3890]
2021-11-03 14:05:30 +01:00
Jan Lysý
791af8549e Update scss packages
[MAILPOET-3890]
2021-11-03 14:05:30 +01:00
Jan Lysý
d02feec55e Update webpack
[MAILPOET-3890]
2021-11-03 14:05:30 +01:00
Jan Lysý
eb8dc0ff04 Update eslint dependencies
[MAILPOET-3890]
2021-11-03 14:05:30 +01:00
Jan Lysý
f41d6bb5fc Update types dependencies
[MAILPOET-3890]
2021-11-03 14:05:30 +01:00
Jan Lysý
23360098f5 Update storybook dependencies
[MAILPOET-3890]
2021-11-03 14:05:30 +01:00
Jan Lysý
c01b551655 Update babel dependencies
[MAILPOET-3890]
2021-11-03 14:05:30 +01:00
Pavel Dohnal
70c9583296 Prepare translations before the release
[MAILPOET-3806]
2021-11-03 13:36:21 +01:00
Jan Lysý
657b80badc Allow loading CSS for Woo Payments
[MAILPOET-3854]
2021-11-03 13:36:09 +01:00
Jan Lysý
83d3931d63 Allow loading CSS for Automate Woo
[MAILPOET-3854]
2021-11-03 13:36:09 +01:00
oluwaseun Olorunsola
95f7e427f9 Use __ without using the WPFunctions wrapper
MAILPOET-3852
2021-11-03 13:35:18 +01:00
oluwaseun Olorunsola
1cdbf31b50 Include list column for excel subscribers export
MAILPOET-3852
2021-11-03 13:35:18 +01:00
Jan Lysý
69da013483 Fix condition in Scheduler
[MAILPOET-3818]
2021-11-03 13:34:35 +01:00
Jan Lysý
8df2accf2e Add unit test for Scheduler
[MAILPOET-3818]
2021-11-03 13:34:35 +01:00
Jan Lysý
3d1cab301c Add limitation for scheduledAt in a new newsletter
[MAILPOET-3818]
2021-11-03 13:34:35 +01:00
Jan Lysý
fdd8926991 Add check if scheduled time is out of MySQL timestamp range
[MAILPOET-3818]
2021-11-03 13:34:35 +01:00
Jan Lysý
44f08cd068 Use validation for time intervals
[MAILPOET-3818]
2021-11-03 13:34:35 +01:00
Jan Lysý
024f04750a Add Parsley validator for email scheduling
[MAILPOET-3818]
2021-11-03 13:34:35 +01:00
Jan Lysý
6a6dad5e67 Throw error when premium doesn't contain service
[MAILPOET-3833]
2021-11-03 13:34:15 +01:00
Jan Lysý
4fc03376fd Make EntityManagerFactory public
[MAILPOET-3833]
2021-11-03 13:34:15 +01:00
Jan Lysý
8d2cd8e476 Add listeners cleanup
[MAILPOET-3833]
2021-11-03 13:34:15 +01:00
Jan Lysý
777a1bd90d Recreate entityManager in LogHandler when is closed
[MAILPOET-3833]
2021-11-03 13:34:15 +01:00
Jan Lysý
7003e8dcb7 Add test for resistance to sql error
[MAILPOET-3833]
2021-11-03 13:34:15 +01:00
Rostislav Wolny
7951d4b07b Add logging of failed stats updates
[MAILPOET-3868]
2021-11-03 13:31:29 +01:00
Rostislav Wolny
f52d58f09d Add declare(strict_types=1); to newly added PHP files
[MAILPOET-3868]
2021-11-03 13:31:29 +01:00
Rostislav Wolny
1c0d505f27 Reintroduce reporting subscribers on settings save
It might be useful to have the count reported right after activation
so that we could potentially use those data in the shop.
[MAILPOET-3868]
2021-11-03 13:31:29 +01:00
Rostislav Wolny
95fb8bc893 Add test for SubscribersStastsReport worker
[MAILPOET-3868]
2021-11-03 13:31:29 +01:00
Rostislav Wolny
8028ce9283 Add stats worker tasks checks to WordPress cron type trigger
[MAILPOET-3868]
2021-11-03 13:31:29 +01:00
Rostislav Wolny
ffe291c521 Add cron worker for reporting subscriber stats
[MAILPOET-3868]
2021-11-03 13:31:29 +01:00
Rostislav Wolny
b07326aaa4 Remove reporting of subscribers count on settings save
We will report regularly once a day within a new cron worker.
[MAIPOET-3868]
2021-11-03 13:31:29 +01:00
Rostislav Wolny
c02cf639db Remove subscriber count reporting from MSS key check worker
[MAILPOET-3868]
2021-11-03 13:31:29 +01:00
oluwaseun Olorunsola
2d32e5013e Fixed uncheck status not saved in Manage subscriptions page
Please note: Mandatory (required) checkbox Fields can not be Empty. This means the checkbox field can not be uncheck by the user. The admin can still control the status of the checkbox

[MAILPOET-3858]
2021-11-03 11:30:52 +01:00
Rostislav Wolny
62cf852691 Replace PHP8 version of TypedCacheItem class with PHP7 compatible code
WordPress plugin repository prevents committing files that contains syntax introduced in PHP8.
[MAILPOET-3904]
2021-11-02 16:35:40 +01:00
Brezo Cordero
be77666105 Modify API re-engagement disabled message
[MAILPOET-3840]
2021-11-02 09:12:02 +01:00
Brezo Cordero
04e5905099 Fix rebase mistake
[MAILPOET-3840]
2021-11-02 09:12:02 +01:00
Brezo Cordero
54c8170b86 Use typographic apostrophe for notice
[MAILPOET-3840]
2021-11-02 09:12:02 +01:00
Brezo Cordero
ea6eb0993d Disable activate button if tracking is disable
[MAILPOET-3840]
2021-11-02 09:12:02 +01:00
Brezo Cordero
f42d3aac5e Do not allow activation with toggle if no tracking
[MAILPOET-3743]
2021-11-02 09:12:02 +01:00
Brezo Cordero
21b9ae9f2e Show re-engagement emails notice after saving
[MAILPOET-3743]
2021-11-02 09:12:02 +01:00
Brezo Cordero
0c72f41b8d Show note if tracking is disabled
[MAILPOET-3743]
2021-11-02 09:12:02 +01:00
Jan Lysý
e828546fa9 Fix getting segment count with multiple filters for empty table
Method getSingleScalarResult throws an exception when a query returns no rows.
I used the method getOneOrNullResult instead.
[MAILPOET-3902]
2021-11-02 09:07:42 +01:00
Pavel Dohnal
c13ad00e64 Add reEngagement to settings normalisation
[MAILPOET-3856]
2021-11-01 16:10:04 +01:00
Pavel Dohnal
39fe83b49c Create a re-engagement page
[MAILPOET-3856]
2021-11-01 16:10:04 +01:00
Pavel Dohnal
49e98ea88e Add settings for re-engagement page
[MAILPOET-3856]
2021-11-01 16:10:04 +01:00
Rostislav Wolny
04052d7d9c Schedule last engagement detection again for the new update
[MAILPOET-3892]
2021-11-01 10:54:43 +01:00
Rostislav Wolný
586443e13c Fix scheduling tasks on activation
[MAILPOET-2686]

Co-authored-by: brezocordero <brezo.cordero@automattic.com>
2021-11-01 10:54:43 +01:00
Rostislav Wolny
4fe8e54180 Update attributes removal script
We need to strip PHP8 attributes from 3rd party libraries because after minification that we do during the build
they cause that PHP code is invalid. This commit updates the regular expression used for stripping attributes
so that it covers also attributes like this one: #[\ReturnTypeWillChange].
[MAILPOET-3889]
2021-10-28 15:44:18 +02:00
Rostislav Wolny
4ec737617b Update vlucas/phpdotenv
[MAILPOET-3889]
2021-10-28 15:44:18 +02:00
Rostislav Wolny
247f90d1c2 Update consolidation/robo
[MAILPOET-3889]
2021-10-28 15:44:18 +02:00
Rostislav Wolny
962f233dcf Update codeception and lucatume packages
[MAILPOET-3889]
2021-10-28 15:44:18 +02:00