Log

core/sessionmanager.lua @ 13270:14bbfb2cc8dd default tip

description author age
core.sessionmanager: Delay closing a replaced connection after replacement Kim Alvefur Sun, 07 May 2023 12:27:55 +0200
sessionmanager: Preserve 'since' property of original session after resumption Matthew Wild Wed, 29 Mar 2023 13:01:53 +0100
core: Prefix module imports with prosody namespace Kim Alvefur Fri, 17 Mar 2023 16:23:07 +0100
Merge 0.12->trunk Matthew Wild Thu, 09 Feb 2023 22:34:05 +0000
sessionmanager: Improve logging around session destruction 0.12 Matthew Wild Thu, 09 Feb 2023 15:09:03 +0000
core.sessionmanager: Mark session as destroyed to prevent reentry 0.12 Kim Alvefur Thu, 19 Jan 2023 21:40:09 +0100
core.sessionmanager: Skip log when (not) destroying destroyed sessions 0.12 Kim Alvefur Thu, 19 Jan 2023 21:38:14 +0100
sessionmanager: Fire event before retiring old session Matthew Wild Thu, 29 Dec 2022 16:25:00 +0000
sessionmanager: Pluck sasl_handler from old session when resuming (fixes #1785) Matthew Wild Thu, 29 Dec 2022 16:23:08 +0000
mod_smacks: Long overdue cleanup of resumption code, fixes some old TODOs Matthew Wild Fri, 26 Aug 2022 17:04:15 +0100
mod_authz_internal, and more: New iteration of role API Matthew Wild Wed, 17 Aug 2022 16:38:53 +0100
mod_authz_internal: Use util.roles, some API changes and config support Matthew Wild Tue, 19 Jul 2022 18:02:02 +0100
Switch to a new role-based authorization framework, removing is_admin() Matthew Wild Wed, 15 Jun 2022 12:15:01 +0100
core.sessionmanager: Add a dummy rawsend() method to resting sessions Kim Alvefur Thu, 15 Apr 2021 15:12:35 +0200
sessionmanager: Support passing an auth scope to make_authenticated Matthew Wild Wed, 05 Feb 2020 17:56:20 +0000
core.sessionmanager: Require that client-requested resources pass strict resourceprep Kim Alvefur Sat, 02 Nov 2019 15:39:01 +0100
core.sessionmanager: Fix traceback from passing nil to resourceprep Kim Alvefur Sat, 02 Nov 2019 13:24:33 +0100
core.sessionmanager: Remove tostring call from logging Kim Alvefur Tue, 30 Jul 2019 02:19:27 +0200
core/sessionmanager: Remove unnecessary fallback in make_authenticated Maxime “pep” Buquet Sat, 01 Jun 2019 15:00:35 +0200
core.sessionmanager: Use util.session to create sessions Kim Alvefur Fri, 29 Mar 2019 23:05:08 +0100
sessionmanager: Split byte-level sending into separate session.rawsend Kim Alvefur Sun, 24 Mar 2019 08:18:19 +0000
Merge 0.10->trunk Matthew Wild Mon, 30 Jul 2018 15:13:54 +0100
sessionmanager, mod_s2s: Bring debug line for outgoing stanzas in line with that for incoming Kim Alvefur Tue, 24 Jul 2018 19:07:26 +0200
sessionmanager: Log top tag of outgoing stanzas on c2s (#776) Kim Alvefur Sun, 22 Jul 2018 19:41:29 +0200
sessionmanager, mod_s2s: Bring debug line for outgoing stanzas in line with that for incoming Kim Alvefur Tue, 24 Jul 2018 19:07:26 +0200
sessionmanager: Log top tag of outgoing stanzas on c2s (#776) Kim Alvefur Sun, 22 Jul 2018 19:41:29 +0200
sessionmanager: Generate shorter random resoures Kim Alvefur Tue, 29 May 2018 06:51:52 +0200
core: Use prosody.hosts instead of _G.hosts for consistency Kim Alvefur Thu, 29 Mar 2018 16:58:06 +0200
vairious: Add annotation when an empty environment is set [luacheck] Kim Alvefur Wed, 28 Feb 2018 20:06:26 +0100
Merge 0.10 -> trunk Matthew Wild Fri, 28 Jul 2017 23:47:38 +0100
sessionmanager: Revert session.type if binding fails due to roster load error Matthew Wild Fri, 28 Jul 2017 23:45:05 +0100
Merge 0.10->trunk Kim Alvefur Mon, 06 Mar 2017 01:14:32 +0100
core: Allow select core modules to mutate some globals (needs luacheck 1.19) Kim Alvefur Sat, 04 Mar 2017 20:09:28 +0100
core: Split some very long lines [luacheck] Kim Alvefur Sat, 04 Mar 2017 17:49:48 +0100
Merge 0.10->trunk Kim Alvefur Wed, 14 Dec 2016 01:47:19 +0100
core.sessionmanager, mod_saslauth: Introduce intermediate session type for authenticated but unbound sessions so that resource binding is not treated as a normal stanza Kim Alvefur Tue, 13 Dec 2016 18:15:17 +0100
Merge 0.10->trunk Kim Alvefur Wed, 13 Jul 2016 18:43:33 +0200
Merge 0.9->0.10 Kim Alvefur Wed, 13 Jul 2016 18:43:28 +0200
sessionmanager: Make session.send() return true unless there really is an error [backported from 0.10] Kim Alvefur Mon, 21 Sep 2015 23:19:48 +0200
Merge 0.10->trunk Kim Alvefur Thu, 17 Mar 2016 18:04:43 +0100
mod_c2s: Remove use of util.async Kim Alvefur Thu, 17 Mar 2016 12:47:24 +0100
sessionmanager: Demote write error to debug message Kim Alvefur Thu, 05 Nov 2015 13:35:16 +0100
sessionmanager: Clarify log message when failing to write data to connection Kim Alvefur Wed, 04 Nov 2015 12:21:46 +0100
sessionmanager: Make session.send() return true unless there really is an error Kim Alvefur Mon, 21 Sep 2015 23:19:48 +0200
core.*: Remove use of module() function Kim Alvefur Sat, 21 Feb 2015 10:42:19 +0100
sessionmanager: Rename argument to avoid name clash with local variable [luacheck] Matthew Wild Wed, 06 May 2015 19:58:33 +0100
sessionmanager: Rename unused loop variables to '_' [luacheck] Matthew Wild Wed, 06 May 2015 19:58:03 +0100
portmanager, s2smanager, sessionmanager, stanza_router, storagemanager, usermanager, util.xml: Add luacheck annotations Matthew Wild Wed, 06 May 2015 19:20:07 +0100
sessionmanager: Rename parameter to avoid varible name conflict Matthew Wild Fri, 03 Apr 2015 19:31:05 +0100
Merge 0.9->0.10 Matthew Wild Thu, 26 Mar 2015 16:48:39 +0000
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. Matthew Wild Tue, 24 Mar 2015 15:57:46 +0000
sessionmanager: Add pre-resource-bind event that would let plugins have a say in resource binding Kim Alvefur Fri, 30 Jan 2015 15:38:54 +0100
sessionmanager: Access bare_session and full_sessions through 'prosody' Matthew Wild Tue, 20 Jan 2015 11:31:58 +0000
core.sessionmanager: Set a fake thread on destroyed sessions, fixes traceback if stanzas are emitted after a session is destroyed (thanks Sven Blumenstein) Kim Alvefur Thu, 11 Sep 2014 00:09:07 +0200
Remove all trailing whitespace Florian Zeitz Fri, 09 Aug 2013 17:48:21 +0200
sessionmanager, s2smanager: Remove unused imports Matthew Wild Thu, 11 Apr 2013 17:35:39 +0100
sessionmanager, s2smanager: Remove open_session tracing Matthew Wild Mon, 08 Apr 2013 15:53:18 +0100
core.*: Complete removal of all traces of the "core" section and section-related code. Kim Alvefur Sat, 23 Mar 2013 02:33:15 +0100
s2smanager: Generate session names used for logging the same way everywhere Kim Alvefur Thu, 24 Jan 2013 00:58:17 +0100
sessionmanager: Log the actual error message when roster loading fails. Waqas Hussain Fri, 30 Nov 2012 09:05:51 +0500
sessionmanager: Lower 'destroying session' message to 'debug' level (from 'info') Matthew Wild Mon, 23 Jul 2012 18:26:30 +0100
Hopefully inert commit to clean up logging across a number of modules, removing all cases of concatenation when building log messages Matthew Wild Mon, 23 Jul 2012 17:32:33 +0100
sessionmanager: Clean up some unused variables and imports Matthew Wild Sun, 22 Jul 2012 23:38:21 +0100
sessionmanager: Have session.send() of a retired session return false to indicate failure Matthew Wild Sun, 22 Jul 2012 16:50:14 +0100
sessionmanager: Remove max_resources config option and check, incorrect anyway (thanks Zash) Matthew Wild Thu, 03 May 2012 23:18:56 +0100
sessionmanager: Require uuid_generate() Matthew Wild Mon, 23 Jan 2012 02:23:23 +0000
sessionmanager, mod_c2s: Move timeout logic to mod_c2s Matthew Wild Mon, 23 Jan 2012 00:56:57 +0000
mod_c2s, sessionmanager, xmppclient_listener: Move all c2s network and stream logic into a new module, mod_c2s Matthew Wild Sun, 22 Jan 2012 23:57:13 +0000
sessionmanager: Remove unused reference to modulemanager Matthew Wild Tue, 13 Dec 2011 15:42:21 +0000
sessionmanager: Remove dependency on util.import Matthew Wild Mon, 27 Jun 2011 14:57:31 +0100
sessionmanager: Log reason when destroying a session. Waqas Hussain Sat, 07 May 2011 21:15:34 +0500
sessionmanager: Fire pre-resource-unbind to allow plugins (such as mod_smacks) to hook and prevent/override session destruction Matthew Wild Tue, 29 Mar 2011 14:10:00 +0100
sessionmanager, s2smanager: Give resting sessions a pass-through filter, fixes #202 Matthew Wild Sun, 22 Aug 2010 21:23:37 +0100
sessionmanager: Remove dependency on eventmanager Matthew Wild Tue, 03 Aug 2010 10:58:15 +0100
Merge 0.7->trunk Matthew Wild Sat, 12 Jun 2010 02:39:18 +0100
sessionmanager: Fixed a traceback on invalid usernames (typo in previous commit). 0.7.0 Waqas Hussain Fri, 11 Jun 2010 21:30:24 +0500
sessionmanager: Moved nodeprep to sessionmanager.make_authenticated. Waqas Hussain Fri, 11 Jun 2010 20:34:00 +0500
sessionmanager: Rename filters_initialize->initialize_filters Matthew Wild Wed, 02 Jun 2010 18:22:23 +0100
sessionmanager: Initialize new sessions for filtering, and add filters for outgoing bytes and stanzas Matthew Wild Wed, 02 Jun 2010 17:51:14 +0100
rostermanager: Correctly clear the bare_sessions table on roster load errors during bind. Waqas Hussain Sun, 23 May 2010 05:46:52 +0500
sessionmanager: Change error for reaching resource limit from 'conflict' to 'resource-constraint' during session bind. Waqas Hussain Sat, 22 May 2010 05:53:27 +0500
sessionmanager: If roster loading fails during resource bind, kick the user with an internal-server-error. Waqas Hussain Sat, 22 May 2010 05:52:24 +0500
Merge 0.6->0.7 Matthew Wild Mon, 22 Mar 2010 17:24:55 +0000
Update copyright headers for 2010 Matthew Wild Mon, 22 Mar 2010 17:06:15 +0000
sessionmanager, s2smanager: Add type of ?2s_destroyed to resting sessions (fixes a logging traceback, thanks Flo) Matthew Wild Mon, 22 Mar 2010 14:58:25 +0000
sessionmanager, s2smanager: Fix for syntax of null_data_handler() (thanks Nolan) Matthew Wild Fri, 12 Feb 2010 17:27:53 +0000
sessionmanager, s2smanager: Give sessions dummy data handlers that log when data is received by a destroyed session Matthew Wild Fri, 12 Feb 2010 17:14:54 +0000
sessionmanager: Added resource prepping, and invalid resource checking to the bind_resource function. Waqas Hussain Mon, 11 Jan 2010 18:59:06 +0500
core.sessionmanager, net.*_listener: Remove the evil collectgarbage() calls Matthew Wild Tue, 24 Nov 2009 20:34:22 +0000
sessionmanager: Don't re-destroy destroyed sessions Matthew Wild Sun, 14 Mar 2010 02:59:41 +0000
sessionmanager: Return stream error when incoming stream header is missing 'to' attribute Matthew Wild Sun, 14 Mar 2010 02:59:16 +0000
sessionmanager: Add close method to resting sessions Matthew Wild Sun, 14 Mar 2010 02:58:11 +0000
sessionmanager, s2smanager: Close session on </stream:stream> Matthew Wild Thu, 11 Mar 2010 01:04:19 +0000
sessionmanager, s2smanager: Destroyed sessions are now simply resting (not dead) until they are collected - prevents a whole class of tracebacks Matthew Wild Mon, 08 Mar 2010 02:13:41 +0000
sessionmanager, s2smanager: Fix for syntax of null_data_handler() (thanks Nolan) Matthew Wild Fri, 12 Feb 2010 17:27:53 +0000
sessionmanager, s2smanager: Give sessions dummy data handlers that log when data is received by a destroyed session Matthew Wild Fri, 12 Feb 2010 17:14:54 +0000
sessionmanager: Fire stream-features event using new events API. Waqas Hussain Fri, 12 Feb 2010 03:49:05 +0500
sessionmanager: Fire resource-unbind event after removing session from sessions table Matthew Wild Thu, 11 Feb 2010 19:34:23 +0000
sessionmanager: Whitespace fix Matthew Wild Wed, 10 Feb 2010 07:53:25 +0000
sessionmanager: Added resource prepping, and invalid resource checking to the bind_resource function. Waqas Hussain Mon, 11 Jan 2010 18:59:06 +0500
core.sessionmanager, net.*_listener: Remove the evil collectgarbage() calls Matthew Wild Tue, 24 Nov 2009 20:34:22 +0000
Merged with 0.6. Waqas Hussain Sun, 22 Nov 2009 21:55:58 +0500
sessionmanager: Added function send_to_interested_resources(). Waqas Hussain Sun, 22 Nov 2009 21:41:09 +0500
sessionmanager: Fixed and cleaned function send_to_available_resources(). The 'to' attribute for presence subscription stanzas is now preserved. Waqas Hussain Sun, 22 Nov 2009 21:40:01 +0500
sessionmanager: Use : syntax for calling connection methods Matthew Wild Sat, 21 Nov 2009 17:07:22 +0000
sessionmanager: Mark client streams as opened sooner to avoid wrapping errors in unnecessary stream tags Paul Aurich Tue, 06 Oct 2009 11:15:55 +0100
sessionmanager: Use UUID for stream ids to clients, no math.random anymore :) Matthew Wild Sat, 03 Oct 2009 18:40:47 +0100
sessionmanager: Add c2s_timeout option for unauthenticated client connections Matthew Wild Sat, 03 Oct 2009 02:41:28 +0100
core.sessionmanager, xmppclient_listener: Move responsibility for setting session.log to the former from the latter, much more sensible Matthew Wild Sun, 16 Aug 2009 21:34:53 +0100
Remove version number from copyright headers Matthew Wild Fri, 10 Jul 2009 03:11:45 +0100
Moved automatic unavailable presence generation on disconnect from sessionmanager to mod_presence Waqas Hussain Sun, 05 Jul 2009 17:45:44 +0500
sessionmanager: Replace raw session by an event data table for resource bind/unbind events, allowing extra data Waqas Hussain Sun, 05 Jul 2009 16:21:58 +0500
sessionmanager: Reset bare_sessions[user] after resource conflict resolution. Fixes the other stanza gobbling bug \o/ Matthew Wild Fri, 03 Jul 2009 21:47:26 +0100
sessionmanager: Newly created sessions shouldn't have a priority. Fixes one of the stanza-gobbling bugs \o/ Matthew Wild Fri, 03 Jul 2009 21:37:09 +0100
Send xml:lang in stream headers, fixes #78 Matthew Wild Wed, 01 Jul 2009 17:53:18 +0100
sessionmanager: Fire event on resource unbind Waqas Hussain Tue, 23 Jun 2009 23:54:57 +0500
sessionmanager: Fire event on resource bind Matthew Wild Mon, 22 Jun 2009 02:58:28 +0100
sessionmanager: It really is username@host, not host@username :) Waqas Hussain Thu, 04 Jun 2009 05:54:32 +0500
sessionmanager: It's username@host, not host@username :) Matthew Wild Tue, 02 Jun 2009 19:08:36 +0100
sessionmanager: Removed a redundant check Waqas Hussain Fri, 29 May 2009 23:23:56 +0500
sessionmanager: Fixed an old FIXME: A problem caused by an error on an authenticated but unbound session Waqas Hussain Fri, 29 May 2009 23:22:58 +0500
sessionmanager: Add/remove sessions from full_sessions and bare_sessions when binding/unbinding sessions Waqas Hussain Fri, 29 May 2009 23:14:57 +0500
sessionmanager: Added reference to globals full_sessions and bare_sessions Waqas Hussain Fri, 29 May 2009 23:01:05 +0500
sessionmanager: Removed reference to global 'sessions' Waqas Hussain Fri, 29 May 2009 22:56:14 +0500
sessionmanager, mod_tls: Mark a session as secure when TLS is active Matthew Wild Fri, 29 May 2009 14:28:53 +0100
sessionmanager: Miscellaneous logging improvements, changing levels, improving messages and using session loggers where possible Matthew Wild Thu, 30 Apr 2009 02:45:10 +0100
sessionmanager, componentmanager: Fix some wacky indentation (thanks greyback!) Matthew Wild Wed, 08 Apr 2009 23:20:22 +0100
sessionmanager, s2smanager, mod_component: Send reply </stream:stream> when client closes stream Matthew Wild Sun, 05 Apr 2009 20:06:39 +0100