Emmanuel Gil Peyrot
f35569a2c1
Remove the last instances of a block argument to iq.send().
...
Thanks Madhur Garg for spotting this in
027ce2434d7fd3cf4a286dd373cb761c0d114c66!
2019-08-01 22:36:59 +02:00
Link Mauve
bec6f7c8f3
Merge branch 'mam' into 'master'
...
Removed 'block' from set_preferences as it was giving a TypeError while sending the staza.
See merge request poezio/slixmpp!20
2019-08-01 22:30:58 +02:00
Madhur Garg
027ce2434d
Removed 'block' from set_preferences as it was giving a TypeError while sending the staza.
2019-08-02 01:57:36 +05:30
d57fbb57a2
Merge branch 'mam' into 'master'
...
Added a function in xep313 plugin to get current MAM preferences.
See merge request poezio/slixmpp!19
2019-07-22 22:05:05 +02:00
Madhur Garg
85cd7a9166
Added a function to get current MAM preferences.
2019-07-18 16:55:11 +05:30
d50d996c68
xmlstream/stanzabase: remove unused interfaces and types attributes
...
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-16 11:26:54 +02:00
mathieui
371ad20ca7
Do not add disco#info for occupantid, it’s a server thing
2019-07-14 13:25:22 +02:00
mathieui
5f49df6b56
Add the occupant id stanza elements
2019-07-14 13:13:59 +02:00
mathieui
b50bfb2f34
Initial commit for reactions protoxep
2019-07-13 19:44:32 +02:00
b29bb30eb7
Make generated stanza id truly random
...
Fix long-standing security issues where stanza @id be predictable.
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-13 14:07:31 +02:00
4435c81d77
xmlstream.disconnect: add compat behaviour, set wait to default 2.0
when True is passed. Update documentation
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-03 21:36:17 +02:00
Madhur Garg
2638ba2744
Added 'reverse' argument.
2019-07-03 14:18:33 +05:30
Madhur Garg
dbc9758311
Added 'reverse' parameter in mam and rsm plugins
2019-07-03 10:31:18 +05:30
47968963b1
Revert part of previous commit. Return NotImplemented when object is not a valid JID
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-05-07 11:56:39 +01:00
4e8800f954
jid: return not equal if value can't be converted to JID
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-05-07 10:08:46 +01:00
40053518aa
Merge remote-tracking branch 'origin/mr/13'
2019-04-27 12:59:23 +01:00
1ee0f72ead
xmlstream.disconnect: fix frenchism in docstring
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-24 23:35:33 +01:00
4bb81228ae
xmlstream.disconnect: typing hints
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-24 23:35:06 +01:00
60a7a5b8df
presence: Ensure <show/> value is valid when returned as presence @type value
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-24 20:29:54 +01:00
946674f424
xep_0045: Ensure <show/> value is valid.
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-24 20:28:58 +01:00
412a9169bd
Fixes #3432 . Allow execute to be used with the meaning of 'next'.
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-14 02:34:22 +01:00
72b355de8c
xep_0050: Fix indentation
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-14 02:19:58 +01:00
af246dcfe1
slixmpp/jid: add types
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-07 23:14:44 +01:00
9612e518fb
Merge branch 'master' into 'master'
...
Communicate the reason for a disconnect to the application
See merge request poezio/slixmpp!12
2019-04-07 00:24:50 +02:00
fde8264191
xep_0202: Fix plugin_init docstring
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-06 13:44:05 +01:00
1cdc656208
Fixes poezio/poezio#3472 : Don't remove TZ in 0202 utc tag
...
<utc/> MUST conform to 0082 dateTime profile and thus include a
timezone definition.
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-06 13:42:26 +01:00
0042108a67
poezio/poezio#3472 : Ensure tz is correctly set when offset is an int
...
Thanks lovetox!
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-03 23:16:37 +01:00
Georg Lukas
704161a285
mark end-of-stream as session-ending event
2019-03-26 15:16:52 +01:00
Georg Lukas
6b1b58a339
XEP-0199: use new 0-timeout reconnect() with reason
2019-03-26 12:09:43 +01:00
Georg Lukas
4f96e5fa75
Do not directly enqueue connect() as event handler, parameter mismatch
2019-03-26 12:09:43 +01:00
Georg Lukas
bcb90a653e
Do not close stream on 0-timeout disconnect, allows 0198 resume
2019-03-26 11:02:28 +01:00
Georg Lukas
7e435b703d
Propagate disconnect() reason into 'disconnected' event
2019-03-26 11:01:36 +01:00
2dda6b80d4
Partially fix poezio/poezio#3452 . Prevent groupchat_subject
from triggered 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-23 17:06:07 +00:00
mathieui
5629e44710
Merge branch 'patch-1' into 'master'
...
Fix slixmpp.ClientXMPP.cancel_connection_attempt()
See merge request poezio/slixmpp!10
2019-03-15 00:38:35 +01:00
6a06881d8b
xep_0030: fix typo on 'remote' in get_info docstring
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-03-05 00:00:14 +00:00
2b666eb1de
Revert "Remove license from unused project"
...
This reverts commit fbab3ad214
.
2019-02-24 12:16:06 +00:00
Emmanuel Gil Peyrot
400e7a3903
Remove SocksiPy license
...
I wrote a SOCKS5 implementation back in
9c5dd024b1
, and removed SocksiPy from
slixmpp’s codebase at the same time.
2019-02-24 13:02:08 +01:00
fbab3ad214
Remove license from unused project
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-02-24 12:00:16 +00:00
mathieui
628b357b06
Merge branch 'eme-add-method' into 'master'
...
xep_0380: Add add_eme method
See merge request poezio/slixmpp!11
2019-02-23 14:07:15 +01:00
88260cc240
xep_0380: Add add_eme method
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-02-23 12:54:56 +00:00
e9f2f503b8
xep_0380: Remove remove_handler call in plugin_end
...
Remove probable copy paste fail in EME plugin_end handler.
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-02-23 12:36:40 +00:00
ehendrix23
696a72247b
Fix slixmpp.ClientXMPP.cancel_connection_attempt()
2019-02-22 00:41:02 +01:00
05d76e4b1d
Change more URLs to lab.louiz.org
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-02-12 10:34:57 +00:00
d52d4fbbbe
Update project URLs to lab.louiz.org
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-02-12 10:26:04 +00:00
e53c0fcb30
README: Add pep as a contributor
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-02-10 14:18:28 +00:00
97d68c5196
setup.py: GTalk is no more
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-02-10 14:18:28 +00:00
mathieui
b42fafabb4
Make the cache encode and decode not crash if something goes wrong
2019-02-02 17:42:24 +01:00
mathieui
3a44ec8f15
Add tests for the cache api
2019-02-02 17:32:10 +01:00
mathieui
93f385562f
Add a "remove" action on the cache API
2019-02-02 17:31:48 +01:00
mathieui
9cab02438b
Fix XEP-0335
2019-02-02 15:41:55 +01:00