summaryrefslogtreecommitdiff
path: root/slixmpp
AgeCommit message (Collapse)Author
2020-12-04CI: Add helper for integration testsmathieui
2020-12-04XMLStream: Add a wait_until coroutinemathieui
It will set a disposable handler on an event and wait on it with a specific timeout. Useful for integration tests without callback hell.
2020-12-04XEP-0363: Add 0363 to the extension listmathieui
2020-12-04XEP-0444: Fix session_bind()mathieui
wrong method called: remove_feature instead of del_feature
2020-12-04XEP-0353: Jingle Message InitiationEmmanuel Gil Peyrot
2020-12-04XEP-0045: Register the missing invite/decline elementmathieui
2020-12-03XEP-0045: Misc small fixes.mathieui
2020-12-03XEP-0045: Better invitation handlingmathieui
2020-12-03XEP-0045: Remove "self" returns from stanza methodsmathieui
2020-12-03XEP-0045: Add status_codes interface to the MUC elementmathieui
2020-12-02ElementBase: serialize JID objects as strings automaticallymathieui
This is a shortcut to avoid defining custom methods each time a substanza containing a JID exists in a plugin. Same thing with attributes, there is no place where we do not want this.
2020-12-02XEP-0403: MIX-Presencemathieui
2020-12-02XEP-0404: MIX-Anon: JID hidden channelsmathieui
(not found)
2020-12-02XEP-0405: MIX-PAMmathieui
2020-12-02XEP-0369: MIX-Coremathieui
2020-12-01XEP-0047: Fix the max sequence numbermathieui
The max seq allowed according to the XEP is 65535, therefore we must modulo using 65536 to allow that value.
2020-11-27Merge branch 'fix-xep_0115-disco-component' into 'master'mathieui
Fix 'from' attribute missing for ComponentXMPP Disco IQ Closes #3455 See merge request poezio/slixmpp!60
2020-11-27Remove protoxep_occupantidmathieui
And fix some minor details in 0421 plugin.
2020-11-27Update protoxep_reactions to XEP-0444mathieui
2020-11-26XEP-0045: update methods for asyncio & stanza, typingmathieui
- This rewrites most of the stuff in the plugin by using the newly added elements instead of raw ElementTree stuff with hardcoded namespaces. - Adds methods for affiliation/roles - Adds some type hints - Fix many cases where the call would simply not work since slixmpp exists (and break the API but it was already broken ¯\_(ツ)_/¯)
2020-11-22XEP-0045: register the new elements & reformat initmathieui
2020-11-22XEP-0045: add more stanza elementsmathieui
2020-10-01Merge branch 'master' into 'master'Maxime Buquet
Cancel run_filters task upon disconnect See merge request poezio/slixmpp!57
2020-10-01Merge branch 'xep-0363-callback-fix' into 'master'Maxime Buquet
XEP-0363 fix: call callback when receiving the upload slot. See merge request poezio/slixmpp!58
2020-10-01StanzaBase.send: remove inexisting param in docstring -- thanks elghinnMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-08-05Fix 'from' attribute missing for ComponentXMPP Disco IQaearil
Fixes #3455 This reuses the 'to' attribute of the received presence as a 'from' for the Disco IQ. I don't know if this is the best way to do it, but in testing with a simple component it fixed the error. Also I'm not sure whether pres['to'] would also be valid when is_component is False.
2020-06-28XEP-363 fix: call callback when receiving the upload slot.cnngimenez
2020-06-12Cancel run_filters task upon disconnectehendrix23
2020-05-29XEP-0045: register_stanza_plgin(Message, MUCMessage)Maxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-29XEP-0045: Split __init__Maxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-29XEP-0045: Add MUCMessageMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-29XEP-0045: Remove unused MUCPresence attributesMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-29XEP-0045: Add some types in stanzaMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-29XEP-0045: Add stanza.NS* constsMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-29XEP-0045: Split stanza into sub-moduleMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-29XEP-0045: Remove useless Python2-nessMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-29XEP-0045: Change to a package moduleMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-27XEP-0421: Add shorthand to namespaceMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-27XEP-0421: add has_feature helperMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-27New XEP: 0421 Occupant-idMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-24Add stanza tests for 0377mathieui
2020-05-24Enforce <spam/> and <abuse/> quantity constraintsmathieui
2020-05-24Add a plugin for XEP-0377: spam reportingmathieui
2020-05-23Update version to 1.5.2slix-1.5.2mathieui
2020-05-20xep_0045: don't create empty itemMaxime “pep” Buquet
Only create an item if an attribute is set. Don't create it when reading if it wasn't already present. Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-12xep_0363: pass more information to FileTooBig exceptionMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-12xep_0363: Ensure every form in disco#info is readMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-02Update version to 1.5.1slix-1.5.1mathieui
1.5.0 changed what could be expected to be sent before calling disconnect(), this fixes it.
2020-05-02Fix a regression introduced in 1.5.0mathieui
Due to the send queue, messages sent immediatly before calling "disconnect" would not be sent.
2020-05-01Update version to 1.5.0slix-1.5.0mathieui