prosody.git
15 years agoPrint out the stanza also
Matthew Wild [Fri, 14 Nov 2008 02:23:43 +0000 (02:23 +0000)]
Print out the stanza also

15 years agoFix for detecting when we are routing a stanza to ourself (I'm sure this has somethin...
Matthew Wild [Fri, 14 Nov 2008 02:20:46 +0000 (02:20 +0000)]
Fix for detecting when we are routing a stanza to ourself (I'm sure this has something to do with you, waqas...)

15 years agoAnother small fix, for logging in s2smanager
Matthew Wild [Fri, 14 Nov 2008 02:12:08 +0000 (02:12 +0000)]
Another small fix, for logging in s2smanager

15 years agoAnother small fix, for logging in s2smanager
Matthew Wild [Fri, 14 Nov 2008 02:09:20 +0000 (02:09 +0000)]
Another small fix, for logging in s2smanager

15 years agoMmm, s2s fixed :)
Matthew Wild [Fri, 14 Nov 2008 02:06:17 +0000 (02:06 +0000)]
Mmm, s2s fixed :)

15 years agoMerge from waqas
Matthew Wild [Thu, 13 Nov 2008 16:58:29 +0000 (16:58 +0000)]
Merge from waqas

15 years agoAdd support for remote debugger
Matthew Wild [Thu, 13 Nov 2008 16:47:16 +0000 (16:47 +0000)]
Add support for remote debugger

15 years agoAdded error replies for unhandled stanzas
Waqas Hussain [Thu, 13 Nov 2008 14:14:31 +0000 (19:14 +0500)]
Added error replies for unhandled stanzas

15 years agoAdded basic offline message support
Waqas Hussain [Thu, 13 Nov 2008 07:13:13 +0000 (12:13 +0500)]
Added basic offline message support

15 years agoAdded util.datetime: Utility methods to support XEP-0082: XMPP Date and Time Profiles
Waqas Hussain [Thu, 13 Nov 2008 07:12:19 +0000 (12:12 +0500)]
Added util.datetime: Utility methods to support XEP-0082: XMPP Date and Time Profiles

15 years agoAdded support for storing (and removing), loading and appending to lists of data...
Waqas Hussain [Thu, 13 Nov 2008 07:10:42 +0000 (12:10 +0500)]
Added support for storing (and removing), loading and appending to lists of data to datamanager (for supporting offline messages)

15 years agoFixed stanza deserialization
Waqas Hussain [Thu, 13 Nov 2008 07:07:53 +0000 (12:07 +0500)]
Fixed stanza deserialization

15 years agoMissed importing a function in last commit
Matthew Wild [Thu, 13 Nov 2008 03:56:22 +0000 (03:56 +0000)]
Missed importing a function in last commit

15 years agoChange sending reply stream header to use top_tag()
Matthew Wild [Thu, 13 Nov 2008 03:48:20 +0000 (03:48 +0000)]
Change sending reply stream header to use top_tag()

15 years agoAdd new top_tag() method to stanzas
Matthew Wild [Thu, 13 Nov 2008 03:47:44 +0000 (03:47 +0000)]
Add new top_tag() method to stanzas

15 years agoRewrote SASL Digest-MD5 responce generating code, fixed some realm related issue...
Tobias Markmann [Wed, 12 Nov 2008 20:38:46 +0000 (21:38 +0100)]
Rewrote SASL Digest-MD5 responce generating code, fixed some realm related issue and tested it successfully with Psi. Thanks to dwd, remko and jake.

15 years agoSome s2s fixes. Now connect() does not block, and stanzas are not lost when connectio...
Matthew Wild [Wed, 12 Nov 2008 19:26:08 +0000 (19:26 +0000)]
Some s2s fixes. Now connect() does not block, and stanzas are not lost when connection is slow

15 years agoMerging.
Tobias Markmann [Mon, 10 Nov 2008 15:29:19 +0000 (16:29 +0100)]
Merging.

15 years agoForward response stanzas to sasl.lua and some other stuff.
Tobias Markmann [Mon, 10 Nov 2008 15:28:15 +0000 (16:28 +0100)]
Forward response stanzas to sasl.lua and some other stuff.

