stoletniy
4616cf67bf
Fix a test [MAILPOET-1069]
2017-08-25 16:10:01 +03:00
stoletniy
cc5227ca0d
Don't track sent ALC posts for welcome and standard emails (always send the latest posts) [MAILPOET-1069]
2017-08-25 15:51:45 +03:00
Amine Ben hammou
a587b0a966
Links are not re-hashed when re-rendering the same newsletter
2017-08-15 12:55:05 +00:00
Vlad
7c30192a03
Adds option to replace shortcodes in one string using contents from
...
another string
Adds unit tests
2017-08-01 09:32:42 +02:00
stoletniy
6fb18ad321
Fix PSR1.Classes.ClassDeclaration sniffer rule in tests [MAILPOET-1025]
2017-07-26 18:28:56 +03:00
stoletniy
321393f119
Fix Squiz.Classes.ClassFileName sniffer rule in tests [MAIPOET-1025]
2017-07-26 17:03:43 +03:00
Vlad
9dd326e7db
Updates class to use newly added validate() method on the model
...
Validates existing queue's rendered newsletter body
Cleans code formatting
2017-07-24 12:49:39 -04:00
Vlad
1a522794d6
Adds method to validate rendered newsletter body on sending queue
...
Prevents sending queue worker from sending when sending queue's rendered
newsletter body is invalid
2017-07-23 11:50:35 -04:00
Vlad
34d09ce0c9
Sets mailer log error when queue cannot be saved during newsletter
...
pre-processing
2017-07-14 23:15:14 -04:00
Tautvidas Sipavičius
22bb971db5
Merge pull request #980 from mailpoet/newsletter_listing_update
...
Sorts standard/history notification records by sent_at date in listings [MAILPOET-932]
2017-07-11 12:43:06 +03:00
mrcasual
24e682e92e
Corrects typo
2017-07-10 12:20:37 -04:00
Vlad
95b5206e8b
Updates sending queue worker to set newsletter's sent_at field when
...
newsletter is sent
2017-07-07 11:05:39 -04:00
stoletniy
22c39c0092
Fix PEAR.WhiteSpace.ScopeClosingBrace rule in tests [MAILPOET-989]
2017-07-07 11:11:16 +03:00
stoletniy
29491dfd3e
Fix active coding standard rule violations in tests [MAILPOET-981]
2017-07-03 16:20:44 +03:00
stoletniy
6ff3895940
Add missing this for stubs expecting a number of method calls to work
2017-06-22 11:55:15 +01:00
Vlad
344990d59e
Only processes queues when newsletter exists and is active/sending
2017-06-02 12:03:34 -04:00
Vlad
1ea915017a
Fixes unit test
2017-05-01 09:26:36 -04:00
Amine Ben hammou
a7142ed21b
modified SendingQueue Tests to ensure it passes the correct unsubscribe URL to Mailer
2017-04-15 22:14:40 +00:00
Alexey Stoletniy
32097b4512
Test that Premium hooks are executed [PREMIUM-2]
2017-03-21 21:36:36 +03:00
Alexey Stoletniy
8dd698ec75
Fix Welcome email sending [MAILPOET-859]
2017-03-15 12:12:47 +03:00
Vlad
3cde437628
Adds enforcement of global subcriber subscription status and
...
subscribption to segments to which newsletter is sent
2017-03-09 20:38:34 -05:00
Vlad
ccba1925b1
Prevents sending to unsubscribed subscribers
2017-03-07 18:55:49 -05:00
Alexey Stoletniy
2220a13399
Remove unused imports [MAILPOET-764]
2017-01-25 10:14:38 +03:00
Vlad
398109dcf7
- Runs mailer and cron execution limit checks at the same and in 3
...
locations: before processing, after each send operations and after queue
processing
- Fixes an issue with sending continuing when newsletter is trashed
- Updates unit tests
2016-12-05 09:37:18 -05:00
Vlad
89545ba104
- Adds unit tests
2016-11-28 09:50:32 -05:00
Vlad
e0aeeb29d9
- Deletes post notification history record when no posts are found and
...
when sending queue record is deleted
- Reverts back changes to the model's delete() method
- Updates unit tests
2016-11-21 19:27:08 -05:00
Vlad
9cd7b1a204
- Updates unit tests
...
- Addresses #628 (3)
2016-11-03 20:56:25 -04:00
Vlad
d08d5a3b6c
- Updates unit tests
2016-10-24 08:55:22 -04:00
Vlad
8330bfc884
- Fixes "completed" status update of notification history
...
newsletters
- Fixes detection of post notification newsletters that do not contain any posts (i.e., blank ALC blocks)
- Updates unit test
2016-10-24 08:55:22 -04:00
Vlad
1ac288d286
- Prevents newsletters from being sent to trashed subscribers
...
- Updates unit tests
- Addresses #629
2016-10-21 14:36:44 -04:00
Vlad
1c2a532949
- Adds test to detect empty newsletter body when sending
2016-09-20 12:03:57 -04:00
Vlad
2fa5e5ead2
- Moves logic of the Subscribers task to the Sending Queue model
2016-09-19 21:53:13 -04:00
Vlad
d5107be65e
- Updates Sending Queue Worker and Mailer task to allow dependency
...
injection via constructor
- Updates unit tests to use dependency injection instead of modifying
object's internals
2016-09-19 21:00:47 -04:00
Vlad
4538cab6c8
- Adds newsletter body/subject as a reusable template through
...
Codeception's Fixture utility class
2016-09-19 20:40:17 -04:00
Vlad
1bf0988297
- Updates Sending Queue worker/tasks/unit tests use model's method to get/save rendered newsletter body
2016-09-19 20:11:58 -04:00
Vlad
e11fd66fec
- Adds unit tests for cron's sending queue worker and associated tasks
2016-09-18 23:16:19 -04:00