Commit graph

1872 commits

Author SHA1 Message Date
Paul Fariello
8d3c7a3bd6 Add TLS server roots from webpki 2021-02-18 02:38:32 +00:00
Paul Fariello
ae52f6444d Add support for both rustls and tlsnative 2021-02-18 02:38:32 +00:00
Paul Fariello
3d53baf128 Impl MessagePayload for PubSubEvent 2021-01-18 08:52:46 +01:00
Astro
48ce51b4ad tokio-xmpp: release 3.0.0 2021-01-13 17:28:03 +01:00
Astro
acdc48072d tokio-xmpp: extend authors in Cargo.toml 2021-01-13 17:22:31 +01:00
Emmanuel Gil Peyrot
d9994921d9 xmpp-parsers: Release version 0.18.1 2021-01-13 11:46:05 +01:00
Emmanuel Gil Peyrot
c94c95de0e jid: Release 0.9.2 2021-01-13 11:46:05 +01:00
Emmanuel Gil Peyrot
aaacb2ecf3 minidom: Release 0.13.0
0.12.1 is to be yanked, it contained breaking changes.
2021-01-13 11:46:05 +01:00
Emmanuel Gil Peyrot
1e8d3c39bf xmpp-parsers: Release version 0.18.0 2021-01-13 00:39:16 +01:00
Emmanuel Gil Peyrot
5d48386ade xmpp-parsers/bookmarks2: Bump XEP-0402 version in DOAP and ChangeLog. 2021-01-13 00:38:32 +01:00
Emmanuel Gil Peyrot
dffaf482bf xmpp-parsers: Add ChangeLog entry for 0.18.0 2021-01-13 00:38:32 +01:00
Emmanuel Gil Peyrot
3e4b6b55c9 jid: Release 0.9.1 2021-01-13 00:33:26 +01:00
Emmanuel Gil Peyrot
e2cf83ab13 minidom: Release 0.12.1 2021-01-13 00:32:53 +01:00
Paul Fariello
5463a0aa99 Srv entry is no longer optional when using connect_with_srv 2021-01-12 23:17:34 +01:00
Paul Fariello
7b4a6e3ace Use ServerConfig enum for tokio-xmpp client config
And expose connect_to_host from happy_eyeballs to let clients explicitly
choose to use SRV or not. (Rename connect to connect_with_srv)
2021-01-12 23:17:34 +01:00
Paul Fariello
08e58e44b1 Fmt for tokio-xmpp Client initialisation 2021-01-12 23:17:34 +01:00
Paul Fariello
fb1b4cdbbc Use a Config struct for async_client 2021-01-12 23:17:34 +01:00
Paul Fariello
c6376e1d28 Add server and port to connect_with_jid method on async_client 2021-01-12 23:17:34 +01:00
Paul Fariello
cc3773aca1 Set subscribe element optional and add corresponding parsing 2021-01-12 22:55:49 +01:00
Paul Fariello
c945eb0d3b Add options to pubsub::PubSub::Subscribe element
And reorder according to schemas definition in xep
2021-01-12 22:55:49 +01:00
Paul Fariello
ebf096488b Add missing Subscribe element in PubSub enum 2021-01-12 22:55:49 +01:00
Paul Fariello
58d420fc7b Fix copyright for pubsub#owner 2021-01-12 22:44:42 +01:00
Paul Fariello
a5a24a243d Use option for pubsub#owner delete redirect element 2021-01-12 22:44:42 +01:00
Paul Fariello
cc4e0c247e Implement all sub element of pubsub#owner 2021-01-12 22:44:42 +01:00
Paul Fariello
e6d4047160 Add pubsub#owner initial support (only configure) 2021-01-12 22:44:42 +01:00
Emmanuel Gil Peyrot
521bf6e7d7 tokio-xmpp: Bump sasl to 0.5 2021-01-12 19:26:21 +01:00
Emmanuel Gil Peyrot
5316d5aa4b Release version 0.5.0 2021-01-12 18:25:15 +01:00
Emmanuel Gil Peyrot
059321f89a xmpp-parsers: Add support for Jingle Raw UDP Transport Method (XEP-0177) 2021-01-12 17:05:45 +01:00
Emmanuel Gil Peyrot
4d82f14bb3 xmpp-parsers/jingle_ice_udp: Update to version 1.1
'foundation' is now a String, and 'network' is optional.

