summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-28Revert "Remove a block of compatibility code"Maxime “pep” Buquet
This reverts commit 37bc1bb9b3bdc26b7f28b30406d1013f9b0f6ceb. Confusion confusion. Mathieui thought this was a sleekxmpp thing when it's actually been added not so long ago.
2019-08-26Remove a block of compatibility codemathieui
even if the user makes that mistake, it does not cause problems down the line.
2019-08-25fix a typo in the invalidjid exception name casemathieui
2019-08-23Merge branch 'origin-id' into 'master'Maxime Buquet
Implement Origin-id (XEP-0359) See merge request poezio/slixmpp!21
2019-08-23basexmpp: Make origin-id opt-outMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-08-23Implement origin-id (XEP-0359)Maxime “pep” Buquet
This XEP is not implemented as a plugin but directly into Message. Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-08-23Merge branch 'mam' into 'master'Maxime Buquet
Assign 'True' to 'before' tag if it's value is 'None'. See merge request poezio/slixmpp!26
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-23Merge branch 'mam' into 'master'Maxime Buquet
Removed assigning 'reverse' value to the 'before' tag See merge request poezio/slixmpp!25
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-13Merge branch 'mam' into 'master'louiz’
Added <before> tag for querying messages before a stanza-id. See merge request poezio/slixmpp!23
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-16xmlstream/stanzabase: remove unused interfaces and types attributesMaxime “pep” Buquet
These are already on each stanza, and were not applicable to all stanzas anyway. Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
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-13Make generated stanza id truly randomMaxime “pep” Buquet
Fix long-standing security issues where stanza @id be predictable. Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-03xmlstream.disconnect: add compat behaviour, set wait to default `2.0` when ↵Maxime “pep” Buquet
True is passed. Update documentation Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-03Added 'reverse' argument.Madhur Garg
2019-07-03Added 'reverse' parameter in mam and rsm pluginsMadhur Garg
2019-05-07Revert part of previous commit. Return NotImplemented when object is not a ↵Maxime “pep” Buquet
valid JID Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-05-07jid: return not equal if value can't be converted to JIDMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-27Merge remote-tracking branch 'origin/mr/13'Maxime “pep” Buquet
2019-04-24xmlstream.disconnect: fix frenchism in docstringMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-24xmlstream.disconnect: typing hintsMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-24presence: Ensure <show/> value is valid when returned as presence @type valueMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
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>
2019-04-14xep_0050: Fix indentationMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-07slixmpp/jid: add typesMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-07Merge branch 'master' into 'master'Maxime Buquet
Communicate the reason for a disconnect to the application See merge request poezio/slixmpp!12
2019-04-06xep_0202: Fix plugin_init docstringMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-06Fixes poezio/poezio#3472: Don't remove TZ in 0202 utc tagMaxime “pep” Buquet
<utc/> MUST conform to 0082 dateTime profile and thus include a timezone definition. Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-03poezio/poezio#3472: Ensure tz is correctly set when offset is an intMaxime “pep” Buquet
Thanks lovetox! Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-03-26mark end-of-stream as session-ending eventGeorg Lukas
2019-03-26XEP-0199: use new 0-timeout reconnect() with reasonGeorg Lukas
2019-03-26Do not directly enqueue connect() as event handler, parameter mismatchGeorg Lukas
2019-03-26Do not close stream on 0-timeout disconnect, allows 0198 resumeGeorg Lukas
2019-03-26Propagate disconnect() reason into 'disconnected' eventGeorg Lukas
2019-03-23Partially fix poezio/poezio#3452. Prevent `groupchat_subject` from triggered ↵Maxime “pep” Buquet
sent when body or thread are in the message. 0045 says: > The subject is changed by sending a message of type "groupchat" to the > <room@service>, where the <message/> MUST contain a <subject/> element that > specifies the new subject but MUST NOT contain a <body/> element (or a > <thread/> element). In accordance with the core definition of XMPP, other child > elements are allowed (although the entity that receives them might ignore > them). > > Note: A message with a <subject/> and a <body/> or a <subject/> and a <thread/> > is a legitimate message, but it SHALL NOT be interpreted as a subject change. Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-03-15Merge branch 'patch-1' into 'master'mathieui
Fix slixmpp.ClientXMPP.cancel_connection_attempt() See merge request poezio/slixmpp!10