Log

core/sessionmanager.lua @ 2580:61f0acd9086f

description author age
sessionmanager: Whitespace fix Matthew Wild Wed, 10 Feb 2010 07:53:25 +0000
sessionmanager: Added resource prepping, and invalid resource checking to the bind_resource function. Waqas Hussain Mon, 11 Jan 2010 18:59:06 +0500
core.sessionmanager, net.*_listener: Remove the evil collectgarbage() calls Matthew Wild Tue, 24 Nov 2009 20:34:22 +0000
Merged with 0.6. Waqas Hussain Sun, 22 Nov 2009 21:55:58 +0500
sessionmanager: Added function send_to_interested_resources(). Waqas Hussain Sun, 22 Nov 2009 21:41:09 +0500
sessionmanager: Fixed and cleaned function send_to_available_resources(). The 'to' attribute for presence subscription stanzas is now preserved. Waqas Hussain Sun, 22 Nov 2009 21:40:01 +0500
sessionmanager: Use : syntax for calling connection methods Matthew Wild Sat, 21 Nov 2009 17:07:22 +0000
sessionmanager: Mark client streams as opened sooner to avoid wrapping errors in unnecessary stream tags Paul Aurich Tue, 06 Oct 2009 11:15:55 +0100
sessionmanager: Use UUID for stream ids to clients, no math.random anymore :) Matthew Wild Sat, 03 Oct 2009 18:40:47 +0100
sessionmanager: Add c2s_timeout option for unauthenticated client connections Matthew Wild Sat, 03 Oct 2009 02:41:28 +0100
core.sessionmanager, xmppclient_listener: Move responsibility for setting session.log to the former from the latter, much more sensible Matthew Wild Sun, 16 Aug 2009 21:34:53 +0100
Remove version number from copyright headers Matthew Wild Fri, 10 Jul 2009 03:11:45 +0100
Moved automatic unavailable presence generation on disconnect from sessionmanager to mod_presence Waqas Hussain Sun, 05 Jul 2009 17:45:44 +0500
sessionmanager: Replace raw session by an event data table for resource bind/unbind events, allowing extra data Waqas Hussain Sun, 05 Jul 2009 16:21:58 +0500
sessionmanager: Reset bare_sessions[user] after resource conflict resolution. Fixes the other stanza gobbling bug \o/ Matthew Wild Fri, 03 Jul 2009 21:47:26 +0100
sessionmanager: Newly created sessions shouldn't have a priority. Fixes one of the stanza-gobbling bugs \o/ Matthew Wild Fri, 03 Jul 2009 21:37:09 +0100
Send xml:lang in stream headers, fixes #78 Matthew Wild Wed, 01 Jul 2009 17:53:18 +0100
sessionmanager: Fire event on resource unbind Waqas Hussain Tue, 23 Jun 2009 23:54:57 +0500
sessionmanager: Fire event on resource bind Matthew Wild Mon, 22 Jun 2009 02:58:28 +0100
sessionmanager: It really is username@host, not host@username :) Waqas Hussain Thu, 04 Jun 2009 05:54:32 +0500
sessionmanager: It's username@host, not host@username :) Matthew Wild Tue, 02 Jun 2009 19:08:36 +0100
sessionmanager: Removed a redundant check Waqas Hussain Fri, 29 May 2009 23:23:56 +0500
sessionmanager: Fixed an old FIXME: A problem caused by an error on an authenticated but unbound session Waqas Hussain Fri, 29 May 2009 23:22:58 +0500
sessionmanager: Add/remove sessions from full_sessions and bare_sessions when binding/unbinding sessions Waqas Hussain Fri, 29 May 2009 23:14:57 +0500
sessionmanager: Added reference to globals full_sessions and bare_sessions Waqas Hussain Fri, 29 May 2009 23:01:05 +0500
sessionmanager: Removed reference to global 'sessions' Waqas Hussain Fri, 29 May 2009 22:56:14 +0500
sessionmanager, mod_tls: Mark a session as secure when TLS is active Matthew Wild Fri, 29 May 2009 14:28:53 +0100
sessionmanager: Miscellaneous logging improvements, changing levels, improving messages and using session loggers where possible Matthew Wild Thu, 30 Apr 2009 02:45:10 +0100
sessionmanager, componentmanager: Fix some wacky indentation (thanks greyback!) Matthew Wild Wed, 08 Apr 2009 23:20:22 +0100
sessionmanager, s2smanager, mod_component: Send reply </stream:stream> when client closes stream Matthew Wild Sun, 05 Apr 2009 20:06:39 +0100
core.sessionmanager: Hop out of <status> tag so that MUC doesn't insert into the wrong level Matthew Wild Fri, 03 Apr 2009 01:29:59 +0100
Fixed: sessionmanager: Apply nameprep on hostname passed in stream tag (part of issue #57) Waqas Hussain Mon, 30 Mar 2009 03:03:06 +0500
0.3->0.4 Matthew Wild Fri, 20 Mar 2009 20:16:25 +0000
Fixed: kick_old resource conflict resolution policy could fail with a backtrace Waqas Hussain Thu, 12 Feb 2009 18:23:00 +0500
Update copyright notices for 2009 Matthew Wild Fri, 30 Jan 2009 17:59:26 +0000
0.2->0.3 Matthew Wild Fri, 30 Jan 2009 17:40:25 +0000
GPL->MIT! Matthew Wild Fri, 30 Jan 2009 17:22:56 +0000
Set session.ip to the IP address of connecting clients Matthew Wild Mon, 12 Jan 2009 02:59:45 +0000
Remove old debugging line from sessionmanager Matthew Wild Tue, 16 Dec 2008 02:30:24 +0000
0.1 -> 0.2 Matthew Wild Wed, 10 Dec 2008 15:44:03 +0000
Newline at end of file for sessionmanager Matthew Wild Wed, 10 Dec 2008 15:32:51 +0000
stanza_dispatch = core_process_stanza, fixed for xmpp{client,server} listeners, and sessionmanager for the new syntax Matthew Wild Sun, 07 Dec 2008 19:04:23 +0000
Remove print()s from sessionmanager and s2smanager Matthew Wild Sat, 06 Dec 2008 23:14:39 +0000
Add hostmanager, and eventmanager Matthew Wild Sat, 06 Dec 2008 03:41:49 +0000
Backed out changeset 099d8a102deb (committed too much) Matthew Wild Fri, 05 Dec 2008 19:49:16 +0000
Add TLS socket to readlist before handshake starts, fixes major slow-down on TLS connections Matthew Wild Fri, 05 Dec 2008 19:24:01 +0000
Added an error log message for this case Matthew Wild Wed, 03 Dec 2008 18:06:04 +0000
Quick fix for an issue that needs more looking into Matthew Wild Wed, 03 Dec 2008 18:01:56 +0000
Insert copyright/license headers Matthew Wild Wed, 03 Dec 2008 14:39:07 +0000
Added options to limit the number of resources and for handling of resource conflicts Waqas Hussain Thu, 27 Nov 2008 02:48:08 +0500
Use a stanza for c2s stream features instead of an array of strings. Removes a FIXME. Matthew Wild Thu, 20 Nov 2008 01:33:25 +0000
Log number of open sessions on session creation Matthew Wild Thu, 20 Nov 2008 01:32:24 +0000
Fix sending of unavailable presence on disconnect Matthew Wild Wed, 19 Nov 2008 05:07:52 +0000
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
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
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 sessionmanager to not send session in place of stream features... Waqas Hussain Sun, 16 Nov 2008 04:45:31 +0500
Fixed sessionmanager to use appropriate method for sending stream features Waqas Hussain Sun, 16 Nov 2008 04:37:54 +0500
Code cleanup for resource binding Waqas Hussain Sun, 16 Nov 2008 03:16:53 +0500
Outbound presence subscription Waqas Hussain Sat, 25 Oct 2008 21:16:08 +0500
Routing code reorganization Waqas Hussain Sat, 25 Oct 2008 06:49:48 +0500
Fix for sessionmanager to not throw error when session doesn't have a private logger Matthew Wild Fri, 24 Oct 2008 14:47:23 +0100
Merging more s2s Matthew Wild Fri, 24 Oct 2008 07:36:48 +0100
Partial s2s commit Matthew Wild Fri, 24 Oct 2008 07:34:13 +0100
s2s works! \o/ \o/ s2s Matthew Wild Fri, 24 Oct 2008 07:27:36 +0100
dialback keys now verified s2s Matthew Wild Fri, 24 Oct 2008 03:06:55 +0100
Final fix for marking user offline when all resources are gone :) Matthew Wild Thu, 23 Oct 2008 18:05:06 +0100
even faster checking for other sessions... thank you waqas :) Matthew Wild Thu, 23 Oct 2008 17:34:10 +0100
faster checking for other sessions Matthew Wild Thu, 23 Oct 2008 17:27:41 +0100
Fix for not destroying sessions when connection closed. Matthew Wild Thu, 23 Oct 2008 16:07:40 +0100
Merge roster & presence from waqas Matthew Wild Wed, 22 Oct 2008 23:12:26 +0100
Added: TODO Waqas Hussain Wed, 22 Oct 2008 21:20:47 +0500
Added some roster management functions Waqas Hussain Sun, 12 Oct 2008 17:40:03 +0500
Abstract connections with "connection listeners" Matthew Wild Wed, 22 Oct 2008 17:36:21 +0100
Load roster on resource bind Waqas Hussain Wed, 08 Oct 2008 19:30:35 +0500
Fix setting resource before we even know what it is Matthew Wild Sat, 04 Oct 2008 17:59:32 +0100
Session destruction fixes, some debugging code while we fix the rest. Also change logger to be more useful. Matthew Wild Sat, 04 Oct 2008 15:25:54 +0100
New "import" module to help tidy up all the local declarations at the top of modules Matthew Wild Sat, 04 Oct 2008 02:43:23 +0100
Add "uuid" library and make sessionmanager use this. Matthew Wild Sat, 04 Oct 2008 02:12:54 +0100
An oops in sessionmanager stream:features code :) Matthew Wild Fri, 03 Oct 2008 22:21:01 +0100
Move stream opening handling from xmlhandlers to sessionmanager Matthew Wild Fri, 03 Oct 2008 22:18:08 +0100
SASL! Matthew Wild Thu, 02 Oct 2008 01:08:58 +0100
Huge commit to: Matthew Wild Tue, 30 Sep 2008 19:52:00 +0100