Commit Graph

15684 Commits

Author SHA1 Message Date
Pavel Dohnal
76aedb3088 Use a value that is multiplication of 30
[MAILPOET-3763]
2021-09-29 14:17:57 +02:00
Pavel Dohnal
c4ab3a1425 Display a correct value in the notice
[MAILPOET-3763]
2021-09-29 14:17:57 +02:00
Pavel Dohnal
14ba0ce8b3 Use native lang features instead isEmpty
[MAILPOET-3763]
2021-09-29 14:17:57 +02:00
Pavel Dohnal
82a061fac5 Improve the UX
[MAILPOET-3763]
2021-09-29 14:17:57 +02:00
Pavel Dohnal
202e7dc755 Fix scheduling when inactive feature is off
[MAILPOET-3763]
2021-09-29 14:17:57 +02:00
Pavel Dohnal
3436d1a1be Round numbers so we always see integers in the inputs
[MAILPOET-3763]
2021-09-29 14:17:57 +02:00
Pavel Dohnal
116c8ddb0e Use settings on MailPoet object rather than on Window
[MAILPOET-3763]
2021-09-29 14:17:57 +02:00
Pavel Dohnal
e27ca267ee Use absolute path for common dependencies
[MAILPOET-3763]
2021-09-29 14:17:57 +02:00
Pavel Dohnal
b7e8557bc6 Display settings in the listings
[MAILPOET-3763]
2021-09-29 14:17:57 +02:00
Pavel Dohnal
377910a2c2 Hide tab behind the feature flag
[MAILPOET-3763]
2021-09-29 14:17:57 +02:00
Pavel Dohnal
ac3625e434 Create listings tab for re-engagement emails
[MAILPOET-3763]
2021-09-29 14:17:57 +02:00
Pavel Dohnal
7749d17fb1 Display the last newsletter step for the re-engagement email
[MAILPOET-3763]
2021-09-29 14:17:57 +02:00
Pavel Dohnal
6ac7015b5c Save the re-engagement email
[MAILPOET-3763]
2021-09-29 14:17:57 +02:00
Pavel Dohnal
05400ec646 Display the note correctly
[MAILPOET-3763]
2021-09-29 14:17:57 +02:00
Pavel Dohnal
d8b006db1a Allow changing the values in the form
[MAILPOET-3763]
2021-09-29 14:17:57 +02:00
Pavel Dohnal
d351a38f27 Fix the UI
[MAILPOET-3763]
2021-09-29 14:17:57 +02:00
Pavel Dohnal
4a0548c6f9 Add note
[MAILPOET-3763]
2021-09-29 14:17:57 +02:00
Pavel Dohnal
b509b278ce Add weeks and months to the scheduling component
[MAILPOET-3763]
2021-09-29 14:17:57 +02:00
Pavel Dohnal
54b216b7eb Create a scheduling component
[MAILPOET-3763]
2021-09-29 14:17:57 +02:00
Pavel Dohnal
e303df6867 Add title to the re-engagement email
[MAILPOET-3763]
2021-09-29 14:17:57 +02:00
Pavel Dohnal
b49fbb0636 Add heading to the re-engagement email
[MAILPOET-3763]
2021-09-29 14:17:57 +02:00
Pavel Dohnal
ad4f39871d Add a component for creating re-engagement email
[MAILPOET-3763]
2021-09-29 14:17:57 +02:00
Pavel Dohnal
7b58adab7e Add a frontend card for re-engagement email
[MAILPOET-3763]
2021-09-29 14:17:57 +02:00
Pavel Dohnal
e7e738320f Create a feature flag
[MAILPOET-3763]
2021-09-29 14:17:57 +02:00
Jan Lysý
6f22a65692 Fix strict mode compatibility in MySQL
[MAILPOET-3774]
2021-09-29 13:54:29 +02:00
Jan Lysý
8aad2a8126 Refactor InactiveSubscribersControllerTest to Doctrine
[MAILPOET-3774]
2021-09-29 13:54:29 +02:00
Jan Lysý
ddb025c0ec Use Doctrine in InactiveSubscribersController
[MAILPOET-3774]
2021-09-29 13:54:29 +02:00
Jan Lysý
93e038371d Delete redundant test
[MAILPOET-3774]
2021-09-29 13:54:29 +02:00
Jan Lysý
2175a096e4 Add setting last_engagement_at
[MAILPOET-3774]
2021-09-29 13:54:29 +02:00
Jan Lysý
0c0349c5aa Fix returned data from stubs
[MAILPOET-3774]
2021-09-29 13:54:29 +02:00
Jan Lysý
616b8868fe Improve inactive subscribers task
[MAILPOET-3774]
2021-09-29 13:54:29 +02:00
Rodrigo Primo
f8e8a26d52 Fix error when creating ScheduledTasksRepository::findByTypeAndStatus()
When refactoring ScheduledTask::findByTypeAndStatus() to
ScheduledTasksRepository::findByTypeAndStatus(). During the process, I
mistankenly converted `$query->whereGt('scheduled_at', $now);` to
`$queryBuilder->andWhere('st.scheduledAt >= :now');`. It should be `>`
instead of `>=`.

