Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | allow cert_reqs to be a string and convert it to the appropriate SSL constant. | Andy McCurdy | 2014-05-13 | 1 | -0/+26 | |
| | ||||||
* | more love for testing on servers w/ other connected clients | Andy McCurdy | 2014-05-12 | 1 | -15/+18 | |
| | ||||||
* | be better about testing on servers where there may be other connected clients | Andy McCurdy | 2014-05-12 | 1 | -2/+4 | |
| | ||||||
* | string literals no longer get encoded before being send to Redis | Andy McCurdy | 2014-05-12 | 1 | -0/+9 | |
| | | | | | | | | | | | | previously all pieces of a command, including the command name and literal options to it (such as "WITHSCORES" on ZSET commands) would get encoded. this works fine on utf-8, but other encodings like utf-16 break. a new Token class has been introduced that command names and literal options get wrapped. the encoder falls back to the latin-1 encoding for these literals as they are all ascii. fixes #430 | |||||
* | Cleaned up URL parsing code, now returns ConnectionPool instances. | Andy McCurdy | 2014-05-11 | 1 | -187/+191 | |
| | | | | | | | StrictRedis.from_url() now creations a connection pool instance and passes that as the connection_pool argument to the client class. Cleaned up the test suite for URL parsing and BlockingConnectionPool tests | |||||
* | Merge branch 'pr/436' | Andy McCurdy | 2014-05-11 | 1 | -0/+145 | |
|\ | | | | | | | | | Conflicts: tests/test_connection_pool.py | |||||
| * | pep8 fixes | wil paredes | 2014-02-09 | 1 | -12/+12 | |
| | | ||||||
| * | add from_url() classmethod to ConnectionPool and BlockingConnectionPool, add ↵ | wil paredes | 2014-02-09 | 1 | -0/+145 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ability to parse UNIX domain socket URLs * add redis.connection.parse_url() * moved code from StrictRedis.from_url() to here * add ability to parse UNIX domain socket URLs * return keyword args to pass to StrictRedis.__init__() * StrictRedis.from_url() - call parse_url() to get keyword args * add classmethod from_url() to ConnectionPool and BlockingConnectionPool * get keyword args from parse_url() * touch up keyword args from StrictRedis format for connection pool * tests/test_connection_pool.py * add from_url() tests for ConnectionPool and BlockingConnectionPool * add from_url() tests for a single Redis client object | |||||
* | | fix expireat tests to factor in rounding time up | Andy McCurdy | 2014-05-10 | 1 | -4/+4 | |
| | | ||||||
* | | *SCAN cursor values are now longs (ints on Python3) rather than strings. | Andy McCurdy | 2014-05-10 | 1 | -4/+4 | |
| | | | | | | | | fixes #474. | |||||
* | | unnecessary test | Andy McCurdy | 2014-05-06 | 1 | -4/+0 | |
| | | ||||||
* | | Merge branch 'pr/464' | Andy McCurdy | 2014-05-06 | 1 | -0/+5 | |
|\ \ | ||||||
| * | | Fix getset docstring | Choongmin Lee | 2014-04-24 | 1 | -0/+5 | |
| | | | | | | | | | | | | | | | The old docstring was incorrect. See http://redis.io/commands/GETSET for more information. | |||||
* | | | SentinelManagedConnections to master servers disconnect on READONLY errors. | Andy McCurdy | 2014-05-06 | 1 | -0/+6 | |
| | | | | | | | | | | | | | | | Any attempt to reconnect will force all connections in that pool to update their connections to the new master. Fixes #435 | |||||
* | | | use the redis server time in [p]expireat tests for more accuracy | Andy McCurdy | 2014-05-05 | 1 | -6/+12 | |
|/ / | ||||||
* | | added lexicographical sorted set commands | Andy McCurdy | 2014-04-23 | 1 | -0/+26 | |
| | | ||||||
* | | better error handling with hiredis. fully fixes #456 | Andy McCurdy | 2014-04-21 | 1 | -15/+14 | |
| | | ||||||
* | | mostly fixes #456. there's still an issue w/ hiredis and multi-bulk replies | Andy McCurdy | 2014-04-10 | 1 | -0/+31 | |
| | | ||||||
* | | fix scripting tests on python3 | Andy McCurdy | 2014-04-10 | 1 | -2/+3 | |
| | | ||||||
* | | Make sure we know the SHA of scripts before pipeline execution. Fixes #459 | Andy McCurdy | 2014-04-09 | 1 | -0/+81 | |
| | | ||||||
* | | use a slowlog fixture to make sure the redis server has slowlog enabled | Andy McCurdy | 2014-04-09 | 1 | -7/+18 | |
| | | ||||||
* | | lame, typo | Andy McCurdy | 2014-04-08 | 1 | -1/+1 | |
| | | ||||||
* | | purposely fail on travis-ci to see the output | Andy McCurdy | 2014-04-08 | 1 | -0/+4 | |
| | | ||||||
* | | Fix #438, OBJECT commands on invalid keys return None now. | Andy McCurdy | 2014-04-08 | 1 | -0/+1 | |
| | | ||||||
* | | added SLOWLOG support. finally can partially close #170 :) | Andy McCurdy | 2014-04-08 | 1 | -0/+32 | |
| | | ||||||
* | | Merge branch 'pr/441' | Andy McCurdy | 2014-04-07 | 1 | -4/+38 | |
|\ \ | | | | | | | | | | | | | | | | Conflicts: redis/client.py tests/test_commands.py | |||||
| * | | fix python3 | Andy McCurdy | 2014-04-07 | 1 | -4/+4 | |
| | | | ||||||
| * | | Add scan_iter/sscan_iter/hscan_iter and zscan_iter | mathieu longtin | 2014-03-05 | 1 | -0/+34 | |
| |/ | ||||||
* | | pep8 compliance | Pepijn de Vos | 2014-04-06 | 1 | -1/+1 | |
| | | ||||||
* | | Test HyperLogLog | Pepijn de Vos | 2014-04-06 | 1 | -0/+27 | |
| | | ||||||
* | | pep8 | Andy McCurdy | 2014-04-04 | 1 | -8/+8 | |
| | | ||||||
* | | automatic message decoding if decode_responses=True. bugfixes, tests. | Andy McCurdy | 2014-04-01 | 1 | -32/+222 | |
| | | ||||||
* | | DEBUG LOADING was released in 2.8.8, so skip test with earlier versions | Andy McCurdy | 2014-03-31 | 1 | -2/+1 | |
| | | ||||||
* | | make sure we know the order of expected subscribe/unsubscribe messages | Andy McCurdy | 2014-03-29 | 4 | -17/+24 | |
| | | ||||||
* | | fixes PubSub.subscribe once and for all. | Andy McCurdy | 2014-03-28 | 2 | -51/+122 | |
| | | ||||||
* | | fixed a bunch get_message() bugs, refactored the PythonParser to be saner. | Andy McCurdy | 2014-03-27 | 1 | -75/+116 | |
| | | | | | | | | still need more pubsub tests but all this stuff *seems* to be working now | |||||
* | | make sure hiredis parser raises connection errors | Andy McCurdy | 2014-03-10 | 2 | -8/+18 | |
|/ | ||||||
* | with tox/travis, tests don't need to know about the environment | Andy McCurdy | 2014-01-28 | 1 | -14/+4 | |
| | ||||||
* | Add extra info to exceptions raised in pipelines. Fixes #407 | Andy McCurdy | 2013-12-08 | 1 | -4/+28 | |
| | | | | | | | | | ResponseErrors generated by commands executed in a pipeline now includes the command position in the pipeline and the actual command sent to the Redis server. For example: Command # 3 (LPUSH c 3) of pipeline caused error: <actual error message from Redis server> | |||||
* | some *SCAN cleanup | Andy McCurdy | 2013-12-03 | 1 | -11/+11 | |
| | ||||||
* | add 2.8.0 new methods: scan/sscan/hscan/zscan | jingchao | 2013-11-27 | 1 | -0/+39 | |
| | ||||||
* | Move repr to Connection and UnixDomainConnection. Add repr support to Redis, ↵ | Mark Roberts | 2013-11-05 | 1 | -7/+52 | |
| | | | | ConnectionPool, and BlockingConnectionPool | |||||
* | Add support for showing db connection info via repr | Mark Roberts | 2013-11-01 | 1 | -0/+6 | |
| | ||||||
* | Merge branch 'vitek-sentinel' | Andy McCurdy | 2013-09-13 | 1 | -0/+173 | |
|\ | | | | | | | | | Conflicts: CHANGES | |||||
| * | comments and changelog | Andy McCurdy | 2013-09-13 | 1 | -1/+1 | |
| | | ||||||
| * | Add tests for sentinel module | Vitja Makarov | 2013-09-07 | 1 | -0/+173 | |
| | | ||||||
* | | Errors during auth or DB select now close the socket | Andy McCurdy | 2013-09-08 | 1 | -0/+17 | |
|/ | | | | Fixes #368 | |||||
* | Simplify dump and restore test case - works with Python 3.x now. | Justin Head | 2013-07-18 | 1 | -4/+3 | |
| | ||||||
* | Add dump and restore test case. | Justin Head | 2013-07-18 | 1 | -0/+9 | |
| | ||||||
* | encoding fix | andy | 2013-06-07 | 1 | -1/+1 | |
| |