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
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
cef9f1dcf8
- Updates constant names
2016-07-07 14:32:05 -04:00
c78b2088eb
- Updates the check for invalid API endpoint
2016-07-07 14:20:27 -04:00
150364de3a
- Fixes API endpoint naming convention
...
- Generates/saves cron daemon token as soon as its executed
2016-07-07 14:00:07 -04:00
89253125af
- Fixes a typo
2016-07-07 10:00:12 -04:00
f557881462
- Updates code based on review comments
2016-07-07 09:01:59 -04:00
8dba4727c4
- Updates open/click link generation logic to utilize API's buildRequest
...
method
2016-07-06 22:57:39 -04:00
bd814baf28
- Fixes data not being passed to API buildRequest method
2016-07-06 10:02:47 -04:00
2db681d908
- Adds and centralizes API data encoding/decoding method
2016-07-06 09:22:34 -04:00
cb2faec8b2
- Refactors API
...
- Updates existing classes to use the refactored API methods
2016-07-05 20:17:25 -04:00