Commit graph

134 commits

Author SHA1 Message Date
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
lumi
51616ae1a5 Merge branch 'base64' into 'master'
Bump base64

See merge request !25
2017-06-11 14:54:34 +00:00
Emmanuel Gil Peyrot
8ee73e3a31 bump base64, improves performances and reduces unsafe code 2017-06-11 15:49:45 +01:00
lumi
a5f87494c2 Merge branch 'stanza-debug' into 'master'
Enable stanza_debug automatically when STANZA_DEBUG is set in the env

See merge request !21
2017-06-11 14:49:21 +00:00
Emmanuel Gil Peyrot
313e7a1770 add stanza_debug to client example when STANZA_DEBUG is in the env 2017-06-11 15:43:42 +01:00
lumi
264e58b1bf Merge branch 'stanza-debug-time' into 'master'
Make stanza_debug print the time

See merge request !23
2017-06-11 14:43:14 +00:00
Emmanuel Gil Peyrot
afaea3486b make stanza_debug print the time 2017-06-11 15:32:42 +01:00
lumi
cdc968a70b Merge branch 'messaging-from' into 'master'
Always give the correct from JID in messaging

See merge request !24
2017-06-11 14:31:48 +00:00
Emmanuel Gil Peyrot
b7dc5bd9ea always give the correct from JID in messaging 2017-06-11 15:27:05 +01:00
lumi
3331ba8f62 Merge branch 'roster' into 'master'
Add a roster plugin

See merge request !18
2017-06-11 14:25:20 +00:00
Emmanuel Gil Peyrot
66bc970d90 add a roster plugin 2017-06-11 15:18:45 +01:00
lumi
04a3afb621 Merge branch 'presence' into 'master'
update the presence plugin to match xmpp-parsers 0.5.0

See merge request !22
2017-06-11 14:09:30 +00:00
Emmanuel Gil Peyrot
0d7074eb6e update the presence plugin to match xmpp-parsers 0.5.0 2017-06-11 15:03:10 +01:00
lumi
4be13c1c01 Merge branch 'gen_id' into 'master'
Add a gen_id method for plugins to generate ids

See merge request !19
2017-05-29 03:59:13 +00: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
lumi
6421899c29 Merge branch 'get_own_jid' into 'master'
Add a get_own_jid method to plugins

See merge request !17
2017-05-29 02:54:00 +00:00
Emmanuel Gil Peyrot
b09eb078f4 add a get_own_jid method to plugins 2017-05-29 03:14:26 +01:00
lumi
f10080cba5 Merge branch 'disco' into 'master'
Add a disco plugin

See merge request !11
2017-05-28 01:47:00 +00: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
lumi
976a3d2eb8 Merge branch 'messaging' into 'master'
Rewrite the messaging plugin

See merge request !14
2017-05-28 01:38:57 +00:00
Emmanuel Gil Peyrot
6c073aca3c rewrite the messaging plugin 2017-05-28 02:27:31 +01:00
lumi
1b2e4aca21 Merge branch 'update-xmpp-parsers' into 'master'
Update xmpp-parsers, needed by pending PRs

See merge request !16
2017-05-28 01:25:55 +00:00
Emmanuel Gil Peyrot
d4c118bad9 update xmpp-parsers, needed by pending PRs 2017-05-28 01:50:08 +01:00
lumi
8ba7a332c1 Merge branch 'propagation' into 'master'
Fix some propagation issues

See merge request !15
2017-05-27 21:51:58 +00:00
Emmanuel Gil Peyrot
a8c64e1d4a fix some propagation issues 2017-05-27 22:44:59 +01:00
lumi
cbff1a7e9b Merge branch 'ibb' into 'master'
Add an IBB plugin, implementing XEP-0047

See merge request !12
2017-05-27 21:32:01 +00:00
Emmanuel Gil Peyrot
b6408f77ca add myself to the authors 2017-05-27 22:24:16 +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
64c8027936 bump jid dependency to 0.2.1, which implements Hash on Jid 2017-05-27 22:24:16 +01:00
lumi
f671ddd334 Merge branch 'unhandled-iq' into 'master'
Add an unhandled iq plugin

See merge request !13
2017-05-27 20:36:58 +00: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
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