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
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