Commit graph

21 commits

Author SHA1 Message Date
Matthew Wild
59dd4ed3cd TLS/SASL no longer should include the connhandler module 2008-10-23 03:53:51 +01:00
Matthew Wild
e92bd250d1 Merge roster & presence from waqas 2008-10-22 23:12:26 +01:00
Waqas Hussain
6701f399ad Added session property for interested resources 2008-10-23 02:11:27 +05:00
Matthew Wild
ee7b432ab1 Abstract connections with "connection listeners"
- Added connlistener for xmppclient
- SASL/TLS now use a new session:reset_stream() method
- main.lua on its way to being a bit neater
2008-10-22 17:36:21 +01:00
Waqas Hussain
9595202d47 Fixed: Roster support 2008-10-22 21:20:07 +05:00
Waqas Hussain
7f7444f62b Added: More complete implementation for mod_roster 2008-10-17 22:20:03 +05:00
Waqas Hussain
bbff39858d Fixed: mod_roster now outputs all roster data (instead of just the JIDs) 2008-10-12 17:41:14 +05:00
Matthew Wild
5ec7a9c8b4 Stanza preserialize/deserialize helpers, to strip and restore stanzas respectively. Fixed mod_vcard to use these. 2008-10-09 00:50:45 +01:00
Waqas Hussain
ebf2876664 Fixed: incorrect auth check 2008-10-09 03:40:16 +05:00
Waqas Hussain
48750cfc60 Added: vCard plugin: mod_vcard 2008-10-09 02:59:57 +05:00
Waqas Hussain
c27c01b893 Added: mod_register now replies with an error stanza when file write fails 2008-10-09 02:08:33 +05:00
Waqas Hussain
99d8d3327b Removed: Unnecessary check in mod_roster. session.roster is guaranteed to be available for "c2s" session type. 2008-10-08 20:38:05 +05:00
Matthew Wild
014df9a22a forgot to commit mod_tls, oops :) 2008-10-07 23:13:30 +01:00
Matthew Wild
70be78c6b4 mod_InBandRegistration -> mod_register 2008-10-05 01:39:49 +01:00
Waqas Hussain
9536785929 User registration, etc (jabber:iq:register) 2008-10-05 04:55:45 +05:00
Matthew Wild
762a906e36 Fix for destruction of unauthed SASL sessions 2008-10-04 15:24:52 +01:00
Matthew Wild
459665b368 Use xmlns for matching auth tag too 2008-10-04 02:42:23 +01:00
Matthew Wild
fde6f6db66 Resource binding, XMPP sessions (whatever they're for...) 2008-10-04 02:15:13 +01:00
Matthew Wild
c98dd482df Small fix for sending stanzas in case of resource binding error 2008-10-04 02:14:11 +01:00
Matthew Wild
6db3d039b3 SASL!
(but before you get too excited, no resource binding yet. And yes, there are still plenty of rough edges to the code...)
((eg. must move <stream:features> out of xmlhandlers.lua o_O ))
2008-10-02 01:08:58 +01:00
Matthew Wild
a53395e6b7 Huge commit to:
* Break stanza routing (to be restored in a future commit)
* Remove the old stanza_dispatcher code, which was never going to be maintainable nor extendable :)
* Bring us plugins, starting with mod_legacyauth and mod_roster
* Sessions are now created/destroyed using a standard sessionmanager interface
2008-09-30 19:52:00 +01:00