Commit graph

111 commits

Author SHA1 Message Date
Maxime Buquet
8c4bb1b810 Revert "Merge branch 'update-deps' into 'master'"
This reverts merge request !32
2017-12-31 13:56:17 +00:00
Maxime “pep” Buquet
2fb540f85b component: Fix attributes parsing; thanks Link Mauve 2017-12-28 16:54:43 +01:00
Maxime “pep” Buquet
5f9d91140d transport, component, connection: Do not use unneeded return values 2017-12-28 16:54:43 +01:00
Maxime “pep” Buquet
690e83725c connection: Unneeded return value 2017-12-28 16:54:43 +01:00
Maxime “pep” Buquet
06fd0a354a client: Adapt to quickxml 2017-12-28 16:54:43 +01:00
Maxime “pep” Buquet
44a03c37d5 component: Remove duplicate call to read_event 2017-12-28 16:54:43 +01:00
Maxime “pep” Buquet
37148b9097 transport: Adapt to quick_xml. Thanks eijebong. 2017-12-28 16:54:43 +01:00
Maxime “pep” Buquet
4b322cc62b connection: Adapt C2S and Component2S impl for quickxml; Thanks eijebong 2017-12-28 16:54:43 +01:00
Maxime “pep” Buquet
5e5086e2ef plugins/roster: Subscription is now an enum 2017-12-28 16:54:37 +01:00
Maxime “pep” Buquet
5e58956408 Replace xml-rs bits by quickxml in Error 2017-12-28 16:53:13 +01:00
Maxime “pep” Buquet
99a4ad5cac Use quick_xml crate instead of xml 2017-12-28 16:53:13 +01:00
Maxime “pep” Buquet
1a9a100bdc plugins/ibb: IBB enum not available in the parser anymore 2017-12-28 16:53:13 +01:00
Maxime “pep” Buquet
1a8ea2e383 plugins/messaging: Body, Thread, Subject are now structs 2017-12-28 16:53:13 +01:00
Maxime “pep” Buquet
5508f5b388 plugins/messaging: Receipt doesn't exist anymore 2017-12-28 16:53:03 +01:00
Emmanuel Gil Peyrot
ba8c86620a update to xmpp-parsers 0.7.0 2017-07-23 18:59:41 +01:00
Maxime “pep” Buquet
ac732f1b92 listen for Presence and return MucPresence 2017-06-29 13:53:17 +01:00
Maxime “pep” Buquet
e953a03dda Basic MUC plugin 2017-06-29 13:39:03 +01:00
Maxime “pep” Buquet
82bb3089e1 Remove debug println in transport.rs 2017-06-12 22:22:43 +01:00
Emmanuel Gil Peyrot
0fbe09ad59 add a plugin to query and cache caps 2017-06-11 19:36:55 +01:00
Emmanuel Gil Peyrot
1b21ebc6b0 add a disco result event to the disco plugin 2017-06-11 19:36:35 +01:00
Emmanuel Gil Peyrot
afaea3486b make stanza_debug print the time 2017-06-11 15:32:42 +01:00
Emmanuel Gil Peyrot
b7dc5bd9ea always give the correct from JID in messaging 2017-06-11 15:27:05 +01:00
Emmanuel Gil Peyrot
66bc970d90 add a roster plugin 2017-06-11 15:18:45 +01:00
Emmanuel Gil Peyrot
0d7074eb6e update the presence plugin to match xmpp-parsers 0.5.0 2017-06-11 15:03:10 +01:00
Emmanuel Gil Peyrot
785f717f91 make use of the gen_id() method in relevant plugins 2017-05-29 04:51:01 +01:00
Emmanuel Gil Peyrot
8839c4eea8 add a gen_id method for plugins to generate ids 2017-05-29 04:47:44 +01:00
Emmanuel Gil Peyrot
b09eb078f4 add a get_own_jid method to plugins 2017-05-29 03:14:26 +01:00
Emmanuel Gil Peyrot
4871ec668d make IbbPlugin add its feature to DiscoPlugin 2017-05-28 02:39:54 +01:00
Emmanuel Gil Peyrot
4c937ccfc0 make PingPlugin add its feature to DiscoPlugin 2017-05-28 02:39:54 +01:00
Emmanuel Gil Peyrot
990519f7b6 add a disco plugin 2017-05-28 02:39:54 +01:00
Emmanuel Gil Peyrot
6c073aca3c rewrite the messaging plugin 2017-05-28 02:27:31 +01:00
Emmanuel Gil Peyrot
a8c64e1d4a fix some propagation issues 2017-05-27 22:44:59 +01:00
Emmanuel Gil Peyrot
070252bde3 remove unused stanza_error implementation 2017-05-27 22:24:16 +01:00
Emmanuel Gil Peyrot
1378ca3724 add an ibb plugin 2017-05-27 22:24:16 +01:00
Emmanuel Gil Peyrot
32380fe5a3 add an unhandled iq plugin 2017-05-27 21:20:17 +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
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
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
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
Maxime “pep” Buquet
2ee23c1c05 Adapt new event system for component 2017-05-25 00:28:07 +01:00
Emmanuel Gil Peyrot
9488c6fe12 add xmpp-parsers dependency, and use it in the stanza plugin 2017-05-24 00:40:45 +01:00
lumi
917b14b5d2 implement the new event system, things are still really messy 2017-05-10 00:17:34 +02:00