Matthew Wild
75ef8cbd13
stanza_router: s/conn/stream/ in log message
2009-05-16 20:48:07 +01:00
Matthew Wild
7a4e9c758e
stanza_router: Remove FIXME and replace with meaningful comment
2009-05-16 20:19:15 +01:00
Waqas Hussain
770011c63a
stanza_router: Added global function core_post_stanza
2009-05-16 03:58:05 +05:00
Waqas Hussain
d21570b4f0
stanza_router: Improved message routing order
2009-05-16 02:19:16 +05:00
Waqas Hussain
d097fa5bf9
Dropped support for resource based components
2009-05-16 02:07:27 +05:00
Waqas Hussain
32b1d54a24
stanza_router: Removed global function core_handle_stanza
2009-05-16 01:41:45 +05:00
Waqas Hussain
676ae568df
stanza_router: Cleaner namespace handling
2009-05-16 00:33:49 +05:00
Waqas Hussain
7ae6c3eaff
stanza_router: Refactored core_handle_stanza, and added handling for unsupported top-level stanzas
2009-05-16 00:03:24 +05:00
Waqas Hussain
b394dc9155
stanza_router: Fire events after all checks
2009-05-15 23:42:35 +05:00
Waqas Hussain
d836e5c09d
stanza_router: Removed some unnecessary code
2009-05-15 08:42:53 +05:00
Waqas Hussain
ac714ae51b
stanza_router: Removed a FIXME
2009-05-15 08:30:48 +05:00
Waqas Hussain
49f6299766
stanza_router: Fixed an invalid stanza check
2009-05-15 07:04:41 +05:00
Waqas Hussain
669916fb93
stanza_router: Remove unnecessary directed presence handling
2009-05-15 06:34:08 +05:00
Waqas Hussain
d996755860
stanza_router: Prevent further processing of a handled stanza
2009-05-15 06:31:32 +05:00
Matthew Wild
bc1c94544b
Merge with 0.4
2009-05-13 16:55:20 +01:00
Matthew Wild
482dc64bc9
stanza_router: Bounce stanzas to/from invalid JIDs with a jid-malformed error
2009-05-13 16:54:46 +01:00
Matthew Wild
680cdc8f29
stanza_router: Pass session.to_host to modulemanager, fixes modules for s2sin_unauthed
2009-05-09 19:43:11 +01:00
Matthew Wild
df7b92f654
stanzarouter: Make _G.hosts local
2009-04-22 21:33:44 +01:00
Waqas Hussain
85faabc6f4
Stopped using presencemanager in stanza_router
2009-04-15 04:21:20 +05:00
Waqas Hussain
287a14959e
core/eventmanager2 - new event manager
2009-04-15 02:10:05 +05:00
Waqas Hussain
9982558804
Fixed: Send correct error reply for IQs directed at unavailable resources
2009-04-07 02:32:49 +05:00
Waqas Hussain
6951dc1cd2
Fixed: Issue with presence error routing
2009-04-07 02:24:37 +05:00
Waqas Hussain
0f9fd252f6
Fixed: stanza_router: Respond with correct stanza error on malformed stanzas
2009-03-30 01:57:51 +05:00
Matthew Wild
207a2250b6
core.stanza_router: Allow routing from components
2009-03-21 21:42:14 +00:00
Matthew Wild
d469ca0cc1
Merge
2009-03-20 20:17:05 +00:00
Matthew Wild
c80f91dc02
0.3->0.4
2009-03-20 20:16:25 +00:00
Matthew Wild
94692c20ef
Don't reject some valid IQs. Thanks to elmex for spotting.
2009-03-14 16:03:48 +00:00
Matthew Wild
a6107b2b5e
core.stanza_router: Don't bounce errors to iq type=result/error
2009-03-02 19:45:44 +00:00
Matthew Wild
4a34bb9ade
core.stanza_router: Reply with error to groupchat messages directed at unavailable resources or offline users
2009-02-28 04:58:14 +00:00
Matthew Wild
f956da83d2
stanza_router: Fix handling of iq from c2s to bare JIDs, thanks to jaharkes for spotting
2009-02-11 19:53:09 +00:00
Waqas Hussain
5833e92990
Change the to attribute of messages to the recipients' bare JID when the recipient/resource is offline.
2009-02-11 23:26:18 +05:00
Waqas Hussain
55223db764
Stanza router: Message to bare JID fixes
...
- headline messages get sent to all non-negative priority available resource
- all other messages get sent to the set of highest non-negative priority available resources
- only messages of type chat and normal or missing type go into offline storage
2009-02-11 23:16:14 +05:00
Waqas Hussain
33306b3fb7
Fixed: Some presence stanzas from local users were not being routed correctly to components (ghosts in mod_muc)
2009-02-11 18:11:41 +05:00
Waqas Hussain
2f24ab95fe
Fixed directed presence handling to work correctly for components
2009-02-11 18:09:41 +05:00
Matthew Wild
c5ee166aa9
Update copyright notices for 2009
2009-01-30 17:59:26 +00:00
Matthew Wild
f2d020191f
0.2->0.3
2009-01-30 17:40:25 +00:00
Matthew Wild
bf3b96204d
GPL->MIT!
2009-01-30 17:22:56 +00:00
Matthew Wild
da06bc06ba
stanza_router: That'll teach me to not commit at this time of night. Or not.
2009-01-16 04:57:23 +00:00
Matthew Wild
69bededafc
Replacing pretty_print() with top_tag() for logging
2009-01-16 04:37:16 +00:00
Waqas Hussain
6088654023
Stringprep!
2009-01-15 04:36:35 +05:00
Waqas Hussain
bf2469eb7c
stanza_router: Fixed error replies for unhandled stanzas
2009-01-14 22:35:01 +05:00
Waqas Hussain
86e114c8a2
Send host, and not the recipient's JID to module manager ( fixes #53 )
2008-12-31 13:52:41 +05:00
Waqas Hussain
a461a41dbe
More error replies for offline and non-existing users
2008-12-25 05:16:11 +05:00
Waqas Hussain
f963d6de4a
Directed presence
2008-12-25 04:58:15 +05:00
Waqas Hussain
bc031ae346
Changed order of checking for component hosts to check the full and bare JIDs before the hostname (at another place)
2008-12-25 04:27:19 +05:00
Waqas Hussain
b6e1405a9a
Bounce stanza errors on failed s2s
2008-12-19 01:57:13 +05:00
Matthew Wild
2e83fd69f7
Add support for dialback piggy-backing. Fixes #37 . Thanks to CShadowRun for helping me test :)
2008-12-13 17:43:52 +00:00
Matthew Wild
d3ad4a5123
0.1 -> 0.2
2008-12-10 15:44:03 +00:00
Waqas Hussain
bfe08e485c
Fixed: Stopped tryint to send error replies on unauthed connections
2008-12-06 07:24:15 +05:00
Matthew Wild
0c5cc83112
Insert copyright/license headers
2008-12-03 14:39:07 +00:00