summaryrefslogtreecommitdiff
path: root/slixmpp/plugins
AgeCommit message (Collapse)Author
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-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-26XEP-0199: use new 0-timeout reconnect() with reasonGeorg 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-05xep_0030: fix typo on 'remote' in get_info docstringMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-02-23xep_0380: Add add_eme methodMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-02-23xep_0380: Remove remove_handler call in plugin_endMaxime “pep” Buquet
Remove probable copy paste fail in EME plugin_end handler. Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-02-02Fix XEP-0335mathieui
2019-01-22Merge branch 'xep-0335' into 'master'Link Mauve
Add xep_0335: JSON Containers See merge request poezio/slixmpp!5
2019-01-22Stop requesting avatar without the intervention of the client.Emmanuel Gil Peyrot
2019-01-17XEP-0223: Fix default access_model, it MUST be whitelist.Emmanuel Gil Peyrot
2018-11-20XEP-0363: Use a specific exception for HTTP errorsEmmanuel Gil Peyrot
2018-11-20catch http upload errors on uploadFlorian Klien
2018-10-27XEP-0030: Don’t call the timeout_callback on each domain which doesn’t ↵Emmanuel Gil Peyrot
reply to disco#info.
2018-10-27XEP-0363: Also check for disco#info’s feature instead of just the identity.Emmanuel Gil Peyrot
2018-10-27XEP-0363: Add a domain argument to discover an upload service on a specific ↵Emmanuel Gil Peyrot
domain.
2018-10-27fixing uncaught async exceptions due to missing awaitFlorian Klien
fixes uncaught exceptions in the event loop. passing timeout and timeout_callback through.
2018-10-09Add the loop parameters at places where it has been forgottenmathieui
2018-09-16Add xep_0335: JSON ContainersMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-08-19examples, tests: Replace all @asyncio.coroutines with proper async functions.Emmanuel Gil Peyrot
2018-08-08xep_0092: Return <service-unavailable/> instead. Fixes #3415.Emmanuel Gil Peyrot
2018-08-08xep_0092: Send a <forbidden/> error if we don’t want to send our version. ↵Emmanuel Gil Peyrot
(thanks lovetox!)
2018-08-07xep-0054: XMPP clients should not reply to vcard "get" requestsmathieui
2018-07-29XEP-0323: Display the requested time in addition to the current time on error.Emmanuel Gil Peyrot
2018-07-24XEP-0009: Fix invalid function name under Python 3.7.Emmanuel Gil Peyrot
2018-07-22Merge branch 'factor_find_identities' into 'master'Link Mauve
Factor find identities See merge request poezio/slixmpp!2
2018-07-01Switch from @asyncio.coroutine to async def everywhere.Emmanuel Gil Peyrot
2018-07-01xep_0030: rename find_identities; return all domain infos and let caller ↵Maxime “pep” Buquet
filter itself Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-07-01xep_0030: Add callback parameter to find_identitiesMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-07-01xep_0030: Add cached parameter to find_identities, defaults to TrueMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-07-01xep_0030: Pass kwargs down in find_identitiesMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-07-01xep_0030: Use self directly as we're already in discoMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-07-01Factor out fetching of identities in xep_0363 to xep_0030Maxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-07-01xep_0363: Remove unused parameters to find_upload_servicesMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-06-23XEP-0153: Prevent a panic when the BINVAL is invalid.Emmanuel Gil Peyrot
2018-05-13Revert "XEP-0060: Add support for node configuration."Emmanuel Gil Peyrot
This reverts commit dd7f67d10d32dadd12a841847f438b457d662b1e.
2018-05-13XEP-0060: Add support for node configuration.Emmanuel Gil Peyrot
2018-03-31XEP-0115: Use the new cache system.Emmanuel Gil Peyrot
2018-03-14Carry the node attribute to the disco#info result.Emmanuel Gil Peyrot
Fixes #3323.
2018-03-11xep_0363: Only send the basename() of the filename to the server.Emmanuel Gil Peyrot
2018-03-11xep_0363: Simplify Content-Type guessing.Emmanuel Gil Peyrot
2018-03-11xep_0363: Fix max_file_size variable name.Emmanuel Gil Peyrot
2018-03-08Simplify usage of HTTP File Upload plugin.Emmanuel Gil Peyrot
This makes it usable only on Python 3.5, as documented.
2018-03-08Add an HTTP File Upload plugin.Emmanuel Gil Peyrot
2018-02-11asyncio.async has been scheduled for removal for a long time nowmathieui
move to asyncio.ensure_future
2018-02-11Fix usage of the 0004 plugin interfacemathieui
form['fields'] is an ordered list of fields while most plugins expect a dict there. Fixes, among other things, a caps bug.