See https://github.com/xsf/xeps/pull/1014
2021-01-12 17:05:45 +01:00
Emmanuel Gil Peyrot
04e149ad53 xmpp-parsers/jingle_rtp: Add a proper constructor for PayloadType. 2021-01-12 17:05:38 +01:00
Emmanuel Gil Peyrot
923a054b81 xmpp-parsers: Make everything PartialEq! \o/ 2021-01-12 17:05:38 +01:00
Emmanuel Gil Peyrot
c10d0094e9 xmpp-parsers/jingle: Use XEP-0338. 2021-01-12 17:05:38 +01:00
Emmanuel Gil Peyrot
27ddad683a xmpp-parsers/jingle: Implement Display on ReasonElement. 2021-01-12 17:05:38 +01:00
Emmanuel Gil Peyrot
026b7d3c12 xmpp-parsers/jingle: Fix Jingle::set_reason() helper.
It would add a content currently…
2021-01-12 17:05:38 +01:00
Emmanuel Gil Peyrot
59ccccbedc xmpp-parsers: Add support for Jingle Grouping Framework (XEP-0338). 2021-01-12 17:05:38 +01:00
Emmanuel Gil Peyrot
5355975254 xmpp-parsers/jingle_rtp: Use XEP-0294. 2021-01-12 17:05:38 +01:00
Emmanuel Gil Peyrot
3ad93f0bf2 xmpp-parsers: Add support for Jingle RTP Header Extensions Negotiation (XEP-0294). 2021-01-12 17:05:38 +01:00
Emmanuel Gil Peyrot
24eeb0b3c9 xmpp-parsers/iq: Add a helper to create an empty result iq.
This can be useful to reply to a get/set iq.
2021-01-12 17:05:38 +01:00
Emmanuel Gil Peyrot
eaa63fbe46 xmpp-parsers/jingle_rtp: Update to 1.2.0, adding rtcp-mux.
The presence of this element signals the ability to multiplex RTP Data
and Control Packets on a single socket.
2021-01-12 17:05:38 +01:00
Paul Fariello
e921168380 Fix bookamrks2 empty extensions field handling 2021-01-05 08:37:05 +01:00
Paul Fariello
20a94117d3 Handle extensions element in bookmarks2 2021-01-05 08:37:05 +01:00
Paul Fariello
76db2ae117 Update bookmarks2 NS to urn:xmpp:bookmarks:1 2021-01-05 08:37:05 +01:00
Emmanuel Gil Peyrot
c3783a77b6 xmpp: Use tokio 1.0 2020-12-30 03:18:17 +01:00
Emmanuel Gil Peyrot
dea95d06e1 tokio-xmpp: Bump trust-dns to 0.20 2020-12-30 03:18:17 +01:00
Emmanuel Gil Peyrot
a38ff39b77 tokio-xmpp: Bump tokio to 1.0 and replace tokio-tls with tokio-native-tls 2020-12-30 03:14:21 +01:00
Emmanuel Gil Peyrot
6c1667e17a Relicense to MPL-2.0 (from LGPL)
2020-06-07T14:29:21+0200 lumi> well i personally don't care anymore, but if someone wants it to be relicensed to MPL-2.0 i'm fine with it
2020-12-26 19:11:40 +01:00
Emmanuel Gil Peyrot
e1ff9da681 tokio-xmpp: Remove workaround for unknown broken server
This is so we can find and fix the server, instead of cargo culting this
workaround forever.
2020-12-26 16:25:34 +01:00
Emmanuel Gil Peyrot
90bbbd2393 Write a ChangeLog entry 2020-12-26 15:46:14 +01:00
Emmanuel Gil Peyrot
4463f64385 Bump the version 2020-12-26 15:46:04 +01:00
Emmanuel Gil Peyrot
8d0a4230b0 Bump dependencies again 2020-12-26 15:44:39 +01:00