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
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
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
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
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
Maxime Buquet
8c4bb1b810
Revert "Merge branch 'update-deps' into 'master'"
...
This reverts merge request !32
2017-12-31 13:56:17 +00:00
Maxime “pep” Buquet
99a4ad5cac
Use quick_xml crate instead of xml
2017-12-28 16:53:13 +01:00
Emmanuel Gil Peyrot
ba8c86620a
update to xmpp-parsers 0.7.0
2017-07-23 18:59:41 +01:00
Emmanuel Gil Peyrot
afaea3486b
make stanza_debug print the time
2017-06-11 15:32:42 +01:00
lumi
c326d5b07e
fix up the event system, no more unsafe!
2017-05-27 16:56:44 +02:00
lumi
cdf665454f
Merge branch 'new-event-system' into 'master'
...
Adapt new event system for component
See merge request !8
2017-05-27 13:21:05 +00:00
Maxime “pep” Buquet
2ee23c1c05
Adapt new event system for component
2017-05-25 00:28:07 +01:00
Emmanuel Gil Peyrot
9488c6fe12
add xmpp-parsers dependency, and use it in the stanza plugin
2017-05-24 00:40:45 +01:00
lumi
917b14b5d2
implement the new event system, things are still really messy
2017-05-10 00:17:34 +02:00
Emmanuel Gil Peyrot
b4795cecd4
replace openssl with sha-1 for component handshake
2017-05-02 17:21:26 +01:00
Emmanuel Gil Peyrot
caa83ce789
add a component builder
2017-04-01 17:16:25 +01:00
lumi
9d59bd2f7e
update to sasl-rs 0.3.0, process error stanzas
2017-03-07 18:19:09 +01:00
lumi
2fab3ae088
split off sasl module
2017-02-27 16:10:11 +01:00
lumi
e94c582359
split the jid module off into its own crate
2017-02-27 15:41:00 +01:00
lumi
2722e1ebf3
some work towards proper SASL support
2017-02-24 16:49:17 +01:00
lumi
6e7ec9ddb4
abstract some of the connection stuff away
2017-02-20 17:41:09 +01:00
lumi
83fdd9866c
add plugin infrastructure
2017-02-20 16:28:51 +01:00
lumi
c18ace6230
put DOM stuff into a separate crate: minidom-rs
2017-02-19 21:00:59 +01:00
lumi
87ac9a1227
cleanups and initial XML tree implementation
2017-02-19 18:08:35 +01:00
lumi
75986db40b
more cleanups, put LockedIO into its own module
2017-02-19 02:32:28 +01:00
lumi
bf7112ff39
implement a part of Client
2017-02-19 00:01:39 +01:00
lumi
18327f522c
initial commit
2017-02-18 22:16:20 +01:00