Commit Graph

174 Commits (ea2f97e9ed8317dc9a62e45d9a807dca7e3700a5)

Author SHA1 Message Date
Matthew Wild a4556fc67a sessionmanager: Improve logging around session destruction 3 years ago
Kim Alvefur d616d70f3c core.sessionmanager: Mark session as destroyed to prevent reentry 3 years ago
Kim Alvefur b89b219406 core.sessionmanager: Skip log when (not) destroying destroyed sessions 3 years ago
Kim Alvefur 33c20d9cf4 core.sessionmanager: Delay closing a replaced connection after replacement 3 years ago
Matthew Wild 89bf5049a1 sessionmanager: Preserve 'since' property of original session after resumption 3 years ago
Kim Alvefur d47a7bb3bd core: Prefix module imports with prosody namespace 3 years ago
Matthew Wild 45978d6be2 sessionmanager: Fire event before retiring old session 3 years ago
Matthew Wild 51bf5f2d34 sessionmanager: Pluck sasl_handler from old session when resuming (fixes #1785) 3 years ago
Matthew Wild 54fcc029c8 mod_smacks: Long overdue cleanup of resumption code, fixes some old TODOs 3 years ago
Matthew Wild f5768f63c9 mod_authz_internal, and more: New iteration of role API 3 years ago
Matthew Wild c0b857e5fb mod_authz_internal: Use util.roles, some API changes and config support 3 years ago
Matthew Wild d73714b4f4 Switch to a new role-based authorization framework, removing is_admin() 4 years ago
Kim Alvefur 1e3a250929 core.sessionmanager: Add a dummy rawsend() method to resting sessions 5 years ago
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