Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add TLS socket to readlist before handshake starts, fixes major slow-down on ↵ | Matthew Wild | 2008-12-05 | 1 | -1/+5 |
| | | | | TLS connections | ||||
* | Added an error log message for this case | Matthew Wild | 2008-12-03 | 1 | -0/+4 |
| | |||||
* | Quick fix for an issue that needs more looking into | Matthew Wild | 2008-12-03 | 1 | -3/+5 |
| | |||||
* | Insert copyright/license headers | Matthew Wild | 2008-12-03 | 1 | -0/+20 |
| | |||||
* | Added options to limit the number of resources and for handling of resource ↵ | Waqas Hussain | 2008-11-27 | 1 | -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 Wild | 2008-11-20 | 1 | -9/+3 |
| | | | | a FIXME. | ||||
* | Log number of open sessions on session creation | Matthew Wild | 2008-11-20 | 1 | -0/+1 |
| | |||||
* | Fix sending of unavailable presence on disconnect | Matthew Wild | 2008-11-19 | 1 | -2/+4 |
| | |||||
* | session:disconnect() -> session:close() for consistency with other Lua APIs | Matthew Wild | 2008-11-18 | 1 | -1/+1 |
| | |||||
* | Remove useless check for unavailable presence (which never exists) | Matthew Wild | 2008-11-18 | 1 | -1/+1 |
| | |||||
* | Quite some changes, to: | Matthew Wild | 2008-11-18 | 1 | -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 Wild | 2008-11-18 | 1 | -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 Hussain | 2008-11-16 | 1 | -5/+0 |
| | | | | replaced by session.send) | ||||
* | Fixed sessionmanager to not send session in place of stream features... | Waqas Hussain | 2008-11-16 | 1 | -1/+1 |
| | |||||
* | Fixed sessionmanager to use appropriate method for sending stream features | Waqas Hussain | 2008-11-16 | 1 | -1/+1 |
| | |||||
* | Code cleanup for resource binding | Waqas Hussain | 2008-11-16 | 1 | -3/+7 |
| | |||||
* | Outbound presence subscription | Waqas Hussain | 2008-10-25 | 1 | -0/+3 |
| | |||||
* | Routing code reorganization | Waqas Hussain | 2008-10-25 | 1 | -0/+17 |
| | |||||
* | Fix for sessionmanager to not throw error when session doesn't have a ↵ | Matthew Wild | 2008-10-24 | 1 | -1/+1 |
| | | | | private logger | ||||
* | s2s works! \o/ \o/ | Matthew Wild | 2008-10-24 | 1 | -5/+6 |
| | |||||
* | dialback keys now verified | Matthew Wild | 2008-10-24 | 1 | -1/+1 |
| | |||||
* | Final fix for marking user offline when all resources are gone :) | Matthew Wild | 2008-10-23 | 1 | -2/+4 |
| | |||||
* | even faster checking for other sessions... thank you waqas :) | Matthew Wild | 2008-10-23 | 1 | -6/+1 |
| | |||||
* | faster checking for other sessions | Matthew Wild | 2008-10-23 | 1 | -0/+1 |
| | |||||
* | Fix for not destroying sessions when connection closed. | Matthew Wild | 2008-10-23 | 1 | -9/+5 |
| | |||||
* | Merge roster & presence from waqas | Matthew Wild | 2008-10-22 | 1 | -3/+3 |
|\ | |||||
| * | Added: TODO | Waqas Hussain | 2008-10-22 | 1 | -1/+1 |
| | | |||||
| * | Added some roster management functions | Waqas Hussain | 2008-10-12 | 1 | -2/+2 |
| | | |||||
* | | Abstract connections with "connection listeners" | Matthew Wild | 2008-10-22 | 1 | -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 bind | Waqas Hussain | 2008-10-08 | 1 | -0/+3 |
| | |||||
* | Fix setting resource before we even know what it is | Matthew Wild | 2008-10-04 | 1 | -1/+0 |
| | |||||
* | Session destruction fixes, some debugging code while we fix the rest. Also ↵ | Matthew Wild | 2008-10-04 | 1 | -2/+39 |
| | | | | change logger to be more useful. | ||||
* | New "import" module to help tidy up all the local declarations at the top of ↵ | Matthew Wild | 2008-10-04 | 1 | -6/+4 |
| | | | | modules | ||||
* | Add "uuid" library and make sessionmanager use this. | Matthew Wild | 2008-10-04 | 1 | -2/+2 |
| | | | | ...and yes, the uuid generation needs work :P | ||||
* | An oops in sessionmanager stream:features code :) | Matthew Wild | 2008-10-03 | 1 | -1/+1 |
| | |||||
* | Move stream opening handling from xmlhandlers to sessionmanager | Matthew Wild | 2008-10-03 | 1 | -1/+30 |
| | |||||
* | SASL! | Matthew Wild | 2008-10-02 | 1 | -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 Wild | 2008-09-30 | 1 | -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 |