prosody.git
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

15 years agoDestroy s2s sendqueue when connection is established successfully and data written
Matthew Wild [Fri, 24 Oct 2008 14:32:31 +0000 (15:32 +0100)]
Destroy s2s sendqueue when connection is established successfully and data written

15 years agoFix nil concat for good this time (\!)
Matthew Wild [Fri, 24 Oct 2008 14:20:34 +0000 (15:20 +0100)]
Fix nil concat for good this time (\!)

15 years agoFix nil concat when non-existant user is probed (another)
Matthew Wild [Fri, 24 Oct 2008 14:18:53 +0000 (15:18 +0100)]
Fix nil concat when non-existant user is probed (another)

15 years agoFix nil concat when non-existant user is probed
Matthew Wild [Fri, 24 Oct 2008 14:16:18 +0000 (15:16 +0100)]
Fix nil concat when non-existant user is probed

15 years agoHack until we get SRV resolving
Matthew Wild [Fri, 24 Oct 2008 13:59:04 +0000 (14:59 +0100)]
Hack until we get SRV resolving

15 years agoFix for sessionmanager to not throw error when session doesn't have a private logger
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

15 years agoShow error when no MD5 lib available
Matthew Wild [Fri, 24 Oct 2008 13:46:22 +0000 (14:46 +0100)]
Show error when no MD5 lib available

15 years agoFix mod_legacyauth to not use old stanza_dispatch
Matthew Wild [Fri, 24 Oct 2008 13:45:50 +0000 (14:45 +0100)]
Fix mod_legacyauth to not use old stanza_dispatch

15 years agoMerge from waqas
Matthew Wild [Fri, 24 Oct 2008 06:57:06 +0000 (07:57 +0100)]
Merge from waqas

15 years agoMerging more s2s
Matthew Wild [Fri, 24 Oct 2008 06:36:48 +0000 (07:36 +0100)]
Merging more s2s

15 years agoPartial s2s commit
Matthew Wild [Fri, 24 Oct 2008 06:34:13 +0000 (07:34 +0100)]
Partial s2s commit

15 years agos2s works! \o/ \o/
Matthew Wild [Fri, 24 Oct 2008 06:27:36 +0000 (07:27 +0100)]
s2s works! \o/ \o/

15 years agoworking incoming s2s \o/
Matthew Wild [Fri, 24 Oct 2008 05:13:38 +0000 (06:13 +0100)]
working incoming s2s \o/

15 years agoworking outgoing s2s \o/
Matthew Wild [Fri, 24 Oct 2008 02:42:26 +0000 (03:42 +0100)]
working outgoing s2s \o/

15 years agodialback keys now verified
Matthew Wild [Fri, 24 Oct 2008 02:06:55 +0000 (03:06 +0100)]
dialback keys now verified

15 years agoMoved some code and removed unnecessary checks.
Waqas Hussain [Thu, 23 Oct 2008 20:06:54 +0000 (01:06 +0500)]
Moved some code and removed unnecessary checks.

15 years agoPresence fixes (again)
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

15 years agoNo need to comment out s2s in this branch
Matthew Wild [Thu, 23 Oct 2008 18:10:16 +0000 (19:10 +0100)]
No need to comment out s2s in this branch

15 years agoBacked out changeset 98e9fea75e5b
Matthew Wild [Thu, 23 Oct 2008 17:43:00 +0000 (18:43 +0100)]
Backed out changeset 98e9fea75e5b

15 years agoBacked out changeset 37b3e9ed8918 (again)
Matthew Wild [Thu, 23 Oct 2008 17:42:25 +0000 (18:42 +0100)]
Backed out changeset 37b3e9ed8918 (again)

15 years agoBacked out changeset a0fc73d5f48c
Matthew Wild [Thu, 23 Oct 2008 17:40:06 +0000 (18:40 +0100)]
Backed out changeset a0fc73d5f48c

15 years agoBacked out changeset 8f17ba74823c
Matthew Wild [Thu, 23 Oct 2008 17:39:26 +0000 (18:39 +0100)]
Backed out changeset 8f17ba74823c

15 years agoReverting stanza_router to non-conflicted version
Matthew Wild [Thu, 23 Oct 2008 17:33:10 +0000 (18:33 +0100)]
Reverting stanza_router to non-conflicted version

15 years agoMaking the best attempt out of a bad merge from waqas
Matthew Wild [Thu, 23 Oct 2008 17:24:55 +0000 (18:24 +0100)]
Making the best attempt out of a bad merge from waqas

15 years agoInitial s2s stuff
Matthew Wild [Thu, 23 Oct 2008 17:09:39 +0000 (18:09 +0100)]
Initial s2s stuff

15 years agoAdded TODO
Waqas Hussain [Thu, 23 Oct 2008 17:08:19 +0000 (22:08 +0500)]
Added TODO

15 years agoMerged from Matthew
Waqas Hussain [Thu, 23 Oct 2008 17:07:36 +0000 (22:07 +0500)]
Merged from Matthew

15 years agoFinal fix for marking user offline when all resources are gone :)
Matthew Wild [Thu, 23 Oct 2008 17:05:06 +0000 (18:05 +0100)]
Final fix for marking user offline when all resources are gone :)

15 years agoMerged from Matthew
Waqas Hussain [Thu, 23 Oct 2008 16:51:00 +0000 (21:51 +0500)]
Merged from Matthew

