Commit graph

1984 commits

Author SHA1 Message Date
moparisthebest
e784b15402
ServerConnector and AsyncClient support channel binding, SimpleClient uses ServerConnector 2024-01-01 02:08:40 -05:00
moparisthebest
3cab603a4c
Add AsyncServerConnector to AsyncClient to be able to support any stream
Unfortunately API breaking unless we do some export mangling
2024-01-01 02:08:13 -05:00
xmppftw
3d9bdd6fe2 Add StanzaTimeInfo for <delay> (XEP-0203) 2023-12-31 21:07:12 +01:00
xmppftw
a21cd76b5d Run cargo fmt 2023-12-31 19:59:05 +01:00
xmppftw
4f8ce0a953 Implement Event::RoomSubject for room subject changes/retrieve 2023-12-31 19:41:34 +01:00
xmppftw
51f2462772 When IQ from field is not set, it's user's own bare JID 2023-12-31 18:01:30 +01:00
xmppftw
141a40bc79 Derive PartialOrd/Ord for Jid types 2023-12-31 16:59:21 +00:00
xmppftw@kl.netlib.re
e3fcdf1428 Move handling of MessageType::Chat to message::receive::chat module 2023-12-31 13:57:59 +01:00
xmppftw@kl.netlib.re
3ce259b143 Move handling of MessageType::GroupChat to message::receive::group_chat module 2023-12-31 13:57:59 +01:00
xmppftw@kl.netlib.re
d3603d1e68 Move handling of IqType::Set to iq::set module 2023-12-31 13:57:39 +01:00
xmppftw@kl.netlib.re
d821d2ecb2 Move handling of IqType::Result to iq::result module 2023-12-31 13:55:15 +01:00
xmppftw@kl.netlib.re
159452b39d Move handling of IqType::Get to iq::get module 2023-12-31 13:48:07 +01:00
xmppftw@kl.netlib.re
dbf053f576 Move Agent to agent module 2023-12-31 13:46:39 +01:00
xmppftw@kl.netlib.re
f6c47dd394 Move send_message to message::send module 2023-12-31 13:46:20 +01:00
xmppftw@kl.netlib.re
12e5299abf Move handle_message to message::receive module 2023-12-31 13:44:11 +01:00
xmppftw@kl.netlib.re
0e31739934 Move send_room_private_message to muc::private_message module 2023-12-31 13:44:10 +01:00
xmppftw@kl.netlib.re
fecacf84c3 Move join_room and leave_room to muc::room module 2023-12-31 13:42:18 +01:00
xmppftw@kl.netlib.re
7622721ec6 Move make_initial_presence to presence::send module 2023-12-31 13:42:00 +01:00
xmppftw@kl.netlib.re
2a1b4db8e9 Move handle_presence to presence::receive module 2023-12-31 13:40:04 +01:00
xmppftw@kl.netlib.re
379d3cfbe6 Move wait_for_events to event_loop module 2023-12-31 13:40:03 +01:00
xmppftw@kl.netlib.re
f95d968a9f Move upload_file_with to upload::send module 2023-12-31 13:36:39 +01:00
xmppftw@kl.netlib.re
97f4232db7 Move handle_upload_result to upload::receive module 2023-12-31 13:33:59 +01:00
xmppftw
d689759439 Move handle_disco_info... to disco module 2023-12-31 13:33:59 +01:00
xmppftw
a82b48debc Move Event to event module 2023-12-31 13:33:37 +01:00
xmppftw
0bbc089480 Move ClientFeature to feature module 2023-12-31 13:28:48 +01:00
xmppftw
77ee7c15fa Move ClientBuilder and ClientType to builder module 2023-12-31 13:28:32 +01:00
xmppftw
b4caea19d4 Move handle_upload_result to upload module 2023-12-31 13:26:43 +01:00
xmppftw
75b864a5f9 Move handle_iq to iq module 2023-12-31 13:24:27 +01:00
xmppftw
bc28a77d5f Move handle_presence to presence mod 2023-12-31 13:22:06 +01:00
xmppftw
82bb418cf3 Move handle_message to message module 2023-12-31 13:18:41 +01:00
xmppftw
0a6ee5b32e Support legacy integer <error> code. Don't expose it. 2023-12-22 12:26:28 +01:00
95f3c06cf3 README: Add note on contributing / cargo fmt
Some checks failed
Build / lint (push) Has been cancelled
Build / test-stable (push) Has been cancelled
Build / test-nightly (push) Has been cancelled
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-12-19 12:18:05 +01:00
xmppftw
ac4ffd2268 Use relative cargo paths when using local copy 2023-12-18 13:06:22 +01:00
xmppftw
a6b07d4435 Workaround prosody bug 1664
https://issues.prosody.im/1664
2023-12-16 20:01:17 +01:00
xmppftw
4f8dc68b1b Perform legacy or modern bookmarks depending on disco#info result on account 2023-12-16 17:32:07 +01:00
xmppftw
5fbba5c925 Receive legacy XEP-0048 v1.0 bookmarks 2023-12-16 17:29:01 +01:00
xmppftw
f9b71c8da0 Improve documentation 2023-12-16 17:29:00 +01:00
xmppftw
f1713231c4 Add Private XML Storage (XEP-0049) support for legacy bookmarks (XEP-0048 v1.0) 2023-12-16 17:28:13 +01:00
xmppftw
7a55608433 Document bookmarks2 module 2023-12-16 17:19:13 +01:00
xmppftw
d1b63a52a5 Add method to convert bookmarks::Conference to bookmarks2::Conference
Autojoin is now same struct in both modules
2023-12-16 17:19:13 +01:00
xmppftw
119c04801c Fix cargo doc warnings in jid crate 2023-12-16 17:19:11 +01:00
Werner Kroneman
ba48f6de46 Lazily bubbling the XMPP event up to the Disconnected event. 2023-12-15 23:23:56 +00:00
8f18cf2208
minidom: fix boolean test
Some checks failed
Build / lint (push) Has been cancelled
Build / test-stable (push) Has been cancelled
Build / test-nightly (push) Has been cancelled
Issue introduced in 60ebcb8c8a.

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-12-16 00:20:03 +01:00
4089891f6c Update edition to 2021
- Remove TryFrom/Into and FromIterator imports
- Prevent impl_validator_using_provider macro in sasl crate from
  constructing trait object

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-12-15 19:40:09 +00:00
c8f312e89d
parsers/xhtml: keep iterating on all bodies
Some checks are pending
Build / lint (push) Waiting to run
Build / test-stable (push) Blocked by required conditions
Build / test-nightly (push) Blocked by required conditions
Revert part of b522eaf7f3.

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-12-15 20:39:09 +01:00
b522eaf7f3 parsers: clippy pass
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2023-12-15 19:26:06 +00:00
60ebcb8c8a
minidom: clippy pass
Some checks failed
Build / lint (push) Has been cancelled
Build / test-stable (push) Has been cancelled
Build / test-nightly (push) Has been cancelled
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.
Some checks are pending
Build / lint (push) Waiting to run
Build / test-stable (push) Blocked by required conditions
Build / test-nightly (push) Blocked by required conditions
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