Matthew Wild
|
13b36f8ded
|
mod_c2s, sessionmanager, xmppclient_listener: Move all c2s network and stream logic into a new module, mod_c2s
|
2012-01-22 23:57:13 +00:00 |
|
Matthew Wild
|
c60f52cc4d
|
sessionmanager: Remove unused reference to modulemanager
|
2011-12-13 15:42:21 +00:00 |
|
Matthew Wild
|
d32ab3e7a8
|
sessionmanager: Remove dependency on util.import
|
2011-06-27 14:57:31 +01:00 |
|
Waqas Hussain
|
fe3b3eecae
|
sessionmanager: Log reason when destroying a session.
|
2011-05-07 21:15:34 +05:00 |
|
Matthew Wild
|
4e83c7ddd6
|
sessionmanager: Fire pre-resource-unbind to allow plugins (such as mod_smacks) to hook and prevent/override session destruction
|
2011-03-29 14:10:00 +01:00 |
|
Matthew Wild
|
85921c4877
|
sessionmanager, s2smanager: Give resting sessions a pass-through filter, fixes #202
|
2010-08-22 21:23:37 +01:00 |
|
Matthew Wild
|
45a5d66455
|
sessionmanager: Remove dependency on eventmanager
|
2010-08-03 10:58:15 +01:00 |
|
Matthew Wild
|
06982adcd2
|
Merge 0.7->trunk
|
2010-06-12 02:39:18 +01:00 |
|
Waqas Hussain
|
bc718af42e
|
sessionmanager: Fixed a traceback on invalid usernames (typo in previous commit).
|
2010-06-11 21:30:24 +05:00 |
|
Waqas Hussain
|
a6d821d5d6
|
sessionmanager: Moved nodeprep to sessionmanager.make_authenticated.
|
2010-06-11 20:34:00 +05:00 |
|
Matthew Wild
|
215235bd7c
|
sessionmanager: Rename filters_initialize->initialize_filters
|
2010-06-02 18:22:23 +01:00 |
|
Matthew Wild
|
828f40f911
|
sessionmanager: Initialize new sessions for filtering, and add filters for outgoing bytes and stanzas
|
2010-06-02 17:51:14 +01:00 |
|
Waqas Hussain
|
8abd2f2c24
|
rostermanager: Correctly clear the bare_sessions table on roster load errors during bind.
|
2010-05-23 05:46:52 +05:00 |
|
Waqas Hussain
|
c1257c7435
|
sessionmanager: Change error for reaching resource limit from 'conflict' to 'resource-constraint' during session bind.
|
2010-05-22 05:53:27 +05:00 |
|
Waqas Hussain
|
f77c1fc2d0
|
sessionmanager: If roster loading fails during resource bind, kick the user with an internal-server-error.
|
2010-05-22 05:52:24 +05:00 |
|
Matthew Wild
|
46c0b8c7f9
|
Merge 0.6->0.7
|
2010-03-22 17:24:55 +00:00 |
|
Matthew Wild
|
2bc0606453
|
Update copyright headers for 2010
|
2010-03-22 17:06:15 +00:00 |
|
Matthew Wild
|
6fc597e709
|
sessionmanager, s2smanager: Add type of ?2s_destroyed to resting sessions (fixes a logging traceback, thanks Flo)
|
2010-03-22 14:58:25 +00:00 |
|
Matthew Wild
|
415ac76d28
|
sessionmanager: Don't re-destroy destroyed sessions
|
2010-03-14 02:59:41 +00:00 |
|
Matthew Wild
|
c42dd4c962
|
sessionmanager: Return stream error when incoming stream header is missing 'to' attribute
|
2010-03-14 02:59:16 +00:00 |
|
Matthew Wild
|
8b94f4df25
|
sessionmanager: Add close method to resting sessions
|
2010-03-14 02:58:11 +00:00 |
|
Matthew Wild
|
8e4f70c4a2
|
sessionmanager, s2smanager: Close session on </stream:stream>
|
2010-03-11 01:04:19 +00:00 |
|
Matthew Wild
|
7b445486a0
|
sessionmanager, s2smanager: Destroyed sessions are now simply resting (not dead) until they are collected - prevents a whole class of tracebacks
|
2010-03-08 02:13:41 +00:00 |
|
Matthew Wild
|
fee6a443f9
|
sessionmanager, s2smanager: Fix for syntax of null_data_handler() (thanks Nolan)
|
2010-02-12 17:27:53 +00:00 |
|
Matthew Wild
|
a76e149c1c
|
sessionmanager, s2smanager: Give sessions dummy data handlers that log when data is received by a destroyed session
|
2010-02-12 17:14:54 +00:00 |
|
Waqas Hussain
|
8946ed6f6c
|
sessionmanager: Fire stream-features event using new events API.
|
2010-02-12 03:49:05 +05:00 |
|
Matthew Wild
|
397105c519
|
sessionmanager: Fire resource-unbind event after removing session from sessions table
|
2010-02-11 19:34:23 +00:00 |
|
Matthew Wild
|
ef60c36f61
|
sessionmanager: Whitespace fix
|
2010-02-10 07:53:25 +00:00 |
|
Waqas Hussain
|
9dd8d35ae8
|
sessionmanager: Added resource prepping, and invalid resource checking to the bind_resource function.
|
2010-01-11 18:59:06 +05:00 |
|
Matthew Wild
|
f5afdcb564
|
core.sessionmanager, net.*_listener: Remove the evil collectgarbage() calls
|
2009-11-24 20:34:22 +00:00 |
|
Waqas Hussain
|
4c8e3f457d
|
Merged with 0.6.
|
2009-11-22 21:55:58 +05:00 |
|
Waqas Hussain
|
bb00a63d23
|
sessionmanager: Added function send_to_interested_resources().
|
2009-11-22 21:41:09 +05:00 |
|
Waqas Hussain
|
10d98b6eef
|
sessionmanager: Fixed and cleaned function send_to_available_resources(). The 'to' attribute for presence subscription stanzas is now preserved.
|
2009-11-22 21:40:01 +05:00 |
|
Matthew Wild
|
ecb81f3ad2
|
sessionmanager: Use : syntax for calling connection methods
|
2009-11-21 17:07:22 +00:00 |
|
Matthew Wild
|
4a592b5069
|
sessionmanager, s2smanager: Fix for syntax of null_data_handler() (thanks Nolan)
|
2010-02-12 17:27:53 +00:00 |
|
Matthew Wild
|
2739ed3948
|
sessionmanager, s2smanager: Give sessions dummy data handlers that log when data is received by a destroyed session
|
2010-02-12 17:14:54 +00:00 |
|
Waqas Hussain
|
909e439525
|
sessionmanager: Added resource prepping, and invalid resource checking to the bind_resource function.
|
2010-01-11 18:59:06 +05:00 |
|
Matthew Wild
|
95b463a3ee
|
core.sessionmanager, net.*_listener: Remove the evil collectgarbage() calls
|
2009-11-24 20:34:22 +00:00 |
|
Paul Aurich
|
1a9c9dd936
|
sessionmanager: Mark client streams as opened sooner to avoid wrapping errors in unnecessary stream tags
|
2009-10-06 11:15:55 +01:00 |
|
Matthew Wild
|
65aab24c5c
|
sessionmanager: Use UUID for stream ids to clients, no math.random anymore :)
|
2009-10-03 18:40:47 +01:00 |
|
Matthew Wild
|
58c524a536
|
sessionmanager: Add c2s_timeout option for unauthenticated client connections
|
2009-10-03 02:41:28 +01:00 |
|
Matthew Wild
|
4f3a0bf66d
|
core.sessionmanager, xmppclient_listener: Move responsibility for setting session.log to the former from the latter, much more sensible
|
2009-08-16 21:34:53 +01:00 |
|
Matthew Wild
|
118883d655
|
Remove version number from copyright headers
|
2009-07-10 03:11:45 +01:00 |
|
Waqas Hussain
|
44ba02eef0
|
Moved automatic unavailable presence generation on disconnect from sessionmanager to mod_presence
|
2009-07-05 17:45:44 +05:00 |
|
Waqas Hussain
|
0d65c3fef7
|
sessionmanager: Replace raw session by an event data table for resource bind/unbind events, allowing extra data
|
2009-07-05 16:21:58 +05:00 |
|
Matthew Wild
|
18ab4901ef
|
sessionmanager: Reset bare_sessions[user] after resource conflict resolution. Fixes the other stanza gobbling bug \o/
|
2009-07-03 21:47:26 +01:00 |
|
Matthew Wild
|
63d405dc25
|
sessionmanager: Newly created sessions shouldn't have a priority. Fixes one of the stanza-gobbling bugs \o/
|
2009-07-03 21:37:09 +01:00 |
|
Matthew Wild
|
3dc21c4fc7
|
Send xml:lang in stream headers, fixes #78
|
2009-07-01 17:53:18 +01:00 |
|
Waqas Hussain
|
737636d65a
|
sessionmanager: Fire event on resource unbind
|
2009-06-23 23:54:57 +05:00 |
|
Matthew Wild
|
04d4fb4a73
|
sessionmanager: Fire event on resource bind
|
2009-06-22 02:58:28 +01:00 |
|