1650 Commits

Author SHA1 Message Date
Honza Kral cc524e9c9d Python 3 fix fo tests 2013-10-06 17:43:45 +02:00
Honza Kral a2b89e0b84 Moved RequestsHttpConnection to it's own module 2013-10-04 15:47:56 +02:00
Honza Kral 45403c9f2d Moved Urllib3HttpConnection to it's own module 2013-10-04 15:46:41 +02:00
Honza Kral 92c7dde5e0 Removing redundant code 2013-10-02 01:04:50 +02:00
Njal Karevoll 6a0f5c7646 urllib3: add a test to verify that providing http_auth as a list works 2013-10-02 01:01:30 +02:00
Honza Kral 1a9fd9e105 Remove duplicate test 2013-10-02 01:01:05 +02:00
Njal Karevoll 4037de58d0 requests: add tests to verify that providing http_auth as a list works and that the authorization headers are added to the request 2013-10-02 01:00:11 +02:00
Honza Kral b3c1170092 only require thrift if we are going to use it
This commit is mostly for travis since thrift has trouble downloading
at times.
2013-10-02 00:56:23 +02:00
Honza Kral a24337ca6b Updated rest api specs 2013-10-02 00:54:39 +02:00
Honza Kral 9baa8fb309 Tiny cleanup 2013-10-02 00:54:05 +02:00
Honza Kral 5fccd1e793 Allow lists for http_auth in RequestsHttpConnection
thanks nkvoll!
2013-10-02 00:42:38 +02:00
Honza Kral b0587071b6 Circumvent prepared requests from RequestsHttpConnection
this is because sesion.send(prepared_request) doesn't pass through auth
info. Thanks nkvoll!

Fixes #8
2013-10-02 00:39:19 +02:00
Honza Kral 4f890ff89c preserve ',' and '*' in url for nicer URLs in logs 2013-09-30 19:20:50 +02:00
Honza Kral a238144bc6 Lists can only contain strings in es api, also broke py3
This reverts commit 7eb4949641.
2013-09-30 19:15:03 +02:00
Honza Kral 17c4a3dd21 stats_only parameter to bulk_index helper for large loads` 2013-09-30 19:05:12 +02:00
Honza Kral 8f15b4edc0 Helpers documentation 2013-09-30 19:05:00 +02:00
Honza Kral e04a1d3c02 Double explain 2013-09-30 17:39:49 +02:00
Honza Kral 7eb4949641 Make sure we encode even values in lists 2013-09-30 17:38:37 +02:00
Honza Kral 8da490e672 Even when using existing server wait for yellow status before proceeding
This should solve travis issues where ES is run just before the test
suite.
2013-09-28 15:51:24 +02:00
Honza Kral 7243ae6413 Typo in ElasticsearchException
This change is internal so it shouldn't affect existing code
2013-09-28 15:51:24 +02:00
Honza Kral 5774ccc4b0 Added CONTRIBUTING.md to MANIFEST.in 2013-09-27 13:38:51 +02:00
Rob Hudson 12d7d24e4d Update __init__.py
Removed duplicate line in docstring.
2013-09-27 13:35:01 +02:00
Honza Kral 638713daab Added a simple contributing document. 2013-09-26 11:34:15 +02:00
Honza Kral d179ae6253 Download our own ES in travis so that we can install plugins and run thrift tests 2013-09-25 23:51:25 +02:00
Honza Kral 49a23db148 New spec repo version 2013-09-25 23:10:30 +02:00
Honza Kral 672fdf7d5f Make ignore a global parameter 2013-09-25 23:09:50 +02:00
Honza Kral 5c76e7c96c Run yaml test suite correctly - one test per test method 2013-09-25 23:07:52 +02:00
Honza Kral 33b05bdc62 Thrift SSL support 2013-09-25 21:31:10 +02:00
Honza Kral 490fd237ee rename use_https to use_ssl to make it forwards copatible with thrift 2013-09-25 21:07:29 +02:00
Honza Kral ab8e60de58 use ascii 2013-09-25 21:06:49 +02:00
Honza Kral b39db98f5d New params to indices.stats 2013-09-25 14:29:17 +02:00
Honza Kral d5533bb209 _source, _source_exclude and _source_include parameters for get, get_source, mget and search 2013-09-25 14:28:56 +02:00
Honza Kral af249a9ac6 Explain API 2013-09-25 14:13:44 +02:00
Honza Kral 48c2b1bcf0 Add clear_scroll API 2013-09-25 14:02:04 +02:00
Honza Kral d7814d09f7 Less Specificity on Dependencies
fixes #2
2013-09-25 11:02:26 +02:00
Honza Kral 8ff7b5cf26 lib_pypy from coveralls 2013-09-25 00:15:27 +02:00
Honza Kral 46e5302583 Additiona coveralls-related ignores 2013-09-25 00:07:24 +02:00
Honza Kral a7d6102648 Ignore auto-generated code and tests in coveralls coverage report 2013-09-24 23:57:18 +02:00
Honza Kral 69966ad577 try to get coverage to ignore system packages and dependencies
mostly for coveralls support
2013-09-24 23:48:57 +02:00
Honza Kral c759b63a0a Added build status to README and coveralls support. 2013-09-24 23:33:37 +02:00
Honza Kral b724288d76 Https support for the http-based transports.
Thanks, nkvoll!
2013-09-24 23:07:14 +02:00
Honza Kral 7a440fda4a Support for HTTP auth. Thanks, nkvoll! 2013-09-24 22:55:04 +02:00
Honza Kral 8b7c7190f1 doc fix 2013-09-24 19:17:45 +02:00
Honza Kral 6c026ecabf removing plugins from travis CI configs 2013-09-24 18:49:36 +02:00
Honza Kral f60e340f0c bump version for PYPI 2013-09-24 18:40:35 +02:00
Honza Kral 6d35a78751 wrong __init__ signature for connections 2013-09-24 18:38:18 +02:00
Honza Kral 72d7930a40 include ES in travis-CI 2013-09-24 18:35:54 +02:00
Honza Kral cacee10065 Simpler travis.yml 2013-09-24 18:15:04 +02:00
Honza Kral 2653993c94 use kwargs 2013-09-24 17:44:44 +02:00
Honza Kral e9ca191d2a Bumping the version for new release 2013-09-24 17:32:06 +02:00