Commit Graph

1884 Commits

Author SHA1 Message Date
11c976e9f8 added changelog to track the differences between minor versions 2013-12-22 12:15:51 -07:00
be50dac466 Update to version 1.1.0, promises now return just the repsonse body. If you need the status code, please use a callback 2013-12-22 12:02:55 -07:00
e4f81d6550 updated tests for new promise resolution value 2013-12-22 11:55:36 -07:00
460f708a29 Changed the value promises with resolved with. Instead of receiving an object with both the body and status code attached, they will simply receive the body. 2013-12-22 11:42:51 -07:00
d949ac940a fixed the compress config 2013-12-21 22:08:14 -07:00
63cd44d137 fixed the compress config 2013-12-21 21:57:23 -07:00
f9be330999 fixed the urls for uploading and downloading browser builds. 2013-12-21 18:09:57 -07:00
d3c7532b3f v1.0.3 2013-12-21 00:41:41 -07:00
d17217929a updated the grunt tasks, and the jquery connector will now properly parse json response bodies 2013-12-21 00:36:41 -07:00
77e3dcb95b updated the task names inside the browser_clients tasks to reflect latest versions 2013-12-19 22:40:02 -07:00
f5c8d39876 hotfix for recursive failures in the jQuery build. v1.0.2 2013-12-19 20:55:34 -07:00
d1e7b86a7d Merge pull request #7 from spenceralger/fill_coverage_holes
Fill coverage holes
2013-12-18 16:23:01 -08:00
50be1e86b3 Summary of Changes:
- Polished some Grunt config options while testing livereload capabilities in grunt-watch
- tests for connection_pool selection with no living connections
- tests for connection abstract's mini request implementation for ping.
2013-12-18 17:11:32 -07:00
3057c25c26 Setup grunt coverage task 2013-12-18 13:28:42 -07:00
96b44ebf8b Merging spenceralger:travis_and_coveralls. Summary of changes:
- removed several unneeded devDeps
- removed old get_spec.js script
- the client's ping method will now send back true as the body when the ping
  succceeds, and false when it does not. When the ping fails, the error will
  still be sent back and the connection's status will still be set to "dead".
- All of the client's methods now have a spec property, which will provide the
  JSON spec used to run that method.
- The yaml test runner will only camelCase param names that are documented, uses
  the client's method's new spec property
- Trace log events will now have their proper original query string parameters
- The "tracer" logger will now write to elasticsearch-tracer.log by default, and
  will truncate the file if it already exists.
- When running the integration tests, the client will now use a tracer logger which
  writes to stderr. The default level is "warning", but with the VERBOSE environment
  var it becomes "trace" and the logger will write to it's default file
- Added .idea to the .gitignore, it was being published to NPM
- Cleanup of the grunt tasks. Consilidated several tiny files into seperate moderately sized ones.
2013-12-18 13:21:40 -07:00
4c3bd0080d updated to version 1.0.1 2013-12-18 08:37:35 -07:00
9a6d3d3fab fix for AngularConnector, closes #5 2013-12-18 08:21:31 -07:00
043bf21785 added generate task before the integration task in 'grunt test' 2013-12-17 20:11:05 -07:00
40810e87ec skipping unstable node v0.11 2013-12-17 19:32:03 -07:00
28fc7605a0 using the previous setup, which should still work 2013-12-17 19:15:26 -07:00
79f89342d9 removed decription, added description, to package.json 2013-12-17 13:52:04 -07:00
c3be89d096 description to the package.json 2013-12-17 13:11:07 -07:00
c3945480d2 updating to 1.0.0 to publish to NPM 2013-12-17 12:05:02 -07:00
b557f2081d Merge branch 'master' of github.com:elasticsearch/elasticsearch-js 2013-12-17 12:03:24 -07:00
405505e41d Removed half a sentence. 2013-12-17 11:58:57 -07:00
0d19207205 updating doc links to point to the new main gh-pages site 2013-12-17 11:57:31 -07:00
277a6b958f Updated the Jenkins badge to use HTTPS 2013-12-17 11:53:38 -07:00
2a7e2869b5 Added Jenkins badge to README.md 2013-12-17 11:37:00 -07:00
74d3183cc6 Changed the createDefer config param to just be defer 2013-12-17 11:23:16 -07:00
e7e46f707f added the jquery conenction and setup the elasticsearch.jquery.js file. Disabled response transformation at an angular level so that responses can be transformed as intended 2013-12-16 16:13:43 -07:00
cf3be01c57 - grunt watch will now abort mid task
- connection's ping method now accepts requestTimeout, path, and method params like
  all the grown-up API calls
