Commit graph

104 commits

Author SHA1 Message Date
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
lumi
9abfa5f170 document ClientBuilder 2017-02-21 13:57:57 +01:00
lumi
d31caae5a0 use the minidom ElementBuilder::text method 2017-02-21 00:07:10 +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
8883f343b7 add a few namespaces 2017-02-20 02:05:49 +01:00
lumi
ad3a26fe2d add stream resetting to the transport 2017-02-20 02:05:36 +01:00
lumi
a94c66cabc fix tests on rust 1.14 2017-02-19 22:20:27 +01:00
lumi
6f64f9cd48 cast the magic spell so that gitlab-ci will finally work 2017-02-19 21:03:21 +00:00
lumi
ea10296541 try to make gitlab-ci work 2017-02-19 20:55:22 +00:00
lumi
79a32f10dc add .gitlab-ci.yml 2017-02-19 20:50:56 +00:00
lumi
c18ace6230 put DOM stuff into a separate crate: minidom-rs 2017-02-19 21:00:59 +01:00
lumi
eec72b5332 add ElementBuilder, add tests, some fixes and cleanups 2017-02-19 19:28:47 +01:00
lumi
87ac9a1227 cleanups and initial XML tree implementation 2017-02-19 18:08:35 +01:00
lumi
b148ff8dd9 Client can now connect 2017-02-19 15:25:18 +01:00
lumi
82a26d7d08 add Client::jid 2017-02-19 15:06:14 +01:00
lumi
75986db40b more cleanups, put LockedIO into its own module 2017-02-19 02:32:28 +01:00
lumi
b44ef9cc2c SslTransport::close and cleanups 2017-02-19 02:19:37 +01:00
lumi
e5d549d1fe trying to flesh out Transport and the SslTransport implementation of it 2017-02-19 02:04:09 +01:00