Commit graph

895 commits

Author SHA1 Message Date
Maxime “pep” Buquet
57d6c9fc75 Merge xmpp-parsers project 2019-10-18 13:51:22 +02:00
Maxime “pep” Buquet
dc76f296de
Prepare for merge: Move all xmpp-parsers files into xmpp-parsers/
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-10-18 13:47:10 +02:00
Maxime “pep” Buquet
2fec9083a4
Prepare for merge: Move all xmpp-rs files into xmpp-rs/
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-10-18 13:46:58 +02:00
Emmanuel Gil Peyrot
8a13d7f010 jingle_ice_udp: Add methods to add a RTP candidate and set the DTLS-SRTP fingerprint. 2019-10-18 13:06:36 +02:00
Emmanuel Gil Peyrot
03e8ef7569 jingle: Expose Description the same way we expose Transport. 2019-10-18 13:06:08 +02:00
Emmanuel Gil Peyrot
7b536e5bfc macros: Implement Display for attributes. 2019-10-18 13:05:33 +02:00
Emmanuel Gil Peyrot
8c21efb2ac jingle_rtp: Use the correct element name for ssrc. 2019-10-18 13:05:14 +02:00
Maxime “pep” Buquet
dfd28eaf40
Actually bump version to 0.16.0
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-10-15 23:18:08 +02:00
Maxime “pep” Buquet
0b936b57c7
Prepare for release 0.16.0
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-10-15 23:15:17 +02:00
Maxime “pep” Buquet
567b22db72
DOAP: Update chatroom URI
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-10-15 22:51:08 +02:00
Maxime “pep” Buquet
ed5e6608af
DOAP: Update foaf:mbox_sha1sum for pep.
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-10-15 22:49:16 +02:00
Emmanuel Gil Peyrot
aeb8bc95f4 Add a parser for XEP-0293. 2019-10-12 19:10:50 +02:00
Emmanuel Gil Peyrot
cd32ea4c03 Add a parser for XEP-0339. 2019-10-12 18:18:02 +02:00
Emmanuel Gil Peyrot
d654b1bd30 jingle_rtp: Add constructors. 2019-10-12 17:16:36 +02:00
Emmanuel Gil Peyrot
5338cd6599 pubsub: Add a constructor for items request. 2019-10-12 17:14:00 +02:00
Emmanuel Gil Peyrot
7665f7e5d8 jingle: Wrap all supported and unknown transports in an enum. 2019-10-12 17:13:42 +02:00
Emmanuel Gil Peyrot
b91e5bdc4e jingle_ice_udp: Add a constructor for Transport. 2019-10-12 17:13:02 +02:00
Emmanuel Gil Peyrot
7f8cdc5bf0 jingle_dtls_srtp: Add constructors from Hash and from strings. 2019-10-12 17:11:34 +02:00
Emmanuel Gil Peyrot
fcdffba31c macros: Add support for wildcard namespaces. 2019-10-12 17:10:36 +02:00
Emmanuel Gil Peyrot
76619178a2 Add log as a dependency, for tracing XML and stuff. 2019-09-29 04:11:26 +02:00
Emmanuel Gil Peyrot
598bbdd523 Make avatar support optional. 2019-09-29 04:11:26 +02:00
Emmanuel Gil Peyrot
a3e6ef8c3a Move from XEP-0048 to Bookmarks 2 (This Time it’s Serious). 2019-09-29 04:11:26 +02:00
Emmanuel Gil Peyrot
2eb521fa02 Add a Bookmarks 2 (This Time it's Serious) parser. 2019-09-29 01:47:21 +02:00
Emmanuel Gil Peyrot
d1d98ff3d5 Use crate::Element instead of minidom::Element.
This makes refactoring much easier.
2019-09-25 10:28:44 +02:00
Emmanuel Gil Peyrot
552fef90d3 DOAP: Mention that XEP-0068 is supported
There is no module for this XEP, but it is only a best practice document
about XEP-0004 so there is no need for one.
2019-09-20 01:46:44 +02:00
Emmanuel Gil Peyrot
89d24de302 receipts: Update to XEP-0184 version 1.4.0. 2019-09-20 01:41:30 +02:00
Emmanuel Gil Peyrot
eac385700c bob, jid_prep, cert_management: Add size tests for 32-bit. 2019-09-17 17:14:56 +02:00
Maxime “pep” Buquet
8b54b7fd43
CI: refactor, add caching
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-09-13 03:33:08 +02:00
Maxime “pep” Buquet
e9ce2838a6 CI: expose full backtrace for tests
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-09-13 03:03:03 +02:00
Maxime “pep” Buquet
27b3f43261
CI: Add caching
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-09-13 02:41:19 +02:00
Maxime “pep” Buquet
82be62678a
CI: refactor .gitlab-ci.yml
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-09-13 02:25:23 +02:00
Maxime “pep” Buquet
eba25e4acc
CI: Use recent rust image, split build/test stages
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-09-13 02:00:52 +02:00
Maxime “pep” Buquet
95d9ea8296 Prepare for 0.3.0 release
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-09-13 01:40:23 +02:00
Maxime “pep” Buquet
679aa4b821 Remove left-out conflict marker.
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-09-13 01:40:04 +02:00
Maxime “pep” Buquet
289437d5b3 Merge branch 'lm-master'
Merging xmpp-rs/xmpp-rs and linkmauve/xmpp-rs.

Lots has been happening in our small ecosystem, this is our Nth attempt at
finding an API that we like. There might still be issues with this one but it
looks good enough so that we can start using it for relatively simple clients.
If it happens that the API is problematic then we'll change again. S%#$
happens.

With this merge, the focus of the library shits a bit.

This library is aimed to be a high-level library and provide an API somewhat
abstracted from XMPP.

We are also now using tokio-xmpp as the underlying library managing the stream,
and not doing it ourselves (even though nothing technically prevents it).
2019-09-13 01:08:27 +02:00
Maxime “pep” Buquet
2bf4b5d331 Add pep. as author
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-09-13 00:41:01 +02:00
Emmanuel Gil Peyrot
cbce8a5e7f Fix avatar retrieval. 2019-09-13 00:19:53 +02:00
linkmauve
c17d43b685 Merge branch 'agent-clone' into 'master'
Agent clone

See merge request linkmauve/xmpp-rs!4
2019-09-12 19:38:18 +00:00
linkmauve
1d05832616 Merge branch 'update-deps' into 'master'
Update tokio-xmpp to 1.0.1 and xmpp-parsers to 0.15

See merge request linkmauve/xmpp-rs!3
2019-09-12 19:38:06 +00:00
Maxime “pep” Buquet
b1e8b9ee58
derive Clone for Agent
This can be required when dealing with async code. I'm happy for you to
show me other ways if you think it's not necessary.

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-09-11 16:25:20 +02:00
Maxime “pep” Buquet
b6369741cd
Update tokio-xmpp to 1.0.1 and xmpp-parsers to 0.15
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-09-11 16:11:32 +02:00
Emmanuel Gil Peyrot
c7038ace1a jingle, pubsub: Fix spelling thanks to codespell! 2019-09-08 18:24:45 +02:00
Emmanuel Gil Peyrot
a9a68cb1d7 jid_prep: Add constructor, documentation, and switch from Option<String> to String. 2019-09-08 16:22:12 +02:00
Emmanuel Gil Peyrot
9941e9c34f Add a new JID Prep parser (XEP-0328). 2019-09-08 16:09:49 +02:00
Emmanuel Gil Peyrot
46522ceb19 Add a new client certificate management parser (XEP-0257). 2019-09-08 15:53:55 +02:00
Emmanuel Gil Peyrot
d9a6aeea99 doap, ChangeLog: Add support for occupand-id (XEP-0421). 2019-09-07 16:43:05 +02:00
Emmanuel Gil Peyrot
943292a749 Implement occupant-id (XEP-0421). 2019-09-07 16:40:40 +02:00
Emmanuel Gil Peyrot
8e9f247294 doap: Add CSI support. 2019-09-07 16:37:40 +02:00
Emmanuel Gil Peyrot
05ab0cdc38 Add a new CSI parser (XEP-0352). 2019-09-07 16:36:04 +02:00
Emmanuel Gil Peyrot
d58321ebba Add a new CSI parser (XEP-0352). 2019-09-07 16:32:35 +02:00