- ConnectionPool now managed connection timeouts. When a connection dies a
  timeout object is created to track when the timeout is scheduled and the function
  to call when it does. It also tracks how many times it has run to allow the timeout
  to grow
- Timeouts now grow with use of `config.calcDeadTimeout` which is set to 'exponential'
  by default, but can also be set to flat in order to always use the standard
  deadTimeout. Exponential growth of the deadTimeout is stopped at config.maxDeadTimeout
  which is set to 30 minutes by default.
- Connections no longer have a resuscitate method (too hard to spell). Now the
  method is created dynamically as a part of the timeout object as it just calls
  the connection's ping method and needed to access variables like revive attempts.
- Timeouts were moved to the transport layer, meaning that you need to capture the
  abort method and abort the request yourself if you are handling connections
  directly, ConnectionsAbstract's ping method does this.
2013-12-16 02:35:28 -07:00
54129ac2b4 added another log file to the gitignore, need to simplify those tests 2013-12-15 17:47:25 -07:00
a42cd776a5 more modifications in the name of cleaner Jenkins results 2013-12-15 14:55:21 -07:00
fed7d1b0cb Updated the classnames output by the jenkins reporter to have nicer test results 2013-12-15 14:32:21 -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
0c8bd328fe Updated the method for creating the defer object in the transport, it is now a property of the Transport class itself. Fixed the error.message logging in the Transport. Added sniffOn... related stuff 2013-12-14 14:07:47 -07:00
14f863e040 Sending back headers in the HTTP connector, also stoped logging errors from there so that logs are clearrer and logging is just done from the transport. 2013-12-14 13:57:37 -07:00
22c675e250 improved the format of the docs a bit and fixed the generator 2013-12-12 21:43:47 -07:00
aa831043e8 rasing the test timeout to something that will hopefully cause less false errors 2013-12-12 20:32:52 -07:00
afaab8a3fd fixed the way the submodule is updated 2013-12-12 20:32:04 -07:00
5068914294 added the examples to the generated doc files 2013-12-12 20:31:09 -07:00
abecfaf9a4 removing json version of the yaml_suite from the repo 2013-12-12 20:27:55 -07:00
fd28a1b56a updating tagged rest-spec 2013-12-12 20:26:22 -07:00
dea18fcd7d improved stream mocks for older versions and increased compatabity from 0.8 up 2013-12-12 20:07:31 -07:00
de25e652cf updated some links in the readme, and removed the bower stuff for now. 2013-12-12 16:53:33 -07:00
c5440792d3 modifications to the jenkins script to work better with bash, fixed the commit number of the nock dep 2013-12-12 16:05:41 -07:00
345ac776ef Major updates for testing and grunt, jenkins tests are now powered by the jenkins.sh script in the scripts directory. 2013-12-12 15:39:42 -07:00
270763e0a7 Added more unit tests, up to 98% coverage. Fixed the Gruntfile so it's not a cluster-f**k anymore. 2013-12-06 18:39:48 -07:00
086636c8a4 fixed package name 2013-12-05 14:09:24 -06:00
0c7023dec6 updated the readme for the generate scripts 2013-12-04 20:16:18 -06:00