summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-03-30Improve connection handling by not delaying until all DNS records are tried.Lance Stout
2012-03-30Add better DNS resolver wrapper.Lance Stout
2012-03-30Fix typoLance Stout
2012-03-28Tidy up the state machine and use a threading condition instead of an event.Lance Stout
Fixes issue #154
2012-03-28Fix sending data after </stream>Lance Stout
Clearing the session_started_event before sending </stream> will pause the send loop so that we don't continue sending data after the </stream>.
2012-03-27Reset stream management state on session_end.Lance Stout
2012-03-27Improve handling disconnections.Lance Stout
- Add option for disconnecting without sending </stream>: self.disconnect(send_close=False) - Optionally distinguish between session_end and disconnected based on if </stream> was sent. self.end_session_on_disconnect = False
2012-03-27Add tests for bool_interfaces.Lance Stout
2012-03-27Add support for a new type of stanza interface: boolLance Stout
The set of bool_interfaces provides default behaviour for checking/setting the presence of empty subelements. The prime example of this would be: bool_interfaces = set(['required']) This would mean that ``stanza['required']`` would return ``True`` for: <stanza> <required /> </stanza> and ``False`` for: <stanza /> Likewise, assigning ``stanza['required'] = True`` would add an empty ``<required />`` element, and setting it to ``False`` would remove such an element if it exists.
2012-03-27Simplify sending whitespace keepalives.Lance Stout
Now that we have the send lock, we can use now=True.
2012-03-27Make the XEP-0198 ack debug message less confusing.Lance Stout
2012-03-21Correct handling of acks for XEP-0198 under heavy load.Lance Stout
2012-03-21Respect reattempt=False setting when reconnecting.Lance Stout
2012-03-20Merge remote-tracking branch 'hansent/master' into developLance Stout
2012-03-20Correct connect() documentation, don't delay attempts if reattempt=False.Lance Stout
See issue #152
2012-03-19Fix unicode issues in test cases for Py3+ introduced by issue #150.Lance Stout
2012-03-19Merge pull request #150 from correl/rpc_value_fixesLance Stout
Updated XEP-0009 to handle unicode strings
2012-03-19Fix error in the registration example.Lance Stout
The now=True parameter was not being passed to allow the registration submission to be submitted while the send queue is paused.
2012-03-18Add example for using user location.Lance Stout
Uses http://freegeoip.com to get an approximate location based on the machine's IP address.
2012-03-18Add initial support for XEP-0198 for stream management.Lance Stout
2012-03-18Add out_sync filter category.Lance Stout
Added option to XMLStream.send() to skip applying filters. Filters in the out_sync group are synced with placing stanza content either on the wire directly or into the send queue. Because of this, out_sync filters should not block.
2012-03-16Fix requesting receipts on a message that has not been bound to a stream.Lance Stout
2012-03-16Re-add support for special case of 'presence' expiry value.Lance Stout
2012-03-16Add pubsub examples.Lance Stout
Run pubsub commands via pubsub_client, and watch events as they come in with pubsub_events.
2012-03-16Update subscription event expiry value to use time objects.Lance Stout
2012-03-16Add events for configuration and subscription notifications.Lance Stout
New events: pubsub_config pubsub_subscription
2012-03-16Fix error when assigning form values that include booleans.Lance Stout
2012-03-16Fix requiring receipt request messages to have ID values.Lance Stout
2012-03-16Expand support for XEP-0184.Lance Stout
New stanza interfaces: Adding a message receipt request: msg['request_receipt'] = True Adding a message receipt: msg['receipt'] = '123-24234' Retrieving the acked message ID: ack_id = msg['receipt'] print(ack_id) '123-24234' New configuration options: auto_ack: If True, auto reply to messages that request receipts. Defaults to True auto_request: If True, auto add receipt requests to appropriate outgoing messages. Defaults to False
2012-03-13Explicitly set the desired SASL mech to ANONYMOUS if no username is provided.Lance Stout
2012-03-13Correct handling SASL auth failures when forcing the use of a specific ↵Lance Stout
mechanism.
2012-03-12Move feature_rosterver to new system.Lance Stout
2012-03-12Move feature_starttls to new system.Lance Stout
2012-03-12Move feature_session to new system.Lance Stout
2012-03-12Move feature_mechanisms to new system.Lance Stout
2012-03-12Move feature_bind to new system.Lance Stout
2012-03-12Move XEP-0172 to new system.Lance Stout
2012-03-12Move XEP-0118 to the new system.Lance Stout
2012-03-12Move XEP-0108 to new system.Lance Stout
2012-03-12Move XEP-0107 to new system.Lance Stout
2012-03-12Move XEP-0080 to the new system.Lance Stout
2012-03-12Move XEP-0163 to new system.Lance Stout
Also includes new register_pep() method for doing the necessary stanza and disco registration, plus pubsub node event mapping.
2012-03-12Cleanup plugin import logic.Lance Stout
Checking for a 'xep' or 'rfc' attribute is more reliable for detecting an old style plugin than 'name'.
2012-03-12Enable using post_init() to resolve circular dependencies.Lance Stout
We really shouldn't have any. However, we may later introduce one with XEP-0030 and XEP-0059.
2012-03-12Move XEP-0115 to the new system.Lance Stout
2012-03-12Remove extra logging statement, add backward compatible references.Lance Stout
2012-03-12Handle loading plugins on demand.Lance Stout
Plugins that are referenced as dependencies, but have not been registered now will be imported. Newer plugins should register themselves automatically, but older style plugins will be explicitly registered after import.
2012-03-12Update the list of all stream feature plugins.Lance Stout
2012-03-12Ensure the adhoc command items node exists.Lance Stout
If the plugin is loaded and no commands are defined, we can at least return a proper empty response instead of an item-not-found error.
2012-03-12Move XEP-0249 to the new system.Lance Stout