Commit graph

68 commits

Author SHA1 Message Date
Matthew Wild
91c5e89d5f Close 'tls' branch 2013-05-01 13:54:44 +01:00
Matthew Wild
0c9336110d Working TLS! 2008-10-05 19:10:21 +01:00
Matthew Wild
ab40a27df1 TLS: Handshake works, no data after that 2008-10-05 17:33:38 +01:00
Matthew Wild
11883a5b0b Convert spaces->tabs 2008-10-05 02:48:39 +01:00
Matthew Wild
70be78c6b4 mod_InBandRegistration -> mod_register 2008-10-05 01:39:49 +01:00
Matthew Wild
84219ab443 Merged mod_InBandRegistration from waqas 2008-10-05 01:32:43 +01:00
Matthew Wild
c64b4c069e Docs 2008-10-05 01:31:27 +01:00
Waqas Hussain
9536785929 User registration, etc (jabber:iq:register) 2008-10-05 04:55:45 +05:00
Matthew Wild
8682a776e3 Merge from waqas 2008-10-04 19:24:43 +01:00
Matthew Wild
5239107016 Fix setting resource before we even know what it is 2008-10-04 17:59:32 +01:00
Waqas Hussain
0e013c0d63 Removed unused functions 2008-10-04 19:51:59 +05:00
Matthew Wild
8200def62a Merge docs from waqas 2008-10-04 15:35:28 +01:00
Waqas Hussain
f2a5d6b378 Some notes of the stanza and session structures 2008-10-04 19:32:02 +05:00
Matthew Wild
c322f6c019 DEPENDS updated by waqas 2008-10-04 15:26:36 +01:00
Matthew Wild
88af2ea6e9 Session destruction fixes, some debugging code while we fix the rest. Also change logger to be more useful. 2008-10-04 15:25:54 +01:00
Matthew Wild
762a906e36 Fix for destruction of unauthed SASL sessions 2008-10-04 15:24:52 +01:00
Waqas Hussain
b0c007ee60 Added lbase64 to the dependency list 2008-10-04 18:54:09 +05:00
Matthew Wild
3bac5046af Fix for using wrong auth token as username (fixes Gajim login) 2008-10-04 14:36:03 +01:00
Matthew Wild
0f8ba47525 New "import" module to help tidy up all the local declarations at the top of modules 2008-10-04 02:43:23 +01:00
Matthew Wild
459665b368 Use xmlns for matching auth tag too 2008-10-04 02:42:23 +01:00
Matthew Wild
30f0f7372b Fix stanza handlers to use xmlns also for matching 2008-10-04 02:40:47 +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
f6924a64c0 Add "uuid" library and make sessionmanager use this.
...and yes, the uuid generation needs work :P
2008-10-04 02:12:54 +01:00
Matthew Wild
8d8cdb8574 Reply to unhandled iq's with service-unavailable 2008-10-04 02:10:14 +01:00
Matthew Wild
9d19964c82 Small fixes 2008-10-04 02:09:46 +01:00
Matthew Wild
c0f3a8153a An oops in sessionmanager stream:features code :) 2008-10-03 22:21:01 +01:00
Matthew Wild
6c2578d43b Move stream opening handling from xmlhandlers to sessionmanager 2008-10-03 22:18:08 +01:00
Matthew Wild
4ac420e3b0 Add support for arbitrary events and event hooks 2008-10-03 22:17:20 +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
f1cc4eb60f Removed unused functions from main.lua 2008-10-02 00:00:35 +01:00
Matthew Wild
daf001eded Moved hosts to a config file, still need better config though 2008-10-01 22:11:28 +01:00
Waqas Hussain
a5d524e2dd Removed tag tip 2008-10-01 18:51:28 +05:00
Waqas Hussain
dc52dac158 Fixed: Session data was never removed from sessions list 2008-10-01 18:47:07 +05:00
Matthew Wild
c0f26c28d0 Let modules set/write globals 2008-10-01 01:18:19 +01:00
Matthew Wild
298bb340b2 Fix quoting in util/sasl.lua 2008-09-30 21:35:39 +01:00
Matthew Wild
55e1d561e7 Remove now useless debug output 2008-09-30 21:20:55 +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
Matthew Wild
733c39e3da jid.split(): Return nil when passed nil 2008-09-30 19:49:36 +01:00
Matthew Wild
eabe25e8a4 Adding initial unit testing scripts 2008-09-27 19:18:05 +01:00
Matthew Wild
58d1a65408 Fixing jid.split() for all JIDs 2008-09-27 19:17:40 +01:00
Matthew Wild
f81b3a5d1f Merged Paul's branch 2008-09-17 21:33:05 +01:00
bt
a8530586f5 Grrr! Don't use KDE apps to view this repo! 2008-09-17 23:30:48 +03:00
bt
facfe9608a Removed ~ files 2008-09-17 23:26:48 +03:00
bt
2e735c5b6c Some docs written by Thorns. Need reviewing. 2008-09-17 22:20:08 +03:00
Matthew Wild
5e38a58420 Various documentation updates, and added names.txt :) 2008-09-03 02:24:28 +01:00
Matthew Wild
8af81638a0 Updated stanza routing doc 2008-08-27 03:16:14 +01:00
Matthew Wild
42051336dc Remove some debugging messages
Connection now closed on error
Removed version='1.0' to keep it working with non-SASL
2008-08-26 16:57:00 +01:00
Matthew Wild
3c5654cfc8 Merged in Tobias's SASL lib 2008-08-26 13:15:06 +01:00
Matthew Wild
5f1085df7e Beginning of new routing logic 2008-08-26 13:14:43 +01:00