Age | Commit message (Collapse) | Author |
|
Publishes, retractions, purges, and deletions now raise the events:
- pubsub_publish
- pubsub_retract
- pubsub_purge
- pubsub_delete
In addition, custom events may be raised based on the node that
generated the notification. For example:
xmpp['xep_0060'].map_node_event('http://jabber.org/protocol/tune',
'user_tune')
will allow for using the events:
- user_tune_publish
- user_tune_retract
- user_tune_purge
- user_tune_delete
|
|
|
|
Fixes issue #127
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
94% coverage for the main pubsub plugin! (91% including stanzas)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- item_ids checked for None
- pubsub node is set
|
|
- <default /> doesn't have a type attribute in the XEP
- <configure /> isn't used anymore for requesting default configuration
|
|
iq['error']['pubsub']['condition']
iq['error']['pubsub']['unsupported']
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Still need tests and docs.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|