Commit Graph

34 Commits

Author SHA1 Message Date
08ec4e83c8 - Adds method to clear previous errors
- Updates unit tests
- Rebases master
2016-11-28 12:20:13 -05:00
90a0061233 - Updates mailer log to record error messages, track retry attempts and
pause sending
2016-11-28 09:50:32 -05:00
8a278360f4 - Adds methods to format mailer send/connection succes & error results
- Updates all mailing methods to return true on success and error message
  on failure
2016-11-28 09:50:32 -05:00
5d12de8ec0 - Removes unused mailing methods 2016-11-28 09:47:07 -05:00
a9e02f745f - Encodes non-ASCII from/reply-to/to addresses as per RFC 2047 2016-11-28 08:56:14 -05:00
677060491d - Fixes an issue with unicode characters not rendering in from/reply-to/to
fields.
2016-11-25 15:34:55 -05:00
4402f826c3 fixed issue with namespace AND fixed issue #649 2016-10-06 12:54:04 +02:00
b9745b555a make sure ABSPATH is defined before using it - fixes issue #648 2016-10-06 12:52:53 +02:00
7fbf84db1f converted text domain to string instead of constant 2016-09-30 09:58:26 +02:00
42202f676a updated Env::plugin_name to constant for text domain 2016-09-27 14:54:23 +02:00
ba6198f956 added textdomain to __() calls 2016-09-27 14:53:44 +02:00
f88dabffe8 - Updates cron's sending queue worker to use model objects
- Adds new method to render newsletter to the newsletter model
- Adds new transient object to newsletter model that will hold temporary
  values (i.e., rendered body) when working with the model
2016-09-18 23:14:17 -04:00
3508ac36b4 - Removes daemon status logic and updates tests
- Refactors daemon
- Adds daemon unit tests
2016-09-08 19:22:42 -04:00
5fa9b5a8dd - Updates method name that returns mailer configuration 2016-08-05 13:03:31 -04:00
067b3ff3e6 - Updates Mailer class to use default values from Settings 2016-08-05 13:03:31 -04:00
9b9cb1455a - Updates cron/mailer/scheduler code to work with the new sending queue
task scheduler and mailer log
2016-08-05 13:03:31 -04:00
49b65729db update 14 July 2016 2016-07-14 20:58:12 +02:00
0ac701eb20 Change line endings from DOS CRLF to Unix LF 2016-06-30 18:52:07 +03:00
873c3d15a0 Fixed Setting::getValue issue where defaults were not returned for single keys
- updated static strings with constants
2016-06-15 16:26:42 +02:00
cad5b242b2 - Increases Mailer unit test coverage to 100% 2016-06-02 10:11:36 -04:00
4047b41a7f Updated all React components to their latest version
- updated code due to deprecated warnings (mostly router stuff & input default value)
- set default sender based on settings when creating new newsletter
- fixed erroneous UTC offset when displaying dates (PHP takes care of it)
2016-04-28 17:02:24 +02:00
7522084ccb - Rewrites sending queue worker and updates router
- Implements batch sending for queue worker
- Fixes mailer class issue when sender data can be empty
- Updates values for cron execution timeout/limit
2016-02-10 22:34:54 -05:00
33075940de - Fixes detection of reply_to address 2016-02-04 19:22:11 -05:00
0776e9ad73 - Adds "reply to" option to all mailers
- Replaces WPMail with Swift using local transport (PHP mail)
- Fixes AmazonSES region naming convention
- Updates tests
2016-01-26 19:08:02 -05:00
d0e770e0fc - Removes Mandrill API mailer method 2016-01-26 09:18:48 -05:00
0dbe04c3f8 - Addresses issues identified during code review 2016-01-06 19:19:06 -05:00
f1bf2bb097 - Refactors Mailer class
- Refactors SendingQueue worker class
- Adds Maier router with a send() method + ability to specify sending method
- Updates tests
- Introduces 'stopping' and 'starting' cron states
- Improves cron control mechanism
Closes #276
2016-01-05 10:34:57 -05:00
59653b0c6c New Bridge class to send messages with our sending service. 2015-08-21 17:12:36 +02:00
7da1cb9f5b #65 fix and test Marco's refactoring 2015-08-18 09:23:35 +02:00
d60ba538f8 Refactor request generator from the send method. 2015-08-17 20:24:27 +02:00
a84501024a Refactor mailer. 2015-08-17 20:20:36 +02:00
ffc180eac8 #65 test the generateMessage method; test with more than one subscribers 2015-08-17 14:08:31 +02:00
f78ab1c44b #65 renamed the generateMessage method; simplify the subscribers property; removed the handle method 2015-08-17 10:33:22 +02:00
32f01272f1 #65 a first Mailer for the Bridge, with a minimal test 2015-08-14 16:29:02 +02:00