Commit Graph

13868 Commits

Author SHA1 Message Date
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
Pavel Dohnal
891d28013b Update date-fns
[MAILPOET-3724]
2021-09-27 16:11:42 +02:00
Pavel Dohnal
0061ca59ce Update codemirror
[MAILPOET-3724]
2021-09-27 16:11:42 +02:00
Pavel Dohnal
bd9f088709 Update test dependencies
[MAILPOET-3724]
2021-09-27 16:11:42 +02:00
Pavel Dohnal
50483e945e Update scss packages
[MAILPOET-3724]
2021-09-27 16:11:42 +02:00
Pavel Dohnal
d8a0c2e9eb Update webpack packages
[MAILPOET-3724]
2021-09-27 16:11:42 +02:00
Pavel Dohnal
c338213a3c Fix audit issues
[MAILPOET-3724]
2021-09-27 16:11:42 +02:00
Pavel Dohnal
be072583e4 Update eslint
[MAILPOET-3724]
2021-09-27 16:11:42 +02:00
Pavel Dohnal
7524b7d972 Update types
[MAILPOET-3724]
2021-09-27 16:11:42 +02:00
Pavel Dohnal
6bd6ac67f2 Update storybook dependencies
[MAILPOET-3724]
2021-09-27 16:11:42 +02:00
Pavel Dohnal
e22adb1c7f Update babel dependencies
[MAILPOET-3724]
2021-09-27 16:11:42 +02:00
Pavel Dohnal
5048738d7f Update babel runtime
[MAILPOET-3724]
2021-09-27 16:11:42 +02:00
Jan Lysý
7fcdd5da91 Remove version detection from svn:publish command
[MAILPOET-3828]
2021-09-27 10:26:43 +02:00
Rodrigo Primo
2f494a2951 Change ./do qa:code-sniffer to include warnings by default
This change is necessary to make sure we are running PHPCS with the same
parameters in both CircleCI and the pre-commit hook. For more
information see the description of the related Jira ticket.

[MAILPOET-3831]
2021-09-27 10:14:49 +02:00
Jan Lysý
e9a4c6e090 Fix incompatibility after Doctrine refactor
[MAILPOET-3662]
2021-09-27 10:14:02 +02:00
Jan Lysý
857268c5ff Allow preview for unsaved forms
[MAILPOET-3662]
2021-09-27 10:14:02 +02:00
Jan Lysý
196b0cfd93 Change link in post-editor-block to template selection
[MAILPOET-3662]
2021-09-27 10:14:02 +02:00