Commit Graph

16613 Commits

Author SHA1 Message Date
3cc385dd52 Implement premium upgrade logic for upgrade dialog
[MAILPOET-4416]
2022-08-24 12:18:44 +02:00
e843d25c8b Check that changelog is not null before passing it to substr()
Starting with PHP 8.1, substr() generates a warning if the first
parameter is null. So, before calling it, we need to check if the
changelog is null or not.

[MAILPOET-4595]
2022-08-23 14:22:55 +02:00
a471e4d8c4 Don't show spacer after the last item in <Steps> component
[MAILPOET-4593]
2022-08-23 14:21:28 +02:00
26a6f1be32 Use step key when building workflows from sequence
[MAILPOET-4538]
2022-08-23 14:03:24 +02:00
53434d23b8 Use default args when building the Workflow from sequence
[MAILPOET-4538]
2022-08-23 14:03:24 +02:00
83f5c6cc46 Add test for WorkflowTemplatesGetEndpoint
[MAILPOET-4538]
2022-08-23 14:03:24 +02:00
ed56df2398 Add WorkflowTemplate GET endpoint
[MAILPOET-4538]
2022-08-23 14:03:24 +02:00
8b78fdd4b4 Update frontend to interact with new template create endpoint
[MAILPOET-4538]
2022-08-23 14:03:24 +02:00
baa4d369af Introduce template storage and rebuild create form template endpoint
[MAILPOET-4538]
2022-08-23 14:03:24 +02:00
1140ee3129 Add WorkflowTemplate entity
[MAILPOET-4538]
2022-08-23 14:03:24 +02:00
804ad97036 Release 3.95.1 2022-08-23 08:56:57 -03:00
b4bba9869e Fix Gutenberg token-field styles compatibility token
[MAILPOET-4582]
2022-08-22 13:44:35 +02:00
8567614697 Add integration test with SMTP filters
[MAILPOET-4437]
2022-08-22 13:16:51 +02:00
52795c3972 Add new filters to the SMTP sending method
[MAILPOET-4437]
2022-08-22 13:16:51 +02:00
b7cccdae95 Adjust tests, remove models and Tasks\Sending
[MAILPOET-4371]
2022-08-22 13:06:43 +02:00
873c295e99 Remove Paris models and Tasks\Sending from PostNotificationScheduler
[MAILPOET-4371]
2022-08-22 13:06:43 +02:00
e3b02a9a64 PR feedback adjustments
[MAILPOET-4355]
2022-08-22 11:24:06 +02:00
18b1d9799f Fix failing test for getLatestTasks
[MAILPOET-4355]
2022-08-22 11:24:06 +02:00
c22d23f91c Remove Tasks\State class and relevant test file
[MAILPOET-4355]
2022-08-22 11:24:06 +02:00
e30e1847e2 Move buildTaskData tests to AdminPages/HelpTest.php
[MAILPOET-4355]
2022-08-22 11:24:06 +02:00
73d15c8c44 Move getLatestTasks to ScheduledTasksRepository
- Move the method
- Adjust the usages
- Adjust and update tests

[MAILPOET-4355]
2022-08-22 11:24:06 +02:00
bf1ddbedbc Move getCountsPerStatus to ScheduledTasksRepository
- Move getCountsPerStatus
- Defined test for getCountsPerStatus
- Update usage