15 years agoRenamed some of the variables in jid.split test to make it clearer
Matthew Wild [Mon, 10 Nov 2008 00:00:46 +0000 (00:00 +0000)]
Renamed some of the variables in jid.split test to make it clearer

15 years agoFix jid.split test function
Matthew Wild [Sun, 9 Nov 2008 23:58:19 +0000 (23:58 +0000)]
Fix jid.split test function

15 years agoMerge from waqas
Matthew Wild [Sun, 9 Nov 2008 23:54:54 +0000 (23:54 +0000)]
Merge from waqas

15 years agoFixed typo
Waqas Hussain [Sun, 9 Nov 2008 23:53:42 +0000 (04:53 +0500)]
Fixed typo

15 years agoMerge from waqas
Matthew Wild [Sun, 9 Nov 2008 21:48:01 +0000 (21:48 +0000)]
Merge from waqas

15 years agoMove some code about so that we don't leave connections hanging if they hit the conne...
Matthew Wild [Sun, 9 Nov 2008 21:46:42 +0000 (21:46 +0000)]
Move some code about so that we don't leave connections hanging if they hit the connection timeout

15 years agoFixing some parsing and some other stuff.
Tobias Markmann [Sun, 9 Nov 2008 21:45:17 +0000 (22:45 +0100)]
Fixing some parsing and some other stuff.

15 years agoAdded mod_uptime: [XEP-0012: Last Activity] queries now work when directed at the...
Waqas Hussain [Sun, 9 Nov 2008 20:33:37 +0000 (01:33 +0500)]
Added mod_uptime: [XEP-0012: Last Activity] queries now work when directed at the server.

15 years agoHack to allow s2s stanzas to work until we do proper namespace handling
Waqas Hussain [Sun, 9 Nov 2008 20:30:52 +0000 (01:30 +0500)]
Hack to allow s2s stanzas to work until we do proper namespace handling

15 years agoSome early attempts on DIGEST-MD5.
Tobias Markmann [Sun, 9 Nov 2008 20:16:57 +0000 (21:16 +0100)]
Some early attempts on DIGEST-MD5.

15 years agoActually show error and position when we show a traceback :)
Matthew Wild [Sun, 9 Nov 2008 20:15:31 +0000 (20:15 +0000)]
Actually show error and position when we show a traceback :)

15 years agoPrevent slow connects for s2s from blocking for so long
Matthew Wild [Sun, 9 Nov 2008 20:14:58 +0000 (20:14 +0000)]
Prevent slow connects for s2s from blocking for so long

15 years agoWe don't fail if modules fail to load at startup :)
Waqas Hussain [Sun, 9 Nov 2008 00:24:47 +0000 (05:24 +0500)]
We don't fail if modules fail to load at startup :)

15 years agoWe now fail if modules fail to load at startup.
Waqas Hussain [Sat, 8 Nov 2008 23:26:25 +0000 (04:26 +0500)]
We now fail if modules fail to load at startup.

15 years agoUpdated usermanager with DIGEST-MD5 support
Waqas Hussain [Sat, 8 Nov 2008 22:33:38 +0000 (03:33 +0500)]
Updated usermanager with DIGEST-MD5 support

15 years agoFix some very misleading logging
Matthew Wild [Sat, 8 Nov 2008 20:44:32 +0000 (20:44 +0000)]
Fix some very misleading logging

15 years agoCommitting code to get nicer tracebacks for errors, also we no longer consider such...
Matthew Wild [Sat, 8 Nov 2008 20:42:23 +0000 (20:42 +0000)]
Committing code to get nicer tracebacks for errors, also we no longer consider such errors fatal (probably a bad thing, I know...)

15 years agoJust committing this warning, because I want to know if the problem really affects us
Matthew Wild [Sat, 8 Nov 2008 20:39:08 +0000 (20:39 +0000)]
Just committing this warning, because I want to know if the problem really affects us

15 years agoAdd host field to local host sessions
Matthew Wild [Sat, 8 Nov 2008 20:32:30 +0000 (20:32 +0000)]
Add host field to local host sessions

15 years agoMerge from waqas
Matthew Wild [Sat, 8 Nov 2008 00:17:00 +0000 (00:17 +0000)]
Merge from waqas