[MAILPOET-2996]
2021-09-29 13:53:27 +02:00
Rodrigo Primo
e804a0fe7d Fix method used for a integration test
The test ScheduledTaskTest::testItCanGetFutureScheduledTasks() was
created to test ScheduledTask::findFutureScheduledByType() but due to a
mistake it was testing ScheduledTask::findDueByType().

[MAILPOET-2996]
2021-09-29 13:53:27 +02:00
Rodrigo Primo
60ae98e09c Helper method to support migration from Paris to Doctrine
This commit adds a helper method called convertTaskClass() to
CronWorkerRunner to support the migration of the code inside this class
from Paris to Doctrine. This method receives a ScheduledTaskEntity and
returns a ScheduledTask. It will be remove once the migration is
finished.

[MAILPOET-2996]
2021-09-29 13:53:27 +02:00
Rodrigo Primo
65eef3dfbe Migrate methods findDueByType() and findRunningByType() to Doctrine
[MAILPOET-2996]
2021-09-29 13:53:27 +02:00
Ján Mikláš
252197d0d7 Release 3.71.1 2021-09-29 13:48:43 +02:00
Pavel Dohnal
ec76a5c868 Check if the form id is missing in the widget
[MAILPOET-3837]
2021-09-29 12:55:27 +02:00
Brezo Cordero
df5cab2060 Fix flaky schedule welcome email test
[MAILPOET-3793]
2021-09-29 09:59:25 +02:00
Brezo Cordero
d37f0642d5 Fix flaky schedule automatic email test
[MAILPOET-3793]
2021-09-29 09:59:25 +02:00
Rodrigo Primo
06ddc42657 Run 'codecept build' before runninng PHPStan checks
This commit adds a call to the command 'codecept build' before running
PHPStan checks inside the command './do qa:phpstan'. This is needed to
make sure that the PHPStan checks don't fail with the error bellow
because of missing test support files that are autogenerated by
Codeception:

```
Bootstrap file tests/_support/_generated/AcceptanceTesterActions.php does not exist.
```

[MAILPOET-3552]
2021-09-29 09:54:29 +02:00
Ján Mikláš
d9862c97d5 Release 3.71.0 2021-09-28 15:25:08 +02:00
Pavel Dohnal
72b018355b Update code after react replace string upgrade
[MAILPOET-3724]
2021-09-27 16:11:42 +02:00
Pavel Dohnal
a7153d71b6 Fix script to prevent multiple var statements
[MAILPOET-3724]
2021-09-27 16:11:42 +02:00
Pavel Dohnal
fcc28a6ad2 Revert react-select upgrade
[MAILPOET-3724]
2021-09-27 16:11:42 +02:00
Pavel Dohnal
501a6c90f6 Maintenance of packege-lock
[MAILPOET-3724]
2021-09-27 16:11:42 +02:00
Pavel Dohnal
fb66e72632 Install husky
[MAILPOET-3724]
2021-09-27 16:11:42 +02:00
Pavel Dohnal
59b1756429 Update html2canvas
[MAILPOET-3724]
2021-09-27 16:11:42 +02:00
Pavel Dohnal
c0a544290d Update tinymce
[MAILPOET-3724]
2021-09-27 16:11:42 +02:00
Pavel Dohnal
49d35961af Update react packages
[MAILPOET-3724]
2021-09-27 16:11:42 +02:00
Pavel Dohnal
4a94eb34a7 Remove husky dependencies
[MAILPOET-3724]
2021-09-27 16:11:42 +02:00