Commit graph

122 commits

Author SHA1 Message Date
Emmanuel Gil Peyrot
1e65b20ead implement From<FormatError> for Error 2017-05-02 17:21:03 +01:00
lumi
1d53007a99 Merge branch 'update_deps' into 'master'
Update dep jid-rs and minidom-rs

See merge request !4
2017-04-30 18:29:46 +00:00
Maxime “pep” Buquet
ee2f311447 Update dep jid-rs to 0.2.0 2017-04-30 17:51:44 +01:00
Maxime “pep” Buquet
92969154b4 Update dep minidom-rs to 0.2.0 2017-04-30 17:44:07 +01:00
9c6b42a961 Implement StanzaPlugin with {Message,Presence,Iq}Event 2017-04-18 01:53:26 +02:00
lumi
0e11cea0fa add the MUC to the README 2017-04-17 23:03:27 +00:00
lumi
e6416f34d8 Merge branch 'component' into 'master'
Add the possibility to write components

See merge request !3
2017-04-01 20:57:40 +00:00
lumi
890d789af6 Merge branch 'sasl_error' into 'master'
Two sasl_error fixes

See merge request !2
2017-04-01 20:56:44 +00:00
lumi
11b3bb1e12 Merge branch 'ping' into 'master'
Add a ping plugin

See merge request !1
2017-04-01 20:55:42 +00:00
Emmanuel Gil Peyrot
86b5f72d2f add a component example 2017-04-01 17:24:01 +01:00
Emmanuel Gil Peyrot
caa83ce789 add a component builder 2017-04-01 17:16:25 +01:00
Emmanuel Gil Peyrot
70f70b1c73 add a Component2S connection type 2017-04-01 17:16:24 +01:00
Emmanuel Gil Peyrot
e2e6ae985a add a plain text transport, unencrypted 2017-04-01 17:16:24 +01:00
Emmanuel Gil Peyrot
6c15618df7 remove extraneous text option in sasl_error 2017-04-01 14:37:43 +01:00
Emmanuel Gil Peyrot
f8c76ac1e8 respect rfc6120 §6.5 properly in sasl_error
Any unknown condition should be considered as a <not-authorized/> one.
2017-04-01 14:36:57 +01:00
Emmanuel Gil Peyrot
40d01a729f add a ping plugin
This is a demo of the simplest iq-based protocol.  When an iq is
received containing a payload qualified by this namespace, an empty
result iq is sent.
2017-04-01 14:32:19 +01:00
lumi
9d57e1a63b improvements in channel binding 2017-03-07 18:38:21 +01:00
lumi
9d59bd2f7e update to sasl-rs 0.3.0, process error stanzas 2017-03-07 18:19:09 +01:00
lumi
7692c262c8 add a feature for allowing insecure connections 2017-03-07 18:16:23 +01:00
lumi
0b82b142f0 use crates.io sasl and jid crates 2017-02-27 17:08:47 +01:00
lumi
71ffa4fe87 README and license updates 2017-02-27 17:00:18 +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
ef07904807 add with_node, with_domain and with_resource to Jid 2017-02-27 15:30:39 +01:00
lumi
83839f0ba6 update messaging plugin to support sending messages, still not sure how i'm going to modify the plugin architecture, so stays very unstable for now 2017-02-27 15:03:08 +01:00
lumi
142c6f0887 increment version 2017-02-27 15:01:51 +01:00
lumi
338ca2ec5a update Cargo.toml, preparing for initial release 2017-02-25 15:50:55 +01:00
lumi
4f357f773b add some documentation to src/sasl/mod.rs 2017-02-25 15:50:26 +01:00
lumi
a88d9aa566 added more channel binding infrastructure 2017-02-25 06:58:42 +01:00
lumi
6579ce6563 simplify the API regarding authentication 2017-02-25 06:49:13 +01:00
lumi
a0685e2dc6 woops, wrong variable name here 2017-02-25 06:02:59 +01:00
lumi
c09e8ac06e some work towards channel binding support (SCRAM-SHA-{1,256}-PLUS) 2017-02-25 03:43:11 +01:00
lumi
cdccd6be3f the example should just use SCRAM-SHA-1 2017-02-25 03:41:50 +01:00
lumi
91df20948a support SCRAM-SHA-256 2017-02-25 00:31:43 +01:00
lumi
4927ecaa0d support binding to a resource 2017-02-24 23:53:54 +01:00
lumi
ff7387a92a support SCRAM-SHA-1 2017-02-24 23:42:08 +01:00
lumi
74fb4fd9ad clean up SASL code 2017-02-24 18:29:10 +01:00
lumi
61e8124c75 add some stream:features handling 2017-02-24 17:44:11 +01:00
lumi
79434f2681 cleaning up connection logic, but it's still quite ugly 2017-02-24 17:36:17 +01:00
lumi
158d871df9 handle SASL failures 2017-02-24 17:20:00 +01:00
lumi
26d2710c1f support arbitrary SASL mechanisms 2017-02-24 17:16:51 +01:00
lumi
2722e1ebf3 some work towards proper SASL support 2017-02-24 16:49:17 +01:00
lumi
226c1ced97 add a bit of documentation to the transport module 2017-02-21 18:18:16 +01:00
lumi
195d827bb6 document the ns module a bit 2017-02-21 18:17:49 +01:00
lumi
0cc57e1793 more documentation \o/ 2017-02-21 17:38:29 +01:00
lumi
06380c55cc document the plugin module and make Plugin::handle a required method 2017-02-21 17:18:32 +01:00
lumi
fea28e6171 make this work with the newer minidom 2017-02-21 17:14:54 +01:00
lumi
0b97510b08 add documentation to Jid 2017-02-21 14:25:00 +01:00
lumi
fe5b6ed490 edit some documentation on Client and ClientBuilder 2017-02-21 14:22:05 +01:00
lumi
e6eb65e6c6 document Client 2017-02-21 13:58:24 +01:00