session:disconnect() -> session:close() for consistency with other Lua APIs
|
Matthew Wild |
Tue, 18 Nov 2008 19:44:54 +0000 |
Remove useless check for unavailable presence (which never exists)
|
Matthew Wild |
Tue, 18 Nov 2008 19:40:04 +0000 |
Quite some changes, to:
|
Matthew Wild |
Tue, 18 Nov 2008 17:52:33 +0000 |
s2s sessions can now be disconnected, with or without a stream error. Fixes #8
|
Matthew Wild |
Tue, 18 Nov 2008 14:42:45 +0000 |
Allow us to close client connections, with or without a stream error. Partially fixes #8, we still need the same for s2s (though it should be almost a straight copy of the code, I'm too tired atm)
|
Matthew Wild |
Tue, 18 Nov 2008 05:13:29 +0000 |
Flush write queue before closing socket
|
Matthew Wild |
Tue, 18 Nov 2008 05:06:50 +0000 |
Fixed s2s manager's send queue to not store recieved stanza objects (as these can chnage after the send call)
|
Waqas Hussain |
Mon, 17 Nov 2008 18:53:13 +0500 |
Send unsubscribe and unsubscribed on roster item delete, and broadcast available resources' presence in reply to pre-approved subscription request
|
Waqas Hussain |
Mon, 17 Nov 2008 13:51:47 +0500 |
Adding logging for outbound presence broadcasts (changed it a bit)
|
Waqas Hussain |
Mon, 17 Nov 2008 12:27:02 +0500 |
Adding logging for outbound presence broadcasts
|
Waqas Hussain |
Mon, 17 Nov 2008 12:21:21 +0500 |
Second fix for broadcasting presence of available resources to newly approved contact
|
Waqas Hussain |
Mon, 17 Nov 2008 11:28:09 +0500 |
Fix for broadcasting presence of available resources to newly approved contact
|
Waqas Hussain |
Mon, 17 Nov 2008 10:24:47 +0500 |
Moved presence subscription code from stanza_router to presencemanager
|
Waqas Hussain |
Mon, 17 Nov 2008 10:15:04 +0500 |
Merge with waqas
|
Matthew Wild |
Sun, 16 Nov 2008 00:30:13 +0000 |
Fix for putting TLS in stream:features for connections already using TLS. Thanks to albert for spotting.
|
Matthew Wild |
Sun, 16 Nov 2008 00:29:15 +0000 |
Fix logging in some cases for client disconnects
|
Matthew Wild |
Sun, 16 Nov 2008 00:27:40 +0000 |
Removed unused function send_to_session from sessionmanager (send_to_session replaced by session.send)
|
Waqas Hussain |
Sun, 16 Nov 2008 05:06:38 +0500 |
Fixed mod_tls to use session.send for sending stanzas
|
Waqas Hussain |
Sun, 16 Nov 2008 05:03:21 +0500 |
Fixed servermanager to use session.send for sending stanzas
|
Waqas Hussain |
Sun, 16 Nov 2008 05:02:15 +0500 |
Removed useless [[local send = require "core.sessionmanager".send_to_session]] from mod_uptime and mod_version
|
Waqas Hussain |
Sun, 16 Nov 2008 04:52:11 +0500 |
Fixed mod_saslauth to use session.send for sending stanzas
|
Waqas Hussain |
Sun, 16 Nov 2008 04:47:34 +0500 |
Fixed sessionmanager to not send session in place of stream features...
|
Waqas Hussain |
Sun, 16 Nov 2008 04:45:31 +0500 |
Fixed mod_register to use session.send for sending stanzas
|
Waqas Hussain |
Sun, 16 Nov 2008 04:42:03 +0500 |
Fixed mod_private to use session.send for sending stanzas
|
Waqas Hussain |
Sun, 16 Nov 2008 04:39:48 +0500 |
Fixed sessionmanager to use appropriate method for sending stream features
|
Waqas Hussain |
Sun, 16 Nov 2008 04:37:54 +0500 |
Fixed mod_legacyauth to use session.send for sending stanzas
|
Waqas Hussain |
Sun, 16 Nov 2008 04:36:34 +0500 |
Fix mod_vcard to use session.send for sending stanzas
|
Waqas Hussain |
Sun, 16 Nov 2008 04:28:37 +0500 |
Merge with myself (!)
|
Matthew Wild |
Sat, 15 Nov 2008 23:22:27 +0000 |
Merge from waqas
|
Matthew Wild |
Sat, 15 Nov 2008 22:29:24 +0000 |
Code cleanup for resource binding
|
Waqas Hussain |
Sun, 16 Nov 2008 03:16:53 +0500 |
Unused variables in mod_tls
|
Waqas Hussain |
Sun, 16 Nov 2008 02:52:54 +0500 |
You can never have too many tests
|
Matthew Wild |
Sat, 15 Nov 2008 23:14:32 +0000 |
Warn when subtest function does not exist
|
Matthew Wild |
Sat, 15 Nov 2008 23:11:17 +0000 |
If iq child element has no xmlns, use parent's
|
Matthew Wild |
Sat, 15 Nov 2008 23:10:41 +0000 |
Fix mod_roster to use session.send for sending stanzas
|
Matthew Wild |
Sat, 15 Nov 2008 23:09:08 +0000 |
Small fix for mod_version
|
Matthew Wild |
Sat, 15 Nov 2008 22:07:31 +0000 |
Providing some human readable error messages and some fixes.
|
Tobias Markmann |
Sat, 15 Nov 2008 22:36:22 +0100 |
Using md5.sum rather than hashes.md5 because we don't want hexadecimal
|
Waqas Hussain |
Sun, 16 Nov 2008 02:28:32 +0500 |
mod_saslauth: Code cleanup
|
Waqas Hussain |
Sun, 16 Nov 2008 02:27:22 +0500 |
Made SASL module fit the new interface.
|
Tobias Markmann |
Sat, 15 Nov 2008 22:30:09 +0100 |
base64 encode the sasl responses
|
Waqas Hussain |
Sun, 16 Nov 2008 02:10:01 +0500 |
Started using realm in password hashing, and added support for error message replies from sasl
|
Waqas Hussain |
Sun, 16 Nov 2008 01:54:14 +0500 |
Comment out DIGEST-MD5 until it is fully implemented
|
Matthew Wild |
Sat, 15 Nov 2008 19:50:22 +0000 |
Merge new SASL code from Tobias and Waqas
|
Matthew Wild |
Sat, 15 Nov 2008 19:44:09 +0000 |
Merging with Waqas' code.
|
Tobias Markmann |
Sat, 15 Nov 2008 20:28:49 +0100 |
Set username in a SASL object.
|
Tobias Markmann |
Sat, 15 Nov 2008 20:28:09 +0100 |
Set username on SASL success
|
Waqas Hussain |
Sun, 16 Nov 2008 00:25:28 +0500 |
Merge with Waqas changes to mod_saslauth.
|
Tobias Markmann |
Sat, 15 Nov 2008 19:25:51 +0100 |
Made PLAIN method in sasl.lua module follow new interface.
|
Tobias Markmann |
Sat, 15 Nov 2008 19:23:55 +0100 |
mod_saslauth: Added base64 decoding, encoding check, and cleaned the code up.
|
Waqas Hussain |
Sat, 15 Nov 2008 23:20:07 +0500 |
Adding some TODO for some security issue.
|
Tobias Markmann |
Sat, 15 Nov 2008 19:12:05 +0100 |
Merging my new SASL code with Waqas' adjusted saslauth module.
|
Tobias Markmann |
Sat, 15 Nov 2008 13:47:17 +0100 |
mod_saslauth updated for digest-md5
|
Waqas Hussain |
Sat, 15 Nov 2008 12:21:04 +0500 |
Rewrote SASL Digest-MD5 responce generating code, fixed some realm related issue and tested it successfully with Psi. Thanks to dwd, remko and jake.
|
Tobias Markmann |
Wed, 12 Nov 2008 21:38:46 +0100 |
Merging.
|
Tobias Markmann |
Mon, 10 Nov 2008 16:29:19 +0100 |
Forward response stanzas to sasl.lua and some other stuff.
|
Tobias Markmann |
Mon, 10 Nov 2008 16:28:15 +0100 |
Fixing some parsing and some other stuff.
|
Tobias Markmann |
Sun, 09 Nov 2008 22:45:17 +0100 |
Some early attempts on DIGEST-MD5.
|
Tobias Markmann |
Sun, 09 Nov 2008 21:16:57 +0100 |
Fix logging of disconnect reason, and also sending of unavailable presence on disconnect
|
Matthew Wild |
Sat, 15 Nov 2008 19:32:58 +0000 |
Fix routing of outbound iq stanzas
|
Matthew Wild |
Sat, 15 Nov 2008 19:13:28 +0000 |
Add tests for core.stanza_router
|
Matthew Wild |
Sat, 15 Nov 2008 19:12:23 +0000 |
Add new logger for tests to use
|
Matthew Wild |
Sat, 15 Nov 2008 19:11:38 +0000 |
Some fixes for our test runner
|
Matthew Wild |
Sat, 15 Nov 2008 19:05:01 +0000 |
Return registered host table when registering a component
|
Matthew Wild |
Sat, 15 Nov 2008 04:28:41 +0000 |
Log how many queued stanzas we send
|
Waqas Hussain |
Sat, 15 Nov 2008 08:38:25 +0500 |
Merge from waqas
|
Matthew Wild |
Sat, 15 Nov 2008 00:35:09 +0000 |
Some bugs fixed
|
Waqas Hussain |
Sat, 15 Nov 2008 05:33:14 +0500 |
Update hostname for identi.ca
|
Matthew Wild |
Fri, 14 Nov 2008 20:30:24 +0000 |
Remove some old unused (and empty) functions from s2smanager
|
Matthew Wild |
Fri, 14 Nov 2008 18:54:19 +0000 |
Only reply with errors if the stanza is not an error or a result (don't know how much bandwidth this just cost me :) )
|
Matthew Wild |
Fri, 14 Nov 2008 18:46:00 +0000 |
Update rostermanager to use new logger
|
Matthew Wild |
Fri, 14 Nov 2008 17:37:45 +0000 |
A treat for Linux users ;)
|
Matthew Wild |
Fri, 14 Nov 2008 16:03:33 +0000 |
Fix outgoing s2s from components. Fixes #16
|
Matthew Wild |
Fri, 14 Nov 2008 14:26:56 +0000 |
Now outgoing s2s sessions are associated with their from_host, fixes #15
|
Matthew Wild |
Fri, 14 Nov 2008 02:54:56 +0000 |
Some more logging fixes
|
Matthew Wild |
Fri, 14 Nov 2008 02:41:37 +0000 |
Yep, s2s definitely works now. This is just a small fix for logging...
|
Matthew Wild |
Fri, 14 Nov 2008 02:38:41 +0000 |
I knew it ;) Fix sending error replies over s2s (though we shouldn't be error'ing on stream:features anyway)
|
Matthew Wild |
Fri, 14 Nov 2008 02:33:20 +0000 |
Print out the stanza also
|
Matthew Wild |
Fri, 14 Nov 2008 02:23:43 +0000 |
Fix for detecting when we are routing a stanza to ourself (I'm sure this has something to do with you, waqas...)
|
Matthew Wild |
Fri, 14 Nov 2008 02:20:46 +0000 |
Another small fix, for logging in s2smanager
|
Matthew Wild |
Fri, 14 Nov 2008 02:12:08 +0000 |
Another small fix, for logging in s2smanager
|
Matthew Wild |
Fri, 14 Nov 2008 02:09:20 +0000 |
Mmm, s2s fixed :)
|
Matthew Wild |
Fri, 14 Nov 2008 02:06:17 +0000 |
Merge from waqas
|
Matthew Wild |
Thu, 13 Nov 2008 16:58:29 +0000 |
Added error replies for unhandled stanzas
|
Waqas Hussain |
Thu, 13 Nov 2008 19:14:31 +0500 |
Added basic offline message support
|
Waqas Hussain |
Thu, 13 Nov 2008 12:13:13 +0500 |
Added util.datetime: Utility methods to support XEP-0082: XMPP Date and Time Profiles
|
Waqas Hussain |
Thu, 13 Nov 2008 12:12:19 +0500 |
Added support for storing (and removing), loading and appending to lists of data to datamanager (for supporting offline messages)
|
Waqas Hussain |
Thu, 13 Nov 2008 12:10:42 +0500 |
Fixed stanza deserialization
|
Waqas Hussain |
Thu, 13 Nov 2008 12:07:53 +0500 |
Add support for remote debugger
|
Matthew Wild |
Thu, 13 Nov 2008 16:47:16 +0000 |
Missed importing a function in last commit
|
Matthew Wild |
Thu, 13 Nov 2008 03:56:22 +0000 |
Change sending reply stream header to use top_tag()
|
Matthew Wild |
Thu, 13 Nov 2008 03:48:20 +0000 |
Add new top_tag() method to stanzas
|
Matthew Wild |
Thu, 13 Nov 2008 03:47:44 +0000 |
Some s2s fixes. Now connect() does not block, and stanzas are not lost when connection is slow
|
Matthew Wild |
Wed, 12 Nov 2008 19:26:08 +0000 |
Renamed some of the variables in jid.split test to make it clearer
|
Matthew Wild |
Mon, 10 Nov 2008 00:00:46 +0000 |
Fix jid.split test function
|
Matthew Wild |
Sun, 09 Nov 2008 23:58:19 +0000 |
Merge from waqas
|
Matthew Wild |
Sun, 09 Nov 2008 23:54:54 +0000 |
Fixed typo
|
Waqas Hussain |
Mon, 10 Nov 2008 04:53:42 +0500 |
Merge from waqas
|
Matthew Wild |
Sun, 09 Nov 2008 21:48:01 +0000 |
Added mod_uptime: [XEP-0012: Last Activity] queries now work when directed at the server.
|
Waqas Hussain |
Mon, 10 Nov 2008 01:33:37 +0500 |
Hack to allow s2s stanzas to work until we do proper namespace handling
|
Waqas Hussain |
Mon, 10 Nov 2008 01:30:52 +0500 |
Move some code about so that we don't leave connections hanging if they hit the connection timeout
|
Matthew Wild |
Sun, 09 Nov 2008 21:46:42 +0000 |
Actually show error and position when we show a traceback :)
|
Matthew Wild |
Sun, 09 Nov 2008 20:15:31 +0000 |
Prevent slow connects for s2s from blocking for so long
|
Matthew Wild |
Sun, 09 Nov 2008 20:14:58 +0000 |
We don't fail if modules fail to load at startup :)
|
Waqas Hussain |
Sun, 09 Nov 2008 05:24:47 +0500 |
We now fail if modules fail to load at startup.
|
Waqas Hussain |
Sun, 09 Nov 2008 04:26:25 +0500 |
Updated usermanager with DIGEST-MD5 support
|
Waqas Hussain |
Sun, 09 Nov 2008 03:33:38 +0500 |
Fix some very misleading logging
|
Matthew Wild |
Sat, 08 Nov 2008 20:44:32 +0000 |
Committing code to get nicer tracebacks for errors, also we no longer consider such errors fatal (probably a bad thing, I know...)
|
Matthew Wild |
Sat, 08 Nov 2008 20:42:23 +0000 |
Just committing this warning, because I want to know if the problem really affects us
|
Matthew Wild |
Sat, 08 Nov 2008 20:39:08 +0000 |
Add host field to local host sessions
|
Matthew Wild |
Sat, 08 Nov 2008 20:32:30 +0000 |
Merge from waqas
|
Matthew Wild |
Sat, 08 Nov 2008 00:17:00 +0000 |
Redirecting all stanzas not from origin of type s2sin and c2s to core_handle_stanza
|
Waqas Hussain |
Sat, 08 Nov 2008 05:06:22 +0500 |
Shortened log output for incoming stanzas and an added check.
|
Waqas Hussain |
Fri, 07 Nov 2008 02:38:44 +0500 |
Fix for checking components, but we need to look at this whole block to optimise it, really we do
|
Matthew Wild |
Sat, 08 Nov 2008 00:10:01 +0000 |
Fixed some whitespace.
|
Waqas Hussain |
Thu, 06 Nov 2008 16:57:10 +0500 |
Reworked the way lxmppd.cfg is used
|
Waqas Hussain |
Thu, 06 Nov 2008 16:52:39 +0500 |
Re-applying my changes to componentmanager. Sigh.
|
Matthew Wild |
Tue, 04 Nov 2008 22:50:32 +0000 |
Adding component support. Again...
|
Waqas Hussain |
Wed, 05 Nov 2008 03:47:22 +0500 |
/me glares at waqas for messing up the repo
|
Matthew Wild |
Tue, 04 Nov 2008 22:42:06 +0000 |
/me glares at MattJ
|
Waqas Hussain |
Wed, 05 Nov 2008 03:06:05 +0500 |