Commit graph

13739 commits

Author SHA1 Message Date
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
Tobias Markmann
53b44292cb module table was missing 2008-08-26 14:11:52 +02:00
Tobias Markmann
0b6ee8b38a * missing base64 decode of SASL response 2008-08-26 01:01:13 +02:00
Tobias Markmann
a7012d4923 adding SASL lib with PLAIN support, not tested yet 2008-08-26 00:57:46 +02:00
Matthew Wild
f2dc5a554f Added tests/ folder 2008-08-25 22:19:47 +01:00
Matthew Wild
ba94e9cd6c Coding style doc, HACKERS file 2008-08-25 22:06:47 +01:00
Matthew Wild
0dadc00f7e Moved server module to net/
also added note on licensing of that module
2008-08-25 16:46:05 +01:00
Matthew Wild
6e36f98b3c Remove redundant comments 2008-08-25 02:10:50 +01:00
Tobias Markmann
459c95377d renaming _ to sock to improve readability 2008-08-25 00:35:54 +02:00
Tobias Markmann
916f6b6b3a remaned _ to sock to improve readability 2008-08-25 00:33:16 +02:00
Matthew Wild
65e8f21936 added LICENSE file 2008-08-24 22:51:01 +01:00
Matthew Wild
1a138d2e57 - Remove some debugging code
- Don't allow stanzas to be sent before successful auth (needs further review)
- Make init_xmlhandlers local
- Fix indentation in main.lua
- Fix disconnect logic (it broke if client disconnected before auth, etc.)
2008-08-24 22:48:27 +01:00
matthew
25f82f43ad Merged 2 heads o_O 2008-08-24 18:08:04 +01:00
matthew
5ea14b6295 Added all the files to please hg :/ 2008-08-24 18:01:20 +01:00
matthew
dfe21804fe Presence unavailable on disconnect 2008-08-24 14:52:02 +00:00
matthew
86ea5e7911 "Shared roster" - well, kind of :)
+ TODO
2008-08-24 13:29:01 +00:00
matthew
b7e9b10cce Working presence! 2008-08-24 04:34:01 +00:00
matthew
78739d9638 Switched to new connection framework, courtesy of the luadch project
Now supports SSL on 5223
Beginning support for presence (aka. the proper routing of stanzas)
2008-08-24 01:51:02 +00:00
matthew
d0a4f8f2fb First commit, where do you want to go tomorrow? 2008-08-22 21:09:04 +00:00