Commit graph

1368 commits

Author SHA1 Message Date
176166b60a
Ensure Jid is Hash-able
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-10-16 01:23:21 +02:00
1ee6609c97
Re-export quick_xml dependency
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-10-15 23:50:57 +02:00
1d5276ccbd
Update quick-xml dep to 0.17
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-10-15 23:50:35 +02:00
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
0b936b57c7
Prepare for release 0.16.0
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-10-15 23:15:17 +02:00
567b22db72
DOAP: Update chatroom URI
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-10-15 22:51:08 +02:00
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
Astro
450d43a0ee update deps 2019-10-15 22:37:50 +02:00
147d07832e
Prepare for 0.8 release
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-10-15 22:35:46 +02:00
Astro
9a5c95694b add jid to Event::Online
breaks the API
2019-10-15 22:02:32 +02:00
Astro
16458dedf1 client: replace jid field with bound_jid()
resolves gitlab MR #8
2019-10-15 21:18:24 +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
8b54b7fd43
CI: refactor, add caching
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-09-13 03:33:08 +02:00
d5f6c181af
CI: Refactor: split jobs, add tests, and caching
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-09-13 03:27:28 +02:00
6ce9496fc3 CI: Add jobs for 'comments' feature
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-09-13 03:18:37 +02:00
7a0ba4f39d CI: Import .gitlab-ci.yml from xmpp-rs
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-09-13 03:18:37 +02:00
5aee776f66 Update to edition 2018
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-09-13 03:18:07 +02:00
e9ce2838a6 CI: expose full backtrace for tests
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-09-13 03:03:03 +02:00
27b3f43261
CI: Add caching
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-09-13 02:41:19 +02:00
82be62678a
CI: refactor .gitlab-ci.yml
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-09-13 02:25:23 +02:00
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
95d9ea8296 Prepare for 0.3.0 release
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-09-13 01:40:23 +02:00
679aa4b821 Remove left-out conflict marker.
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-09-13 01:40:04 +02:00
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
Emmanuel Gil Peyrot
59e0e75d69 Prepare for 0.7.2 release. 2019-09-13 00:44:43 +02:00
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
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
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
Astro
a572bf4dea tokio-xmpp 1.0.1 2019-09-09 15:29:50 +02:00
Astro
fd27582ac7 examples: remove a few .clone() calls 2019-09-09 14:57:08 +02:00
Astro
c880820c4a Merge branch 'sonnyx/master' 2019-09-09 14:25:09 +02:00
b4f2515fb5 Merge branch 'moar-jid-helpers' into 'master'
Add more helpers on Jid to convert to Bare/FullJid

See merge request xmpp-rs/jid-rs!20
2019-09-08 21:29:53 +00:00