Commit graph

1847 commits

Author SHA1 Message Date
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
08ba164073 roster: Add a test for empty name == no name. 2017-05-29 03:42:11 +01:00
Emmanuel Gil Peyrot
7395e4b88f roster: Make an empty name be None instead.
RFC 6121 §2.4.1:
“Implementation Note: Including an empty 'name' attribute is equivalent
to including no 'name' attribute; both actions set the name to the
empty string.”
2017-05-29 03:40:34 +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
073e208f06 iq: Wire up Roster. 2017-05-28 17:12:46 +01:00
Emmanuel Gil Peyrot
9eb8f39a38 presence: Make Show handle the None case, and rename PresenceType to Type. 2017-05-28 17:10:12 +01:00
Emmanuel Gil Peyrot
32bfa84551 presence: Rename Available to None, since that’s what it is. 2017-05-28 16:33:43 +01:00
Emmanuel Gil Peyrot
aae435c4d9 Add a roster parser/serialiser. 2017-05-28 16:30:43 +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
Emmanuel Gil Peyrot
28eb4ff4ea Added tag v0.4.0 for changeset cca02eef486e 2017-05-28 01:49:05 +01:00
Emmanuel Gil Peyrot
fcfe1888e2 Release version 0.4.0. 2017-05-28 01:48:03 +01:00
Emmanuel Gil Peyrot
07fbc0adf1 ChangeLog: Add version 0.4.0. 2017-05-28 01:47:32 +01:00
Emmanuel Gil Peyrot
ee34bc1a86 jingle_s5b: Remove unused .to_owned() during serialisation. 2017-05-28 01:47:12 +01:00
lumi
d6a9e6e9ea implement ToAttributeValue on integral types, bump version 2017-05-28 00:25:57 +02:00
Emmanuel Gil Peyrot
6794b34714 Cargo.toml: Update minidom to 0.4.3 to use its new IntoAttributeValue implementation on numbers. 2017-05-27 23:18:15 +01:00
lumi
4166751828 bump version to 0.4.2 2017-05-28 00:02:26 +02:00
lumi
28d17381c6 Merge branch 'u32-u16-u8' into 'master'
Implement IntoAttributeValue for u32, u16 and u8

See merge request !10
2017-05-27 22:00:54 +00:00
Emmanuel Gil Peyrot
638866fa4c implement IntoAttributeValue for u32, u16 and u8 2017-05-27 22:56:17 +01:00
lumi
8f4361c8b1 Merge branch 'usize' into 'master'
Implement IntoAttributeValue for usize

See merge request !9
2017-05-27 21:53:23 +00: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
d63c7b991d implement IntoAttributeValue for usize 2017-05-27 22:45:22 +01:00
Emmanuel Gil Peyrot
a8c64e1d4a fix some propagation issues 2017-05-27 22:44:59 +01:00
lumi
ec31c2b4a3 make CI work, hopefully 2017-05-27 21:37:37 +00: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
abaf16079c add linkmauve to authors, bump version to 0.2.1 2017-05-27 23:18:46 +02:00
lumi
83b0d6fa94 Merge branch 'hash' into 'master'
Implement the Hash trait on Jid

See merge request !3
2017-05-27 21:14:23 +00:00
Emmanuel Gil Peyrot
8e1d5e7983 disco: Make xml:lang a proper Option and rename it to lang. 2017-05-27 22:10:00 +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
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