Commit graph

187 commits

Author SHA1 Message Date
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
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
9eb302851e
Update chatroom URI
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-09-03 23:21:39 +02:00
Emmanuel Gil Peyrot
d989974f69 Don’t download avatars again if they are already present on the fs. 2019-07-25 17:42:30 +02:00
Emmanuel Gil Peyrot
8e0bcaed14 Autojoin MUCs from bookmarks.
When the JoinRooms ClientFeature is enabled, we want to automatically
receive bookmarks and join them when they are added.
2019-07-25 17:16:50 +02:00
Emmanuel Gil Peyrot
9df465d940 Add various metadata to Cargo.toml. 2019-07-25 15:37:00 +02:00
Emmanuel Gil Peyrot
68b389277e Add the missing license file. 2019-07-25 15:36:45 +02:00
Emmanuel Gil Peyrot
88041550b9 Check that the received roster is from our own account. 2019-07-25 15:04:13 +02:00
Emmanuel Gil Peyrot
c69140b05e Add missing dyn on Future trait object, and deny that. 2019-07-25 15:03:22 +02:00
linkmauve
2a952ffa58 Merge branch 'simplify' into 'master'
Simplify API: attempt 2

See merge request linkmauve/xmpp-rs!2
2019-07-25 12:58:53 +00:00
Marcin Mielniczuk
3f056813ed
Simplify the API by removing explicit channels. 2019-07-24 21:53:26 +02:00
Emmanuel Gil Peyrot
08af035eb1 Add contact list support 2019-06-01 18:02:41 +02:00
Emmanuel Gil Peyrot
92386fc488 Hello world! 2019-03-21 18:43:27 +01:00
lumi
0c2455b2a2 Merge branch 'revert-359f6bb4' into 'master'
Revert "Merge branch 'update-deps' into 'master'"

See merge request xmpp-rs/xmpp-rs!33
2017-12-31 14:47:01 +00:00
Maxime Buquet
8c4bb1b810 Revert "Merge branch 'update-deps' into 'master'"
This reverts merge request !32
2017-12-31 13:56:17 +00:00
lumi
359f6bb4aa Merge branch 'update-deps' into 'master'
Update/Change deps: quick-xml, xmpp-parsers, minidom, jid

See merge request xmpp-rs/xmpp-rs!32
2017-12-28 17:36:21 +00:00
Maxime “pep” Buquet
2146244e1c Update docker image 2017-12-28 18:08:49 +01:00
Maxime “pep” Buquet
2fb540f85b component: Fix attributes parsing; thanks Link Mauve 2017-12-28 16:54:43 +01:00
Maxime “pep” Buquet
5f9d91140d transport, component, connection: Do not use unneeded return values 2017-12-28 16:54:43 +01:00
Maxime “pep” Buquet
690e83725c connection: Unneeded return value 2017-12-28 16:54:43 +01:00
Maxime “pep” Buquet
06fd0a354a client: Adapt to quickxml 2017-12-28 16:54:43 +01:00
Maxime “pep” Buquet
44a03c37d5 component: Remove duplicate call to read_event 2017-12-28 16:54:43 +01:00
Maxime “pep” Buquet
37148b9097 transport: Adapt to quick_xml. Thanks eijebong. 2017-12-28 16:54:43 +01:00
Maxime “pep” Buquet
4b322cc62b connection: Adapt C2S and Component2S impl for quickxml; Thanks eijebong 2017-12-28 16:54:43 +01:00
Maxime “pep” Buquet
5e5086e2ef plugins/roster: Subscription is now an enum 2017-12-28 16:54:37 +01:00
Maxime “pep” Buquet
5e58956408 Replace xml-rs bits by quickxml in Error 2017-12-28 16:53:13 +01:00
Maxime “pep” Buquet
99a4ad5cac Use quick_xml crate instead of xml 2017-12-28 16:53:13 +01:00
Maxime “pep” Buquet
1a9a100bdc plugins/ibb: IBB enum not available in the parser anymore 2017-12-28 16:53:13 +01:00
Maxime “pep” Buquet
1a8ea2e383 plugins/messaging: Body, Thread, Subject are now structs 2017-12-28 16:53:13 +01:00
Maxime “pep” Buquet
5508f5b388 plugins/messaging: Receipt doesn't exist anymore 2017-12-28 16:53:03 +01:00
Maxime “pep” Buquet
862edfde58 Break the world 2017-12-28 16:37:31 +01:00
lumi
6ad21dbf83 Merge branch 'xmpp-parsers-0.7.0' into 'master'
update to xmpp-parsers 0.7.0

See merge request !31
2017-07-23 18:06:49 +00:00
Emmanuel Gil Peyrot
ba8c86620a update to xmpp-parsers 0.7.0 2017-07-23 18:59:41 +01:00
lumi
aeb0bc8ed7 Merge branch 'muc-plugin' into 'master'
Muc plugin

See merge request !29
2017-06-29 13:25:01 +00:00
Maxime “pep” Buquet
ac732f1b92 listen for Presence and return MucPresence 2017-06-29 13:53:17 +01:00
Maxime “pep” Buquet
e953a03dda Basic MUC plugin 2017-06-29 13:39:03 +01:00
lumi
fcaa29d9c2 Merge branch 'chrono-update' into 'master'
Update dependencies after chrono semver fail (sha, xmpp-parsers, chrono)

See merge request !30
2017-06-29 12:34:54 +00:00
Maxime “pep” Buquet
2849d5a59c Update chrono to 0.4 2017-06-29 13:20:11 +01:00
Maxime “pep” Buquet
03363dddff Update xmpp-parsers to 0.6 2017-06-29 13:20:03 +01:00
Maxime “pep” Buquet
6c79936484 Update sha-1 to 0.4 2017-06-29 13:19:55 +01:00