Commit graph

1877 commits

Author SHA1 Message Date
Astro
6ae3292d0c add .travis.yml 2017-07-19 01:57:46 +02:00
Astro
8850c95155 happy_eyeballs: don't retain errored connects 2017-07-19 01:32:53 +02:00
Maxime “pep” Buquet
2571aa7666 presence: Add with_ helpers to build a Presence 2017-07-19 00:21:44 +01:00
Emmanuel Gil Peyrot
5543d71599 attention: Use super::* in tests like every other module. 2017-07-20 20:53:59 +01:00
Emmanuel Gil Peyrot
cc563b46d2 ecaps2, forwarding, jingle_s5b, mam: Replace complex into expressions with .map(Element::from). 2017-07-20 20:52:25 +01:00
Emmanuel Gil Peyrot
487dbdc6de Replace Into<Element> with From<…> for Element.
This allows Element::from() to work, and since Into<Element> is
automatically implemented for any type implementing From there is no
change to existing code.
2017-07-20 20:36:13 +01:00
Emmanuel Gil Peyrot
5ec921fa6f attention: Add missing unknown attribute check. 2017-07-20 20:11:00 +01:00
Emmanuel Gil Peyrot
1f43cd934b Use TryFrom from the try_from crate, instead of the unstable feature.
This makes xmpp-parsers usable on stable.
2017-07-20 20:03:15 +01:00
Emmanuel Gil Peyrot
0fcbf11644 iq: Split IqPayload into all three possible types. 2017-07-20 18:31:17 +01:00
Emmanuel Gil Peyrot
76a46559b8 disco: Split query and result. 2017-07-20 17:39:59 +01:00
Astro
7b7f2866fc move stream_start out of places 2017-07-19 01:02:45 +02:00
Astro
35be5a4323 Cargo, echo_bot: fix xmpp-parsers usage 2017-07-19 01:00:17 +02:00
Emmanuel Gil Peyrot
794a994720 don’t use wildcard use 2017-07-18 22:59:45 +02:00
Emmanuel Gil Peyrot
0ec0f3413e echo_bot: use xmpp-parsers to generate stanzas
This also fixes a bug where show and status were inverted while
creating the presence element.
2017-07-18 22:58:43 +02:00
Astro
68af9d2110 xmpp_codec: fix large stanzas 2017-07-18 22:12:00 +02:00
Astro
c6351e8efa Cargo: fix minidom dependency 2017-07-18 21:22:12 +02:00
Astro
b944ca4ac7 make it work with minidom 2017-07-18 20:12:17 +02:00
Astro
36d7ab474e client::auth: fix base64 encoding 2017-07-18 20:04:34 +02:00
Astro
d4bd64370c switch from rustxml to minidom, doesn't work 2017-07-17 20:53:00 +02:00
Astro
fa08591162 echo_bot: take jid, password from cmdline args 2017-07-15 22:35:50 +02:00
Emmanuel Gil Peyrot
945ae350ac Add a jingle message parser and serialiser. 2017-07-15 11:38:44 +01:00
Emmanuel Gil Peyrot
161e5dcc9b jingle: Type Content::name better. 2017-07-15 11:37:29 +01:00
Astro
6e5f86632f xmpp_codec: add remedies for truncated utf8 2017-07-14 01:58:25 +02:00
Astro
2335bab844 happy_eyeballs: improvements 2017-07-13 22:17:29 +02:00
Astro
7e18db0717 echo_bot: document, simplify 2017-07-13 22:04:54 +02:00
Astro
e2c6a6ed37 implement SRV lookup 2017-07-13 02:56:02 +02:00
Astro
7f667041d9 more of a ClientEvent api 2017-07-13 01:47:05 +02:00
Astro
e2a4f609fb rm stale code 2017-07-13 01:43:27 +02:00
Astro
d5768c4c78 echo_bot: unify send() 2017-07-13 01:40:14 +02:00
Johann Tuffe
444b78c63a unescape_and_decode_value for element attributes 2017-07-08 12:18:15 +08:00
Astro
32031a239e TODO 2017-07-02 01:26:36 +02:00
Astro
3c952e47d1 impl Sink for Client + complete echo_bot 2017-07-02 01:25:22 +02: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
lumi
3882a3ba96 Merge branch 'master' into 'master'
Speedup jid parsing

See merge request !5
2017-06-29 12:45:29 +00: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
Emmanuel Gil Peyrot
4c1a716945 Added tag v0.6.0 for changeset f85d0ec5b301 2017-06-27 22:31:50 +01:00
Emmanuel Gil Peyrot
a2855112ba Release version 0.6.0. 2017-06-27 22:25:33 +01:00
Emmanuel Gil Peyrot
7ddb1b8301 ChangeLog: Add 0.6.0 release notes. 2017-06-27 22:19:06 +01:00
Emmanuel Gil Peyrot
6ea175ad2e Cargo.toml: Update the hashing libraries. 2017-06-27 22:25:13 +01:00
Emmanuel Gil Peyrot
244c9b2710 presence: Remove unused import in tests. 2017-06-27 22:21:35 +01:00
Maxime “pep” Buquet
98878042dd Use the generate_attribute macro in muc::user 2017-06-27 00:14:40 +01:00
Maxime “pep” Buquet
27cf9a6298 muc::Muc and muc::MucUser 2017-06-26 23:07:12 +01:00
Emmanuel Gil Peyrot
8ac4602240 presence: Add a simpler way to create a Presence. 2017-06-26 19:49:16 +01:00
Emmanuel Gil Peyrot
ad1d4adcec message: Add a simpler way to create a Message. 2017-06-26 19:47:26 +01:00
Emmanuel Gil Peyrot
96fe2d200e roster: Fix group serialisation and add a test. 2017-06-25 23:27:38 +01:00