Commit Graph

1164 Commits

Author SHA1 Message Date
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
a772a4e070 added an export_all_client script 2013-12-04 20:11:24 -06:00
b43621322b more tests, now with 91% coverage! 2013-12-04 17:02:34 -06:00
c070c9e741 more tests, simplified the standard tests for the loggers 2013-12-04 14:55:14 -06:00
4e5f08a29c many tests 2013-12-03 19:01:04 -07:00
2ddde47972 fixed content length for utf8 bodies in the http connector 2013-12-03 11:27:42 -07:00
59c2965717 switched build command in browser test runner 2013-12-03 09:10:42 -07:00
31b9c33734 remaned build script to build_clients 2013-12-02 21:23:25 -07:00
3ce4896da9 removed stragler reference to 'inherits' module 2013-12-02 20:35:28 -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
8baa3d6601 more tests, added contributing.md and license.md 2013-11-25 12:01:48 -07:00
ef69a8cfad Added client_export script which allows the clients to require elasticsearch-js via NPM, and then
export the client via an NPM prepublish script.
2013-11-22 19:19:17 -07:00
97ba084795 save point durring huge unorganized refactor 2013-11-22 16:48:30 -07:00
5bb70fbe58 Moved the curl formatting into the log and changed the arguments for the log event listeneres to
receive both the "message" and the "curlCommand".

Added a "tracer" logger which allows you to create log files that a executable scripts. Those scripts
will write all of the log messages as script comments, and not comment out the curlCommands, so that they
can trace their application and use the generated script to recreate the issue.

Most changes are simply cased by adding the "unused" rule to jshint.
2013-11-15 19:10:45 -07:00
20804bb5ab moved the transport request back into the transport, added when.js promises 2013-11-14 14:30:24 -07:00
ffac604a25 Made the browser badge link to Jenkins. 2013-11-14 10:26:51 -07:00
5f9c2acde3 more pretty test results 2013-11-14 10:18:45 -07:00
e831b01dab Jenkins only breaks the classname on the last period, using browser as the top level, then the full test filename, then the test names as the levels 2013-11-14 09:51:02 -07:00
9ff959e1e6 Modified the classnames for the test cases so that they work a bit better in Jenkins. Also adjusted the generate scripts to pull the latest commit sha from github. 2013-11-14 09:45:19 -07:00
39a3611849 updated the browser tests to write the name of the browser in their log file 2013-11-13 17:36:48 -07:00