mathieui
e03b7661c1
XEP-0446: complete support and tests
2025-02-07 20:33:22 +00:00
mathieui
5ec378cccd
xep-0055: fix stanza test
2025-01-30 09:35:41 +01:00
nicoco
2e736bc715
feat: support XEP-0492 (Chat Notification Settings)
2025-01-26 16:24:31 +00:00
nicoco
8d984cd8a1
XEP-0004: fix: prevent multiple <values> for 'text-single' field
...
According to XEP-0004:
- if there is no "type" attribute on a <field />, we should assume it is
"text-single";
- "text-single" MUST NOT contain morethan one <value />.
Before this patch, not specifying a field type and passing a multi-line
string would result in an illegal stanza.
While it would be cleaner to log a warning or even raise an exception if
set_value() is called with an incompatible type, this breaks a lot of
tests and backward-compatibility, so we introduce some heuristic in
FormField.set_value() to infer the field type based on the provided
value instead.
I also changed FormField.get_value() so that it returns a list by
default for 'text-multi' fields. This is a breaking change, but I have
not found the justification for the previous behaviour.
2025-01-24 14:33:16 +00:00
nicoco
27bbb1ef95
xep_0425: add missing 'id' attribute to 'Moderate' stanza plugin
2024-12-30 14:46:25 +01:00
nicoco
23544731ef
Support XEP-0490 (Message Display Synchronization)
2024-12-11 21:29:37 +00:00
nicoco
a18a6c4eb8
xep-0425: update to version 0.3.0
2024-12-11 21:24:12 +00:00
nicoco
dd903b1792
xep-0424: update to version 0.4.0
2024-12-11 21:24:12 +00:00
jinyu
5051c60262
enhancement: Refactor reply handling in XEP-0461; add fallback support and improve message construction
2024-12-11 21:16:37 +00: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
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
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
Emmanuel Gil Peyrot
5e47286445
XEP-0377: Update tests against the latest version
2023-04-04 12:45:53 +02:00
nicoco
56c906f207
xep0402: add password and extension
2023-04-04 09:20:50 +02:00
nicoco
e16f72d32d
fix error namespace for ComponentXMPP
...
in SlixTest, if mode=="component", restore
jabber:client namespace afterwards
Fixes #3476
Fixes #3474
2023-03-07 11:04:35 +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
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
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
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
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
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
65636b8cce
implements XEP-0292 (vCard4 over XMPP)
2022-11-04 09:36:25 +01:00
nicoco
c2ece57dee
Add XEP-0055 (Jabber Search)
2022-09-11 23:22:44 +02:00
nicoco
450aaa7f86
XEP-0461: Message Replies
2022-08-20 13:35:38 +02:00
Nicolas Cedilnik
a1a5f3984d
XEP-0356: namespace version bump
2022-06-09 16:45:36 +02:00
Maxime “pep” Buquet
7222ade0dd
xep_0454: Ensure format_url returns a str
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-19 10:31:34 +01:00
Maxime “pep” Buquet
14a6c7801d
tests: XEP-0454
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-03-19 10:31:34 +01:00
mathieui
ad610c7ded
Fix the XEP-0444 stanza test
2022-03-07 21:31:13 +01:00
mathieui
768089d457
tests: fix bogus test case
...
stanza.match worked accidentally, but the two elements used in that test
actually conflict with each other (not overriding the plugin_attrib,
which makes it then default to 'plugin', leading to shenanigans).
2021-04-19 19:42:52 +02:00
mathieui
0115feaa31
tests: Add a MAM metadata stanza test
2021-03-09 19:52:53 +01:00
mathieui
3613cd5f14
tests: Add a MAM stream test
2021-03-09 19:52:53 +01:00
mathieui
97a63b9f25
XEP-0313: Update the API
...
- add an iterate() method that makes this plugin more practical
- add a get_fields method to retrieve the available search fields
- add a get_archive_metadata method.
This is a big chunk because git refused to split it further.
2021-03-09 19:52:53 +01:00
mathieui
d7d4baefa3
tests: Add XEP-0313 stanza tests
2021-03-09 19:52:53 +01:00
mathieui
1289cf575c
Merge branch 'rsm-fixes' into 'master'
...
XEP-0059 (RSM) - Some fixes
See merge request poezio/slixmpp!145
2021-03-09 19:25:26 +01:00
Nicoco K
eac5ad50a8
XEP-0050 Make handle_command_xxx async
2021-03-09 19:24:43 +01:00
mathieui
432a332636
tests: Fix XEP-0060 tests for the new 0004 change regarding type attribute
2021-03-08 21:06:43 +01:00
mathieui
5a3ab2c5c1
tests: enable and fix RSM test for XEP-0030
2021-03-07 20:43:44 +01:00
Nicoco K
9b5f3d9df0
Add XEP-0100 (Gateway Interaction) plugin
...
Remove usused prompt_future attribute
Add plugin_end
Update with mathieui's comments
Add option to transfer messages from unregistered users
XEP 0100 plugin
2021-03-02 18:54:22 +01:00
mathieui
bea2669907
XEP-0403: Add stanza tests
2021-02-27 13:21:13 +01:00