Rodrigo Primo
d39d09dd72
Remove calls to Subscriber::setError() from ConfirmationEmailMailer
...
This commit is part of a task to replace Paris with Doctrine in the
class ConfirmationEmailMailer. Specifically, it removes two calls to
Subscriber::setError() inside ConfirmationEmailMailer::sendConfirmationEmail().
setError() was used to define an error message that was used only in one
of the instances where sendConfirmationEmail() is called
(API::subscribeToLists()). setError() was replaced with code that throws
an exception when there is an error. Thus it was necessary to change all
the places where ConfirmationEmailMailer::sendConfirmationEmail() is
called to handle the exception.
In some cases, there are some oddities as sendConfirmationEmail() can
return false or throw an exception in case of an error and calling code
must account for both. I decided to settle with this approach as
refactoring the rest of this method to use exceptions instead of
returning false seemed outside of the scope of this task.
[MAILPOET-3815]
2021-12-13 16:03:07 +01:00
Rodrigo Primo
6c05b3eaf0
Pass SubscriberEntity to sendConfirmationEmail() and sendConfirmationEmailOnce()
...
This commit changes the methods sendConfirmationEmail() and
sendConfirmationEmailOnce() to accept as the first parameter an instance
of SubscriberEntity instead of the old model Subscriber. It also updates
all the places where those two methods are called.
[MAILPOET-3815]
2021-12-13 16:03:07 +01:00
Rostislav Wolny
699266c920
Use TrackingConfig and new tracking settings property in PHP
...
[MAILPOET-3185]
2021-12-06 17:03:28 +01:00
Jan Lysý
d3ee546518
Add support for more product ids in filter
...
[MAILPOET-3954]
2021-12-01 09:13:20 +01:00
Jan Lysý
aec3bcd4ef
Add check that re-engagement link is not missing
...
[MAILPOET-3764]
2021-11-17 15:21:31 +01:00
Jan Lysý
7d04ea28ad
Add meta to response when email is unauthorized
...
[MAILPOET-3881]
2021-11-15 15:03:43 +01:00
Pavel Dohnal
5890fb3510
Use the latest updated queue
...
[MAILPOET-3876]
2021-11-10 12:49:48 +01:00
Pavel Dohnal
9229ed77d8
Refactor to doctrine
...
[MAILPOET-3876]
2021-11-10 12:49:48 +01:00
Pavel Dohnal
ee00f03ed3
Refactor pause/resume to doctrine
...
[MAILPOET-3876]
2021-11-10 12:49:48 +01:00
Rostislav Wolny
797f1d76ae
Update templates API to save template images as files
...
[MAILPOET-2686]
2021-11-08 13:24:53 +01:00
Jan Lysý
7ecddae1f5
Improve error message
...
[MAILPOET-3865]
2021-11-08 10:15:35 +01:00
wxa
d8bfcb64bb
Replace wrong placeholders in translatable strings
...
[MAILPOET-3863]
2021-11-03 23:11:11 +01:00
Brezo Cordero
be77666105
Modify API re-engagement disabled message
...
[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
Jan Lysý
6e6ba3e7a1
Use new signature of the dynamicSegmentFilterData constructor
...
[MAILPOET-3427]
2021-10-27 15:45:17 +02:00
Pavel Dohnal
0d70174737
Only do validation if MSS is active
...
[MAILPOET-3857]
2021-10-26 16:11:32 +02:00
Pavel Dohnal
813d43f857
Validate if newsletter has an unsubscribe link
...
[MAILPOET-3857]
2021-10-26 16:11:32 +02:00
Pavel Dohnal
3a67210743
Load the entity for validation
...
[MAILPOET-3857]
2021-10-26 16:11:32 +02:00
Ján Mikláš
970eb69dc1
Revert "Replace wrong placeholders in translatable strings"
...
This reverts commit cc76882164
.
2021-10-25 09:48:04 -03:00
wxa
cc76882164
Replace wrong placeholders in translatable strings
...
[MAILPOET-3863]
2021-10-25 11:48:24 +02:00
Rostislav Wolny
59031237fe
Remove scheduled count info for re-engagement emails in listing
...
We schedule re-engagement emails to be send immediately after we detect some recipients so the scheduled count would be always 0.
[MAILPOET-3782]
2021-10-18 16:21:52 +02:00
Pavel Dohnal
b7e8557bc6
Display settings in the listings
...
[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
Jan Lysý
857268c5ff
Allow preview for unsaved forms
...
[MAILPOET-3662]
2021-09-27 10:14:02 +02:00
Jan Lysý
1a3f16a3c0
Remove action create from endpoint
...
[MAILPOET-3662]
2021-09-27 10:14:02 +02:00
Pavel Dohnal
21839fc30b
Fix indentation of multiline function declarations
...
[MAILPOET-3732]
2021-09-17 12:17:36 +02:00
Pavel Dohnal
cdda3480ca
Make all constructor signatures multiline
...
[MAILPOET-3732]
2021-09-16 14:19:40 +02:00
Pavel Dohnal
206dd92054
Display the last engagement on the subscribers stats page
...
[MAILPOET-3770]
2021-09-13 10:33:11 +02:00
Rostislav Wolny
5a5ec1cc19
Use cron worker scheduler service when scheduling Woo sync
...
[MAILPOET-3726]
2021-09-08 16:12:37 +02:00
Rostislav Wolny
8eaf9471f5
Schedule immediate cron task for Woo sync on force sync
...
[MAILPOET-3726]
2021-09-08 16:12:37 +02:00
Rostislav Wolny
14ff48c7fa
Differentiate machine and humans opens on subscriber stats API
...
[MAILPOET-3741]
2021-08-31 15:15:54 +02:00
Pavel Dohnal
464f23c82b
Display machine opens
...
[MAILPOET-3740]
2021-08-30 14:04:29 +02:00
Pavel Dohnal
e4aca4f6de
Refactor endpoint to doctrine
...
[MAILPOET-3626]
2021-08-25 09:22:44 +02:00
Pavel Dohnal
5d967f3457
Use a single string instead of array of strings
...
[MAILPOET-3625]
2021-08-23 14:18:57 +02:00
Pavel Dohnal
3b7752daed
Refactor creating new list to Doctrine
...
[MAILPOET-3625]
2021-08-23 14:18:57 +02:00
Pavel Dohnal
3d1e2c5a2e
Refactor setupWooCommerceInitialImport to Doctrine
...
[MAILPOET-3625]
2021-08-23 14:18:57 +02:00
Brezo Cordero
b2857cbf40
Refactor code that checks for list deletion with form
...
Move segment deletion to new function doTrash to avoid calling methods twice on individual segment deletion. Refactor acceptance test.
[MAILPOET-3661]
2021-08-16 09:42:08 +02:00
Brezo Cordero
d9186e4230
Prevent deleting a list if attached to a form
...
[MAILPOET-3661]
2021-08-16 09:42:08 +02:00
Jan Lysý
19fad073d0
Add cleanup subscribers counts cache
...
[MAILPOET-3714]
2021-08-09 10:38:37 +02:00
Jan Lysý
a6dc552cdc
Use new controller with subscribers counts
...
[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ý
5abee92122
Add better error message when name is empty
...
[MAILPOET-3559]
2021-06-28 11:29:46 +02:00
Jan Lysý
62d6881966
Fix name of getter in SegmentEntity
...
[MAILPOET-3469]
2021-06-21 14:02:04 +02:00
Jan Lysý
3fdbb050cd
Add getter for connect operand to SegmentEntity
...
[MAILPOET-3469]
2021-06-21 14:02:04 +02:00
Jan Lysý
97dd402d21
Change error message when request is almost empty
...
[MAILPOET-3469]
2021-06-21 14:02:04 +02:00
Jan Lysý
c88659076f
Fix property filters_connect in response
...
[MAILPOET-3469]
2021-06-21 14:02:04 +02:00
Jan Lysý
f4c2e4880a
Add dynamic filter connect type to response
...
[MAILPOET-3469]
2021-06-21 14:02:04 +02:00
Jan Lysý
eb0e7e317f
Allow returning more filters in response for dynamic segments
...
[MAILPOET-3469]
2021-06-21 14:02:04 +02:00