60ebcb8c8a
minidom: clippy pass
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-12-14 18:12:45 +01:00
Werner Kroneman
2b433d7036
Added a link to the Brussels meeting minutes about auto-join.
2023-12-09 13:29:32 +01:00
Werner Kroneman
a993770206
Clarified the doc comments for leave_room.
2023-12-09 13:26:23 +01:00
Werner Kroneman
ecd0be4aad
Removed weird duplicate RoomJoined at the end of the method.
2023-12-08 20:34:44 +01:00
Werner Kroneman
d2a5634859
Using BareJid + RoomNick instead of FullJid.
...
Also, corrected wrong XEP reference.
2023-12-08 20:21:28 +01:00
Werner Kroneman
49921ac7d3
Added an attempt to fix the bug where the client misinterprets "unavailable" status (or any other self-status, really) as a RoomJoined event.
2023-12-08 20:14:56 +01:00
Werner Kroneman
320d6e27c2
Ran cargo fmt
2023-12-08 20:02:52 +01:00
Werner Kroneman
249d2aeed6
Added a "leave room" method.
2023-12-08 19:43:27 +01:00
03e955d24f
README: Fix act arguments
...
Thanks moparisthebest for the report
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-12-06 12:38:52 +01:00
029de93d54
Readme: New Building and Contributing section. Fix #101
...
Thanks moparisthebest for typos
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-12-04 15:13:08 +00:00
Emmanuel Gil Peyrot
372234b912
tokio-xmpp: Remove workaround for Debian oldoldstable
...
hickory-resolver’s MSRV is 1.67, those super old toolchain versions
wouldn’t build a recent version of tokio-xmpp anyway.
This effectively reverts 52a2d962ee
.
2023-12-04 15:34:26 +01:00
50415415c6
Revert "parsers/doap: update 0084's xmpp:since field"
...
This reverts commit dce8ab445c
.
2023-12-04 12:43:01 +01:00
449c8d8131
parsers: remove unused build script
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-12-04 02:14:52 +01:00
dce8ab445c
parsers/doap: update 0084's xmpp:since field
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-12-04 02:13:52 +01:00
Werner Kroneman
176d213e0f
Added doc comment for wait_for_events
2023-12-04 01:01:31 +00:00
Aurabindo Pillai
12d102b39c
Fix some clippy warnings
2023-12-04 01:01:19 +00:00
Werner Kroneman
05a0b6cd8f
Ran cargo fmt
2023-12-03 16:38:14 +01:00
Werner Kroneman
fcd30c2eb2
Updated DOAP
2023-12-03 16:38:14 +01:00
Werner Kroneman
a7ab45cb2d
Avatars can now be 32 bit sizes. (see https://xmpp.org/extensions/xep-0084.html ) size can be xs:unsignedInt
2023-12-03 16:38:14 +01:00
Werner Kroneman
13449b195c
Fixed a crash when an avatar with a too-big size is being parsed.
2023-12-03 16:38:13 +01:00
4daeaf362f
Support Github Actions (for a migration to forgejo)
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-12-03 14:20:51 +00:00
Werner Kroneman
7579173cf9
Added a handler for the Err case when parsing a PubSub event.
2023-12-03 13:37:46 +00:00
e20bd9b1d2
jid: Update Changelog
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-11-11 13:24:26 +01:00
ec969a78fc
jid: Add optional quote support
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-10-30 14:18:13 +01:00
2f47bdb1d3
parsers: Add TODO to remove superfluous exports from jid on next major release
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-10-26 17:46:42 +02:00
3a0336bed0
parsers: re-export the jid module entirely
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-10-26 14:03:21 +02:00
Emmanuel Gil Peyrot
2d11ada30f
tokio-xmpp, xmpp: Remove regex support from env_logger
...
This bloats our binaries by 1.1 MiB after stripping, for very minimal
additional features. People who need that feature can enable it
themselves.
2023-10-25 18:11:33 +00:00
Emmanuel Gil Peyrot
b94d1b5222
sasl: Use the right name for SCRAM with channel binding
...
It is SCRAM-SHA-1-PLUS, not SCRAM-SHA-1.
2023-10-25 20:03:11 +02:00
Emmanuel Gil Peyrot
faabc2984a
tokio-xmpp: Support channel binding on TLS 1.3
...
This is defined in RFC 9266, and relies on the Exported Keying Material
to be passed to the SASL implementation.
2023-10-25 20:03:11 +02:00
Emmanuel Gil Peyrot
b5aa36b72c
sasl: Add tls-exporter channel binding
...
This channel binding type is defined in RFC 9266 and is required to
support channel binding on TLS 1.3.
2023-10-25 19:20:02 +02:00
115edf6f25
tokio-xmpp: Update hickory-dns dep (previously trust-dns)
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-10-25 11:37:04 +00:00
Emmanuel Gil Peyrot
c56dbe8903
tokio-xmpp: Remove unneeded clones
2023-10-25 00:16:28 +02:00
adeb4154de
tokio-xmpp: bump to 3.5
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-10-24 20:35:03 +02:00
079ca7dd90
tokio-xmpp: Also compile_error when no tls-* feature is enabled
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-10-24 19:59:45 +02:00
Link Mauve
57517692ba
Use jid's domain_str method instead of format!.
2023-10-24 17:56:53 +00:00
34b50d32c9
tokio-xmpp: Update tls-rust feature for jid changes
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-10-24 16:51:08 +00:00
5338d2f99a
tokio-xmpp: Replace deprecated rustls method (add_server_trust_anchors)
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-10-24 16:51:08 +00:00
25c319b2db
tokio-xmpp: Update for webpki_roots release in tls-rust feature
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-10-24 16:51:08 +00:00
a16f670ee6
tokio-xmpp: Error out when both tls-native and tls-rust features are enabled
...
If the user enables the tls-rust feature and forgets to disable
default-features (which includes tls-native), tell them and bail out.
The code was made to work anyway when both are enabled, and here it
defaults to tls-native. It does seem better to have one explicitely
choose one though hence the compile_error! message.
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-10-24 16:51:08 +00:00
Guus der Kinderen
fc16b7919b
fix: typo in AsyncConfig comment
2023-10-10 19:15:55 +02:00
Emmanuel Gil Peyrot
4460a59bc8
xmpp-parsers: XEP-0257: Correctly serialise no-cert-management
...
This element was previously always put in the generated element.
2023-09-05 17:08:30 +02:00
Kristoffer Andersson
5a1ef42369
fix: make eq num nodes is unequal
...
fixes #99
2023-09-05 14:19:35 +02:00
edf4347a5a
xmpp: version 0.5.0
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-08-21 11:00:27 +02:00
e2ef506418
xmpp: Re-export jid structs, minidom::Element, and parsers module
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-08-21 10:57:33 +02:00
21c9fa2df4
xmpp: Update to tokio-xmpp 3.4
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-08-20 21:34:04 +02:00
68a8c043a2
tokio-xmpp: bump to 3.4.0
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-08-20 21:34:04 +02:00
6c8855a6d5
tokio-xmpp: Update Changelog
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-08-20 21:34:04 +02:00
96f6de787f
tokio-xmpp: Re-export jid structs, minidom::Element, and parsers module
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-08-20 21:34:04 +02:00
a13f05037c
tokio-xmpp: update dependencies (jid, webpki-roots)
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-08-20 21:34:04 +02:00
7f1b98db8f
parsers: Bump to 0.20
...
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-08-20 21:34:04 +02:00