aboutsummaryrefslogtreecommitdiffstats
path: root/core/sessionmanager.lua
Commit message (Collapse)AuthorAgeFilesLines
* Moved automatic unavailable presence generation on disconnect from ↵Waqas Hussain2009-07-051-8/+0
| | | | sessionmanager to mod_presence
* sessionmanager: Replace raw session by an event data table for resource ↵Waqas Hussain2009-07-051-2/+2
| | | | bind/unbind events, allowing extra data
* sessionmanager: Reset bare_sessions[user] after resource conflict ↵Matthew Wild2009-07-031-0/+1
| | | | resolution. Fixes the other stanza gobbling bug \o/
* sessionmanager: Newly created sessions shouldn't have a priority. Fixes one ↵Matthew Wild2009-07-031-1/+1
| | | | of the stanza-gobbling bugs \o/
* Send xml:lang in stream headers, fixes #78Matthew Wild2009-07-011-1/+1
|
* sessionmanager: Fire event on resource unbindWaqas Hussain2009-06-231-0/+2
|
* sessionmanager: Fire event on resource bindMatthew Wild2009-06-221-0/+2
|
* sessionmanager: It really is username@host, not host@username :)Waqas Hussain2009-06-041-1/+1
|
* sessionmanager: It's username@host, not host@username :)Matthew Wild2009-06-021-1/+1
|
* sessionmanager: Removed a redundant checkWaqas Hussain2009-05-291-4/+2
|
* sessionmanager: Fixed an old FIXME: A problem caused by an error on an ↵Waqas Hussain2009-05-291-17/+10
| | | | authenticated but unbound session
* sessionmanager: Add/remove sessions from full_sessions and bare_sessions ↵Waqas Hussain2009-05-291-1/+6
| | | | when binding/unbinding sessions
* sessionmanager: Added reference to globals full_sessions and bare_sessionsWaqas Hussain2009-05-291-0/+2
|
* sessionmanager: Removed reference to global 'sessions'Waqas Hussain2009-05-291-1/+0
|
* sessionmanager, mod_tls: Mark a session as secure when TLS is activeMatthew Wild2009-05-291-0/+6
|
* sessionmanager: Miscellaneous logging improvements, changing levels, ↵Matthew Wild2009-04-301-3/+4
| | | | improving messages and using session loggers where possible
* sessionmanager, componentmanager: Fix some wacky indentation (thanks greyback!)Matthew Wild2009-04-081-24/+22
|
* sessionmanager, s2smanager, mod_component: Send reply </stream:stream> when ↵Matthew Wild2009-04-051-0/+5
| | | | client closes stream
* core.sessionmanager: Hop out of <status> tag so that MUC doesn't insert into ↵Matthew Wild2009-04-031-1/+1
| | | | the wrong level
* Fixed: sessionmanager: Apply nameprep on hostname passed in stream tag (part ↵Waqas Hussain2009-03-301-0/+2
| | | | of issue #57)
* 0.3->0.4Matthew Wild2009-03-201-1/+1
|
* Fixed: kick_old resource conflict resolution policy could fail with a backtraceWaqas Hussain2009-02-121-1/+4
|
* Update copyright notices for 2009Matthew Wild2009-01-301-2/+2
|
* 0.2->0.3Matthew Wild2009-01-301-1/+1
|
* GPL->MIT!Matthew Wild2009-01-301-13/+2
|
* Set session.ip to the IP address of connecting clientsMatthew Wild2009-01-121-0/+1
|
* Remove old debugging line from sessionmanagerMatthew Wild2008-12-161-2/+0
|
* 0.1 -> 0.2Matthew Wild2008-12-101-1/+1
|
* Newline at end of file for sessionmanagerMatthew Wild2008-12-101-1/+1
|
* stanza_dispatch = core_process_stanza, fixed for xmpp{client,server} ↵Matthew Wild2008-12-071-1/+1
| | | | listeners, and sessionmanager for the new syntax
* Remove print()s from sessionmanager and s2smanagerMatthew Wild2008-12-061-1/+1
|
* Add hostmanager, and eventmanagerMatthew Wild2008-12-061-2/+8
|
* Backed out changeset 099d8a102deb (committed too much)Matthew Wild2008-12-051-5/+1
|
* Add TLS socket to readlist before handshake starts, fixes major slow-down on ↵Matthew Wild2008-12-051-1/+5
| | | | TLS connections
* Added an error log message for this caseMatthew Wild2008-12-031-0/+4
|
* Quick fix for an issue that needs more looking intoMatthew Wild2008-12-031-3/+5
|
* Insert copyright/license headersMatthew Wild2008-12-031-0/+20
|
* Added options to limit the number of resources and for handling of resource ↵Waqas Hussain2008-11-271-2/+29
| | | | | | | conflicts - core.max_resources: defaults to 10 - core.conflict_resolve: can be "random", "increment", "kick_new" and "kick_old" (default)
* Use a stanza for c2s stream features instead of an array of strings. Removes ↵Matthew Wild2008-11-201-9/+3
| | | | a FIXME.
* Log number of open sessions on session creationMatthew Wild2008-11-201-0/+1
|
* Fix sending of unavailable presence on disconnectMatthew Wild2008-11-191-2/+4
|
* session:disconnect() -> session:close() for consistency with other Lua APIsMatthew Wild2008-11-181-1/+1
|
* Remove useless check for unavailable presence (which never exists)Matthew Wild2008-11-181-1/+1
|
* Quite some changes, to:Matthew Wild2008-11-181-2/+11
| | | | | | | | - Small logging fix for s2smanager - Send a stream error if an incoming s2s connection is to an unrecognised hostname (fixes #11) - init_xmlhandlers now takes a table of callbacks (includes changes to net/xmpp*_listener for this) - Move sending of unavailable presence to where it should be, sessionmanager.destroy_session - Fix sending of stream errors to wrong connection
* Allow us to close client connections, with or without a stream error. ↵Matthew Wild2008-11-181-2/+12
| | | | 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)
* Removed unused function send_to_session from sessionmanager (send_to_session ↵Waqas Hussain2008-11-161-5/+0
| | | | replaced by session.send)
* Fixed sessionmanager to not send session in place of stream features...Waqas Hussain2008-11-161-1/+1
|
* Fixed sessionmanager to use appropriate method for sending stream featuresWaqas Hussain2008-11-161-1/+1
|
* Code cleanup for resource bindingWaqas Hussain2008-11-161-3/+7
|
* Outbound presence subscriptionWaqas Hussain2008-10-251-0/+3
|