Commit graph

1535 commits

Author SHA1 Message Date
Emmanuel Gil Peyrot
32380fe5a3 add an unhandled iq plugin 2017-05-27 21:20:17 +01:00
Emmanuel Gil Peyrot
4cca174f68 Implement the Hash trait on Jid. 2017-05-27 20:45:00 +01:00
lumi
6efc77b423 abstract plugin logic into PluginContainer 2017-05-27 20:33:56 +02:00
lumi
1b6b67b332 simplify plugin code 2017-05-27 19:40:00 +02:00
lumi
1550c52552 resolve deadlock, fix component.rs 2017-05-27 18:41:54 +02:00
lumi
b2a18f8e3e Merge branch 'stanza-debug' into 'master'
Add a stanza_debug plugin

See merge request !10
2017-05-27 16:29:05 +00:00
Emmanuel Gil Peyrot
967d3e3217 stop propagating when we are done with a stanza 2017-05-27 17:24:24 +01:00
Emmanuel Gil Peyrot
66bf10b941 add a stanza_debug plugin, printing every stanza on stdout 2017-05-27 17:22:53 +01:00
lumi
ac7c907e9f Merge branch 'master' of gitlab.com:lumi/xmpp-rs 2017-05-27 18:02:19 +02:00
lumi
11c99ec387 add register_handler to Client 2017-05-27 18:01:01 +02:00
lumi
09280ca8df Merge branch 'moar-xmpp-parsers' into 'master'
Moar xmpp-parsers

See merge request !9
2017-05-27 15:53:57 +00:00
Emmanuel Gil Peyrot
c48086bc9c rewrite the ping plugin to make it use the stanza plugin 2017-05-27 16:44:32 +01:00
Emmanuel Gil Peyrot
8e7b7ae31c simplify the presence plugin using xmpp-parsers 2017-05-27 16:37:21 +01:00
Emmanuel Gil Peyrot
ca882fd13a prevent the presence plugin from generating an illegal show element 2017-05-27 16:25:59 +01:00
Emmanuel Gil Peyrot
406dfdea98 initialise the StanzaPlugin in the client example 2017-05-27 16:25:31 +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
Emmanuel Gil Peyrot
d1a7d222f0 delay: Use chrono to parse the stamp. 2017-05-27 12:29:21 +01:00
Emmanuel Gil Peyrot
bdaced7603 caps, ecaps2: Add a function to create a Disco query from a hash. 2017-05-27 12:22:50 +01:00
Emmanuel Gil Peyrot
42235c42fb hashes: Implement From<Hash> for String. 2017-05-27 12:22:11 +01:00
Emmanuel Gil Peyrot
357568813d presence: Wire up legacy caps. 2017-05-27 12:21:32 +01:00
Emmanuel Gil Peyrot
2c77c4f701 idle: Add the chrono dependency to actually parse dates. 2017-05-27 12:20:19 +01:00
Emmanuel Gil Peyrot
dfdfd8cf71 Add a legacy caps parser and serialiser. 2017-05-25 02:34:03 +01:00
Emmanuel Gil Peyrot
764a7190e9 stanza_error: Simplify with IntoElements. 2017-05-25 01:14:36 +01:00
Emmanuel Gil Peyrot
56b7785942 delay: Remove clones. 2017-05-25 01:04:51 +01:00
Emmanuel Gil Peyrot
f08c81382c data_forms, media_element: Implement forgotten serialisation. 2017-05-25 01:00:17 +01:00
Emmanuel Gil Peyrot
b4e47e9a78 mam: Improve serialisation. 2017-05-25 00:41:13 +01:00
Emmanuel Gil Peyrot
a6b3152add hashes: Make the hash a Vec<u8>, to avoid base64 issues. 2017-05-25 00:30:29 +01:00
Emmanuel Gil Peyrot
070227ea03 eme: Remove two clones. 2017-05-25 00:30:00 +01:00
Maxime “pep” Buquet
2ee23c1c05 Adapt new event system for component 2017-05-25 00:28:07 +01:00
Emmanuel Gil Peyrot
b172a6e05c ecaps2: Remove the last clone. 2017-05-25 00:04:37 +01:00
Emmanuel Gil Peyrot
9bb65ea8fb jingle_ibb: Simplify parsing and remove clones. 2017-05-24 23:59:45 +01:00
Emmanuel Gil Peyrot
3678d9f0d3 stanza_error: Simplify attribute handling. 2017-05-24 23:56:35 +01:00
Emmanuel Gil Peyrot
898baddd3f disco: Split Into<Element> for Identity and Feature. 2017-05-24 23:47:27 +01:00
Emmanuel Gil Peyrot
17d6959606 jingle: Remove unused clones. 2017-05-24 23:38:44 +01:00
Emmanuel Gil Peyrot
9bd1e7f295 jingle_s5b: Remove the clones. 2017-05-24 23:00:38 +01:00
Emmanuel Gil Peyrot
947c49330f receipts: Parse 'id' using get_attr!(), and make it optional. 2017-05-24 22:43:21 +01:00
Emmanuel Gil Peyrot
47fc116906 media_element: Stop swallowing integer parsing errors. 2017-05-24 22:41:09 +01:00
Emmanuel Gil Peyrot
00f3f3eee6 jingle: Simplify parsing and serialisation. 2017-05-24 22:28:54 +01:00
Emmanuel Gil Peyrot
ecd98251bf rsm: Remove useless clones. 2017-05-24 21:44:35 +01:00
Emmanuel Gil Peyrot
6952f3adfc message_correct: Check for unwanted attributes. 2017-05-24 21:42:29 +01:00
Emmanuel Gil Peyrot
453a3635fd message: Remove extra clones, and simplify Into<Element>. 2017-05-24 21:40:11 +01:00
Emmanuel Gil Peyrot
8182213666 iq: Reintroduce a reference Into to get the type from the payload. 2017-05-24 21:35:09 +01:00
Emmanuel Gil Peyrot
21b92621f0 iq, message: Remove useless clone on unknown element. 2017-05-24 21:32:04 +01:00
Emmanuel Gil Peyrot
fbeeae5c64 presence: Simplify the code. 2017-05-24 21:30:33 +01:00
lumi
d0fa23f19a Merge branch 'xmpp-parsers' into 'master'
Add an xmpp-parsers dependency

See merge request !7
2017-05-23 23:54:03 +00:00
Emmanuel Gil Peyrot
9488c6fe12 add xmpp-parsers dependency, and use it in the stanza plugin 2017-05-24 00:40:45 +01:00
Emmanuel Gil Peyrot
2826f6624c update dependencies 2017-05-24 00:38:58 +01:00
Emmanuel Gil Peyrot
6f7e504c8a ChangeLog: Forgotten update for 0.3.0. 2017-05-24 00:12:16 +01:00
Emmanuel Gil Peyrot
8a46660f1b Added tag v0.3.0 for changeset 8cc7f08ce87a 2017-05-23 23:50:30 +01:00