Commit Graph

2301 Commits

Author SHA1 Message Date
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
5e7e437162 added initial suite value for the root suite in the mocha_reporter, in case a hook fails before the first suite is loaded
test/mocha_multi_reporter.js
2013-11-13 16:41:17 -07:00
f8a34df5ae fixed a spelling error in my Gruntfile 2013-11-13 16:22:08 -07:00
86b024b167 used actial badges 2013-11-13 15:59:04 -07:00
d7aa884477 removed window.close() call from browser, as it's causeing firefox to crash and behave strangely on the next run 2013-11-13 14:58:53 -07:00
171f9f9b9f Fixed opera settings.. 2013-11-13 13:21:37 -07:00
5106577312 updated browser configs so opening browsers on all platforms should be a bit better supported, added a ping that notifies the server when the tests started, fixed a 'globalLeak', removed the test-output from the repo 2013-11-13 12:57:41 -07:00
a5cac7aee2 changed application name for firefox to match the commandline executible 2013-11-13 11:31:37 -07:00
3463b9f395 updated build badge to use secure proxy 2013-11-13 11:26:45 -07:00
5b26fa90e7 updated the build icon 2013-11-12 17:31:02 -07:00
f8acbe4515 Merge pull request #3 from spenceralger/grunt_browser_test_options
Grunt browser test options
2013-11-12 15:33:02 -08:00
58494af3d1 added simpler specification of the host and port for the browser tests 2013-11-12 16:31:36 -07:00
2a2e4b9bee moved the API info from README.md into api.md, and added a check for methods that have no params.
[ci skip]
2013-11-12 10:13:45 -07:00
77a73d22c2 polished up the build tasks a bit, splitting the default task into three logical groups and properly requireing the tasks that are required by others 2013-11-11 17:25:08 -07:00