Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-06-14 | Fix issue with components and roster. | Lance Stout | |
If the roster contained a JID, but not any resource presence data, then an error would occur when accessing self.roster[jid]['presence']. | |||
2011-06-10 | Merge branch 'develop' into exceptions | Lance Stout | |
2011-06-10 | Merge branch 'develop' into stream_features | Lance Stout | |
2011-06-10 | Merge branch 'develop' into roster | Lance Stout | |
2011-06-10 | old xep_0050 plugin is now loadable | Nathan Fritz | |
2011-06-08 | Added session_end event and some docs. | Lance Stout | |
For now, session_end is the same as disconnected, but once support is added later for stream management, the two events will become distinct. Plugins should add handlers for session_end for cleaning any session state. | |||
2011-06-08 | Merge branch 'develop' into exceptions | Lance Stout | |
2011-06-08 | Merge branch 'develop' into stream_features | Lance Stout | |
2011-06-08 | Merge branch 'develop' into roster | Lance Stout | |
2011-06-08 | Fix XEP-0050 issue with Unicode string type checking. | Lance Stout | |
2011-06-08 | Send component handshake immediately. | Lance Stout | |
2011-06-01 | IqTimeout now references the original sent stanza. | Lance Stout | |
A little extra bit of docs for IqError. | |||
2011-06-01 | Begin experimental use of exceptions. | Lance Stout | |
Provides IqTimeout and IqError which are raised when an Iq response does not arrive in time, or it arrives with type='error'. | |||
2011-06-01 | Merge branch 'develop' into stream_features | Lance Stout | |
2011-06-01 | Merge branch 'develop' into roster | Lance Stout | |
2011-06-01 | Cache stanza if sending fails. | Lance Stout | |
The stanza will be sent first once the send queue is reactivated after session start. Stanzas sent by skipping the queue will not be cached. | |||
2011-05-31 | Merge branch 'develop' into stream_features | Lance Stout | |
Conflicts: sleekxmpp/clientxmpp.py | |||
2011-05-31 | Merge branch 'develop' into roster | Lance Stout | |
2011-05-31 | Apply connection backoff to reconnect attempts. | Lance Stout | |
Backoff was only being done for the initial connection attempt before. Now any reconnection will start with a minimum 1 sec delay which will approximately double between attempts. | |||
2011-05-31 | Cleanup logging and exception handling. | Lance Stout | |
The syntax and attribute errors raised during a disconnect/reconnect attempt are now caught and produce nicer log messages. | |||
2011-05-27 | Don't use the send queue for stream initialization. | Lance Stout | |
Use the parameter now=True to skip the queue when sending Iq stanzas, or using xmpp.send(). | |||
2011-05-27 | Fix typo for SSL certificate use. | Lance Stout | |
2011-05-27 | Add exponential backoff to connection attempts. | Lance Stout | |
Delay will approximately double between attempts (random variation). See issue #67. | |||
2011-05-27 | Added support for testind disconnect errors. | Lance Stout | |
2011-05-25 | Merge branch 'develop' into stream_features | Lance Stout | |
2011-05-25 | Merge branch 'develop' into roster | Lance Stout | |
2011-05-25 | Fix test for get_roster(). | Lance Stout | |
Python2.6 has issues passing a Unicode string as a keyword name. | |||
2011-05-20 | Merge branch 'develop' into stream_features | Lance Stout | |
2011-05-20 | Merge branch 'develop' into roster | Lance Stout | |
2011-05-20 | Fix test timeout issue. | Lance Stout | |
A better method than using time.sleep is needed. Maybe use queue.task_done to detect when event processing has ended? Research time! | |||
2011-05-20 | Fix test for Python3. | Lance Stout | |
Issue of dict_keys vs list data types. | |||
2011-05-20 | Merge branch 'develop' into roster | Lance Stout | |
Conflicts: tests/test_stream_roster.py | |||
2011-05-20 | Make roster test a little more robust. | Lance Stout | |
2011-05-20 | Merge branch 'develop' into roster | Lance Stout | |
Conflicts: tests/test_stream_roster.py | |||
2011-05-20 | Save progress | Lance Stout | |
2011-05-20 | Fix double roster entry issue with Unicode. | Lance Stout | |
JIDs with Unicode values were being encoded by the JID class instead of leaving them as just Unicode strings. It may still be a good idea to use from __future__ import unicode_literals pretty much everywhere though. Fixes issue #88. | |||
2011-05-20 | Merge branch 'develop' into stream_features | Lance Stout | |
2011-05-20 | Merge branch 'develop' into roster | Lance Stout | |
2011-05-20 | Handle callback return value case. | Lance Stout | |
2011-05-20 | Merge branch 'stream_features' of github.com:fritzy/SleekXMPP into ↵ | Lance Stout | |
stream_features | |||
2011-05-20 | Merge branch 'develop' into stream_features | Lance Stout | |
Conflicts: sleekxmpp/clientxmpp.py | |||
2011-05-20 | Merge branch 'develop' into roster | Lance Stout | |
Conflicts: sleekxmpp/clientxmpp.py tests/test_stream_roster.py | |||
2011-05-20 | Resolve timeout errors for get_roster. | Lance Stout | |
See issue #89 Using get_roster will now return the same types of values as Iq.send. If a timeout occurs, then the event 'roster_timeout' will be fired. A successful call to get_roster will also raise the 'roster_received' event. To ensure that the get_roster call was successful, here is a pattern to follow: def __init__(self, ...): ... self.add_event_handler('session_start', self.session_start) self.add_event_handler('roster_timeout', self.roster_timeout) self.add_event_handler('roster_received', self.roster_received) def session_start(self, e): self.send_presence() self.get_roster() def roster_timeout(self, e): # Optionally increase the timeout period self.get_roster(timeout=self.response_timeout * 2) def roster_received(self, iq): # Do stuff, roster has been initialized. ... | |||
2011-05-13 | Ensure that the XEP-0086 plugin is loaded. | Lance Stout | |
Since the XEP-0086 plugin auto adds error code values, it must be reliably loaded or unloaded when certain tests are run so that stanzas may be matched. In this case, we ensure that the plugin is used. | |||
2011-04-26 | Merge branch 'develop' into stream_features | Lance Stout | |
2011-04-26 | Merge branch 'develop' into roster | Lance Stout | |
2011-04-26 | Add support for testing that no stanzas are sent in tests. | Lance Stout | |
Use: self.send(None) | |||
2011-04-15 | added has_jid to roster | Nathan Fritz | |
2011-04-14 | Pubsub/Unsubscribe was not getting registered | Nathan Fritz | |
2011-04-14 | Pubsub/Unsubscribe was not getting registered | Nathan Fritz | |