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

15 years agoFixed: Typos caused by lack of sleep.
Waqas Hussain [Tue, 14 Oct 2008 02:20:29 +0000 (07:20 +0500)]
Fixed: Typos caused by lack of sleep.
Learned: Lua variable assignments are not expressions.

15 years agoFixed: mod_roster now outputs all roster data (instead of just the JIDs)
Waqas Hussain [Sun, 12 Oct 2008 12:41:14 +0000 (17:41 +0500)]
Fixed: mod_roster now outputs all roster data (instead of just the JIDs)

15 years agoAdded some roster management functions
Waqas Hussain [Sun, 12 Oct 2008 12:40:03 +0000 (17:40 +0500)]
Added some roster management functions

15 years agoDocumented the roster object's structure
Waqas Hussain [Sun, 12 Oct 2008 12:38:17 +0000 (17:38 +0500)]
Documented the roster object's structure

15 years agoSome tiny changes for main.lua
Matthew Wild [Sun, 12 Oct 2008 00:23:30 +0000 (01:23 +0100)]
Some tiny changes for main.lua

15 years agoUpdated TODO
Matthew Wild [Sun, 12 Oct 2008 00:01:19 +0000 (01:01 +0100)]
Updated TODO

15 years agoRemove more of Dolphin's leftovers
Matthew Wild [Sat, 11 Oct 2008 21:16:02 +0000 (22:16 +0100)]
Remove more of Dolphin's leftovers

15 years agoAdd AUTHORS file
Matthew Wild [Sat, 11 Oct 2008 20:40:50 +0000 (21:40 +0100)]
Add AUTHORS file

15 years agoFix MUC address
Matthew Wild [Thu, 9 Oct 2008 19:32:59 +0000 (20:32 +0100)]
Fix MUC address

15 years agoUpdated pull script for new repo
Matthew Wild [Thu, 9 Oct 2008 19:28:39 +0000 (20:28 +0100)]
Updated pull script for new repo

15 years agoFixed: util.stanza.deserialize now handles nil stanzas
Waqas Hussain [Thu, 9 Oct 2008 17:19:35 +0000 (22:19 +0500)]
Fixed: util.stanza.deserialize now handles nil stanzas

15 years agoStanza preserialize/deserialize helpers, to strip and restore stanzas respectively...
Matthew Wild [Wed, 8 Oct 2008 23:50:45 +0000 (00:50 +0100)]
Stanza preserialize/deserialize helpers, to strip and restore stanzas respectively. Fixed mod_vcard to use these.

15 years agoFixed: incorrect auth check
Waqas Hussain [Wed, 8 Oct 2008 22:40:16 +0000 (03:40 +0500)]
Fixed: incorrect auth check

15 years agoMinor fix
Waqas Hussain [Wed, 8 Oct 2008 22:21:16 +0000 (03:21 +0500)]
Minor fix

15 years agoMerge from Matthew. datamanager.simplesave fix
Waqas Hussain [Wed, 8 Oct 2008 22:01:47 +0000 (03:01 +0500)]
Merge from Matthew. datamanager.simplesave fix

15 years agoAdded: vCard plugin: mod_vcard
Waqas Hussain [Wed, 8 Oct 2008 21:59:57 +0000 (02:59 +0500)]
Added: vCard plugin: mod_vcard

15 years agoFix for saving tables with non-string keys
Matthew Wild [Wed, 8 Oct 2008 21:42:51 +0000 (22:42 +0100)]
Fix for saving tables with non-string keys

15 years agoAdded: mod_register now replies with an error stanza when file write fails
Waqas Hussain [Wed, 8 Oct 2008 21:08:33 +0000 (02:08 +0500)]
Added: mod_register now replies with an error stanza when file write fails

15 years agoAdded: Datastore support for hosts and global data in addition to users
Waqas Hussain [Wed, 8 Oct 2008 20:20:43 +0000 (01:20 +0500)]
Added: Datastore support for hosts and global data in addition to users

15 years agoFixed routing for IQs to bare JIDs, and added a simple IQ validity check
Waqas Hussain [Wed, 8 Oct 2008 20:18:48 +0000 (01:18 +0500)]
Fixed routing for IQs to bare JIDs, and added a simple IQ validity check

15 years agoMerge roster fixes from waqas
Matthew Wild [Wed, 8 Oct 2008 16:27:20 +0000 (17:27 +0100)]
Merge roster fixes from waqas

15 years agoMerged docs from paul
Matthew Wild [Wed, 8 Oct 2008 16:20:11 +0000 (17:20 +0100)]
Merged docs from paul

15 years agoRemove debugging output from when doing TLS
Matthew Wild [Wed, 8 Oct 2008 16:19:00 +0000 (17:19 +0100)]
Remove debugging output from when doing TLS

15 years agoAdded script to pull from master mercurial repository
Paul-Sebastian Manole [Wed, 8 Oct 2008 16:17:14 +0000 (19:17 +0300)]
Added script to pull from master mercurial repository
Added a few name suggestions to doc/names.txt
Minor edits.

15 years agoFixed: rostermanager.lua now returns the module
Waqas Hussain [Wed, 8 Oct 2008 16:10:18 +0000 (21:10 +0500)]
Fixed: rostermanager.lua now returns the module

15 years agoRemoved: Unnecessary check in mod_roster. session.roster is guaranteed to be availabl...
Waqas Hussain [Wed, 8 Oct 2008 15:38:05 +0000 (20:38 +0500)]
Removed: Unnecessary check in mod_roster. session.roster is guaranteed to be available for "c2s" session type.

15 years agoFized: Added check to ensure that resource binding is done after auth.
Waqas Hussain [Wed, 8 Oct 2008 15:37:16 +0000 (20:37 +0500)]
Fized: Added check to ensure that resource binding is done after auth.

15 years agoLoad roster on resource bind
Waqas Hussain [Wed, 8 Oct 2008 14:30:35 +0000 (19:30 +0500)]
Load roster on resource bind

15 years agoAdded to a comment
Waqas Hussain [Wed, 8 Oct 2008 12:06:51 +0000 (17:06 +0500)]
Added to a comment

15 years agoCode cleanup
Waqas Hussain [Wed, 8 Oct 2008 12:05:25 +0000 (17:05 +0500)]
Code cleanup

15 years agoAdded: Local stanza routing
Waqas Hussain [Tue, 7 Oct 2008 23:49:55 +0000 (04:49 +0500)]
Added: Local stanza routing

15 years agoFixed typo in variable name
Waqas Hussain [Tue, 7 Oct 2008 22:38:07 +0000 (03:38 +0500)]
Fixed typo in variable name

15 years agoforgot to commit mod_tls, oops :)
Matthew Wild [Tue, 7 Oct 2008 22:13:30 +0000 (23:13 +0100)]
forgot to commit mod_tls, oops :)

15 years agoBeginnings of real stanza routing
Matthew Wild [Sun, 5 Oct 2008 18:48:25 +0000 (19:48 +0100)]
Beginnings of real stanza routing

15 years agoMerged local TLS branch
Matthew Wild [Sun, 5 Oct 2008 18:16:32 +0000 (19:16 +0100)]
Merged local TLS branch