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
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.
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)
Waqas Hussain [Sun, 12 Oct 2008 12:40:03 +0000 (17:40 +0500)]
Added some roster management functions
Waqas Hussain [Sun, 12 Oct 2008 12:38:17 +0000 (17:38 +0500)]
Documented the roster object's structure
Matthew Wild [Sun, 12 Oct 2008 00:23:30 +0000 (01:23 +0100)]
Some tiny changes for main.lua
Matthew Wild [Sun, 12 Oct 2008 00:01:19 +0000 (01:01 +0100)]
Updated TODO
Matthew Wild [Sat, 11 Oct 2008 21:16:02 +0000 (22:16 +0100)]
Remove more of Dolphin's leftovers
Matthew Wild [Sat, 11 Oct 2008 20:40:50 +0000 (21:40 +0100)]
Add AUTHORS file
Matthew Wild [Thu, 9 Oct 2008 19:32:59 +0000 (20:32 +0100)]
Fix MUC address
Matthew Wild [Thu, 9 Oct 2008 19:28:39 +0000 (20:28 +0100)]
Updated pull script for new repo
Waqas Hussain [Thu, 9 Oct 2008 17:19:35 +0000 (22:19 +0500)]
Fixed: util.stanza.deserialize now handles nil stanzas
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.
Waqas Hussain [Wed, 8 Oct 2008 22:40:16 +0000 (03:40 +0500)]
Fixed: incorrect auth check
Waqas Hussain [Wed, 8 Oct 2008 22:21:16 +0000 (03:21 +0500)]
Minor fix
Waqas Hussain [Wed, 8 Oct 2008 22:01:47 +0000 (03:01 +0500)]
Merge from Matthew. datamanager.simplesave fix
Waqas Hussain [Wed, 8 Oct 2008 21:59:57 +0000 (02:59 +0500)]
Added: vCard plugin: mod_vcard
Matthew Wild [Wed, 8 Oct 2008 21:42:51 +0000 (22:42 +0100)]
Fix for saving tables with non-string keys
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
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
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
Matthew Wild [Wed, 8 Oct 2008 16:27:20 +0000 (17:27 +0100)]
Merge roster fixes from waqas
Matthew Wild [Wed, 8 Oct 2008 16:20:11 +0000 (17:20 +0100)]
Merged docs from paul
Matthew Wild [Wed, 8 Oct 2008 16:19:00 +0000 (17:19 +0100)]
Remove debugging output from when doing TLS
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.
Waqas Hussain [Wed, 8 Oct 2008 16:10:18 +0000 (21:10 +0500)]
Fixed: rostermanager.lua now returns the module
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.
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.
Waqas Hussain [Wed, 8 Oct 2008 14:30:35 +0000 (19:30 +0500)]
Load roster on resource bind
Waqas Hussain [Wed, 8 Oct 2008 12:06:51 +0000 (17:06 +0500)]
Added to a comment
Waqas Hussain [Wed, 8 Oct 2008 12:05:25 +0000 (17:05 +0500)]
Code cleanup
Waqas Hussain [Tue, 7 Oct 2008 23:49:55 +0000 (04:49 +0500)]
Added: Local stanza routing
Waqas Hussain [Tue, 7 Oct 2008 22:38:07 +0000 (03:38 +0500)]
Fixed typo in variable name
Matthew Wild [Tue, 7 Oct 2008 22:13:30 +0000 (23:13 +0100)]
forgot to commit mod_tls, oops :)
Matthew Wild [Sun, 5 Oct 2008 18:48:25 +0000 (19:48 +0100)]
Beginnings of real stanza routing
Matthew Wild [Sun, 5 Oct 2008 18:16:32 +0000 (19:16 +0100)]
Merged local TLS branch
Matthew Wild [Sun, 5 Oct 2008 18:10:21 +0000 (19:10 +0100)]
Working TLS!
Matthew Wild [Sun, 5 Oct 2008 16:33:38 +0000 (17:33 +0100)]
TLS: Handshake works, no data after that
Matthew Wild [Sun, 5 Oct 2008 01:48:39 +0000 (02:48 +0100)]
Convert spaces->tabs
Matthew Wild [Sun, 5 Oct 2008 00:39:49 +0000 (01:39 +0100)]
mod_InBandRegistration -> mod_register
Matthew Wild [Sun, 5 Oct 2008 00:32:43 +0000 (01:32 +0100)]
Merged mod_InBandRegistration from waqas
Matthew Wild [Sun, 5 Oct 2008 00:31:27 +0000 (01:31 +0100)]
Docs
Waqas Hussain [Sat, 4 Oct 2008 23:55:45 +0000 (04:55 +0500)]
User registration, etc (jabber:iq:register)
Matthew Wild [Sat, 4 Oct 2008 18:24:43 +0000 (19:24 +0100)]
Merge from waqas
Matthew Wild [Sat, 4 Oct 2008 16:59:32 +0000 (17:59 +0100)]
Fix setting resource before we even know what it is
Waqas Hussain [Sat, 4 Oct 2008 14:51:59 +0000 (19:51 +0500)]
Removed unused functions
Matthew Wild [Sat, 4 Oct 2008 14:35:28 +0000 (15:35 +0100)]
Merge docs from waqas
Waqas Hussain [Sat, 4 Oct 2008 14:32:02 +0000 (19:32 +0500)]
Some notes of the stanza and session structures
Matthew Wild [Sat, 4 Oct 2008 14:26:36 +0000 (15:26 +0100)]
DEPENDS updated by waqas
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.
Matthew Wild [Sat, 4 Oct 2008 14:24:52 +0000 (15:24 +0100)]
Fix for destruction of unauthed SASL sessions
Waqas Hussain [Sat, 4 Oct 2008 13:54:09 +0000 (18:54 +0500)]
Added lbase64 to the dependency list
Matthew Wild [Sat, 4 Oct 2008 13:36:03 +0000 (14:36 +0100)]
Fix for using wrong auth token as username (fixes Gajim login)
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
Matthew Wild [Sat, 4 Oct 2008 01:42:23 +0000 (02:42 +0100)]
Use xmlns for matching auth tag too
Matthew Wild [Sat, 4 Oct 2008 01:40:47 +0000 (02:40 +0100)]
Fix stanza handlers to use xmlns also for matching
Matthew Wild [Sat, 4 Oct 2008 01:15:13 +0000 (02:15 +0100)]
Resource binding, XMPP sessions (whatever they're for...)
Matthew Wild [Sat, 4 Oct 2008 01:14:11 +0000 (02:14 +0100)]
Small fix for sending stanzas in case of resource binding error
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
Matthew Wild [Sat, 4 Oct 2008 01:10:14 +0000 (02:10 +0100)]
Reply to unhandled iq's with service-unavailable
Matthew Wild [Sat, 4 Oct 2008 01:09:46 +0000 (02:09 +0100)]
Small fixes
Matthew Wild [Fri, 3 Oct 2008 21:21:01 +0000 (22:21 +0100)]
An oops in sessionmanager stream:features code :)
Matthew Wild [Fri, 3 Oct 2008 21:18:08 +0000 (22:18 +0100)]
Move stream opening handling from xmlhandlers to sessionmanager
Matthew Wild [Fri, 3 Oct 2008 21:17:20 +0000 (22:17 +0100)]
Add support for arbitrary events and event hooks
Matthew Wild [Thu, 2 Oct 2008 00:08:58 +0000 (01:08 +0100)]
SASL!
(but before you get too excited, no resource binding yet. And yes, there are still plenty of rough edges to the code...)
((eg. must move <stream:features> out of xmlhandlers.lua o_O ))
Matthew Wild [Wed, 1 Oct 2008 23:00:35 +0000 (00:00 +0100)]
Removed unused functions from main.lua
Matthew Wild [Wed, 1 Oct 2008 21:11:28 +0000 (22:11 +0100)]
Moved hosts to a config file, still need better config though
Waqas Hussain [Wed, 1 Oct 2008 13:51:28 +0000 (18:51 +0500)]
Removed tag tip
Waqas Hussain [Wed, 1 Oct 2008 13:47:07 +0000 (18:47 +0500)]
Fixed: Session data was never removed from sessions list