[MAILPOET-4355]
2022-08-22 11:24:06 +02:00
4687fcd44f Remove refactored method from old model
[MAILPOET-4310]
2022-08-22 11:04:45 +02:00
5f88a27ccb Extend integration test
[MAILPOET-4310]
2022-08-22 11:04:45 +02:00
bfc2a7d2af Update dependencies in tests
[MAILPOET-4310]
2022-08-22 11:04:45 +02:00
c1e9f86a32 Remove usage of old model for creating post notification history
[MAILPOET-4310]
2022-08-22 11:04:45 +02:00
5dfda9f3e2 Move task type const from entity to worker
[MAILPOET-4366]
2022-08-19 15:11:23 +02:00
77eaa7e710 Remove check that sending queue is deleted at
[MAILPOET-4366]
2022-08-19 15:11:23 +02:00
a39b73041c Extend integration test
[MAILPOET-4366]
2022-08-19 15:11:23 +02:00
a841671695 Add SendingQueue factory
[MAILPOET-4366]
2022-08-19 15:11:23 +02:00
a362b7e014 Delete Sending::getRunningQueues()
[MAILPOET-4366]
2022-08-19 15:11:23 +02:00
bf74a506b7 Replace using Sending::getRunningQueues
[MAILPOET-4366]
2022-08-19 15:11:23 +02:00
5f30c7a511 Add method for getting running sending tasks
[MAILPOET-4366]
2022-08-19 15:11:23 +02:00
7ef341e38a Replace Sending::getRunningQueues in integration test
[MAILPOET-4366]
2022-08-19 15:11:23 +02:00
6f1e5c9a98 Add new const with the type sending
[MAILPOET-4366]
2022-08-19 15:11:23 +02:00
d54129670d Reorganize information sent to HelpScout
We are now using the `session-data` method of the Beacon API to send
site information to HelpScout
(https://developer.helpscout.com/beacon-2/web/javascript-api/#beacon-session-data).
This method has a limit of 20 attribute-value pairs and since we had
more, it was necessary to combinte a few values under the same
attribute.

[MAILPOET-4525]
2022-08-18 15:43:12 +02:00
f19de77f70 Fix sending system info when creating a HelpScout ticket
We were calling the wrong Beacon API method to send system info
data to HelpScout when users create tickets inside WordPress. This
commit fixes this by calling the method `session-data` instead of
`identify`. It is likely that `identify` was the correct method in the
past, but the Beacon API changed
(https://developer.helpscout.com/beacon-2/web/javascript-api/).
Nowadays, the `identify` method is used to add data to the HelpScout
users and fields need to be created in advance in the HelpScout web
interface. `session-data` is used to add information to the ticket which
is what we are trying to achieve. Only `name` and `email` should still
be passed to `identify` to make it possible to match the correct
HelpScout user.

[MAILPOET-4525]
2022-08-18 15:43:12 +02:00
cfc98c7aac Add sender validation when component did mount
[MAILPOET-4548]
2022-08-18 14:36:36 +02:00
e3f13dd986 Add tracking for MailPoet logo in free plan emails
MAILPOET-4543
2022-08-18 12:29:29 +02:00
79e11fe939 Move MP API addSubscriber tests under Subscribers class tests
[MAILPOET-4293]
2022-08-18 12:08:30 +02:00
2356c62be3 Refactor MP API addSubscriber to doctrine
[MAILPOET-4293]
2022-08-18 12:08:30 +02:00
07fa471ac3 Add tutorial button to newsletters header
[MAILPOET-4498]
2022-08-18 08:52:59 +02:00
5d63e9a462 Refactor email tutorial component to TS
[MAILPOET-4498]
2022-08-18 08:52:59 +02:00
f060219da3 Prefix email editor variables with mailpoet
[MAILPOET-4498]
2022-08-18 08:52:59 +02:00
5a3dc190d6 Use mailpoet-top-bar class in newsletter editor header
[MAILPOET-4498]
2022-08-18 08:52:59 +02:00
1a5952a876 Mark form editor tutorial as seen on init
[MAILPOET-4498]
2022-08-18 08:52:59 +02:00
8ca1a0a9b3 Prettier cleanup
[MAILPOET-4445]
2022-08-17 16:01:45 +02:00
6dbc50eb23 Make Step subtitle bold
[MAILPOET-4445]
2022-08-17 16:01:45 +02:00
1e1153bd77 Fix codestyle issue
[MAILPOET-4445]
2022-08-17 16:01:45 +02:00
24849afb7a Make name a property of Step.args instead of Step
[MAILPOET-4445]
2022-08-17 16:01:45 +02:00