summaryrefslogtreecommitdiff
path: root/slixmpp/plugins
AgeCommit message (Collapse)Author
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-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-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-04-06xep_0196: Use correct tag local name (thanks ivucica)Maxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-04-04Fix deprecation warning regarding invalid escape sequences.Karthikeyan Singaravelan
2020-04-04Merge branch 'fix-celementtree-import' into 'master'mathieui
cElementTree has been deprecated since Python 3.3 and removed in Python 3.9. See merge request poezio/slixmpp!38
2020-03-29XEP-0198: unset end_session_on_disconnect on resume/enableGeorg Lukas
2020-03-28XEP-0198: fix race conditions on enable/resumeGeorg Lukas
This code splits out the `enabled` property into `enabled_in` and `enabled_out` to reflect that client and server enable 0198 asynchronously. This also moves the actual enabling code into the stanza processing logic, because apparently, `enable.send()` was just added into the end of the send queue, but `enable` got enabled immediately, so that poezio requested ACKs for whatever happened to be in the queue before. Async is hard, let's go get fishing.
2020-03-28XEP-0198: properly disable on disconnect, fix reconnect-loopGeorg Lukas
When the connection is disconnected (but the session didn't "end", because 0198 resumption is enabled), poezio will reconnect and try to send an <r/> element because the 0198 plugin doesn't realize that SM wasn't re-enabled yet.
2020-03-28cElementTree has been deprecated since Python 3.3 and removed in Python 3.9.Karthikeyan Singaravelan
2019-11-11xep_0048: Ensure Conference jid is of type str when given a JIDMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-09-19Fix a bug in the 0202 plugin where a time result would send back a resultmathieui
poezio bug #3499
2019-09-10Match the sender JID as well as the queryid in MAM resultsmathieui
2019-09-10Add typing/docstring in the MAM pluginmathieui
2019-09-08Added amount parameter, so that limit on the msgs received per query can be ↵root
changed.
2019-08-23Assign True to the 'before' tag if it's value is None (eg:at the start no ↵root
msg is there in the group, so no stanza-id)
2019-08-23Removed before tag. (Code for setting it is already there)root
2019-08-23Removed assigning 'reverse' value to the 'before' tag (It's value is set in ↵root
xep_0313 (mam.py file) and if not then by default it is takes as 'None').
2019-08-12Added <before> tag for querying messages before a stanza-id.Madhur Garg
2019-08-03xep_0030: add docstring to get_info_from_domainMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-08-01Remove the last instances of a block argument to iq.send().Emmanuel Gil Peyrot
Thanks Madhur Garg for spotting this in 027ce2434d7fd3cf4a286dd373cb761c0d114c66!
2019-08-01Merge branch 'mam' into 'master'Link Mauve
Removed 'block' from set_preferences as it was giving a TypeError while sending the staza. See merge request poezio/slixmpp!20
2019-08-02Removed 'block' from set_preferences as it was giving a TypeError while ↵Madhur Garg
sending the staza.
2019-07-22Merge branch 'mam' into 'master'Maxime Buquet
Added a function in xep313 plugin to get current MAM preferences. See merge request poezio/slixmpp!19
2019-07-18Added a function to get current MAM preferences.Madhur Garg
2019-07-14Do not add disco#info for occupantid, it’s a server thingmathieui
2019-07-14Add the occupant id stanza elementsmathieui
2019-07-13Initial commit for reactions protoxepmathieui
2019-07-03Added 'reverse' argument.Madhur Garg
2019-07-03Added 'reverse' parameter in mam and rsm pluginsMadhur Garg
2019-04-27Merge remote-tracking branch 'origin/mr/13'Maxime “pep” Buquet
2019-04-24xep_0045: Ensure <show/> value is valid.Maxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-14Fixes #3432. Allow execute to be used with the meaning of 'next'.adhoc-execute-nextMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>