1
0
mirror of https://gitlab.com/xmpp-rs/xmpp-rs.git synced 2024-06-29 01:48:42 +02:00
Commit Graph

106 Commits

Author SHA1 Message Date
Werner Kroneman
ffff9ae618 Moved the optionality of the nickname to Agent instead of the lower-level method. 2024-03-03 20:35:27 +01:00
Werner Kroneman
857115d0de Changed leave_room to use TokioXmppClient instead of Agent. 2024-03-03 20:34:29 +01:00
Werner Kroneman
e5d8d2d561 Added doc comment to send_message 2024-03-03 20:07:42 +01:00
Werner Kroneman
ccdf800d12 Replaced the Agent dependency in send_message with TokioXmppClient. 2024-03-03 20:06:59 +01:00
Werner Kroneman
b630ae44c5 Added doc comment to upload_file_with 2024-03-03 19:29:23 +01:00
Werner Kroneman
fde92f2aee Refactored upload_file_with for readability. 2024-03-03 19:29:23 +01:00
Werner Kroneman
6f635bba17 Factored out slotslot_request_for_file function 2024-03-03 19:29:23 +01:00
Werner Kroneman
3e7f240122 Factored out create_muc_leave_room_status function. 2024-03-03 19:29:23 +01:00
Werner Kroneman
1868afeda3 Factored out create_muc_join_presence_stanza function. 2024-03-03 19:29:23 +01:00
Emmanuel Gil Peyrot
1bab5c3cd9 Remove redundant imports
These became warnings in a recent nightly.

The TryFrom/TryInto imports were missed in
4089891f6c, but the rest are truly
redundant.
2024-02-27 22:57:18 +01:00
Maxime “pep” Buquet
99036735a3
xmpp: Rename ClientBuilder::new_with_server to new_with_connector
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2024-02-06 01:14:50 +01:00
xmpp ftw
9d5019ecdd Fix last cargo doc warnings
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2024-01-27 17:44:48 +00:00
xmppftw@kl.netlib.re
1ce8145a7d Fix unused variable warnings when avatars disabled 2024-01-21 13:55:39 +01:00
Werner Kroneman
e36b8d4fb9 Exposed bound_jid on Agent. 2024-01-10 17:12:59 +01:00
moparisthebest
54de8d9951
Fix building xmpp with no-default-features 2024-01-03 20:01:05 -05:00
moparisthebest
38bfba4a18
xmpp crate now supports ServerConnector 2024-01-03 19:34:02 -05:00
moparisthebest
733d005f51
DNS/TLS deps are now optional, component now also uses ServerConnector 2024-01-01 02:09:41 -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@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
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
Werner Kroneman
ba48f6de46 Lazily bubbling the XMPP event up to the Disconnected event. 2023-12-15 23:23:56 +00:00