summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2012-02-03Fix infinite callback loop.Lance Stout
2012-02-03Merge remote-tracking branch 'whooo/master' into developLance Stout
2012-02-02Fix data stanza based on test results.Lance Stout
2012-02-02Added plugin for XEP-0184Erik Larsson
2012-01-11update_caps() can now do presence broadcasting.Lance Stout
As part of adding this feature: - fixed bug in update_caps() not assigning verstrings - fixed xep_0004 typo - can now use None as a roster key which will map to boundjid.bare - fixed using JID objects in disco node handlers - fixed failing test related to get_roster Several of these bugs I've fixed before, so I either didn't push them earlier, or I clobbered something when merging. *shrug*
2011-12-28Add caching support to xep_0030.Lance Stout
New plugin configuration options: use_cache - Enable caching disco info results. Defaults to True wrap_results - Always return disco results in an Iq stanza. Defaults to False Node handler changes: Handlers now take four arguments: jid, node, ifrom, data Most older style handlers will still work, depending on if they raise a TypeError for incorrect number of arguments. Handlers that used *args may not work. New get_info options: cached - Passing cached=True to get_info() will attempt to load results from the cache. If nothing is found, a query will be sent as normal. If set to False, the cache will be skipped, even if it contains results. New method: supports() - Given a JID/node pair and a feature, return True if the feature is supported, False if not, and None if there was a timeout. By default, the search will use the cache.
2011-12-27Merge branch 'develop' into develop-1.1Lance Stout
2011-12-20XEP-0009: Updated tests to work in python 3Correl Roush
2011-12-20XEP-0009: Added value conversion unit testsCorrel Roush
Added tests for bidirectional conversion of all XML-RPC data types
2011-12-13Add tests for filters.Lance Stout
2011-12-11Fix iterable substanzas when added as normal plugin.Lance Stout
If an iterable plugin was an enabled, it wasn't added to the iterables list.
2011-11-21Fix stream handler test for multiple handlers to exist properly.Lance Stout
2011-11-19Add unit test for copying stanzas when passed to events.Lance Stout
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-14Explicitly test for inequality in JIDs.Lance Stout
Fixes issue #113
2011-09-23Fix del_event_handler for Python3 (different semantics for filter()).Lance Stout
Fixes issue #103
2011-09-01Add tests for pubsub error stanzasLance 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-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
2011-09-01Fix memory reference bugs.Lance Stout
2011-08-31XEP-0060 v1.13 dictates publishing/retracting one item at a time.Lance Stout
2011-08-31Simplify pubsub tests.Lance Stout
We don't really care about empty responses, so let's use block=False.
2011-08-31Add test for purging a pubsub node.Lance Stout
2011-08-31Retract stanzas are behaving oddly when using stanza values.Lance Stout
2011-08-31Test publishing multiple items, and with options.Lance Stout
2011-08-31Test publishng an item with options.Lance Stout
2011-08-31Test publishing a single item.Lance Stout
2011-08-31More pubsub unit tests!Lance Stout
2011-08-31Fix requesting pubsub node configuration, and add tests.Lance Stout
- <default /> doesn't have a type attribute in the XEP - <configure /> isn't used anymore for requesting default configuration
2011-08-30Add tests for pubsub unsubscribe.Lance Stout
2011-08-30Merge branch 'develop' of github.com:fritzy/SleekXMPP into developLance Stout
2011-08-30fixed test further... but now I have an out of order problemNathan Fritz
2011-08-30Test pubsub subscribe.Lance Stout
2011-08-30Test and fix XEP-0060 delete_node()Lance Stout
2011-08-26Fix typos in XEP-0060, start of docs and tests.Lance Stout
2011-08-25Fix tests in Python3.Lance Stout
2011-08-24Clean and get setup.py working once and for all.Lance Stout
Fixes: README.rst now included Double line spacing removed from long_description Source package now includes tests, examples, etc using Manifest.in README.rst typos fixed Added README.rst section on installing dnspython for Python3 Version bumped to RC2 Version is now taken from sleekxmpp.version.__version__ without having to pull in the entire library Added 'test' command for setup.py Simplified testall.py Docs build cleanly from source package after installation
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-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-12Merge branch 'exceptions' into developNathan 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-04Merge branch 'develop' into rosterLance Stout
Conflicts: setup.py