15 years agoFix for checking components, but we need to look at this whole block to optimise...
Matthew Wild [Sat, 8 Nov 2008 00:10:01 +0000 (00:10 +0000)]
Fix for checking components, but we need to look at this whole block to optimise it, really we do

15 years agoRedirecting all stanzas not from origin of type s2sin and c2s to core_handle_stanza
Waqas Hussain [Sat, 8 Nov 2008 00:06:22 +0000 (05:06 +0500)]
Redirecting all stanzas not from origin of type s2sin and c2s to core_handle_stanza

15 years agoShortened log output for incoming stanzas and an added check.
Waqas Hussain [Thu, 6 Nov 2008 21:38:44 +0000 (02:38 +0500)]
Shortened log output for incoming stanzas and an added check.

15 years agoFixed some whitespace.
Waqas Hussain [Thu, 6 Nov 2008 11:57:10 +0000 (16:57 +0500)]
Fixed some whitespace.

15 years agoReworked the way lxmppd.cfg is used
Waqas Hussain [Thu, 6 Nov 2008 11:52:39 +0000 (16:52 +0500)]
Reworked the way lxmppd.cfg is used

15 years agoRe-applying my changes to componentmanager. Sigh.
Matthew Wild [Tue, 4 Nov 2008 22:50:32 +0000 (22:50 +0000)]
Re-applying my changes to componentmanager. Sigh.

15 years agoAdding component support. Again...
Waqas Hussain [Tue, 4 Nov 2008 22:47:22 +0000 (03:47 +0500)]
Adding component support. Again...

15 years ago/me glares at waqas for messing up the repo
Matthew Wild [Tue, 4 Nov 2008 22:42:06 +0000 (22:42 +0000)]
/me glares at waqas for messing up the repo

15 years ago/me glares at MattJ
Waqas Hussain [Tue, 4 Nov 2008 22:06:05 +0000 (03:06 +0500)]
/me glares at MattJ

15 years agoPart 2 of internal components. Should have mentioned that the previous commit was...
Matthew Wild [Tue, 4 Nov 2008 18:17:48 +0000 (18:17 +0000)]
Part 2 of internal components. Should have mentioned that the previous commit was from waqas, this one from me.

15 years agoPart one of internal component support
Matthew Wild [Tue, 4 Nov 2008 18:15:56 +0000 (18:15 +0000)]
Part one of internal component support

15 years agoCommented a buggy check
Waqas Hussain [Tue, 4 Nov 2008 12:43:48 +0000 (17:43 +0500)]
Commented a buggy check

15 years agoInternal component support
Waqas Hussain [Tue, 4 Nov 2008 12:25:12 +0000 (17:25 +0500)]
Internal component support

15 years agoFoxed: Copy stanza type in reply for presence and message stanzas
Waqas Hussain [Tue, 4 Nov 2008 12:21:27 +0000 (17:21 +0500)]
Foxed: Copy stanza type in reply for presence and message stanzas

15 years agoMerge (for some reason)
Matthew Wild [Tue, 4 Nov 2008 01:26:56 +0000 (01:26 +0000)]
Merge (for some reason)

15 years agoA little whitespace fix
Waqas Hussain [Mon, 3 Nov 2008 19:41:40 +0000 (00:41 +0500)]
A little whitespace fix

15 years agoDatamanager now deletes files with no data
Waqas Hussain [Mon, 3 Nov 2008 02:50:09 +0000 (07:50 +0500)]
Datamanager now deletes files with no data

15 years agoReformatted lxmppd.cfg.dist and removed redundant variable
Waqas Hussain [Mon, 3 Nov 2008 02:48:39 +0000 (07:48 +0500)]
Reformatted lxmppd.cfg.dist and removed redundant variable

15 years agoimported patch srv-for-cdr-se.patch
Matthew Wild [Sun, 2 Nov 2008 17:36:40 +0000 (17:36 +0000)]
imported patch srv-for-cdr-se.patch

15 years agoRemoved require "core.stanza_dispatch"
Waqas Hussain [Sun, 2 Nov 2008 17:28:32 +0000 (22:28 +0500)]
Removed require "core.stanza_dispatch"

