Matthew Wild [Sun, 2 Nov 2008 02:02:41 +0000 (02:02 +0000)]
merge from waqas
Waqas Hussain [Sun, 2 Nov 2008 01:53:31 +0000 (06:53 +0500)]
Priority based message routing, etc
Waqas Hussain [Sun, 2 Nov 2008 01:36:42 +0000 (06:36 +0500)]
Added resource priority handling, etc
Matthew Wild [Sun, 2 Nov 2008 01:30:36 +0000 (01:30 +0000)]
Fix for previous commit (again)
Matthew Wild [Sun, 2 Nov 2008 01:28:27 +0000 (01:28 +0000)]
Fix for previous commit
Matthew Wild [Sun, 2 Nov 2008 01:26:37 +0000 (01:26 +0000)]
Fix for add_iq_handler to allow multiple origin types too
Matthew Wild [Sun, 2 Nov 2008 01:20:42 +0000 (01:20 +0000)]
vcards for s2s
Matthew Wild [Sun, 2 Nov 2008 01:19:23 +0000 (01:19 +0000)]
Fix MD5 loading check
Waqas Hussain [Sat, 1 Nov 2008 21:23:52 +0000 (02:23 +0500)]
mod_roster fix
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)
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
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.
Matthew Wild [Sat, 1 Nov 2008 18:23:52 +0000 (18:23 +0000)]
Fix for mod_version over s2s
Matthew Wild [Thu, 30 Oct 2008 21:26:53 +0000 (21:26 +0000)]
mod_version is here
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.
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.
Waqas Hussain [Sun, 26 Oct 2008 16:22:59 +0000 (21:22 +0500)]
Added support for XEP-0049: Private XML Storage (mod_private)
Waqas Hussain [Sun, 26 Oct 2008 16:21:38 +0000 (21:21 +0500)]
mod_vcard: Fixed to use new util.stanza.add_child
Waqas Hussain [Sun, 26 Oct 2008 16:19:49 +0000 (21:19 +0500)]
Combined some lines
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
Matthew Wild [Sun, 26 Oct 2008 14:39:52 +0000 (14:39 +0000)]
Don't set cursor inside added child when using add_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()
Matthew Wild [Sun, 26 Oct 2008 14:03:40 +0000 (14:03 +0000)]
Better logging of s2s connections
Matthew Wild [Sun, 26 Oct 2008 13:19:09 +0000 (13:19 +0000)]
Merge presence/subscription support from waqas
Matthew Wild [Sun, 26 Oct 2008 13:14:14 +0000 (13:14 +0000)]
Little tweak for more useful logging of closed s2s sessions
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
Waqas Hussain [Sat, 25 Oct 2008 19:22:18 +0000 (00:22 +0500)]
Bug fixes and checks for presence subscriptions, etc
Matthew Wild [Sat, 25 Oct 2008 17:21:34 +0000 (18:21 +0100)]
Remove misleading log message regarding s2s/dialback
Waqas Hussain [Sat, 25 Oct 2008 16:16:08 +0000 (21:16 +0500)]
Outbound presence subscription
Waqas Hussain [Sat, 25 Oct 2008 01:49:48 +0000 (06:49 +0500)]
Routing code reorganization
Waqas Hussain [Fri, 24 Oct 2008 22:13:10 +0000 (03:13 +0500)]
Inbound subscription request
Waqas Hussain [Fri, 24 Oct 2008 21:38:24 +0000 (02:38 +0500)]
Inbound unsubscribe
Waqas Hussain [Fri, 24 Oct 2008 21:29:58 +0000 (02:29 +0500)]
Inbound subscription cancellation
Waqas Hussain [Fri, 24 Oct 2008 21:16:29 +0000 (02:16 +0500)]
Inbound subscription approval
Waqas Hussain [Fri, 24 Oct 2008 20:48:34 +0000 (01:48 +0500)]
Minor fixes, comments
Matthew Wild [Fri, 24 Oct 2008 18:04:51 +0000 (19:04 +0100)]
Backed out changeset
4adc53e03b4d (garbage collection)
Matthew Wild [Fri, 24 Oct 2008 17:43:26 +0000 (18:43 +0100)]
Extra garbage collection, for debugging
Matthew Wild [Fri, 24 Oct 2008 17:14:40 +0000 (18:14 +0100)]
other half of previous commit
Matthew Wild [Fri, 24 Oct 2008 17:13:54 +0000 (18:13 +0100)]
Clean up session when s2s connections are disconnected
Matthew Wild [Fri, 24 Oct 2008 14:33:38 +0000 (15:33 +0100)]
Remove some overly-verbose debug log output
Matthew Wild [Fri, 24 Oct 2008 14:32:31 +0000 (15:32 +0100)]
Destroy s2s sendqueue when connection is established successfully and data written
Matthew Wild [Fri, 24 Oct 2008 14:20:34 +0000 (15:20 +0100)]
Fix nil concat for good this time (\!)
Matthew Wild [Fri, 24 Oct 2008 14:18:53 +0000 (15:18 +0100)]
Fix nil concat when non-existant user is probed (another)
Matthew Wild [Fri, 24 Oct 2008 14:16:18 +0000 (15:16 +0100)]
Fix nil concat when non-existant user is probed
Matthew Wild [Fri, 24 Oct 2008 13:59:04 +0000 (14:59 +0100)]
Hack until we get SRV resolving
Matthew Wild [Fri, 24 Oct 2008 13:47:23 +0000 (14:47 +0100)]
Fix for sessionmanager to not throw error when session doesn't have a private logger
Matthew Wild [Fri, 24 Oct 2008 13:46:22 +0000 (14:46 +0100)]
Show error when no MD5 lib available
Matthew Wild [Fri, 24 Oct 2008 13:45:50 +0000 (14:45 +0100)]
Fix mod_legacyauth to not use old stanza_dispatch
Matthew Wild [Fri, 24 Oct 2008 06:57:06 +0000 (07:57 +0100)]
Merge from waqas
Matthew Wild [Fri, 24 Oct 2008 06:36:48 +0000 (07:36 +0100)]
Merging more s2s
Matthew Wild [Fri, 24 Oct 2008 06:34:13 +0000 (07:34 +0100)]
Partial s2s commit
Matthew Wild [Fri, 24 Oct 2008 06:27:36 +0000 (07:27 +0100)]
s2s works! \o/ \o/
Matthew Wild [Fri, 24 Oct 2008 05:13:38 +0000 (06:13 +0100)]
working incoming s2s \o/
Matthew Wild [Fri, 24 Oct 2008 02:42:26 +0000 (03:42 +0100)]
working outgoing s2s \o/
Matthew Wild [Fri, 24 Oct 2008 02:06:55 +0000 (03:06 +0100)]
dialback keys now verified
Waqas Hussain [Thu, 23 Oct 2008 20:06:54 +0000 (01:06 +0500)]
Moved some code and removed unnecessary checks.
Waqas Hussain [Thu, 23 Oct 2008 19:26:01 +0000 (00:26 +0500)]
Presence fixes (again)
- Presence to other resources sent correctly
- Resource of the recipient ignored for all presence except available and unavailable
- Set things up for presence subscriptions
Matthew Wild [Thu, 23 Oct 2008 18:10:16 +0000 (19:10 +0100)]
No need to comment out s2s in this branch
Matthew Wild [Thu, 23 Oct 2008 17:43:00 +0000 (18:43 +0100)]
Backed out changeset
98e9fea75e5b
Matthew Wild [Thu, 23 Oct 2008 17:42:25 +0000 (18:42 +0100)]
Backed out changeset
37b3e9ed8918 (again)
Matthew Wild [Thu, 23 Oct 2008 17:40:06 +0000 (18:40 +0100)]
Backed out changeset
a0fc73d5f48c
Matthew Wild [Thu, 23 Oct 2008 17:39:26 +0000 (18:39 +0100)]
Backed out changeset
8f17ba74823c
Matthew Wild [Thu, 23 Oct 2008 17:33:10 +0000 (18:33 +0100)]
Reverting stanza_router to non-conflicted version
Matthew Wild [Thu, 23 Oct 2008 17:24:55 +0000 (18:24 +0100)]
Making the best attempt out of a bad merge from waqas
Matthew Wild [Thu, 23 Oct 2008 17:09:39 +0000 (18:09 +0100)]
Initial s2s stuff
Waqas Hussain [Thu, 23 Oct 2008 17:08:19 +0000 (22:08 +0500)]
Added TODO
Waqas Hussain [Thu, 23 Oct 2008 17:07:36 +0000 (22:07 +0500)]
Merged from Matthew
Matthew Wild [Thu, 23 Oct 2008 17:05:06 +0000 (18:05 +0100)]
Final fix for marking user offline when all resources are gone :)
Waqas Hussain [Thu, 23 Oct 2008 16:51:00 +0000 (21:51 +0500)]
Merged from Matthew
Waqas Hussain [Thu, 23 Oct 2008 16:39:49 +0000 (21:39 +0500)]
Removed .hgtags
Lesson: Don't try to remove the tip tag from the tip revision
Matthew Wild [Thu, 23 Oct 2008 16:34:10 +0000 (17:34 +0100)]
even faster checking for other sessions... thank you waqas :)
Matthew Wild [Thu, 23 Oct 2008 16:27:41 +0000 (17:27 +0100)]
faster checking for other sessions
Waqas Hussain [Thu, 23 Oct 2008 15:11:06 +0000 (20:11 +0500)]
Fixed: Works when LuaRocks is not present
Matthew Wild [Thu, 23 Oct 2008 15:07:40 +0000 (16:07 +0100)]
Fix for not destroying sessions when connection closed.
Waqas Hussain [Thu, 23 Oct 2008 15:02:30 +0000 (20:02 +0500)]
Roster updates
- Added support for item.ask attribute in rostermanager and mod_roster
- Updated roster docs
- Removed old code from rostermanager
Waqas Hussain [Thu, 23 Oct 2008 14:53:02 +0000 (19:53 +0500)]
Docs update
- 'ask' property available on roster items
Waqas Hussain [Thu, 23 Oct 2008 14:47:56 +0000 (19:47 +0500)]
Presence fixes
- Presence to other resources sent correctly
- Resource of the recipient ignored for all presence except available and unavailable
Waqas Hussain [Thu, 23 Oct 2008 13:42:29 +0000 (18:42 +0500)]
Fixed: Some modules did not return anything
Matthew Wild [Thu, 23 Oct 2008 13:39:42 +0000 (14:39 +0100)]
No s2s yet :)
Waqas Hussain [Thu, 23 Oct 2008 13:36:10 +0000 (18:36 +0500)]
Set things up for presence subscriptions.
Remove reference to core.s2smanager.
Matthew Wild [Thu, 23 Oct 2008 03:06:51 +0000 (04:06 +0100)]
Added a comment, removed all the old code
Matthew Wild [Thu, 23 Oct 2008 02:53:51 +0000 (03:53 +0100)]
TLS/SASL no longer should include the connhandler module
Matthew Wild [Thu, 23 Oct 2008 02:52:51 +0000 (03:52 +0100)]
Relocate presence broadcast to core_handle_stanza()
which is for processing stanzas that the server must handle (not route)
Matthew Wild [Wed, 22 Oct 2008 22:12:26 +0000 (23:12 +0100)]
Merge roster & presence from waqas
Waqas Hussain [Wed, 22 Oct 2008 21:49:43 +0000 (02:49 +0500)]
Fixed: datamanager.store and datamanager.load could crash when username or host arguments were nil. (useful for server specific and global data).
Waqas Hussain [Wed, 22 Oct 2008 21:19:26 +0000 (02:19 +0500)]
Updated and fixed session documentation
Waqas Hussain [Wed, 22 Oct 2008 21:11:48 +0000 (02:11 +0500)]
Updated session documentation
Waqas Hussain [Wed, 22 Oct 2008 21:11:27 +0000 (02:11 +0500)]
Added session property for interested resources
Waqas Hussain [Wed, 22 Oct 2008 19:46:38 +0000 (00:46 +0500)]
Working presence, presence probes and other fixes
Matthew Wild [Wed, 22 Oct 2008 16:36:21 +0000 (17:36 +0100)]
Abstract connections with "connection listeners"
- Added connlistener for xmppclient
- SASL/TLS now use a new session:reset_stream() method
- main.lua on its way to being a bit neater
Matthew Wild [Wed, 22 Oct 2008 16:27:40 +0000 (17:27 +0100)]
server.lua should degrade gracefully when LuaSec not present
Waqas Hussain [Wed, 22 Oct 2008 16:20:47 +0000 (21:20 +0500)]
Added: TODO
Waqas Hussain [Wed, 22 Oct 2008 16:20:29 +0000 (21:20 +0500)]
Fixed: Unhandled stanza handling
Waqas Hussain [Wed, 22 Oct 2008 16:20:07 +0000 (21:20 +0500)]
Fixed: Roster support
Waqas Hussain [Wed, 22 Oct 2008 16:18:50 +0000 (21:18 +0500)]
Minor edit, and added a TODO
Waqas Hussain [Fri, 17 Oct 2008 17:20:03 +0000 (22:20 +0500)]
Added: More complete implementation for mod_roster
Waqas Hussain [Fri, 17 Oct 2008 17:19:26 +0000 (22:19 +0500)]
Added: Roster manipulation functions to core.rostermanager
Waqas Hussain [Tue, 14 Oct 2008 05:26:33 +0000 (10:26 +0500)]
Added: presence broadcast
Added: some additional message broadcast checks
Waqas Hussain [Tue, 14 Oct 2008 04:56:14 +0000 (09:56 +0500)]
Removed an unnecessary line
Waqas Hussain [Tue, 14 Oct 2008 04:54:49 +0000 (09:54 +0500)]
Fixed: util/jid.lua now returns module object