Commit Graph

144 Commits (47c821cf549c8ea4645190a8f4bb18b7a2eaee2b)

Author SHA1 Message Date
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 451855fecb sessionmanager: Make session.send() return true unless there really is an error [backported from 0.10] 10 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 4e24283711 sessionmanager: Make session.send() return true unless there really is an error 10 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
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
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
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
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
Matthew Wild 415ac76d28 sessionmanager: Don't re-destroy destroyed sessions 16 years ago
Matthew Wild c42dd4c962 sessionmanager: Return stream error when incoming stream header is missing 'to' attribute 16 years ago
Matthew Wild 8b94f4df25 sessionmanager: Add close method to resting sessions 16 years ago
Matthew Wild 8e4f70c4a2 sessionmanager, s2smanager: Close session on </stream:stream> 16 years ago