e34fbfb28f
Merge branch 'adhoc-partial-coroutine' into 'master'
...
xep_0050:allow partial coroutines as handlers
See merge request poezio/slixmpp!231
2023-02-23 23:40:42 +00:00
nicoco
92b4f2a7eb
xep_0050:allow partial coroutines as handlers
2023-02-23 23:33:13 +01:00
1f934d375c
Merge branch 'fix-tests' into 'master'
...
Fix tests and stop misusing __all__
See merge request poezio/slixmpp!229
2023-02-23 17:04:13 +00:00
nicoco
700ce6b32e
xep0461: fix typo in test
2023-02-23 16:53:22 +01:00
nicoco
5efa9804ba
xep0292: test: declare suite
2023-02-23 16:53:22 +01:00
nicoco
9b0be1ca2b
stop misusing __all__ for default plugin list
...
this fixes tests by renaming the list of default plugins
from __all__ (which has a special meaning) to a separate
list called PLUGINS
no need to put BasePlugin in __all__ after all
if we don't use __all__ at all
2023-02-23 16:53:22 +01:00
af07864cbb
Merge branch 'fix-caps-fetch' into 'master'
...
XEP-0115: fix a missing await in caps fetching
See merge request poezio/slixmpp!227
2023-01-30 19:46:53 +00:00
mathieui
dc4b1c7367
XEP-0115: fix a missing await in caps fetching
2023-01-30 20:37:16 +01:00
j
4a6064772c
xep_0027: Ensure data is a str before handling it
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-01-26 17:40:47 +01:00
80a89061f1
xep_0045: Remove debug print. thanks kalkin
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-01-07 15:07:28 +01:00
8f4d8f76d1
doap: fix 454 note entry
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-01-04 21:24:17 +01:00
656248ede7
Merge branch 'xep-0292' into 'master'
...
implements XEP-0292 (vCard4 over XMPP)
See merge request poezio/slixmpp!221
2022-11-28 12:05:30 +00:00
980afe791f
Merge branch 'add-public-names-in-_all_' into 'master'
...
Add public names in all
See merge request poezio/slixmpp!225
2022-11-28 12:04:28 +00:00
nicoco
3725177d0b
add OptJidStr to types.__all__
2022-11-28 13:03:05 +01:00
nicoco
26fb0d1f91
add BasePlugin to plugins.__all__
2022-11-28 13:03:03 +01:00
5eb17e7633
Merge branch 'xep0461-fallback-helper' into 'master'
...
XEP-0461 (replies) improvements
See merge request poezio/slixmpp!224
2022-11-28 11:59:00 +00:00
nicoco
fdca7d82c4
XEP-0461: fix character counting
...
Turns out we need to include the fallback/end code point,
unlike python slicing conventions
2022-11-28 07:15:26 +01:00
nicoco
9b89401b36
XEP-0461: add get fallback body helper
2022-11-22 10:23:52 +01:00
nicoco
7300f1285e
XEP-0461: add to plugins.__all__
2022-11-22 08:49:00 +01:00
nicoco
9b51be1e17
XEP-0461: add quoted fallback helper
2022-11-22 08:49:00 +01:00
nicoco
89b1e1e682
XEP-0461: use integers for fallback start/end
2022-11-22 08:45:04 +01:00
a7501abe56
Merge branch 'xep0030-iqkwargs' into 'master'
...
xep_0030: allow extra args in get_info_from_domain
See merge request poezio/slixmpp!223
2022-11-15 10:13:49 +00:00
nicoco
6940e4276b
xep_0030: allow extra args in get_info_from_domain
2022-11-15 09:23:50 +01:00
752f4258df
Release 1.8.3
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-11-12 21:39:50 +01:00
b60b1b985d
CVE-2022-45197: Fix missing certificate hostname validation
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-11-12 21:36:11 +01:00
e93e43df66
Merge branch 'fix-adhoc-crash' into 'master'
...
fix crash on adhoc command with bad clients
See merge request poezio/slixmpp!222
2022-11-06 12:55:56 +00:00
nicoco
cfd1af88eb
fix crash on adhoc command with bad clients
...
If a command has no "next" handler, slixmpp
crashes if a client acts as if there was a
next step.
This raises an XMPPError instead
2022-11-06 08:12:37 +01:00
nicoco
65636b8cce
implements XEP-0292 (vCard4 over XMPP)
2022-11-04 09:36:25 +01:00
7a0fb97083
Merge branch 'restore-stringprep-warning' into 'master'
...
logger: remove NullHandler for the "slixmpp" handler
See merge request poezio/slixmpp!220
2022-10-03 08:20:19 +00:00
nicoco
189bbcce19
logger: remove NullHandler for the "slixmpp" handler
...
This does not seem to accomplish anything besides
hiding the "using the slow, pure python stringprep"
warning, unless you import logging and add another
handler before to the "slixmpp" logger *BEFORE*
importing slixmpp.
2022-10-03 10:16:02 +02:00
79607e43f1
Merge branch 'fix-0084' into 'master'
...
xep_0084: fix typo and getters
See merge request poezio/slixmpp!219
2022-09-23 08:59:05 +00:00
nicoco
e062181f84
xep_0084: fix typo and getters
...
"with" instead of "width"; wrong syntax for getters
2022-09-22 23:19:16 +02:00
mathieui
97b0c7ffac
Merge branch 'xep0055' into 'master'
...
Add XEP-0055 (Jabber Search)
See merge request poezio/slixmpp!204
2022-09-12 18:18:51 +00:00
nicoco
c2ece57dee
Add XEP-0055 (Jabber Search)
2022-09-11 23:22:44 +02:00
mathieui
afdfa1ee57
Merge branch 'xep0363-as-component' into 'master'
...
XEP-0363: Fix upload service auto discovery for components
See merge request poezio/slixmpp!207
2022-09-09 16:07:46 +00:00
mathieui
cba5dc7ddc
Merge branch 'component-ifrom' into 'master'
...
xep_0030: fix ifrom for disco queries sent by components
See merge request poezio/slixmpp!216
2022-09-09 16:06:38 +00:00
mathieui
b3a6c7a4ea
Merge branch 'aiodns-gethostbyname' into 'master'
...
Use gethostbyname when using aiodns
See merge request poezio/slixmpp!212
2022-09-09 16:04:14 +00:00
mathieui
11e27d1d7d
Merge branch 'mypy-workaround' into 'master'
...
Fix gitlab pipelines
See merge request poezio/slixmpp!217
2022-09-09 16:02:18 +00:00
nicoco
fbdff30dda
fix emoji==2.0.0 compatibility
2022-08-29 00:59:14 +02:00
nicoco
62701bc562
xmlstream: ignore task type (mypy)
...
This is not satisfying, but having gitlab pipelines running would be nice, wouldn't it?
2022-08-29 00:20:36 +02:00
nicoco
b14918808c
xep_0030: fix ifrom for disco queries sent by components
...
xep_0030 automatically sends disco queries with ifrom=None
Prosody's mod_component had a workaround to allow this non-standard behaviour, but it will change in a future release.
2022-08-29 00:03:55 +02:00
Link Mauve
f5cb9fe66b
Merge branch 'doap-sasl-anon' into 'master'
...
DOAP: Add 0175. It's been here forever
See merge request poezio/slixmpp!215
2022-08-23 09:18:02 +00:00
8bd53f7098
DOAP: Add 0175. It's been here forever
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-08-23 11:12:26 +02:00
Link Mauve
c955cf1c66
Merge branch 'xep-0461' into 'master'
...
XEP-0461: Message Replies
See merge request poezio/slixmpp!213
2022-08-21 12:24:08 +00:00
6904ae63f5
Merge branch 'optional-setters' into 'master'
...
JID: Make node and resource setters accept None
See merge request poezio/slixmpp!214
2022-08-21 12:22:17 +00:00
Emmanuel Gil Peyrot
1caada197a
JID: Make node and resource setters accept None
...
This is the proper way to unset these.
2022-08-21 14:18:53 +02:00
nicoco
450aaa7f86
XEP-0461: Message Replies
2022-08-20 13:35:38 +02:00
Daniel Roschka
d43c83800e
Use gethostbyname when using aiodns
...
Slixmpp behaves differently when resolving host names, whether aiodns
is used or not. With aiodns only DNS is used, while without
`asyncio.loop.getaddrinfo()` is used instead, which utilizes the Name
Service Switch (NSS) to resolve host names by other means (hosts-file,
mDNS, ...) as well.
To unify the behavior, this replaces the use of
`aiodns.DNSResolver().query()` with
`aiodns.DNSResolver().gethostbyname()`. This makes the behavior
resolving host names more consistent between using aiodns or not, as
both now honor the NSS configuration and removes the need for the
previously existing workaround to resolve localhost.
2022-07-31 13:15:25 +02:00
nicoco
14786abd34
Revert "Make it clear that filename does *not* have to be path, and is mandatory"
...
This reverts commit ed820bf551
.
2022-07-16 20:23:48 +02:00
1f47acaec1
Merge branch 'fix-xep_0115-static' into 'master'
...
XEP-0115: Make get_caps() async
See merge request poezio/slixmpp!203
2022-07-16 19:02:06 +02:00