pubsweet-client merge requestshttps://gitlab.coko.foundation/pubsweet/pubsweet-client/-/merge_requests2017-08-31T12:23:23Zhttps://gitlab.coko.foundation/pubsweet/pubsweet-client/-/merge_requests/79WIP: Add a file upload method that uses XMLHttpRequest2017-08-31T12:23:23ZAlf EatonWIP: Add a file upload method that uses XMLHttpRequestSo that a file upload UI can show progress and be cancelled, use XMLHttpRequest to upload the file.
TODO: dispatch actions for progress change?So that a file upload UI can show progress and be cancelled, use XMLHttpRequest to upload the file.
TODO: dispatch actions for progress change?https://gitlab.coko.foundation/pubsweet/pubsweet-client/-/merge_requests/59WIP: Attach the API response to the thrown error2017-07-14T12:07:31ZAlf EatonWIP: Attach the API response to the thrown errorThis allows an error handler to access the whole response, e.g. to get the status code or to parse the response body as JSON.
WIP as I need to check the existing error handlers to see if any of them are accessing the current `error.resp...This allows an error handler to access the whole response, e.g. to get the status code or to parse the response body as JSON.
WIP as I need to check the existing error handlers to see if any of them are accessing the current `error.response` property.