Commit graph

1547 commits

Author SHA1 Message Date
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
Emmanuel Gil Peyrot
4338d9d638 jingle_s5b: Make jid a Jid and not a String. 2017-06-25 22:20:24 +01:00
Emmanuel Gil Peyrot
f6b222f49a jingle_ibb: Strengthen sid’s type safety. 2017-06-25 22:15:18 +01:00
Emmanuel Gil Peyrot
a219501fed jingle, jingle_ft: Use the new generate_id! macro to simplify Sid/Cid generation. 2017-06-25 22:14:51 +01:00
Emmanuel Gil Peyrot
95a19b4bb4 lib: Implement a generate_id! macro. 2017-06-25 22:14:21 +01:00
Emmanuel Gil Peyrot
3ea0c45337 jingle_s5b: Strengthen type safety for ids. 2017-06-25 21:38:58 +01:00
Emmanuel Gil Peyrot
f428ee070d Add an IBR parser. 2017-06-25 21:03:48 +01:00