15 years agoRemoved .hgtags
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

15 years agoeven faster checking for other sessions... thank you waqas :)
Matthew Wild [Thu, 23 Oct 2008 16:34:10 +0000 (17:34 +0100)]
even faster checking for other sessions... thank you waqas :)

15 years agofaster checking for other sessions
Matthew Wild [Thu, 23 Oct 2008 16:27:41 +0000 (17:27 +0100)]
faster checking for other sessions

15 years agoFixed: Works when LuaRocks is not present
Waqas Hussain [Thu, 23 Oct 2008 15:11:06 +0000 (20:11 +0500)]
Fixed: Works when LuaRocks is not present

15 years agoFix for not destroying sessions when connection closed.
Matthew Wild [Thu, 23 Oct 2008 15:07:40 +0000 (16:07 +0100)]
Fix for not destroying sessions when connection closed.

15 years agoRoster updates
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

15 years agoDocs update
Waqas Hussain [Thu, 23 Oct 2008 14:53:02 +0000 (19:53 +0500)]
Docs update
 - 'ask' property available on roster items

15 years agoPresence fixes
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

15 years agoFixed: Some modules did not return anything
Waqas Hussain [Thu, 23 Oct 2008 13:42:29 +0000 (18:42 +0500)]
Fixed: Some modules did not return anything

15 years agoNo s2s yet :)
Matthew Wild [Thu, 23 Oct 2008 13:39:42 +0000 (14:39 +0100)]
No s2s yet :)

15 years agoSet things up for presence subscriptions.
Waqas Hussain [Thu, 23 Oct 2008 13:36:10 +0000 (18:36 +0500)]
Set things up for presence subscriptions.
Remove reference to core.s2smanager.

15 years agoAdded a comment, removed all the old code
Matthew Wild [Thu, 23 Oct 2008 03:06:51 +0000 (04:06 +0100)]
Added a comment, removed all the old code

15 years agoTLS/SASL no longer should include the connhandler module
Matthew Wild [Thu, 23 Oct 2008 02:53:51 +0000 (03:53 +0100)]
TLS/SASL no longer should include the connhandler module

15 years agoRelocate presence broadcast to core_handle_stanza()
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)

15 years agoMerge roster & presence from waqas
Matthew Wild [Wed, 22 Oct 2008 22:12:26 +0000 (23:12 +0100)]
Merge roster & presence from waqas

15 years agoFixed: datamanager.store and datamanager.load could crash when username or host argum...
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).

15 years agoUpdated and fixed session documentation
Waqas Hussain [Wed, 22 Oct 2008 21:19:26 +0000 (02:19 +0500)]
Updated and fixed session documentation

15 years agoUpdated session documentation
Waqas Hussain [Wed, 22 Oct 2008 21:11:48 +0000 (02:11 +0500)]
Updated session documentation

15 years agoAdded session property for interested resources
Waqas Hussain [Wed, 22 Oct 2008 21:11:27 +0000 (02:11 +0500)]
Added session property for interested resources

15 years agoWorking presence, presence probes and other fixes
Waqas Hussain [Wed, 22 Oct 2008 19:46:38 +0000 (00:46 +0500)]
Working presence, presence probes and other fixes

15 years agoAbstract connections with "connection listeners"
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

15 years agoserver.lua should degrade gracefully when LuaSec not present
Matthew Wild [Wed, 22 Oct 2008 16:27:40 +0000 (17:27 +0100)]
server.lua should degrade gracefully when LuaSec not present

15 years agoAdded: TODO
Waqas Hussain [Wed, 22 Oct 2008 16:20:47 +0000 (21:20 +0500)]
Added: TODO

15 years agoFixed: Unhandled stanza handling
Waqas Hussain [Wed, 22 Oct 2008 16:20:29 +0000 (21:20 +0500)]
Fixed: Unhandled stanza handling

15 years agoFixed: Roster support
Waqas Hussain [Wed, 22 Oct 2008 16:20:07 +0000 (21:20 +0500)]
Fixed: Roster support

15 years agoMinor edit, and added a TODO
Waqas Hussain [Wed, 22 Oct 2008 16:18:50 +0000 (21:18 +0500)]
Minor edit, and added a TODO

15 years agoAdded: More complete implementation for mod_roster
Waqas Hussain [Fri, 17 Oct 2008 17:20:03 +0000 (22:20 +0500)]
Added: More complete implementation for mod_roster

15 years agoAdded: Roster manipulation functions to core.rostermanager
Waqas Hussain [Fri, 17 Oct 2008 17:19:26 +0000 (22:19 +0500)]
Added: Roster manipulation functions to core.rostermanager

15 years agoAdded: presence broadcast
Waqas Hussain [Tue, 14 Oct 2008 05:26:33 +0000 (10:26 +0500)]
Added: presence broadcast
Added: some additional message broadcast checks

15 years agoRemoved an unnecessary line
Waqas Hussain [Tue, 14 Oct 2008 04:56:14 +0000 (09:56 +0500)]
Removed an unnecessary line

15 years agoFixed: util/jid.lua now returns module object
Waqas Hussain [Tue, 14 Oct 2008 04:54:49 +0000 (09:54 +0500)]
Fixed: util/jid.lua now returns module object