Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
94% coverage for the main pubsub plugin! (91% including stanzas)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
We don't really care about empty responses, so let's use block=False.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- item_ids checked for None
- pubsub node is set
|
|
- <default /> doesn't have a type attribute in the XEP
- <configure /> isn't used anymore for requesting default configuration
|
|
iq['error']['pubsub']['condition']
iq['error']['pubsub']['unsupported']
|
|
To use:
sudo pip install tox
tox
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Still need tests and docs.
|
|
|
|
|
|
|
|
|
|
|
|
Now defaults xmlstream.WAIT_TIMEOUT, and settable with
self.wait_timeout.
The new default timeout is 1sec instead of 5sec.
|
|
This can be overridden to do custom configuration for the DNS resolver,
or any other DNS related tasks such as calling the system's res_init().
|
|
e.g.
self.session_timeout = 15
It is also managed by XMLStream instead of ClientXMPP now.
|
|
|
|
|
|
Scheduled tasks must have a unique name.
|
|
Allows for setting app specific socket timeouts and other socket options.
|
|
|
|
|