aboutsummaryrefslogtreecommitdiffstats
path: root/core/sessionmanager.lua
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* Routing code reorganizationWaqas Hussain2008-10-251-0/+17
|
* Fix for sessionmanager to not throw error when session doesn't have a ↵Matthew Wild2008-10-241-1/+1
| | | | private logger
* s2s works! \o/ \o/Matthew Wild2008-10-241-5/+6
|
* dialback keys now verifiedMatthew Wild2008-10-241-1/+1
|
* Final fix for marking user offline when all resources are gone :)Matthew Wild2008-10-231-2/+4
|
* even faster checking for other sessions... thank you waqas :)Matthew Wild2008-10-231-6/+1
|
* faster checking for other sessionsMatthew Wild2008-10-231-0/+1
|
* Fix for not destroying sessions when connection closed.Matthew Wild2008-10-231-9/+5
|
* Merge roster & presence from waqasMatthew Wild2008-10-221-3/+3
|\
| * Added: TODOWaqas Hussain2008-10-221-1/+1
| |
| * Added some roster management functionsWaqas Hussain2008-10-121-2/+2
| |
* | Abstract connections with "connection listeners"Matthew Wild2008-10-221-1/+1
|/ | | | | | - Added connlistener for xmppclient - SASL/TLS now use a new session:reset_stream() method - main.lua on its way to being a bit neater
* Load roster on resource bindWaqas Hussain2008-10-081-0/+3
|
* Fix setting resource before we even know what it isMatthew Wild2008-10-041-1/+0
|
* Session destruction fixes, some debugging code while we fix the rest. Also ↵Matthew Wild2008-10-041-2/+39
| | | | change logger to be more useful.
* New "import" module to help tidy up all the local declarations at the top of ↵Matthew Wild2008-10-041-6/+4
| | | | modules
* Add "uuid" library and make sessionmanager use this.Matthew Wild2008-10-041-2/+2
| | | | ...and yes, the uuid generation needs work :P
* An oops in sessionmanager stream:features code :)Matthew Wild2008-10-031-1/+1
|
* Move stream opening handling from xmlhandlers to sessionmanagerMatthew Wild2008-10-031-1/+30
|
* SASL!Matthew Wild2008-10-021-1/+38
| | | | | (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 ))
* Huge commit to:Matthew Wild2008-09-301-0/+20
* 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