Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | Add helper function for adding message bodies to stanzas | Matthew Wild | 2008-11-22 | 1 | -0/+5 | |
| |/ | ||||||
| * | Now possible to specify nil origin to core_route_stanza. Origin will be ↵ | Matthew Wild | 2008-11-21 | 1 | -0/+4 | |
| | | | | | | | | chosen as the host of the 'from' attribute on the stanza. Returns false on no such host. | |||||
| * | Import initial configmanager, not sure if it works yet, but it does pass the ↵ | Matthew Wild | 2008-11-21 | 2 | -0/+133 | |
| | | | | | | | | unit tests ;) | |||||
| * | Update test.lua with a work-in-progress | Matthew Wild | 2008-11-21 | 1 | -3/+3 | |
| | | ||||||
| * | Better names for variables | Matthew Wild | 2008-11-21 | 1 | -4/+4 | |
| | | ||||||
| * | Remove old TODO | Matthew Wild | 2008-11-21 | 1 | -1/+0 | |
| | | ||||||
| * | Remove some declarations I added while debugging | Matthew Wild | 2008-11-21 | 1 | -2/+1 | |
| | | ||||||
| * | Improve jid.split() and jid.bare() to pass new test cases with invalid JIDs | Matthew Wild | 2008-11-21 | 2 | -7/+35 | |
| | | ||||||
| * | Add jid.bare() helper function | Matthew Wild | 2008-11-20 | 1 | -0/+5 | |
| | | ||||||
| * | Adding selftests module, but not enabling in config | Matthew Wild | 2008-11-20 | 1 | -0/+57 | |
| | | ||||||
| * | Oops, never added the tests for s2smanager to the repo | Matthew Wild | 2008-11-20 | 1 | -0/+38 | |
| | | ||||||
| * | Add run_tests.sh | Matthew Wild | 2008-11-20 | 1 | -0/+3 | |
| | | ||||||
| * | Update unit testing to output coverage reports | Matthew Wild | 2008-11-20 | 2 | -6/+62 | |
| | | ||||||
| * | Remove or comment useless prints, or change them to log() | Matthew Wild | 2008-11-20 | 3 | -6/+4 | |
| | | ||||||
| * | Add event for server startup completed: server-started | Matthew Wild | 2008-11-20 | 1 | -0/+2 | |
| | | ||||||
| * | Don't error reply to stanzas direct over the s2s stream they came from | Matthew Wild | 2008-11-20 | 1 | -1/+1 | |
| | | ||||||
| * | Use a stanza for c2s stream features instead of an array of strings. Removes ↵ | Matthew Wild | 2008-11-20 | 4 | -18/+16 | |
| | | | | | | | | a FIXME. | |||||
| * | Log number of open sessions on session creation | Matthew Wild | 2008-11-20 | 1 | -0/+1 | |
| | | ||||||
| * | Remove a debug print() from xmlhandlers | Matthew Wild | 2008-11-20 | 1 | -1/+0 | |
| | | ||||||
| * | Remove version=1.0 on s2s stream headers, again. | Matthew Wild | 2008-11-20 | 1 | -1/+1 | |
| | | ||||||
| * | Remove an old FIXME comment | Matthew Wild | 2008-11-19 | 1 | -3/+1 | |
| | | ||||||
| * | Fix the reversed to/from on the final db:result. Fixes M-Link and Gmail. ↵ | Matthew Wild | 2008-11-19 | 1 | -1/+1 | |
| | | | | | | | | Thanks dwd!! | |||||
| * | Comments and logging fixes | Matthew Wild | 2008-11-19 | 1 | -14/+0 | |
| | | ||||||
| * | Send version=1.0 again in s2s stream header | Matthew Wild | 2008-11-19 | 1 | -1/+1 | |
| | | ||||||
| * | Fix for setting the correct host on the socket, seems to fix s2s with XCP | Matthew Wild | 2008-11-19 | 1 | -1/+1 | |
| | | ||||||
| * | Show which session got disconnected in log message | Matthew Wild | 2008-11-19 | 1 | -1/+1 | |
| | | ||||||
| * | Don't error if the original s2s connection has closed before we get the ↵ | Matthew Wild | 2008-11-19 | 1 | -2/+6 | |
| | | | | | | | | dialback result | |||||
| * | Don't send version 1.0. Who cares about Gmail? | Matthew Wild | 2008-11-19 | 1 | -1/+1 | |
| | | ||||||
| * | Send version=1.0 in s2s stream header. Send s2s stream:features when in 1.0 ↵ | Matthew Wild | 2008-11-19 | 1 | -12/+17 | |
| | | | | | | | | mode. | |||||
| * | Don't attempt to auth connection unless stanzas are being sent across it | Matthew Wild | 2008-11-19 | 1 | -1/+1 | |
| | | ||||||
| * | Log sent s2s stanzas | Matthew Wild | 2008-11-19 | 1 | -4/+6 | |
| | | ||||||
| * | Incorrect function set as callback | Matthew Wild | 2008-11-19 | 1 | -1/+2 | |
| | | ||||||
| * | Don't error if streamopened/streamclosed callback is not specified for a session | Matthew Wild | 2008-11-19 | 1 | -5/+9 | |
| | | ||||||
| * | Extra checks before sending error replies to incoming stanzas | Matthew Wild | 2008-11-19 | 1 | -4/+4 | |
| | | ||||||
| * | Fix sending of unavailable presence on disconnect | Matthew Wild | 2008-11-19 | 1 | -2/+4 | |
| | | ||||||
| * | Don't forget to escape XML in attributes. Thanks to the Postgres Q&A ↵ | Matthew Wild | 2008-11-19 | 1 | -2/+2 | |
| | | | | | | | | room on conference.jabber.org :) | |||||
| * | We have SRV resolving \o/ | Matthew Wild | 2008-11-18 | 4 | -6/+1188 | |
| | | ||||||
| * | Small fix for servermanager | Matthew Wild | 2008-11-18 | 1 | -1/+1 | |
| | | ||||||
| * | Fix to prevent send retry when connection is already closed | Matthew Wild | 2008-11-18 | 1 | -6/+9 | |
| | | ||||||
| * | *ahem* Yes, move along please... though really, quite a classic. :) | Matthew Wild | 2008-11-18 | 1 | -1/+1 | |
| | | ||||||
| * | session:disconnect() -> session:close() for consistency with other Lua APIs | Matthew Wild | 2008-11-18 | 4 | -8/+6 | |
| | | ||||||
| * | 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 | 5 | -25/+44 | |
| | | | | | | | | | | | | | | | | - 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 | |||||
| * | s2s sessions can now be disconnected, with or without a stream error. Fixes #8 | Matthew Wild | 2008-11-18 | 2 | -3/+34 | |
| | | ||||||
| * | Allow us to close client connections, with or without a stream error. ↵ | Matthew Wild | 2008-11-18 | 2 | -2/+46 | |
| | | | | | | | | 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) | |||||
| * | Flush write queue before closing socket | Matthew Wild | 2008-11-18 | 1 | -1/+5 | |
| | | ||||||
| * | Fixed s2s manager's send queue to not store recieved stanza objects (as ↵ | Waqas Hussain | 2008-11-17 | 1 | -0/+1 | |
| | | | | | | | | these can chnage after the send call) | |||||
| * | Send unsubscribe and unsubscribed on roster item delete, and broadcast ↵ | Waqas Hussain | 2008-11-17 | 2 | -6/+21 | |
| | | | | | | | | available resources' presence in reply to pre-approved subscription request | |||||
| * | Adding logging for outbound presence broadcasts (changed it a bit) | Waqas Hussain | 2008-11-17 | 1 | -1/+1 | |
| | | ||||||
| * | Adding logging for outbound presence broadcasts | Waqas Hussain | 2008-11-17 | 1 | -0/+1 | |
| | |