Commit Graph

151 Commits (bc3d454dd6f46292f08f4f724203de22a85800ca)

Author SHA1 Message Date
Kim Alvefur 6fca546a68 sessionmanager: Generate shorter random resoures 8 years ago
Kim Alvefur 36bdcaa99c core: Use prosody.hosts instead of _G.hosts for consistency 8 years ago
Kim Alvefur 146acdbd33 vairious: Add annotation when an empty environment is set [luacheck] 8 years ago
Matthew Wild 8049a9c15f sessionmanager: Revert session.type if binding fails due to roster load error 9 years ago
Kim Alvefur 91d2b2518f core: Allow select core modules to mutate some globals (needs luacheck 1.19) 9 years ago
Kim Alvefur 014168ff18 core: Split some very long lines [luacheck] 9 years ago
Kim Alvefur 57db768fd0 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 05164d71b0 mod_c2s: Remove use of util.async 10 years ago
Kim Alvefur 25017eca2b sessionmanager: Demote write error to debug message 10 years ago
Kim Alvefur 40ea69c741 sessionmanager: Clarify log message when failing to write data to connection 10 years ago
Kim Alvefur ca6e01540f sessionmanager: Make session.send() return true unless there really is an error [backported from 0.10] 10 years ago
Kim Alvefur 366a13d95f sessionmanager: Make session.send() return true unless there really is an error 10 years ago
Matthew Wild 1403b88f12 sessionmanager: Rename argument to avoid name clash with local variable [luacheck] 11 years ago
Matthew Wild 4d3004e3fc sessionmanager: Rename unused loop variables to '_' [luacheck] 11 years ago
Matthew Wild 2368a513e2 portmanager, s2smanager, sessionmanager, stanza_router, storagemanager, usermanager, util.xml: Add luacheck annotations 11 years ago
Matthew Wild 1930dee189 sessionmanager: Rename parameter to avoid varible name conflict 11 years ago
Matthew Wild 7a26bcac2e 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 075278ff98 core.*: Remove use of module() function 11 years ago
Kim Alvefur a0f8ff2628 sessionmanager: Add pre-resource-bind event that would let plugins have a say in resource binding 11 years ago
Matthew Wild 7171a02964 sessionmanager: Access bare_session and full_sessions through 'prosody' 11 years ago
Kim Alvefur 7001d9fe09 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 4b618a8727 Remove all trailing whitespace 13 years ago
Matthew Wild 09a18297ad sessionmanager, s2smanager: Remove unused imports 13 years ago
Matthew Wild 752df97c84 sessionmanager, s2smanager: Remove open_session tracing 13 years ago
Kim Alvefur 75e786c1f0 core.*: Complete removal of all traces of the "core" section and section-related code. 13 years ago
Kim Alvefur 1b79eabc8a s2smanager: Generate session names used for logging the same way everywhere 13 years ago
Waqas Hussain d2b8f935c6 sessionmanager: Log the actual error message when roster loading fails. 13 years ago
Matthew Wild db03d95c4c sessionmanager: Lower 'destroying session' message to 'debug' level (from 'info') 14 years ago
Matthew Wild e808645b53 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 c48d02e1d0 sessionmanager: Clean up some unused variables and imports 14 years ago
Matthew Wild ccd9d1088c sessionmanager: Have session.send() of a retired session return false to indicate failure 14 years ago
Matthew Wild 31fa05ba49 sessionmanager: Remove max_resources config option and check, incorrect anyway (thanks Zash) 14 years ago
Matthew Wild e2b553bd2a sessionmanager: Require uuid_generate() 14 years ago
Matthew Wild 308cf1c32f sessionmanager, mod_c2s: Move timeout logic to mod_c2s 14 years ago
Matthew Wild 70b25deb38 mod_c2s, sessionmanager, xmppclient_listener: Move all c2s network and stream logic into a new module, mod_c2s 14 years ago
Matthew Wild 9b3bd4fcc3 sessionmanager: Remove unused reference to modulemanager 14 years ago
Matthew Wild a631d2526d sessionmanager: Remove dependency on util.import 15 years ago
Waqas Hussain cc63bb3d41 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
Matthew Wild 85921c4877 sessionmanager, s2smanager: Give resting sessions a pass-through filter, fixes #202 16 years ago
Matthew Wild 45a5d66455 sessionmanager: Remove dependency on eventmanager 16 years ago
Waqas Hussain bc718af42e sessionmanager: Fixed a traceback on invalid usernames (typo in previous commit). 16 years ago
Waqas Hussain a6d821d5d6 sessionmanager: Moved nodeprep to sessionmanager.make_authenticated. 16 years ago
Matthew Wild 215235bd7c sessionmanager: Rename filters_initialize->initialize_filters 16 years ago
Matthew Wild 828f40f911 sessionmanager: Initialize new sessions for filtering, and add filters for outgoing bytes and stanzas 16 years ago
Waqas Hussain 8abd2f2c24 rostermanager: Correctly clear the bare_sessions table on roster load errors during bind. 16 years ago
Waqas Hussain c1257c7435 sessionmanager: Change error for reaching resource limit from 'conflict' to 'resource-constraint' during session bind. 16 years ago
Waqas Hussain f77c1fc2d0 sessionmanager: If roster loading fails during resource bind, kick the user with an internal-server-error. 16 years ago
Matthew Wild 2bc0606453 Update copyright headers for 2010 16 years ago
Matthew Wild 6fc597e709 sessionmanager, s2smanager: Add type of ?2s_destroyed to resting sessions (fixes a logging traceback, thanks Flo) 16 years ago