Commit Graph

160 Commits (020cd46f0341663d71ebdbd02f67032ddcb4a677)

Author SHA1 Message Date
Matthew Wild 783af2135e sessionmanager: Support passing an auth scope to make_authenticated 6 years ago
Kim Alvefur b1516ea8f0 core.sessionmanager: Require that client-requested resources pass strict resourceprep 6 years ago
Kim Alvefur 522916d7c7 core.sessionmanager: Fix traceback from passing nil to resourceprep 6 years ago
Maxime “pep” Buquet 331336cd83 core/sessionmanager: Remove unnecessary fallback in make_authenticated 7 years ago
Kim Alvefur 8a87b70092 core.sessionmanager: Remove tostring call from logging 7 years ago
Kim Alvefur e59fdc42ed sessionmanager, mod_s2s: Bring debug line for outgoing stanzas in line with that for incoming 8 years ago
Kim Alvefur c866e40051 sessionmanager: Log top tag of outgoing stanzas on c2s (#776) 8 years ago
Matthew Wild 15ee257b35 sessionmanager: Revert session.type if binding fails due to roster load error 9 years ago
Kim Alvefur 15de51f8c5 sessionmanager, mod_s2s: Bring debug line for outgoing stanzas in line with that for incoming 8 years ago
Kim Alvefur 0bda4af7bb sessionmanager: Log top tag of outgoing stanzas on c2s (#776) 8 years ago
Kim Alvefur 5305e12336 sessionmanager: Generate shorter random resoures 8 years ago
Kim Alvefur 77fbea8cdc core: Use prosody.hosts instead of _G.hosts for consistency 8 years ago
Kim Alvefur 43b814a83b vairious: Add annotation when an empty environment is set [luacheck] 8 years ago
Kim Alvefur e45c5961ac core: Allow select core modules to mutate some globals (needs luacheck 1.19) 9 years ago
Kim Alvefur 1ecc3a7918 core: Split some very long lines [luacheck] 9 years ago
Kim Alvefur e701756ba9 core.sessionmanager, mod_saslauth: Introduce intermediate session type for authenticated but unbound sessions so that resource binding is not treated as a normal stanza 9 years ago
Kim Alvefur 13099c75ec mod_c2s: Remove use of util.async 10 years ago
Kim Alvefur 146627211b sessionmanager: Demote write error to debug message 10 years ago
Kim Alvefur 6c28def6cc sessionmanager: Clarify log message when failing to write data to connection 10 years ago
Kim Alvefur 451855fecb sessionmanager: Make session.send() return true unless there really is an error [backported from 0.10] 10 years ago
Kim Alvefur 4e24283711 sessionmanager: Make session.send() return true unless there really is an error 10 years ago
Matthew Wild c9e911e284 sessionmanager: Rename argument to avoid name clash with local variable [luacheck] 11 years ago
Matthew Wild 75e0be19d8 sessionmanager: Rename unused loop variables to '_' [luacheck] 11 years ago
Matthew Wild 7b3df2bae6 portmanager, s2smanager, sessionmanager, stanza_router, storagemanager, usermanager, util.xml: Add luacheck annotations 11 years ago
Matthew Wild abbf2f1694 sessionmanager: Rename parameter to avoid varible name conflict 11 years ago
Matthew Wild 63789fc738 sessionmanager: Return 'not-allowed' error instead of the non-existent 'already-bound' error when client tries to bind a resource twice on the same stream (thanks Flow) fixes issue #484. 11 years ago
Kim Alvefur 27265c20e2 core.*: Remove use of module() function 11 years ago
Kim Alvefur 4b5e25cc41 sessionmanager: Add pre-resource-bind event that would let plugins have a say in resource binding 11 years ago
Matthew Wild 79dfda0f22 sessionmanager: Access bare_session and full_sessions through 'prosody' 11 years ago
Kim Alvefur 3202bca036 core.sessionmanager: Set a fake thread on destroyed sessions, fixes traceback if stanzas are emitted after a session is destroyed (thanks Sven Blumenstein) 11 years ago
Florian Zeitz 1d833bb807 Remove all trailing whitespace 13 years ago
Matthew Wild 18889eae1b sessionmanager, s2smanager: Remove unused imports 13 years ago
Matthew Wild a5e2b65c01 sessionmanager, s2smanager: Remove open_session tracing 13 years ago
Kim Alvefur 1acfdf5914 core.*: Complete removal of all traces of the "core" section and section-related code. 13 years ago
Kim Alvefur 4517552d8b s2smanager: Generate session names used for logging the same way everywhere 13 years ago
Waqas Hussain 55bd98c887 sessionmanager: Log the actual error message when roster loading fails. 13 years ago
Kim Alvefur ae1009d110 core.sessionmanager: Use util.session to create sessions 7 years ago
Kim Alvefur ee0fd8f1d9 sessionmanager: Split byte-level sending into separate session.rawsend 7 years ago
Matthew Wild 99fee69edb sessionmanager: Lower 'destroying session' message to 'debug' level (from 'info') 14 years ago
Matthew Wild e89b006f03 Hopefully inert commit to clean up logging across a number of modules, removing all cases of concatenation when building log messages 14 years ago
Matthew Wild 360e6eeeeb sessionmanager: Clean up some unused variables and imports 14 years ago
Matthew Wild 5e7ab4f153 sessionmanager: Have session.send() of a retired session return false to indicate failure 14 years ago
Matthew Wild d5fc441c5e sessionmanager: Remove max_resources config option and check, incorrect anyway (thanks Zash) 14 years ago
Matthew Wild b1b28066ba sessionmanager: Require uuid_generate() 14 years ago
Matthew Wild b14f0af41d sessionmanager, mod_c2s: Move timeout logic to mod_c2s 14 years ago
Matthew Wild 13b36f8ded mod_c2s, sessionmanager, xmppclient_listener: Move all c2s network and stream logic into a new module, mod_c2s 14 years ago
Matthew Wild c60f52cc4d sessionmanager: Remove unused reference to modulemanager 14 years ago
Matthew Wild d32ab3e7a8 sessionmanager: Remove dependency on util.import 15 years ago
Waqas Hussain fe3b3eecae sessionmanager: Log reason when destroying a session. 15 years ago
Matthew Wild 4e83c7ddd6 sessionmanager: Fire pre-resource-unbind to allow plugins (such as mod_smacks) to hook and prevent/override session destruction 15 years ago