summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-11-20This change stops sleekxmpp from spending huge amounts of time unnecessarily ↵Vijay Pandurangan
computing logging data that may never be used. This is a HUGE performance improvement; in some of my test runs, unnecessary string creation was accounting for > 60% of all CPU time. Note that using % in a string will _always_ perform the sting substitutions, because the strings are constructed before the function is called. So log.debug('%s' % expensiveoperation()) will take about the same CPU time whether or not the logging level is DEBUG or INFO. if you use , no substitutions are performed unless the string is actually logged
2011-11-18Bump next release version to 1.0-RC4Lance Stout
2011-11-18Remove the config_component example in favor of echo_component.sleek-1.0-RC31.0-RC3Lance Stout
The roster portion of the example is too outdated.
2011-11-18Also fire changed_status when the status text changes for a resource.Lance Stout
2011-11-18Fix changed_status eventLance Stout
Once again only fires when a resource's presence show value changes.
2011-11-17Add echo component example.Lance Stout
2011-11-14Simplify boilerplate example.Lance Stout
2011-11-14Update list of stable releases.Lance Stout
2011-11-14No need to continue processing loop if an error ocurred and ↵Lance Stout
auto_reconnect=False.
2011-11-14Fix typoLance Stout
2011-11-14Explicitly test for inequality in JIDs.Lance Stout
Fixes issue #113
2011-11-11Add use_ssl parameter to ClientXMPP.connectLance Stout
2011-11-08Don't just call self.disconnect in self.reconnect.Lance Stout
It messes up the auto_reconnect value and causes the XML processing loop to spin wildly with errors on a stream disconnect.
2011-11-08Use setuptools if available.Lance Stout
2011-11-07Continue trying to reconnect, even if the attempt fails.Lance Stout
The transition from disconnected to connected states must be done in a loop in case the transition fails, not just once and hope it worked.
2011-11-06Fix a crash when removing a contact.Lance Stout
Original author: louiz
2011-11-06Restore original behaviour for auto_authorize and auto_subscribe.Lance Stout
The change to using the new roster broke the original auto_* values and used per-roster versions. The original auto_* values will now set the behaviour globally. Use the per-roster values to override for a specific JID.
2011-10-27FIX SCRAM-SHA-1-PLUSLance Stout
The mechanism name was being correctly de-plussed, but then we used the original, -PLUS, name to extract the hash, finding SHA-1-PLUS and therefore finding no match. Test-Information: Tested with Sleek against an Isode M-Link with SCRAM-SHA-1-PLUS available. Author: dwd
2011-10-11Update the docs for XEP-0060 publish method.Lance Stout
2011-10-10Fix MUC methods to optionally specify the sending JID.Lance Stout
Should fix issue #107
2011-10-08Break reference cycle to fix potential memory leaks for callback handlers.Lance Stout
2011-10-07Fix typos in the roster update method.Lance Stout
2011-10-05XEP-0009 will likely be updated to use <base64 /> instead of <Base64 />Lance Stout
Both are supported when reading, but <base64 /> will be used for output.
2011-10-04Merge branch 'develop' of github.com:fritzy/SleekXMPP into developLance Stout
2011-10-04Fix missing import statement.Lance Stout
Fixes issue #105
2011-10-03Merge pull request #104 from correl/developLance Stout
Make RPC events threaded
2011-10-03Make RPC events threadedCorrel Roush
Allows, for example, an RPC service to make remote RPC calls with its own connection without blocking its own thread waiting for the result.
2011-09-28Allow SASL mechanism to be set when creating a ClientXMPP instance.Lance Stout
Instead of using: ClientXMPP(jid, password, plugin_config={ 'feature_mechanisms': {'use_mech': 'SOME-MECH'}}) You can use: ClientXMPP(jid, password, sasl_mech='SOME-MECH') If you need to change the mechanism after instantiation, use: xmpp['feature_mechanisms'].sasl.mech = 'SCRAM-MD5'
2011-09-28Expand live stream testing capabilities.Lance Stout
2011-09-23Fix del_event_handler for Python3 (different semantics for filter()).Lance Stout
Fixes issue #103
2011-09-22Fix regression for handling the case where the server terminates the stream.Lance Stout
The processing loop was continuing to call __read_xml after </stream> was received, which caused SyntaxErrors (can't find starting element). This should fix issue #102
2011-09-19SyntaxError requires a restartNathan Fritz
2011-09-02Make get_node_config block by default.Lance Stout
2011-09-01Tweak setup.py, and bump dev version to RC3.Lance Stout
2011-09-01Add whitespace keepalive option.sleek-1.0-RC21.0-RC2Lance Stout
May be disabled by setting: self.whitespace_keepalive = False The keepalive interval can be adjusted using: self.whitespace_keepalive_interval = 300 The default interval is 5min.
2011-09-01remove ping schedule on disconnectNathan Fritz
2011-09-01Mark pubsub state stanzas as non-standard.Lance Stout
2011-09-01Add tests for pubsub error stanzasLance Stout
2011-09-01More stanza cleanup for pubsub.Lance Stout
2011-09-01Some more minor cleanup.Lance Stout
2011-09-01Clean up pubsub#event stanzas.Lance Stout
2011-09-01Clean up pubsub#owner stanzas.Lance Stout
2011-09-01Add support for notify attribute when retracting an item.Lance Stout
2011-09-01Add ability to get global/node default subscription options.Lance Stout
2011-09-01Clean up pubsub stanzas.Lance Stout
2011-09-01Owners can modify subscriptions/affiliations. With tests.Lance Stout
94% coverage for the main pubsub plugin! (91% including stanzas)
2011-09-01Users can retrieve their affiliations now, with tests.Lance Stout
2011-09-01Add ability for a user to get retrieve subscriptions, with tests.Lance Stout
2011-09-01Add tests for pubsub subscription options.Lance Stout
2011-09-01Add tests for retrieving pubsub items.Lance Stout