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

15 years agoWorking TLS!
Matthew Wild [Sun, 5 Oct 2008 18:10:21 +0000 (19:10 +0100)]
Working TLS!

15 years agoTLS: Handshake works, no data after that
Matthew Wild [Sun, 5 Oct 2008 16:33:38 +0000 (17:33 +0100)]
TLS: Handshake works, no data after that

15 years agoConvert spaces->tabs
Matthew Wild [Sun, 5 Oct 2008 01:48:39 +0000 (02:48 +0100)]
Convert spaces->tabs

15 years agomod_InBandRegistration -> mod_register
Matthew Wild [Sun, 5 Oct 2008 00:39:49 +0000 (01:39 +0100)]
mod_InBandRegistration -> mod_register

15 years agoMerged mod_InBandRegistration from waqas
Matthew Wild [Sun, 5 Oct 2008 00:32:43 +0000 (01:32 +0100)]
Merged mod_InBandRegistration from waqas

15 years agoDocs
Matthew Wild [Sun, 5 Oct 2008 00:31:27 +0000 (01:31 +0100)]
Docs

15 years agoUser registration, etc (jabber:iq:register)
Waqas Hussain [Sat, 4 Oct 2008 23:55:45 +0000 (04:55 +0500)]
User registration, etc (jabber:iq:register)

15 years agoMerge from waqas
Matthew Wild [Sat, 4 Oct 2008 18:24:43 +0000 (19:24 +0100)]
Merge from waqas

15 years agoFix setting resource before we even know what it is
Matthew Wild [Sat, 4 Oct 2008 16:59:32 +0000 (17:59 +0100)]
Fix setting resource before we even know what it is

15 years agoRemoved unused functions
Waqas Hussain [Sat, 4 Oct 2008 14:51:59 +0000 (19:51 +0500)]
Removed unused functions

15 years agoMerge docs from waqas
Matthew Wild [Sat, 4 Oct 2008 14:35:28 +0000 (15:35 +0100)]
Merge docs from waqas

15 years agoSome notes of the stanza and session structures
Waqas Hussain [Sat, 4 Oct 2008 14:32:02 +0000 (19:32 +0500)]
Some notes of the stanza and session structures

15 years agoDEPENDS updated by waqas
Matthew Wild [Sat, 4 Oct 2008 14:26:36 +0000 (15:26 +0100)]
DEPENDS updated by waqas

15 years agoSession destruction fixes, some debugging code while we fix the rest. Also change...
Matthew Wild [Sat, 4 Oct 2008 14:25:54 +0000 (15:25 +0100)]
Session destruction fixes, some debugging code while we fix the rest. Also change logger to be more useful.

15 years agoFix for destruction of unauthed SASL sessions
Matthew Wild [Sat, 4 Oct 2008 14:24:52 +0000 (15:24 +0100)]
Fix for destruction of unauthed SASL sessions

15 years agoAdded lbase64 to the dependency list
Waqas Hussain [Sat, 4 Oct 2008 13:54:09 +0000 (18:54 +0500)]
Added lbase64 to the dependency list

15 years agoFix for using wrong auth token as username (fixes Gajim login)
Matthew Wild [Sat, 4 Oct 2008 13:36:03 +0000 (14:36 +0100)]
Fix for using wrong auth token as username (fixes Gajim login)

15 years agoNew "import" module to help tidy up all the local declarations at the top of modules
Matthew Wild [Sat, 4 Oct 2008 01:43:23 +0000 (02:43 +0100)]
New "import" module to help tidy up all the local declarations at the top of modules

15 years agoUse xmlns for matching auth tag too
Matthew Wild [Sat, 4 Oct 2008 01:42:23 +0000 (02:42 +0100)]
Use xmlns for matching auth tag too

15 years agoFix stanza handlers to use xmlns also for matching
Matthew Wild [Sat, 4 Oct 2008 01:40:47 +0000 (02:40 +0100)]
Fix stanza handlers to use xmlns also for matching

15 years agoResource binding, XMPP sessions (whatever they're for...)
Matthew Wild [Sat, 4 Oct 2008 01:15:13 +0000 (02:15 +0100)]
Resource binding, XMPP sessions (whatever they're for...)

15 years agoSmall fix for sending stanzas in case of resource binding error
Matthew Wild [Sat, 4 Oct 2008 01:14:11 +0000 (02:14 +0100)]
Small fix for sending stanzas in case of resource binding error

15 years agoAdd "uuid" library and make sessionmanager use this.
Matthew Wild [Sat, 4 Oct 2008 01:12:54 +0000 (02:12 +0100)]
Add "uuid" library and make sessionmanager use this.
...and yes, the uuid generation needs work :P

15 years agoReply to unhandled iq's with service-unavailable
Matthew Wild [Sat, 4 Oct 2008 01:10:14 +0000 (02:10 +0100)]
Reply to unhandled iq's with service-unavailable

15 years agoSmall fixes
Matthew Wild [Sat, 4 Oct 2008 01:09:46 +0000 (02:09 +0100)]
Small fixes

15 years agoAn oops in sessionmanager stream:features code :)
Matthew Wild [Fri, 3 Oct 2008 21:21:01 +0000 (22:21 +0100)]
An oops in sessionmanager stream:features code :)

15 years agoMove stream opening handling from xmlhandlers to sessionmanager
Matthew Wild [Fri, 3 Oct 2008 21:18:08 +0000 (22:18 +0100)]
Move stream opening handling from xmlhandlers to sessionmanager

15 years agoAdd support for arbitrary events and event hooks
Matthew Wild [Fri, 3 Oct 2008 21:17:20 +0000 (22:17 +0100)]
Add support for arbitrary events and event hooks