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
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
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
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ý
97dd402d21
Change error message when request is almost empty
...
[MAILPOET-3469]
2021-06-21 14:02:04 +02:00
Jan Lysý
aeeceeeb8d
Use Newsletter\Url as service
...
[MAILPOET-3269]
2021-06-14 10:12:34 +02:00
Jan Lysý
f7b77cf75d
Remove FormRepository from SettingsController
...
[MAILPOET-3643]
2021-06-07 14:14:50 +02:00
Jan Lysý
4d5630b1ca
Remove ScheduledTaskRepository from SettingsController
...
[MAILPOET-3643]
2021-06-07 14:14:50 +02:00
Pavel Dohnal
9174bbb6fd
Refactor form bulk action to docrine
...
[MAILPOET-3630]
2021-06-02 14:09:12 +02:00
Pavel Dohnal
ad40585da4
Refactor form save to doctrine
...
[MAILPOET-3037]
2021-05-19 11:00:18 +02:00
Pavel Dohnal
bf1598cb4e
Refactor code
...
[MAILPOET-3037]
2021-05-19 11:00:18 +02:00
Pavel Dohnal
d89512932f
Use Doctrine in Form create
...
[MAILPOET-3037]
2021-05-19 11:00:18 +02:00
Pavel Dohnal
61d73c1b6c
Remove unused method
...
[MAILPOET-3037]
2021-05-19 11:00:18 +02:00
Jan Lysý
28060c8e12
Reschedule existing subscriber score task on reset
...
[MAILPOET-3533]
2021-05-12 14:42:22 +02:00
Jan Lysý
62cb468525
Rename method and variables
...
[MAILPOET-3533]
2021-05-12 14:42:22 +02:00