Commit graph

1864 commits

Author SHA1 Message Date
85826c5ece
WIP: stream-worker
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2024-02-18 01:49:39 +01:00
320ef0781e xmpp: Add Agent::new
For ease of use in coming changes

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2024-02-06 01:19:48 +01:00
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
famfo
a292e19314 Fix 32bit Qurey struct size 2024-02-05 22:19:22 +00:00
famfo
6daf0e906e Implement flip-page for MAM 2024-02-05 22:19:22 +00:00
099747f2e4 CONTRIBUTING: Split in categories
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2024-02-02 22:26:00 +01:00
xmpp ftw
2e0a90f447 CI: Deny future warnings
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2024-01-27 17:44:48 +00: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
famfo
28ab91f46a Add Sync to ServerConnectError 2024-01-27 17:26:07 +00:00
xmppftw
0949acb750 Update the MR docs base URL 2024-01-26 15:22:12 +01:00
xmppftw
b42b498a8b Parallel docs build ; don't doc deps ; push to docs.xmpp.rs 2024-01-25 17:24:20 +01:00
xmppftw
818a87802f Post comment to MR target not MR source project 2024-01-24 23:18:05 +01:00
xmppftw
5bf2ef12eb Generate docs on commits / MRs, upload to Gitlab Pages and post link in comment 2024-01-23 21:21:54 +01:00
famfo
060088be29 Implement function to get stream features 2024-01-23 16:09:07 +01:00
45c19690a8
README: Mention new CoC
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2024-01-22 15:20:50 +01:00
cad2e152cb
Code of Conduct
Heavily based on JoinJabber.org's CoC.

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2024-01-21 21:50:31 +01:00
xmppftw@kl.netlib.re
1ce8145a7d Fix unused variable warnings when avatars disabled 2024-01-21 13:55:39 +01:00
xmppftw@kl.netlib.re
25274e2f11 Deny warnings in github/gitea/forgejo CI and act local runner 2024-01-21 13:55:39 +01:00
xmppftw@kl.netlib.re
7fc46968be Deny warnings in gitlab CI 2024-01-21 13:55:39 +01:00
xmppftw@kl.netlib.re
a6f4600a19 Reexport hashes from parsers 2024-01-16 15:18:26 +01:00
Werner Kroneman
83d0d1bdfd Updated doap.xml for vCard avatars 2024-01-10 23:34:52 +01:00
Werner Kroneman
10b204093e Added vCard update to parsers 2024-01-10 23:34:50 +01:00
Werner Kroneman
c0cf672131 Added vCard avatars (XEP-0054) to parsers. 2024-01-10 21:50:34 +01:00
Werner Kroneman
18cb6f6e2d Refactored the "helpers" so that they use a common Codec trait; this makes them composable as well. 2024-01-10 19:49:53 +00:00
Werner Kroneman
e36b8d4fb9 Exposed bound_jid on Agent. 2024-01-10 17:12:59 +01:00
Emmanuel Gil Peyrot
3f90e84c5b xmpp-parsers: Add a hexadecimal codec
That one accepts both uppercase and lowercase hexadecimal input, and
outputs in lowercase.

It requires no separator between bytes, unlike ColonSeparatedHex.
2024-01-05 17:36:43 +01:00
moparisthebest
54de8d9951
Fix building xmpp with no-default-features 2024-01-03 20:01:05 -05:00
moparisthebest
019450ff4b
Add disabled-by-default insecure-tcp feature to tokio-xmpp for use by component connections 2024-01-03 19:34:03 -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
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