Commit Graph

72 Commits (041209a264222c8261ccff51df5f73bbbc23d6b8)

Author SHA1 Message Date
Matthew Wild 118883d655 Remove version number from copyright headers 17 years ago
Waqas Hussain 44ba02eef0 Moved automatic unavailable presence generation on disconnect from sessionmanager to mod_presence 17 years ago
Waqas Hussain 0d65c3fef7 sessionmanager: Replace raw session by an event data table for resource bind/unbind events, allowing extra data 17 years ago
Matthew Wild 18ab4901ef sessionmanager: Reset bare_sessions[user] after resource conflict resolution. Fixes the other stanza gobbling bug \o/ 17 years ago
Matthew Wild 63d405dc25 sessionmanager: Newly created sessions shouldn't have a priority. Fixes one of the stanza-gobbling bugs \o/ 17 years ago
Matthew Wild 3dc21c4fc7 Send xml:lang in stream headers, fixes #78 17 years ago
Waqas Hussain 737636d65a sessionmanager: Fire event on resource unbind 17 years ago
Matthew Wild 04d4fb4a73 sessionmanager: Fire event on resource bind 17 years ago
Waqas Hussain 4b6c2ce142 sessionmanager: It really is username@host, not host@username :) 17 years ago
Matthew Wild d6d2af95bd sessionmanager: It's username@host, not host@username :) 17 years ago
Waqas Hussain 887dc6887b sessionmanager: Removed a redundant check 17 years ago
Waqas Hussain aeeeeb288f sessionmanager: Fixed an old FIXME: A problem caused by an error on an authenticated but unbound session 17 years ago
Waqas Hussain 2424f767f5 sessionmanager: Add/remove sessions from full_sessions and bare_sessions when binding/unbinding sessions 17 years ago
Waqas Hussain 7e142b7818 sessionmanager: Added reference to globals full_sessions and bare_sessions 17 years ago
Waqas Hussain 49147803d3 sessionmanager: Removed reference to global 'sessions' 17 years ago
Matthew Wild 81fedc9a08 sessionmanager, mod_tls: Mark a session as secure when TLS is active 17 years ago
Matthew Wild 18b7e2867c sessionmanager: Miscellaneous logging improvements, changing levels, improving messages and using session loggers where possible 17 years ago
Matthew Wild 921fe046e5 sessionmanager, componentmanager: Fix some wacky indentation (thanks greyback!) 17 years ago
Matthew Wild a27b839551 sessionmanager, s2smanager, mod_component: Send reply </stream:stream> when client closes stream 17 years ago
Matthew Wild 4ec39b859c core.sessionmanager: Hop out of <status> tag so that MUC doesn't insert into the wrong level 17 years ago
Waqas Hussain 3f5c2d0054 Fixed: sessionmanager: Apply nameprep on hostname passed in stream tag (part of issue #57) 17 years ago
Matthew Wild c80f91dc02 0.3->0.4 17 years ago
Waqas Hussain 0178275ece Fixed: kick_old resource conflict resolution policy could fail with a backtrace 17 years ago
Matthew Wild c5ee166aa9 Update copyright notices for 2009 17 years ago
Matthew Wild f2d020191f 0.2->0.3 17 years ago
Matthew Wild bf3b96204d GPL->MIT! 17 years ago
Matthew Wild c273f4c890 Set session.ip to the IP address of connecting clients 17 years ago
Matthew Wild 450c6ef7fc Remove old debugging line from sessionmanager 17 years ago
Matthew Wild d3ad4a5123 0.1 -> 0.2 17 years ago
Matthew Wild 753ab68581 Newline at end of file for sessionmanager 17 years ago
Matthew Wild 1fedb0c649 stanza_dispatch = core_process_stanza, fixed for xmpp{client,server} listeners, and sessionmanager for the new syntax 17 years ago
Matthew Wild b3e9fc629c Remove print()s from sessionmanager and s2smanager 17 years ago
Matthew Wild dfeabed19f Add hostmanager, and eventmanager 17 years ago
Matthew Wild c016526d9d Backed out changeset 099d8a102deb (committed too much) 17 years ago
Matthew Wild 0d2b952b61 Add TLS socket to readlist before handshake starts, fixes major slow-down on TLS connections 17 years ago
Matthew Wild 11538c72c6 Added an error log message for this case 17 years ago
Matthew Wild 396d493b18 Quick fix for an issue that needs more looking into 17 years ago
Matthew Wild 0c5cc83112 Insert copyright/license headers 17 years ago
Waqas Hussain ce81a26989 Added options to limit the number of resources and for handling of resource conflicts 17 years ago
Matthew Wild 5c7ec634b1 Use a stanza for c2s stream features instead of an array of strings. Removes a FIXME. 17 years ago
Matthew Wild 6a333d94d6 Log number of open sessions on session creation 17 years ago
Matthew Wild 8b041f3cdb Fix sending of unavailable presence on disconnect 17 years ago
Matthew Wild 99b617b8b6 session:disconnect() -> session:close() for consistency with other Lua APIs 17 years ago
Matthew Wild 64e57b5001 Remove useless check for unavailable presence (which never exists) 17 years ago
Matthew Wild 01c770997f Quite some changes, to: 17 years ago
Matthew Wild f21f55bb1e 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) 17 years ago
Waqas Hussain b0bfd62708 Removed unused function send_to_session from sessionmanager (send_to_session replaced by session.send) 17 years ago
Waqas Hussain 97bf43fe7a Fixed sessionmanager to not send session in place of stream features... 17 years ago
Waqas Hussain 0fbd257633 Fixed sessionmanager to use appropriate method for sending stream features 17 years ago
Waqas Hussain 49ab3af442 Code cleanup for resource binding 17 years ago