Commit graph

13812 commits

Author SHA1 Message Date
Waqas Hussain
6f9e33247c Commented a buggy check 2008-11-04 17:43:48 +05:00
Waqas Hussain
0ee447e39f Internal component support 2008-11-04 17:25:12 +05:00
Waqas Hussain
97853af1a8 Foxed: Copy stanza type in reply for presence and message stanzas 2008-11-04 17:21:27 +05:00
Matthew Wild
e955346284 Merge (for some reason) 2008-11-04 01:26:56 +00:00
Waqas Hussain
a73dd8eabb A little whitespace fix 2008-11-04 00:41:40 +05:00
Waqas Hussain
eb599a8379 Datamanager now deletes files with no data 2008-11-03 07:50:09 +05:00
Waqas Hussain
db114e8e3f Reformatted lxmppd.cfg.dist and removed redundant variable 2008-11-03 07:48:39 +05:00
Matthew Wild
d7131504f9 imported patch srv-for-cdr-se.patch 2008-11-02 17:36:40 +00:00
Waqas Hussain
2232d4a893 Removed require "core.stanza_dispatch" 2008-11-02 22:28:32 +05:00
Matthew Wild
141e131bd9 Remove obsolete stanza_dispatch.lua 2008-11-02 16:42:20 +00:00
Matthew Wild
8b4c555bd1 merge from waqas 2008-11-02 02:02:41 +00:00
Waqas Hussain
02b083a747 Priority based message routing, etc 2008-11-02 06:53:31 +05:00
Waqas Hussain
66ae6ceaa8 Added resource priority handling, etc 2008-11-02 06:36:42 +05:00
Matthew Wild
130049e231 Fix for previous commit (again) 2008-11-02 01:30:36 +00:00
Matthew Wild
deb12dc32b Fix for previous commit 2008-11-02 01:28:27 +00:00
Matthew Wild
ad6a210750 Fix for add_iq_handler to allow multiple origin types too 2008-11-02 01:26:37 +00:00
Matthew Wild
bc2809ddd9 vcards for s2s 2008-11-02 01:20:42 +00:00
Matthew Wild
6df10675c8 Fix MD5 loading check 2008-11-02 01:19:23 +00:00
Waqas Hussain
3a14c1ab21 mod_roster fix 2008-11-02 02:23:52 +05:00
Matthew Wild
084b66894b Another fix for s2s (well, let's say it was more for modules) 2008-11-01 21:10:19 +00:00
Matthew Wild
4851756ca4 Fix s2s once and for all
- Moved dialback to the new mod_dialback (mostly).
- Modules can now supply a list of origins to handle to add_handler
- Modules can now handle and process any stanza, overriding the core
- Modules handle non-jabber:client/jabber:server xmlns'd stanzas
2008-11-01 21:07:14 +00:00
Matthew Wild
7a2fc45f65 General fixes for s2s, to make it more robust (I hope), sending data to remote hosts sane (s2ssession.send() works as expected), recycle outgoing dialback connections, etc. 2008-11-01 18:28:46 +00:00
Matthew Wild
40726a8a0a Fix for mod_version over s2s 2008-11-01 18:23:52 +00:00
Matthew Wild
005b4b9d75 mod_version is here 2008-10-30 21:26:53 +00:00
Matthew Wild
a961f27b69 Was a bit hasty to remove send_s2s() from stanza_router. We still use it, and there is no problem with it. 2008-10-30 21:19:26 +00:00
Matthew Wild
81ed508227 sends2s -> s2s_session.send(), s2s_session.send() -> s2s_session.sends2s()
Should fix outward routing problems.
2008-10-30 21:11:22 +00:00
Waqas Hussain
7117792df5 Added support for XEP-0049: Private XML Storage (mod_private) 2008-10-26 21:22:59 +05:00
Waqas Hussain
0e5389054a mod_vcard: Fixed to use new util.stanza.add_child 2008-10-26 21:21:38 +05:00
Waqas Hussain
cc17cb001a Combined some lines 2008-10-26 21:19:49 +05:00
Waqas Hussain
2eede674d4 Datamanager Fixes and improvements
- Pretty printing
 - Fixed bug causing a nil concatenation error when saving a datastore for nil user or host
2008-10-26 21:19:04 +05:00
Matthew Wild
e8ecd95917 Don't set cursor inside added child when using add_child() 2008-10-26 14:39:52 +00:00
Matthew Wild
cd77265014 Make add_child() behave as expected. Old add_child() is now add_direct_child() 2008-10-26 14:27:10 +00:00
Matthew Wild
6db0c3f082 Better logging of s2s connections 2008-10-26 14:03:40 +00:00
Matthew Wild
4d5a2486b5 Merge presence/subscription support from waqas 2008-10-26 13:19:09 +00:00
Matthew Wild
08940b2308 Little tweak for more useful logging of closed s2s sessions 2008-10-26 13:14:14 +00:00
Matthew Wild
77dcd4c0c5 Log when an incoming dialback verification request is an invalid key for our domain 2008-10-25 20:34:21 +01:00
Waqas Hussain
1746f7eea0 Bug fixes and checks for presence subscriptions, etc 2008-10-26 00:22:18 +05:00
Matthew Wild
599efdf60d Remove misleading log message regarding s2s/dialback 2008-10-25 18:21:34 +01:00
Waqas Hussain
091e961c40 Outbound presence subscription 2008-10-25 21:16:08 +05:00
Waqas Hussain
30de434801 Routing code reorganization 2008-10-25 06:49:48 +05:00
Waqas Hussain
9bd8c81c91 Inbound subscription request 2008-10-25 03:13:10 +05:00
Waqas Hussain
2ab824859d Inbound unsubscribe 2008-10-25 02:38:24 +05:00
Waqas Hussain
6c822abf42 Inbound subscription cancellation 2008-10-25 02:29:58 +05:00
Waqas Hussain
17d7c83a71 Inbound subscription approval 2008-10-25 02:16:29 +05:00
Waqas Hussain
b1d1a87772 Minor fixes, comments 2008-10-25 01:48:34 +05:00
Matthew Wild
ffd784e833 Backed out changeset 4adc53e03b4d (garbage collection) 2008-10-24 19:04:51 +01:00
Matthew Wild
20f24311a4 Extra garbage collection, for debugging 2008-10-24 18:43:26 +01:00
Matthew Wild
e5e0811552 other half of previous commit 2008-10-24 18:14:40 +01:00
Matthew Wild
c91a86c73a Clean up session when s2s connections are disconnected 2008-10-24 18:13:54 +01:00
Matthew Wild
f9d8f8970f Remove some overly-verbose debug log output 2008-10-24 15:33:38 +01:00