Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpredis/phpredis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-11-13[WIP] Refactor commandissue-2068-commandPavlo Yatsukhnenko
2022-11-01Issue #2068, Refactor ACL commandPavlo Yatsukhnenko
2022-11-01More docblocks and refactor SLAVEOF command.michael-grunder
Add additional complete docblocks for a few more commands. Refactor SLAVEOF handler to conform with more modern PhpRedis command handlers. Create REPLICAOF and deprecate SLAVEOF as Redis has done since 5.0.0.
2022-11-01Refactor PubSub commandPavlo Yatsukhnenko
2022-10-30Issue #1894Pavlo Yatsukhnenko
Add the CH, NX, XX arguments to GEOADD
2022-10-26TOUCH commandmichael-grunder
Implement the TOUCH command and refactor several of our "variadic key" commands, which were previously all using their own specific handlers. While refactoring the code, I changed `EXISTS` to require one key (it had previously been set to require zero keys). Additonally, it looks like we had a disparity in two commands which should be idential to PhpRedis: SINTERSTORE and SUNIONSTORE. Previously, SINTERSTORE required only one argument but SUNIONSTORE 2. I simply changed SUNIONSTORE to also only require a single argument, since that argument could be an array. ```php $redis->sInterStore(['dst', 'src1', 'src2']); $redis->sUnionStore(['dst', 'src1', 'src2']); ```
2022-10-24Issue #2106Pavlo Yatsukhnenko
2022-10-23Refactor SORT and add SORT_RO commandmichael-grunder
See #2068
2022-10-22Implement ZRANGESTORE and add ZRANGE optionsmichael-grunder
* Add ZRANGESTORE command. * Add Redis 6.2's `REV`, `BYLEX`, and `BYSCORE` to ZRANGE options. * Refactor several ZRANGE family commands into a single reply and options handler, using PHP's new argument parsing macros. * Extend our tests to use the new ZRANGE options. See #1894
2022-10-22EVAL_RO and EVALSHA_ROmichael-grunder
Implement Redis 7.0.0's readonly eval variants See: #2068
2022-10-19Refactor SLOWLOG commandmichael-grunder
Refactor the slowlog command to use the new argument parsing API and also change it so we no longer manually handle atomic/non-atomic logic in the handler itself.
2022-10-19Variadic CONFIG GET/SETmichael-grunder
Redis 7.0.0 allows for getting and setting multiple config values as an atomic operation. In order to support this while maintaining backward compatibility, the CONFIG command is reworked to also accept an array of values or keys and values. See: #2068
2022-10-16INFO with multiple sectionsmichael-grunder
See #2068
2022-10-13Implement Redis 7.0.0 [P]EXPIRE[AT] optionsmichael-grunder
See #2068
2022-10-13Better unix:// or file:// detection.michael-grunder
Fixes #1836
2022-10-10Implement CONFIG REWRITEmichael-grunder
Closes #847
2022-10-08Move where we generate our saltmichael-grunder
Fixes #1987
2022-10-08Implement new RESTORE optionsmichael-grunder
Add the new RESTORE options REPLACE, ABSTTL, FREQ <freq> and IDLETIME <idletime> Fixes #1410
2022-10-08[B]LMPOP and [B]ZMPOP commandsmichael-grunder
Implement the new Redis 7.0.0 commands to pop multiple elements from one or more lists/zsets. Additionally, remove INTERNAL_FUNCTION_PARAMETERS from the redis_sock_read_multibulk_reply_zval helper function as it wasn't actually being used.
2022-10-08WIP: Update stubs so the tests pass in strict modemichael-grunder
These changes allow the PHP 8 unit tests to pass even when zpp strict mode is enabled. I'm not exactly sure which setting causes the issue, but without these changes I get many `zpp` errors if I run the tests inside of a PHP build tree.
2022-10-07Allow negative timeout/read_timeout and fix docmichael-grunder
Co-authored-by: twosee <twose@qq.com>
2022-10-02EXPIRETIME and PEXPIRETIMEmichael-grunder
2022-10-01LCS commandmichael-grunder
Implement the Redis 7.0.0 LCS command with tests.
2022-10-01SINTERCARD and ZINTERCARD commandsmichael-grunder
Implement Redis 7.0.0 commands SINTERCARD and ZINTERCARD.
2022-10-01Implement CONFIG RESETSTATmichael-grunder
Rework the CONFIG command and add RESETSTAT variant. Fixes #1673
2022-09-07Redis::client commandissue-1894-clientPavlo Yatsukhnenko
2022-08-03Issue #1943Pavlo Yatsukhnenko
Add lPos command.
2022-07-18use spl_ce_RuntimeException (exists since 5.6)Remi Collet
2022-07-18mark auth param as sensitive for PHP 8.2Remi Collet
refactor MINIT (split in each class sources file) use @generate-class-entries in stub files add RedisException and RedisClusterException in stub files
2022-06-07Issue #1894issue-1894-pop-countPavlo Yatsukhnenko
Add the COUNT argument to LPOP and RPOP
2022-05-27Backoff settings in constructorPavlo Yatsukhnenko
2022-04-29Fix default host lengthPavlo Yatsukhnenko
2022-04-23Issue #1894Pavlo Yatsukhnenko
Add FAILOVER command.
2022-04-17Issue #1894Pavlo Yatsukhnenko
Add GETEX, GETDEL commands.
2022-04-14Fix segfaultPavlo Yatsukhnenko
2022-04-12Issue #1894Pavlo Yatsukhnenko
Add Redis::hRandField command
2022-04-11Issue #1894Pavlo Yatsukhnenko
2022-04-05Issue #1746Pavlo Yatsukhnenko
2022-04-03Merge pull request #2087 from tillkruss/patch-3Pavlo Yatsukhnenko
Fix restoring keys when using compression
2022-03-30Issue #1894Pavlo Yatsukhnenko
Add XAUTOCLAIM command
2022-03-30fix restoring keys when using compressionTill Krüss
2021-12-28[WIP] Issue #1894Pavlo Yatsukhnenko
Add geosearch and geosearchstore commands.
2021-12-13Issue #2009Pavlo Yatsukhnenko
2021-10-23Issue #1733Pavlo Yatsukhnenko
2021-09-27WIP: Experimental support to detect unconsumed datamichael-grunder
This commit is an attempt at detecting unconsumed data on a socket when we pull it from the connection pool. Two new INI settings are introduced related to the changes: redis.pconnect.pool_detect_dirty: Value Explanation ----- ---------------------------------------------------------------- 0 Don't execute new logic at all. 1 Abort and close the socket if we find unconsumed bytes in the read buffer. 2 Seek to the end of our read buffer if we find unconsumed bytes and then poll the socket FD to detect if we're still readable in which case we fail and close the socket. redis.pconnect.pool_poll_timeout: The poll timeout to employ when checking if the socket is readable. This value is in milliseconds and can be zero.
2021-09-25Redis::__construct optionsPavlo Yatsukhnenko
2021-09-02[WIP] Add stub-based arginfo for RedisPavlo Yatsukhnenko
2021-08-26[WIP] Use stub/arginfo for RedisClusterPavlo Yatsukhnenko
2021-08-26Use stub/arginfo for RedisArrayPavlo Yatsukhnenko
2021-08-26use zend_parse_parameters_noneRemi Collet