Lance Stout
97a7be7dfa
Fix loading plugins from custom modules when passing the module itself.
...
Loading plugins from custom modules when passed as a string still works.
2012-05-04 09:51:02 -07:00
Lance Stout
a9acff5294
Collapse initial payload to a single stanza instead of a list if only one stanza is found.
2012-04-30 11:16:10 -07:00
Lance Stout
ad5b61de50
Add full support for initial payloads with adhoc commands, plus test.
2012-04-30 11:07:54 -07:00
Lance Stout
f53b815855
Allow providing initial payload to adhoc commands.
2012-04-30 08:27:10 -07:00
Lance Stout
fd81bab906
Use the correct 'from' jid when requesting vcards for avatars.
2012-04-29 13:33:53 -07:00
Lance Stout
1cf55c14b0
Don't raise errors when receiving an iq error for vcards.
2012-04-29 13:33:30 -07:00
Lance Stout
01189376e2
Add initial support for XEP-0153.
2012-04-09 21:41:59 -04:00
Lance Stout
60195cf2dc
Initial support for XEP-0231.
2012-04-08 23:27:19 -04:00
Lance Stout
d3e8993e22
Fix looking up local and cached vcards.
2012-04-08 16:01:47 -04:00
Lance Stout
8a8926c5e8
Fix errors in caps related to unwrapped disco data and full JIDs.
2012-04-08 16:00:36 -04:00
Lance Stout
f9d0ee824b
Ensure that wrapped disco results retain requesting iq id.
2012-04-08 16:00:07 -04:00
Lance Stout
272ddf9f01
Add nickname element to the XEP-0054 plugin.
2012-04-07 21:16:36 -04:00
Lance Stout
259c84e99a
Add initial XEP-0054 plugin.
2012-04-07 20:50:02 -04:00
Lance Stout
9c61c2882f
Add support for XEP-0027
2012-04-06 15:22:23 -04:00
Lance Stout
e0dd9c3618
Simplify registering API handler defaults.
2012-04-06 15:09:26 -04:00
Lance Stout
4921c44d0a
Don't break test plugins that use None instead of a stream object.
2012-04-06 15:09:26 -04:00
Lance Stout
3161f104c7
Update XEP-0012 plugin to use new api.
2012-04-06 15:09:26 -04:00
Lance Stout
3ee3fdca91
Fix XEP-0115 with the new API registry.
2012-04-06 15:09:26 -04:00
Lance Stout
488f7ed886
Begin experiment with a centralized API callback registry.
...
The API registry generalizes the node handler system from the xep_0030
plugin so that other plugins can use it.
2012-04-06 15:09:25 -04:00
Lance Stout
af13bea2b8
Fix MUC invite events so that they actually work.
2012-04-03 22:41:37 -07:00
Lance Stout
cdf0b353db
Fix memory leak with adhoc command sessions.
...
Fixes issue #155
2012-04-03 11:02:55 -07:00
Lance Stout
dda2473d35
Reset stream management state on session_end.
2012-03-27 23:27:24 -07:00
Lance Stout
9879c7af59
Make the XEP-0198 ack debug message less confusing.
2012-03-27 20:52:31 -07:00
Lance Stout
fa4c52e499
Correct handling of acks for XEP-0198 under heavy load.
2012-03-21 13:00:43 -07:00
Lance Stout
859822ff05
Fix unicode issues in test cases for Py3+ introduced by issue #150 .
2012-03-19 14:24:45 -07:00
Lance Stout
3acc7d0914
Merge pull request #150 from correl/rpc_value_fixes
...
Updated XEP-0009 to handle unicode strings
2012-03-19 14:06:36 -07:00
Lance Stout
73cabcb6ae
Add initial support for XEP-0198 for stream management.
2012-03-18 01:02:19 -07:00
Lance Stout
33d01fb694
Fix requesting receipts on a message that has not been bound to a stream.
2012-03-16 23:42:55 -07:00
Lance Stout
ab2e43d052
Re-add support for special case of 'presence' expiry value.
2012-03-16 23:42:34 -07:00
Lance Stout
eb25998e72
Update subscription event expiry value to use time objects.
2012-03-16 23:16:17 -07:00
Lance Stout
eafd2aee93
Add events for configuration and subscription notifications.
...
New events:
pubsub_config
pubsub_subscription
2012-03-16 23:12:38 -07:00
Lance Stout
a6f3d740a2
Fix error when assigning form values that include booleans.
2012-03-16 22:02:21 -07:00
Lance Stout
19a6f61b44
Fix requiring receipt request messages to have ID values.
2012-03-16 22:01:56 -07:00
Lance Stout
58e0f1e6c3
Expand support for XEP-0184.
...
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-16 10:51:25 -07:00
Lance Stout
5a2cbbb731
Move XEP-0172 to new system.
2012-03-12 19:32:20 -07:00
Lance Stout
32d6f85649
Move XEP-0118 to the new system.
2012-03-12 19:32:20 -07:00
Lance Stout
a2b47e5749
Move XEP-0108 to new system.
2012-03-12 19:32:20 -07:00
Lance Stout
14d4062f4a
Move XEP-0107 to new system.
2012-03-12 19:32:20 -07:00
Lance Stout
67972c5e84
Move XEP-0080 to the new system.
2012-03-12 19:32:20 -07:00
Lance Stout
3467ac18cc
Move XEP-0163 to new system.
...
Also includes new register_pep() method for doing the necessary stanza
and disco registration, plus pubsub node event mapping.
2012-03-12 19:32:20 -07:00
Lance Stout
cabf27424f
Cleanup plugin import logic.
...
Checking for a 'xep' or 'rfc' attribute is more reliable
for detecting an old style plugin than 'name'.
2012-03-12 19:32:20 -07:00
Lance Stout
162e955bd6
Enable using post_init() to resolve circular dependencies.
...
We really shouldn't have any. However, we may later introduce one
with XEP-0030 and XEP-0059.
2012-03-12 19:32:20 -07:00
Lance Stout
57d761b8a2
Move XEP-0115 to the new system.
2012-03-12 19:32:20 -07:00
Lance Stout
8b2023225c
Remove extra logging statement, add backward compatible references.
2012-03-12 19:32:20 -07:00
Lance Stout
f8f2b541db
Handle loading plugins on demand.
...
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-12 19:32:20 -07:00
Lance Stout
610d366bdb
Ensure the adhoc command items node exists.
...
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-12 19:32:20 -07:00
Lance Stout
64c46562d3
Move XEP-0249 to the new system.
2012-03-12 19:32:20 -07:00
Lance Stout
87d6ade06d
Move XEP-0224 to new system.
2012-03-12 19:32:20 -07:00
Lance Stout
4a009515c1
Move XEP-0203 to new system.
2012-03-12 19:32:20 -07:00
Lance Stout
6497857495
Move XEP-0202 to new system.
2012-03-12 19:32:20 -07:00