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
Waqas Hussain
e7cfd63968
Moved incoming c2s presence handling from stanza_router to presencemanager
2008-11-29 08:25:34 +05:00
Matthew Wild
a153b3c267
Bumper commit for the new modulemanager API \o/ Updates all the modules, though some more changes may be in store.
2008-11-27 03:12:12 +00:00
Matthew Wild
3b1d2b2963
Now possible to specify nil origin to core_route_stanza. Origin will be chosen as the host of the 'from' attribute on the stanza. Returns false on no such host.
2008-11-21 05:59:03 +00:00
Matthew Wild
5efcee9d4d
Remove or comment useless prints, or change them to log()
2008-11-20 03:00:43 +00:00
Matthew Wild
c1acb03d53
Don't error reply to stanzas direct over the s2s stream they came from
2008-11-20 02:05:26 +00:00
Matthew Wild
f611cb1c73
Extra checks before sending error replies to incoming stanzas
2008-11-19 05:09:05 +00:00
Waqas Hussain
cf763f1f65
Moved presence subscription code from stanza_router to presencemanager
2008-11-17 10:15:04 +05:00
Matthew Wild
62ee1df6b6
Fix routing of outbound iq stanzas
2008-11-15 19:13:28 +00:00
Matthew Wild
50e328e87f
Only reply with errors if the stanza is not an error or a result (don't know how much bandwidth this just cost me :) )
2008-11-14 18:46:00 +00:00