132b4ed2e8
- Passes full model object to class method
2016-09-23 12:30:29 -04:00
ea5c73721b
remove doing_ajax logic from API and created dedicated class for subscription form non ajax submission
2016-09-22 16:24:13 +02:00
6091751a4b
Closes issue 480
2016-09-21 11:54:16 +02:00
1918894c5c
fix status code in API + PHP 5.3 errors on object instantiation
2016-09-12 15:59:30 +02:00
0c5589a3e3
Listing method update for Newsletters/Forms/Segments/Subscribers
...
- updated unit tests
2016-09-12 15:57:16 +02:00
d7bcf1b817
- Updates the way errorResponse class is instantiated
2016-09-10 10:49:20 -04:00
4a72995bf4
fix bulk actions and messages
2016-09-06 17:21:15 +02:00
f650455a90
forms & newsletters endpoints
2016-09-05 11:55:01 +02:00
afbe25e215
Segments & Subscribers endpoints
...
- unit tests
2016-09-05 11:51:58 +02:00
d93249f077
form & listing jsx update + Segment endpoint conversion
2016-09-05 11:51:58 +02:00
2986cdba85
- Removes Cron status from MailPoet's WP admin panel
2016-09-01 19:19:47 -04:00
9fb9d25132
- Uses model method to get queue
2016-08-22 09:26:25 -04:00
b492bcecc0
- Removes requirement of passing newsletter id when tracking clicks
...
- Extracts common tracking data processing/validation code into the Track
class
- Refactors Clicks, Opens and View in Browser classes to enforce
subscriber id and token check
- Allows admin users to preview newsletters without tracking statistics
2016-08-22 09:26:25 -04:00
916ae97f73
Updated export unit test
2016-08-17 12:51:50 +02:00
9582e58dda
converted import
2016-08-17 12:16:58 +02:00
dc97d3115e
updated Custom Field endpoint + Unit tests + form editor update
2016-08-16 12:40:10 +02:00
90eb443965
Merge pull request #582 from mailpoet/custom_field_fix
...
Custom field fix
2016-08-16 12:00:28 +02:00
de6d7e0cae
updated cron endpoint + cron.jsx
2016-08-11 12:36:17 +02:00
3d4defd563
Fixed unit tests for newletter templates
...
- changed null to false for default value of id in nltemplates endpoint
2016-08-10 16:51:04 +02:00
52da08abb2
converted newsletterTemplates endpoint + react
2016-08-10 15:50:07 +02:00
0369a23fe8
Call different actions for standard and automated newsletters on Send step
...
- converted save and setStatus method of Newsletters endpoint
- updated pause/resume mixin for notification & welcome listings
- use 'newsletter_id' instead of 'id' in SendingQueue endpoint (less confusing)
- added NOT_FOUND constant to APIError
- fixed unit test for Newsletters endpoint save and added test for setStatus
2016-08-10 13:09:35 +02:00
f690e1a095
return sending queue object for standard / newsletter for automated\n- bugfix loading screen not going away\n- fixed not being used in sending queue endpoint
2016-08-10 13:09:35 +02:00
22e8e34213
unify getData() response
2016-08-10 13:09:35 +02:00
12b46736c5
updated sending queue endpoint + react (pause/resume/send)
2016-08-10 13:09:35 +02:00
4950e47297
updated mailer endpoint
2016-08-10 13:09:35 +02:00
9a5a3a08c6
- Fixes default date format not being set
2016-08-08 18:23:11 -04:00
35ccfb8bcf
Merge pull request #564 from mailpoet/cron_update
...
Cron update
2016-08-08 16:59:27 +03:00
a2528939ba
Merge pull request #581 from mailpoet/api_uniform_b
...
updated ALC endpoint + nl editor + js tests
2016-08-08 15:00:26 +03:00
3f5c36d2d4
- Fixes blocking HTTP request issue
...
- Simplifies cron supervisor
2016-08-05 13:03:31 -04:00
3e616201ad
- Encasupsulates trigger methods logic into separate classes
...
- Updates cron router
2016-08-05 13:03:31 -04:00
63bd093f35
- Renames TaskScheduler to CronTrigger and updates relevant code
...
- Standardizes setting value const naming convention
2016-08-05 13:03:31 -04:00
a2917c08f6
- Switches methods used to get cron settings
2016-08-05 13:03:31 -04:00
3158e2c460
- Updates cron router to properly return the daemon status
2016-08-05 13:03:31 -04:00
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
1305a10ee0
updated ALC endpoint + nl editor + js tests
2016-08-05 15:25:54 +02:00
d31af9d71c
- Adds additional logic to not exclude sent posts when previewing from
...
within the newsletter editor
2016-08-04 10:30:53 -04:00
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
c5b376bd21
satisfy code sniffer rule
2016-08-03 15:08:27 +02:00
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
6675d5a20d
added default error messages to errorResponse and badRequest
2016-08-03 14:08:22 +02:00
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
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
ed30d8f639
externalize Success/ErrorResponse classes into their own files
2016-08-01 17:22:23 +02:00
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
354d249e1d
Moved current Router files to API
...
- updated Unit tests to reflect the change
2016-08-01 17:00:32 +02:00
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
13589a4660
Merge pull request #552 from mailpoet/newsletter_listing
...
Post notification history listing
2016-07-22 16:20:00 +03:00
5f124659d0
- Fixes PHP static standards error
2016-07-22 08:45:46 -04:00
3e746d1545
fixed API data decoding issue
...
- added missing features from issue #419
- removed isMailPoetPage() as the logic was flawed
2016-07-21 15:10:25 +02:00
101ef0cff4
Fixed stats for welcome emails
...
- re-added ORM logging in order to debug queries
- fixed subscription confirmation / unsubscribe due to API refactor
2016-07-18 16:01:47 +02:00