15 years agoRemove obsolete stanza_dispatch.lua
Matthew Wild [Sun, 2 Nov 2008 16:42:20 +0000 (16:42 +0000)]
Remove obsolete stanza_dispatch.lua

15 years agomerge from waqas
Matthew Wild [Sun, 2 Nov 2008 02:02:41 +0000 (02:02 +0000)]
merge from waqas

15 years agoPriority based message routing, etc
Waqas Hussain [Sun, 2 Nov 2008 01:53:31 +0000 (06:53 +0500)]
Priority based message routing, etc

15 years agoAdded resource priority handling, etc
Waqas Hussain [Sun, 2 Nov 2008 01:36:42 +0000 (06:36 +0500)]
Added resource priority handling, etc

15 years agoFix for previous commit (again)
Matthew Wild [Sun, 2 Nov 2008 01:30:36 +0000 (01:30 +0000)]
Fix for previous commit (again)

15 years agoFix for previous commit
Matthew Wild [Sun, 2 Nov 2008 01:28:27 +0000 (01:28 +0000)]
Fix for previous commit

15 years agoFix for add_iq_handler to allow multiple origin types too
Matthew Wild [Sun, 2 Nov 2008 01:26:37 +0000 (01:26 +0000)]
Fix for add_iq_handler to allow multiple origin types too

15 years agovcards for s2s
Matthew Wild [Sun, 2 Nov 2008 01:20:42 +0000 (01:20 +0000)]
vcards for s2s

15 years agoFix MD5 loading check
Matthew Wild [Sun, 2 Nov 2008 01:19:23 +0000 (01:19 +0000)]
Fix MD5 loading check

15 years agomod_roster fix
Waqas Hussain [Sat, 1 Nov 2008 21:23:52 +0000 (02:23 +0500)]
mod_roster fix

