wxa
8fb18e7c2e
Extract usage of emoji encoding from the sending queue model [MAILPOET-2460]
2019-10-24 10:57:36 +01:00
Pavel Dohnal
a42a971efd
Move GA tracking to free
...
[MAILPOET-2397]
2019-10-23 17:34:07 +01:00
Rostislav Wolny
73bc62227a
Replace log topics strings by constants
...
[MAILPOET-2444]
2019-10-10 12:36:06 +01:00
Rostislav Wolny
e4262b0a6d
Refactor Cron to use logger_factory instance
...
[MAILPOET-2444]
2019-10-10 12:36:06 +01:00
Rostislav Wolny
beccbea6e2
Refactor Mailpoet\Logging\Logger to LoggerFactory
...
[MAILPOET-2444]
2019-10-10 12:36:06 +01:00
Rostislav Wolny
21158abe49
Rename $queue variable to $sending_task to make code more undestandable
...
[MAILPOET-2458]
2019-10-10 12:04:07 +01:00
Jan Jakeš
ade1cc4d8e
Autofix alphabetically sorted use statements
...
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
Jan Jakeš
1b5b9d89ff
Autofix namespace declaration spacing
...
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
Rostislav Wolny
4fbf8ed7be
Replace unsubscribe link short code strings by constant
...
[MAILPOET-2245]
2019-10-01 14:07:39 +01:00
Rostislav Wolny
44c6e5db91
Ensure that unsubscribe link is always saved before sending
...
[MAILPOET-2245]
2019-10-01 14:07:39 +01:00
Rostislav Wolny
7dba4d900c
Rename Subscription\Url to Subscription\SubscriptionUrlFactory
...
[MAILPOET-2381]
2019-09-25 10:29:20 +01:00
Rostislav Wolny
d90d5c6385
Refactor getUnsubscribeUrl to instance method
...
[MAILPOET-2381]
2019-09-25 10:29:20 +01:00
Amine Ben hammou
692ff1ed22
Use getToken()
...
[MAILPOET-2340]
2019-09-24 14:40:22 +01:00
Amine Ben hammou
f1ee32399f
Use array_column from Util
...
[MAILPOET-2333]
2019-09-22 10:58:17 +02:00
Amine Ben hammou
777cf0bdd7
Add meta when sending newsletters
...
[MAILPOET-2333]
2019-09-22 10:58:17 +02:00
Pavel Dohnal
11b2516d99
Make sure only subscribed users recieve welcome emails
...
[MAILPOET-2331]
2019-09-19 16:18:26 +02:00
Amine Ben hammou
3ea9c99090
Use link_token when tracking and rendering links
2019-09-12 17:32:05 +02:00
Jan Jakeš
01a0fe96c4
Remove no longer necessary checks
...
[MAILPOET-1948]
2019-09-12 13:59:32 +02:00
Pavel Dohnal
11aebe2e05
Fix notice
...
[MAILPOET-2267]
2019-08-21 14:34:14 -04:00
Pavel Dohnal
8739646a6a
Move mailer configuration to init method
...
[MAILPOET-2146]
2019-07-24 13:54:49 -04:00
Amine Ben hammou
de36898231
Enable soft sending errors
2019-06-20 12:40:24 -04:00
Pavel Dohnal
5da7110eb6
Use short array syntax
...
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
wxa
6b4e1fc055
Add more logging for sending debugging [MAILPOET-2084]
2019-05-16 14:21:51 -04:00
Ján Mikláš
9f21ff1285
Fix checking if post notification email contains any ALC posts
...
[MAILPOET-2029]
2019-05-16 09:33:00 -04:00
Ján Mikláš
c6c9442588
Make PostsTask method non-static
...
[MAILPOET-2029]
2019-05-16 09:33:00 -04:00
Pavel Dohnal
3e66e9e1dd
Fix phpstan level 6
...
[MAILPOET-1969]
2019-04-10 09:55:13 -04:00
Ján Mikláš
5621d1df25
Set newsletter's ID when sending preview or actual newsletter
...
[MAILPOET-1882]
2019-03-21 13:15:29 -04:00
Amine Ben hammou
0a436087e1
Replace all WP function calls
2019-03-07 08:30:14 -05:00
wxa
fb77167a1f
Remove unused imports [MAILPOET-1825]
2019-02-21 09:51:53 -05:00
Ján Mikláš
3ee58aea10
Add space between if and ‘(‘
...
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
Ján Mikláš
ebbdec5ebd
Add space between foreach and ‘(‘
...
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
Rostislav Wolny
ff238bf69a
Refactor MailPoet\Cron to use new settings
...
[MAILPOET-1757]
2019-01-31 15:57:58 +01:00
Amine Ben hammou
8b602bd947
Move WPHooks methods to WPFunctions
2019-01-31 13:25:00 +01:00
M. Shull
0e3f27add3
Merge pull request #1728 from mailpoet/stats-notifications
...
Stats notifications [ MAILPOET-1571]
2019-01-28 13:22:21 -05:00
Pavel Dohnal
96f2f79d48
Refactor Stats notifications to spearate classes
...
[MAILPOET-1571]
2019-01-28 10:56:01 +01:00
Pavel Dohnal
1d34613b17
Schedule a notification
...
[MAILPOET-1571]
2019-01-28 10:56:01 +01:00
Tautvidas Sipavičius
44bc27df90
Define default variable values in cases when they can be undefined
2019-01-23 21:29:46 +02:00
Tautvidas Sipavičius
9f13f68e39
Fix "Access to undefined property" rule violations
2019-01-23 11:33:47 +02:00
wxa
0573a7915e
Merge pull request #1689 from mailpoet/wp-functions
...
Encapsulating WP calls
2018-12-27 11:05:08 +03:00
wxa
a1fa3dcd28
Use a default subject if a rendered newsletter subject is empty [MAILPOET-1462]
2018-12-13 22:13:01 +03:00
Amine Ben hammou
a46d98ec44
Refactor WPFunctions to be injectable with DI
2018-12-12 16:43:52 +01:00
Pavel Dohnal
fd893cec0e
Remove newsletter logging where is no newsletter
...
[MAILPOET-1595]
2018-10-18 09:07:32 +02:00
Pavel Dohnal
e4db455a47
Add post notification logging
...
[MAILPOET-1536]
2018-10-01 15:02:12 +02:00
Rostislav Wolny
665fce9dbb
Temporarily set every sending error to hard
...
This is temporary solution until we implement follow-up feature https://mailpoet.atlassian.net/browse/MAILPOET-1155
[MAILPOET-1154]
2018-09-13 11:12:38 +02:00
Rostislav Wolny
624c6d900e
Add processing of soft errors
...
When processing soft error we only save error to particular subscriber and continue sending.
[MAILPOET-1154]
2018-09-13 11:12:38 +02:00
Rostislav Wolny
ea4c5f46fb
Refactor sendingQueue to distinguish bulk/individual sending method
...
[MAILPOET-1154]
2018-09-13 11:12:38 +02:00
Rostislav Wolny
3ae8763837
Refactor sending error handling to extra class
...
The SendigQueue worker is already a very complex class and handles a lot of things.
Since we want to make error handling more sophisticated it is better to move the error handling responsibility
to a new class.
[MAILPOET-1154]
2018-09-13 11:12:38 +02:00
Rostislav Wolny
223c2e1562
Add subscriber errors passing via MailerError object
...
We want to process errors for individual subscribers.
Subscriber errors were inlined into error message string.
This commit changes this so that we are now able to get
subscriber errors as a data which are easy to process further.
[MAILPOET-1154]
2018-09-13 09:48:54 +02:00
Rostislav Wolny
0923c892c1
Refactor sending methods to use error mappers
...
We want to add some logic to error handling.
This commit extracts error handling code from sending methods classes,
which already do a lot of other stuff, to error mappers which are responsible
for creating proper error object (MailerError). This error object is a replacement
for assoc. array which already had some special keys for certain usecases and
can not be properly type hinted.
[MAILPOET-1154]
2018-09-13 09:33:26 +02:00
Rostislav Wolny
8cf5d17cfd
Refactor sending task variable name and add typehint
...
[MAILPOET-1154]
2018-09-13 09:33:26 +02:00