Vlad
3421406dc7
- Removes unused const
2016-08-05 13:03:31 -04:00
Vlad
a2917c08f6
- Switches methods used to get cron settings
2016-08-05 13:03:31 -04:00
Vlad
5fa9b5a8dd
- Updates method name that returns mailer configuration
2016-08-05 13:03:31 -04:00
Vlad
41ad86ba1f
- Fixes code style
2016-08-05 13:03:31 -04:00
Vlad
067b3ff3e6
- Updates Mailer class to use default values from Settings
2016-08-05 13:03:31 -04:00
Vlad
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
Vlad
a5569a6a55
- Adds new sendiing queue task responsible for managing task scheduler
2016-08-05 13:03:31 -04:00
Vlad
71c1026729
- Adds new class responsible for managing mailer log
2016-08-05 13:03:31 -04:00
Vlad
f102e847bf
- Stops cron daemon when settings are changed from MailPoet to WordPress
...
task scheduler
2016-08-05 13:03:31 -04:00
Vlad
3158e2c460
- Updates cron router to properly return the daemon status
2016-08-05 13:03:31 -04:00
Vlad
a438f13bb0
- Modifies cron router/UI to display proper status message when WP task
...
scheduler is configured and cron is not running
- Updates sending queue worker and related components to stop (delete)
cron when all processing is done
2016-08-05 13:03:31 -04:00
Vlad
5ed0a5819c
- Updates settings to use task scheduler method names from the newly
...
introduced config class
2016-08-05 13:03:31 -04:00
Vlad
6dd3c6acda
- Adds new task scheduler configuration class
...
- Introduces method to start cron on demand when there are
scheduled newsletters or queues in progress
2016-08-05 13:03:31 -04:00
Jonathan Labreuille
1305a10ee0
updated ALC endpoint + nl editor + js tests
2016-08-05 15:25:54 +02:00
Tautvidas Sipavičius
5e36eb818b
Fix sending first notification newsletter with ALC posts
2016-08-05 13:40:54 +03:00
Tautvidas Sipavičius
cfde82ff5f
Declaring class properties of AutomatedLatestContent
2016-08-04 18:32:30 +03:00
Tautvidas Sipavičius
af98ade650
Add ALC filter to use posts created after last newsletter was sent
2016-08-04 18:17:49 +03:00
Tautvidas Sipavičius
9469ce83f1
Fix creation and update timestamps for notification history newsletters
2016-08-04 18:16:43 +03:00
Tautvidas Sipavičius
82a001dc05
Add timestamp based ALC filter to ignore older posts
2016-08-04 18:16:43 +03:00
Vlad
d31af9d71c
- Adds additional logic to not exclude sent posts when previewing from
...
within the newsletter editor
2016-08-04 10:30:53 -04:00
Vlad
ff7a24590f
- Removes unnecessary condition
2016-08-04 09:46:05 -04:00
Vlad
ea87a7acf8
- Fixes code style
...
- Removes unnecessary condition
- Closes #576
2016-08-04 09:36:15 -04:00
Vlad
9d36a17261
- Fixes preview of newsletters with ALC
2016-08-03 21:36:03 -04:00
Vlad
9c3cb5a509
- Enables preview of notification history newsletters
2016-08-03 20:42:35 -04:00
Jonathan Labreuille
1c6fca7f83
fixed ErrorResponse call in API::setupPublic()
...
- removed empty constructors in updated endpoints
- added missing keys to Error class (unauthorized, forbidden)
2016-08-03 16:04:45 +02:00
Jonathan Labreuille
c5b376bd21
satisfy code sniffer rule
2016-08-03 15:08:27 +02:00
Jonathan Labreuille
5d2800bc25
added API/Error class to hold error keys as constants
...
- re-added Setting::getAll() to API/Setting::set() in response
- updated settings/setup tests
2016-08-03 15:04:25 +02:00
Jonathan Labreuille
6675d5a20d
added default error messages to errorResponse and badRequest
2016-08-03 14:08:22 +02:00
Jonathan Labreuille
28c39d301c
Added default error response in case no errors were specified
...
- converted Setup endpoint
- unit tests for Setup endpoint
2016-08-03 12:41:21 +02:00
Jonathan Labreuille
2e88d7cce0
Added API/Endpoint abstract class
...
- (re)Added Endpoints folder to both API and Router
- fixed syntax in namespaces
- xhr.responseJSON is returned to the fail()
- fixed Router endpoints (view in browser, cron,...)
2016-08-02 17:08:43 +02:00
Jonathan Labreuille
ed30d8f639
externalize Success/ErrorResponse classes into their own files
2016-08-01 17:22:23 +02:00
Jonathan Labreuille
9410d4f10a
Reorganized new API + added legacy API support + new API
...
- Updated Settings Router to new standards
- Updated settings.html to reflect API change with better error handling
- Updated Settings API unit tests
2016-08-01 17:00:32 +02:00
Jonathan Labreuille
354d249e1d
Moved current Router files to API
...
- updated Unit tests to reflect the change
2016-08-01 17:00:32 +02:00
Jonathan Labreuille
008fdb94c5
Moved lib/API to lib/Router
...
- renamed lib/API/API.php to lib/Router/Front.php
- updated namespaces in various file to account for namespace change
2016-08-01 17:00:32 +02:00
Tautvidas Sipavičius
cb5d7cb9a0
Fix incorrect post notification template logo URL
2016-07-29 16:52:55 +03:00
Tautvidas Sipavičius
a44d4ed0b5
Add new newsletter sample templates
2016-07-29 16:29:44 +03:00
Tautvidas Sipavičius
7bd23288f6
Add newsletter blank 1 column template
2016-07-29 16:28:44 +03:00
Tautvidas Sipavičius
c46ee07674
Change form editor page title, swap "New" to "Add New"
2016-07-29 13:30:17 +03:00
Tautvidas Sipavičius
18398a3bfb
Finish changing segments to lists and columns to fields
2016-07-29 13:30:17 +03:00
Kiefer Conrad
c05a20cff9
Update 28 July 2016
2016-07-29 13:29:05 +03:00
Tautvidas Sipavičius
08cb994252
Merge pull request #573 from mailpoet/text_version_fix
...
Fixes link rendering in text version of the newsletter
2016-07-28 16:17:13 +03:00
Jonathan Labreuille
641ba04685
Added Newsletter::getArchives() in order to return proper archives
...
- Archives page: replaced created_at by processed_at as the issue date
2016-07-28 11:52:56 +02:00
Vlad
8e4d07c658
- Updates regex to not match http/ftp links as shortcodes
...
- Updates regex to properly replace links in text version of newsletter
2016-07-27 21:57:55 -04:00
Tautvidas Sipavičius
775f7faee4
Declare private properties and swap strings for named constants
2016-07-27 16:35:21 +03:00
Tautvidas Sipavičius
13b91ad051
Encapsulate showing WP notices into a separate Notice class
2016-07-27 15:07:09 +03:00
Tautvidas Sipavičius
2d3ec13473
Stringify exception to include the stack trace as well
2016-07-27 13:58:44 +03:00
Tautvidas Sipavičius
3094cfc076
Prevent plugin from disabling itself on error, display that error to
...
admin instead
2016-07-26 16:18:33 +03:00
Tautvidas Sipavičius
13589a4660
Merge pull request #552 from mailpoet/newsletter_listing
...
Post notification history listing
2016-07-22 16:20:00 +03:00
Vlad
5f124659d0
- Fixes PHP static standards error
2016-07-22 08:45:46 -04:00
Vlad
e83d01ff28
- Avoids sending duplicate posts
2016-07-21 20:54:32 -04:00