summaryrefslogtreecommitdiff
path: root/sleekxmpp
AgeCommit message (Collapse)Author
2011-08-18Remove extra, unhelpful presence debug log.Lance Stout
2011-08-18Up the timeout to 30sec instead of 10sec.Lance Stout
2011-08-18added inline documentation for new dns methodsNathan Fritz
2011-08-18fixed manual address definitionNathan Fritz
2011-08-18Fix exceptions for Python3Lance Stout
2011-08-18Merge branch 'develop' of github.com:fritzy/SleekXMPP into developNathan Fritz
2011-08-18DNS is now properly checked and different answers are tried for each ↵Nathan Fritz
reconnect until exhausted
2011-08-18Add some convenience methods to rosters.Lance Stout
Can now use len(self.client_roster) to get the number of JIDs in the roster, and self.client_roster.groups() to get a dict of groups and the JIDs in those groups.
2011-08-17Update plugins that use Iq stanzas to work with new exceptions.Lance Stout
2011-08-17Return '' instead of None from form fields with no values.Lance Stout
2011-08-13I've seen people complain about Sleek taking so long to disconnect.Lance Stout
Added logging to say that we're waiting for the server to end the stream from its end.
2011-08-13Add form.field back in for backwards compatibility.Lance Stout
2011-08-13Add tests for setting a form's type to 'submit' or 'cancel'.Lance Stout
Form fields now remember their current type if the type is deleted. This allows for fields to properly format their values if set after the form has been changed to the 'submit' type.
2011-08-13Update XEP-0050 to use new IQ exceptions.Lance Stout
IqError is now caught and forwarded to the command error handler referenced in the session. Errors are now caught and processed by the session's error handler whether or not the results Iq stanza includes the <command> substanza. Added the option for blocking command calls. The blocking option is set during start_command with block=True. Subsequent command flow methods use session['block'] to determine their blocking behaviour. If you use blocking commands, then you will need to wrap your command calls in a try/except block for IqTimeout exceptions.
2011-08-12Reduce the maximum delay between connection retries to 10min.Lance Stout
2011-08-12Merge branch 'develop' into rosterLance Stout
Conflicts: setup.py sleekxmpp/clientxmpp.py
2011-08-12Merge branch 'develop' of github.com:fritzy/SleekXMPP into developNathan Fritz
2011-08-12fixed indenting and merged in exceptions branchNathan Fritz
2011-08-12Merge branch 'exceptions' into developNathan Fritz
2011-08-12updated pubsub plugin to use stanzasNathan Fritz
2011-08-11Reorganize XEP-0004.Lance Stout
Changes: May now use underscored method names form.field is replaced by form['fields'] form.get_fields no longer accepts use_dict parameter, it always returns an OrderedDict now form.set_fields will accept either an OrderedDict, or a list of (var, dict) tuples as before. Setting the form type to 'submit' will remove extra meta data from the form fields, leaving just the 'var' and 'value' Setting the form type to 'cancel' will remove all fields.
2011-08-10Don't include ping stanza in the ping result.Lance Stout
2011-08-09Enable forcing a specififc SASL mech:Lance Stout
xmpp = ClientXMPP(jid, password, { 'feature_mechanisms': {'use_mech':'PLAIN'}})
2011-08-06Fix XEP-0078 using the new stream feature workflow.Lance Stout
Honestly, this is mainly just a demo/proof of concept that we can handle dependencies and ordering issues with stream features. DON'T use XEP-0078 if you are able to use the normal SASL method, which should be the case unless you are dealing with a very old XMPP server implementation.
2011-08-06Save the stream ID when the stream starts.Lance Stout
2011-08-06If no config for a plugin is given, try using self.plugin_config.Lance Stout
Sleek loads a few plugins by default, which made it difficult to configure or even disable them. Now, if a plugin is registered without any configuration, then sleek will try finding a configuration in self.plugin_config.
2011-08-05Merge branch 'master' into developLance Stout
Adds hotfix for ANONYMOUS mech support. Conflicts: sleekxmpp/__init__.py
2011-08-05Hotfix for ANONYMOUS mech support.sleek-1.0-Beta6.11.0-Beta6.1Lance Stout
Updates version to 1.0-Beta6.1
2011-08-05The next release will be 1.0 RC1Lance Stout
2011-08-04Cosmetic PEP8 fixes.Lance Stout
2011-08-04Fix Python3 issue with dict.has_key()Lance Stout
2011-08-04Merge branch 'develop' of github.com:fritzy/SleekXMPP into developLance Stout
2011-08-04added block as process option and updated documentation. added typical use ↵Nathan Fritz
example to ClientXMPP.
2011-08-04Fix imports using __all__.Lance Stout
2011-08-04Fix Python3 bug.Lance Stout
Use int() instead of long()
2011-08-04Actually, we can work around needing dateutil.Lance Stout
If dateutil is present, we'll use that. If not, we'll use some regexes from the fixed_datetime module.
2011-08-04Merge branch 'develop' of github.com:fritzy/SleekXMPP into developLance Stout
2011-08-04Merge branch 'develop' into rosterLance Stout
Conflicts: setup.py
2011-08-04Clean up and unify tostring once and for all.Lance Stout
Packaging for Python3 just got easier.
2011-08-04Fix imports for xep_0060Lance Stout
2011-08-04Sadly, dateutil is not actually part of the standard lib.Lance Stout
Thus, using the XEP-0082 and XEP-0202 introduces a dependency on the dateutil package (installable using pip install python-dateutil). Maybe we'll be able to rework how these plugins work to avoid needing dateutil, but for now this will have to do.
2011-08-03the great xep_0060 re-organization in preperation for rewriteNathan Fritz
2011-08-03Merge branch 'stream_features' into developLance Stout
2011-08-03started transition to xep_0060 rewriteNathan Fritz
2011-08-03Merge branch 'develop' into stream_featuresLance Stout
2011-08-03Make sure to keep David Cridland's license and copyright.Lance Stout
2011-08-03Merge branch 'develop' into stream_featuresLance Stout
2011-08-03Integrate a modified version of Dave Cridland's Suelta SASL library.Lance Stout
2011-07-27Merge branch 'develop' into exceptionsLance Stout
2011-07-27Merge branch 'develop' into rosterLance Stout