15 years agoAnother fix for s2s (well, let's say it was more for modules)
Matthew Wild [Sat, 1 Nov 2008 21:10:19 +0000 (21:10 +0000)]
Another fix for s2s (well, let's say it was more for modules)

15 years agoFix s2s once and for all
Matthew Wild [Sat, 1 Nov 2008 21:07:14 +0000 (21:07 +0000)]
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

15 years agoGeneral fixes for s2s, to make it more robust (I hope), sending data to remote hosts...
Matthew Wild [Sat, 1 Nov 2008 18:28:46 +0000 (18:28 +0000)]
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.

15 years agoFix for mod_version over s2s
Matthew Wild [Sat, 1 Nov 2008 18:23:52 +0000 (18:23 +0000)]
Fix for mod_version over s2s

15 years agomod_version is here
Matthew Wild [Thu, 30 Oct 2008 21:26:53 +0000 (21:26 +0000)]
mod_version is here

15 years agoWas a bit hasty to remove send_s2s() from stanza_router. We still use it, and there...
Matthew Wild [Thu, 30 Oct 2008 21:19:26 +0000 (21:19 +0000)]
Was a bit hasty to remove send_s2s() from stanza_router. We still use it, and there is no problem with it.

15 years agosends2s -> s2s_session.send(), s2s_session.send() -> s2s_session.sends2s()
Matthew Wild [Thu, 30 Oct 2008 21:11:22 +0000 (21:11 +0000)]
sends2s -> s2s_session.send(), s2s_session.send() -> s2s_session.sends2s()
Should fix outward routing problems.

15 years agoAdded support for XEP-0049: Private XML Storage (mod_private)
Waqas Hussain [Sun, 26 Oct 2008 16:22:59 +0000 (21:22 +0500)]
Added support for XEP-0049: Private XML Storage (mod_private)

15 years agomod_vcard: Fixed to use new util.stanza.add_child
Waqas Hussain [Sun, 26 Oct 2008 16:21:38 +0000 (21:21 +0500)]
mod_vcard: Fixed to use new util.stanza.add_child

15 years agoCombined some lines
Waqas Hussain [Sun, 26 Oct 2008 16:19:49 +0000 (21:19 +0500)]
Combined some lines

15 years agoDatamanager Fixes and improvements
Waqas Hussain [Sun, 26 Oct 2008 16:19:04 +0000 (21:19 +0500)]
Datamanager Fixes and improvements
 - Pretty printing
 - Fixed bug causing a nil concatenation error when saving a datastore for nil user or host

15 years agoDon't set cursor inside added child when using add_child()
Matthew Wild [Sun, 26 Oct 2008 14:39:52 +0000 (14:39 +0000)]
Don't set cursor inside added child when using add_child()

15 years agoMake add_child() behave as expected. Old add_child() is now add_direct_child()
Matthew Wild [Sun, 26 Oct 2008 14:27:10 +0000 (14:27 +0000)]
Make add_child() behave as expected. Old add_child() is now add_direct_child()

15 years agoBetter logging of s2s connections
Matthew Wild [Sun, 26 Oct 2008 14:03:40 +0000 (14:03 +0000)]
Better logging of s2s connections

15 years agoMerge presence/subscription support from waqas
Matthew Wild [Sun, 26 Oct 2008 13:19:09 +0000 (13:19 +0000)]
Merge presence/subscription support from waqas

15 years agoLittle tweak for more useful logging of closed s2s sessions
Matthew Wild [Sun, 26 Oct 2008 13:14:14 +0000 (13:14 +0000)]
Little tweak for more useful logging of closed s2s sessions

15 years agoLog when an incoming dialback verification request is an invalid key for our domain
Matthew Wild [Sat, 25 Oct 2008 19:34:21 +0000 (20:34 +0100)]
Log when an incoming dialback verification request is an invalid key for our domain

15 years agoBug fixes and checks for presence subscriptions, etc
Waqas Hussain [Sat, 25 Oct 2008 19:22:18 +0000 (00:22 +0500)]
Bug fixes and checks for presence subscriptions, etc

15 years agoRemove misleading log message regarding s2s/dialback
Matthew Wild [Sat, 25 Oct 2008 17:21:34 +0000 (18:21 +0100)]
Remove misleading log message regarding s2s/dialback

15 years agoOutbound presence subscription
Waqas Hussain [Sat, 25 Oct 2008 16:16:08 +0000 (21:16 +0500)]
Outbound presence subscription

15 years agoRouting code reorganization
Waqas Hussain [Sat, 25 Oct 2008 01:49:48 +0000 (06:49 +0500)]
Routing code reorganization

15 years agoInbound subscription request
Waqas Hussain [Fri, 24 Oct 2008 22:13:10 +0000 (03:13 +0500)]
Inbound subscription request

15 years agoInbound unsubscribe
Waqas Hussain [Fri, 24 Oct 2008 21:38:24 +0000 (02:38 +0500)]
Inbound unsubscribe

15 years agoInbound subscription cancellation
Waqas Hussain [Fri, 24 Oct 2008 21:29:58 +0000 (02:29 +0500)]
Inbound subscription cancellation

15 years agoInbound subscription approval
Waqas Hussain [Fri, 24 Oct 2008 21:16:29 +0000 (02:16 +0500)]
Inbound subscription approval

15 years agoMinor fixes, comments
Waqas Hussain [Fri, 24 Oct 2008 20:48:34 +0000 (01:48 +0500)]
Minor fixes, comments

15 years agoBacked out changeset 4adc53e03b4d (garbage collection)
Matthew Wild [Fri, 24 Oct 2008 18:04:51 +0000 (19:04 +0100)]
Backed out changeset 4adc53e03b4d (garbage collection)

15 years agoExtra garbage collection, for debugging
Matthew Wild [Fri, 24 Oct 2008 17:43:26 +0000 (18:43 +0100)]
Extra garbage collection, for debugging

15 years agoother half of previous commit
Matthew Wild [Fri, 24 Oct 2008 17:14:40 +0000 (18:14 +0100)]
other half of previous commit

15 years agoClean up session when s2s connections are disconnected
Matthew Wild [Fri, 24 Oct 2008 17:13:54 +0000 (18:13 +0100)]
Clean up session when s2s connections are disconnected

15 years agoRemove some overly-verbose debug log output
Matthew Wild [Fri, 24 Oct 2008 14:33:38 +0000 (15:33 +0100)]
Remove some overly-verbose debug log output