Commit Graph

21 Commits

Author SHA1 Message Date
8ad271d81c and finally, return to standard mo 2016-05-19 14:33:04 -07:00
ec06c51c5d final sweep, moved everything to _v4 2016-05-19 14:23:33 -07:00
c7f6c09d8c get the unit tests to pass 2016-05-19 09:09:31 -07:00
4e152d8b7d Update host.js
window can be defined and yet window.location can be undefined: both "window" and  "window.location" must be defined to access to "protocol" information
2016-01-20 11:42:39 +01:00
d0d55f8f3e switch from jshint to eslint 2016-01-08 14:21:26 -07:00
7f468d2064 Unify auth handling in the Host class
- flatten auth config to an Authorization header when the Host is created
 - remove individual Authorization handling from connectors
 - removed incomplete support for per-request auth
 - use per-request headers to provide your own Authorization header per request
2015-04-10 09:46:21 -07:00
4fc1c91634 add SSL configuration options 2015-01-05 12:56:48 -07:00
4c1db66521 allow specifying the hostname as the host, eg. host: 'localhost' 2014-11-07 18:48:11 -07:00
165b7d7986 expand the url parsing ability of the Host class 2014-11-07 18:11:59 -07:00
c197a42777 [connector/angular] don't modify global header deaults, fixed #146 2014-09-23 09:39:46 -07:00
4e4c59dcec track the global config and pass it to the host objects on creation 2014-09-08 15:32:06 -07:00
6e2c2a8417 added suggestCompression config 2014-09-04 16:05:58 -07:00
ee3bd414a6 added header support to the non-node connectors 2014-04-01 18:23:05 -07:00
ab033e9698 added the ability to set a host's host to false, causing the urls it creates to be relative 2014-01-16 14:19:11 -07:00
37cd2f4f6c Summary of changes:
- updated copyright
 - several tempalate changes for the docs
 - added a config for grunt-contrib-watch
 - updated nock commit number
 - fixed the coverage script
 - removed the export_docs script
 - added error message for legacy "es" users who don't have a version locked and have not upgraded
 - host will now add auth to urls created with `#makeUrl()`
 - Log class no longer looks for `config.loggers`
 - The log class now properly escapes single quotes in trace logs
 - Removed compiled yaml_tests.js from the repo
 - Yaml suite will only log error and warning messages unless the VERBOSE env var is set
 - createDefer is now a global setting, changed by modifying Transport.createDefer fubction
 - wrote tests for Content-Type checking
 - callbacks will now return the body and status of the request (if the request has completed) when an error occurs
 - Stdio logger now adds "Elasticsearch " to the front of log messages to distinguish it from other output to stdout.
2013-12-15 14:12:39 -07:00
2b5f6cd80d lots of changes, should have committed earlier 2013-12-02 18:43:52 -07:00
477f1aff84 Fixed the integration tests, set the default method for indices.putTemplate and indices.putMapping to PUT 2013-11-25 14:14:00 -07:00
97ba084795 save point durring huge unorganized refactor 2013-11-22 16:48:30 -07:00
7e6fa479ad Added the browser based test suite, have it running automatically via PhantomJS with grunt, all tests are passing except one, which requires PhantomJS send a body with a DELETE request 2013-11-05 10:01:12 -07:00
286a08c8c2 Added browser build, including angular version. minified versions available 2013-10-29 19:47:00 -07:00
984a55f6c0 Cleaned up the generation script, fixing the doc-blocks above the client actions.
Replaced the transport, giving it all of the functionality that was brought over to the client and making the client simply a place for the API to live. Essentially a shell that can easily be removed.

spec'd out the TransportRequest which will eventually inherit from one of server possible promise implementations and will be plugable. It will also implement the "abort" functionality needed in an environment like node.js
2013-10-29 08:48:29 -07:00