Miguel Grinberg
6a52e8b502
Add support for Redis Sentinel ( #1448 )
* Add support for Redis Sentinel
* more unit tests
5 months ago
Miguel Grinberg
288ebb189d
Eliminate race conditions on disconnect ( Fixes #1441 )
6 months ago
Miguel Grinberg
7605630bb2
Allow custom client subclasses to be used in SimpleClient and AsyncSimpleClient ( Fixes #1432 )
7 months ago
Miguel Grinberg
bd8555da85
Pass a `reason` argument to the disconnect handler ( #1422 )
9 months ago
Miguel Grinberg
0b5c4638e5
Adopted pyenv-asyncio for async unit tests
9 months ago
Miguel Grinberg
db642bb2bd
Upgrade the code to more recent Python versions
9 months ago
Miguel Grinberg
8f0e66c1cd
Adopted unittest.mock.AsyncMock in async unit tests
10 months ago
Miguel Grinberg
abf336e108
Removed dependency on unittest.TestCase base class
10 months ago
Pavieł Michalkievič
f1476041e5
Enable emitting to single client in managers with to=... ( #1374 )
* Enable emitting to single client in AsyncPubSubManager
* Handle `to` in async manager and sync versions
* Name tests consistently
* Rm extra blank line in test_pubsub_manager
1 year ago
Miguel Grinberg
469b7c0dd5
Ignore catch-all namespace in client connections ( Fixes #1351 )
1 year ago
Miguel Grinberg
a2c266c6f9
fix incorrect assertion #nolog
1 year ago
Miguel Grinberg
811e044a46
New shutdown() method added to the client ( Fixes #1333 )
1 year ago
asuka
bd39b8f215
Improved routing to catch-all namespace handlers ( #1316 )
1 year ago
Miguel Grinberg
0e1f23229d
use Socket.IO sid in transport() method ( Fixes #1299 )
2 years ago
Hugo van Kemenade
417785293f
Add support for Python 3.12 and drop 3.7 ( #1297 )
2 years ago
Miguel Grinberg
53d78ba9d9
Make Admin UI tests less flaky #nolog
2 years ago
Miguel Grinberg
3ab1f273e2
Make Admin UI tests less flaky #nolog
2 years ago
Miguel Grinberg
12134bd5c5
Prevent pubsub managers from ever crashing
Fixes #1262
2 years ago
mooomooo
801241378e
Support catch-all namespaces ( Fixes #1288 )
2 years ago
Miguel Grinberg
66b9586a65
Unit test fixes for the new simple clients ( Fixes #1265 )
2 years ago
Miguel Grinberg
4bf48776ca
Reporting to Socket.IO Admin UI ( #1164 )
2 years ago
Miguel Grinberg
ef0f88f6cf
Internal code restructure (no functional changes)
2 years ago
Miguel Grinberg
d222f4c3de
Support entering and leaving rooms through pubsub client managers
2 years ago
Miguel Grinberg
8e3460c5fc
Async versions of enter_room and leave_room should be coroutines (breaking change)
2 years ago
Miguel Grinberg
dc6e4f516f
Message queue optimizations ( Fixes #1240 )
2 years ago
Miguel Grinberg
c419fc5481
Add a shutdown() function for the server
2 years ago
Miguel Grinberg
699ee9c47a
Context manager interface for the simple clients
2 years ago
Miguel Grinberg
55d6310eb3
Simplified client ( #1237 )
2 years ago
Miguel Grinberg
7208ec09e1
Refactor common testing helpers into a separate module
2 years ago
Miguel Grinberg
bf11ad36ae
Optimize memory usage during broadcasts ( #1233 )
2 years ago
Miguel Grinberg
1cadada02d
Expose the ignore_queue option in namespaces ( Fixes #1103 )
3 years ago
Miguel Grinberg
232cef1f86
Correctly handle emits to multiple rooms in the async server ( Fixes #1081 )
3 years ago
Miguel Grinberg
104d6569a0
Fixed remote async disconnects via message queue ( Fixes #1003 )
3 years ago
Miguel Grinberg
f56ef6f040
Fixed disconnect implementation when using a message queue ( Fixes #1002 )
3 years ago
Miguel Grinberg
efe87d867a
Add namespaces argument to Server and AsyncServer ( Fixes #822 )
3 years ago
Miguel Grinberg
268fe12ffa
Do not send ACK packet for unknown events ( Fixes #824 )
3 years ago
Miguel Grinberg
44715012dc
Server refuses connections on unknown namespaces ( Fixes #822 )
3 years ago
Miguel Grinberg
f2ae136dcd
Catch and log errors in pubsub listening thread ( Fixes #889 )
4 years ago
Miguel Grinberg
34f34e53d6
Do not invoke reserved events on a catch-all handler ( Fixes #814 )
4 years ago
Miguel Grinberg
60735dd4c2
Use correct binary packet types in the msgpack packet encoder ( Fixes #811 )
4 years ago
Miguel Grinberg
ea84b9b1c7
Option to disable the SIGINT handler in the client ( Fixes #792 )
4 years ago
Miguel Grinberg
db0565ada6
Fixed intermittent test failures ( Fixes #572 )
4 years ago
Miguel Grinberg
32db48d12c
Add missing call() method to namespace classes ( Fixes #800 )
4 years ago
Miguel Grinberg
ed08a01e65
Add missing to argument to namespace emit() and send() calls ( Fixes #810 )
4 years ago
Miguel Grinberg
8c15b77c9b
instrumentation to track #572 #nolog
4 years ago
Sam Mosleh
f245191d86
Migrate async Redis client manager to aioredis 2.x ( Fixes #771 )
4 years ago
Miguel Grinberg
28569d48ad
Catch-all event handlers
4 years ago
Miguel Grinberg
a830c9f788
Implement disconnect method for external processes ( Fixes #684 )
4 years ago
Miguel Grinberg
cb1b8ec74b
Return error packet if client connects to an already connected namespace
4 years ago
Miguel Grinberg
5159e84c49
Support msgpack and custom packet serializers ( Fixes #749 )
4 years ago