mathieui
66d552d057
xep_0317: Fix compatibility with python < 3.9
2024-02-09 21:32:19 +01:00
nicoco
b8205a9ae4
Update plugin: XEP-0317 (hats)
...
Merge changes from nicoco's MR that I missed, improving tests and
interface.
2024-02-09 21:06:14 +01:00
nicoco
85b7210115
XEP-0264: Jingle Content Thumbnails (new plugin)
...
Cheogram actually uses it with SIMS to embed
a blurhash preview in the stanza.
2024-02-09 12:10:12 +01:00
nicoco
909c865524
XEP-0313: Do not try to parse date for fields without value.
...
Without this we end up passing "None"
instead of a str to the date parser,
which raises a TypeError.
It happens if you try to provide a form
to be filled, when slixmpp acts as a MAM
*server*.
2024-02-09 11:51:34 +01:00
nicoco
586d2f5107
XEP-0313: Add support for flipped page
2024-02-08 20:45:48 +01:00
mathieui
c41209510a
xep_049: implement bookmarks pinning stanzas
2024-02-04 11:59:36 +01:00
mathieui
9266486f46
xep_0317: add initial stanza support for hats
2024-02-04 11:32:24 +01:00
nicoco
84a7ac020f
XEP-0461: rely on XEP-0428 for fallback
...
Breaks the previous fallback helpers, we now
rely on XEP-0461 instead
2023-12-28 16:38:37 +00:00
nicoco
331c1c1e21
XEP-0428: add fallback body and subject elements
...
+ tests
+ helpers to strip the fallback content
2023-12-28 16:38:37 +00:00
sxavier
9fc82e9e6f
xep_0221: Add documentation overview and example
2023-12-28 16:01:19 +00:00
nicoco
ca90d3908e
xep-0115: perf: avoid simultaneous disco info queries for the same verstring
2023-12-28 15:56:44 +00:00
Nicolas Cedilnik
76a11d4899
xep0356: implement IQ privilege
...
Also included:
- correctly handle privileges from different
servers
- check that privileges have been granted before
attempting to send something and raise
PermissionError if not
- use dataclass and enums to store permissions instead of
untyped dict
2023-12-19 14:14:16 +00:00
nicoco
25c28ff5d1
xep_0461/add_quoted_fallback: add optional nickname argument
...
+ a little docstring that doesn't hurt
2023-06-05 20:48:38 +02:00
nicoco
e3e0d8f43e
xep_0313/fin: add 'stable' and 'complete' attribs
2023-06-05 14:18:07 +02:00
nicoco
13729e47a6
add xeps 0385 and 0447 to plugins.PLUGINS
2023-06-05 14:18:07 +02:00
nicoco
56c906f207
xep0402: add password and extension
2023-04-04 09:20:50 +02:00
Link Mauve
fae4a38e84
Merge branch '377-nsbump' into 'master'
...
XEP-0377: Update to latest revision (bump ns)
See merge request poezio/slixmpp!239
2023-04-03 11:09:43 +00:00
Maxime “pep” Buquet
2b59d299a1
XEP-0377: Update to latest revision
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net >
2023-04-03 13:01:45 +02:00
Nicolas Cedilnik
8f77bd4ee5
Add support for XEP0402 (PEP Native bookmarks)
2023-04-03 05:47:46 +02:00
Maxime Buquet
bc2cebae6c
Merge branch 'disco-tasks' into 'master'
...
xep_0030: asyncio.wait takes tasks
See merge request poezio/slixmpp!228
2023-03-07 19:19:10 +00:00
nicoco
21e5cd4435
xep_0030: get_items(): fix ifrom for local calls
...
kwargs can never have 'ifrom' since it's in the
method signature
2023-02-25 10:29:21 +01:00
nicoco
1a40699bcc
xep_0030: do not send IQ without 'from' attr when component
2023-02-25 10:27:56 +01:00
Maxime Buquet
968fb0bac3
Merge branch 'xep0447' into 'master'
...
XEP-0447: minimal support (outgoing)
See merge request poezio/slixmpp!235
2023-02-24 14:12:45 +00:00
Maxime Buquet
8dcbcbf8a0
Merge branch 'xep0385' into 'master'
...
XEP-0385: minimal support
See merge request poezio/slixmpp!234
2023-02-24 14:12:38 +00:00
Maxime Buquet
de7b2d33a3
Merge branch 'xep-0461-fixes' into 'master'
...
XEP-0461: fixes
See merge request poezio/slixmpp!233
2023-02-23 23:42:19 +00:00
Maxime Buquet
fd1af054c5
Merge branch 'xep-0054-fix-no-vcard' into 'master'
...
xep_0054: raise item-not-found instead of trying to call None.send()
See merge request poezio/slixmpp!232
2023-02-23 23:41:47 +00:00
nicoco
af16832ad0
XEP-0447: minimal support (outgoing)
2023-02-24 00:22:42 +01:00
nicoco
40a857de65
XEP-0461: fix char counting
...
I think this time I got it right, confirmed
against client implementations (dino and movim)
2023-02-24 00:15:34 +01:00
nicoco
79ffa1668f
XEP-0461: fix fallback namespace
...
the XEP should be updated soon, confirmed by author,
other implementations use this namespace
2023-02-24 00:15:34 +01:00
nicoco
b4b1efe058
XEP-0385: minimal support
...
- includes bits of other required XEPs
- only implements 'outgoing' SIMS
2023-02-23 23:49:13 +01:00
nicoco
de358464d0
xep_0054: raise item-not-found instead of trying to call None.send()
2023-02-23 23:37:31 +01:00
nicoco
92b4f2a7eb
xep_0050:allow partial coroutines as handlers
2023-02-23 23:33:13 +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
Maxime “pep” Buquet
5c19f16287
xep_0030: asyncio.wait takes tasks
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net >
2023-02-15 11:55:57 +01: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
Maxime “pep” Buquet
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
Maxime Buquet
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
nicoco
26fb0d1f91
add BasePlugin to plugins.__all__
2022-11-28 13:03:03 +01: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
nicoco
6940e4276b
xep_0030: allow extra args in get_info_from_domain
2022-11-15 09:23:50 +01: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
nicoco
e062181f84
xep_0084: fix typo and getters
...
"with" instead of "width"; wrong syntax for getters
2022-09-22 23:19:16 +02: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