Waqas Hussain [Sat, 7 Mar 2009 20:06:37 +0000 (01:06 +0500)]
util/xmlrpc: Added <nil/> extension to RPC functions (allowing nil parameters and return values)
Matthew Wild [Wed, 4 Mar 2009 18:48:29 +0000 (18:48 +0000)]
Automated merge with http://waqas.ath.cx:8000/
Waqas Hussain [Wed, 4 Mar 2009 18:24:43 +0000 (18:24 +0000)]
core.presencemanager: Convert Windows line endings to UNIX
Waqas Hussain [Wed, 4 Mar 2009 17:59:58 +0000 (22:59 +0500)]
XML-RPC: Set appropriate Content-Type header in HTTP response
Waqas Hussain [Wed, 4 Mar 2009 17:45:06 +0000 (22:45 +0500)]
MUC: Kick participants for error replies only on a selected list of error conditions
Waqas Hussain [Wed, 4 Mar 2009 17:23:41 +0000 (22:23 +0500)]
Let global modules add disco features for all hosts
Waqas Hussain [Wed, 4 Mar 2009 17:22:40 +0000 (22:22 +0500)]
mod_xmlrpc: Handle RPC stanzas sent over XMPP (XEP-0009: Jabber-RPC)
Waqas Hussain [Wed, 4 Mar 2009 17:15:46 +0000 (22:15 +0500)]
Allow global modules to hook stanza handlers
Waqas Hussain [Wed, 4 Mar 2009 17:12:52 +0000 (22:12 +0500)]
Added mod_xmlrpc
Waqas Hussain [Wed, 4 Mar 2009 17:10:27 +0000 (22:10 +0500)]
Added util/xmlrpc.lua - functions for converting between XML-RPC stanzas and Lua objects
Matthew Wild [Wed, 4 Mar 2009 15:52:05 +0000 (15:52 +0000)]
net.adns: Return _M
Matthew Wild [Wed, 4 Mar 2009 14:44:28 +0000 (14:44 +0000)]
net.adns: Load the correct dns lib
Matthew Wild [Wed, 4 Mar 2009 12:59:35 +0000 (12:59 +0000)]
net.adns: Add helper module for performing non-blocking DNS lookups
Matthew Wild [Wed, 4 Mar 2009 12:58:56 +0000 (12:58 +0000)]
net.dns: Add methods necessary for allowing non-blocking DNS lookups
Matthew Wild [Wed, 4 Mar 2009 12:44:07 +0000 (12:44 +0000)]
net.server: Don't call shutdown method on socket if it doesn't have one, eg. for UDP
Matthew Wild [Tue, 3 Mar 2009 20:12:31 +0000 (20:12 +0000)]
net.server: Check for potential nil handler on close
Matthew Wild [Tue, 3 Mar 2009 19:49:40 +0000 (19:49 +0000)]
mod_bosh: Set Content-Type in response headers
Matthew Wild [Tue, 3 Mar 2009 17:25:20 +0000 (17:25 +0000)]
pposix: Standardize error messages
Matthew Wild [Tue, 3 Mar 2009 17:24:56 +0000 (17:24 +0000)]
pposix: Small fix for copyright notice
Matthew Wild [Tue, 3 Mar 2009 17:18:43 +0000 (17:18 +0000)]
Automated merge with http://luaetta.ath.cx:1234/
Matthew Wild [Tue, 3 Mar 2009 17:07:35 +0000 (17:07 +0000)]
tests: Add test for iq error replies
Matthew Wild [Tue, 3 Mar 2009 16:54:29 +0000 (16:54 +0000)]
core.configmanager: Small fix to check validity of Component definitions
Tobias Markmann [Tue, 3 Mar 2009 16:48:04 +0000 (17:48 +0100)]
Merged with main tip.
Matthew Wild [Mon, 2 Mar 2009 19:50:28 +0000 (19:50 +0000)]
mod_muc: Don't bounce error replies in response to errors
Matthew Wild [Mon, 2 Mar 2009 19:49:09 +0000 (19:49 +0000)]
net.server: Fix to make sure we send a string to logging function
Matthew Wild [Mon, 2 Mar 2009 19:45:44 +0000 (19:45 +0000)]
core.stanza_router: Don't bounce errors to iq type=result/error
Matthew Wild [Mon, 2 Mar 2009 19:44:46 +0000 (19:44 +0000)]
prosody: Log top-level errors
Matthew Wild [Mon, 2 Mar 2009 13:52:08 +0000 (13:52 +0000)]
core.s2smanager: Remove some old commented code, break a long line in 2
Matthew Wild [Sun, 1 Mar 2009 23:34:25 +0000 (23:34 +0000)]
util.dataforms: Return the form
Matthew Wild [Sun, 1 Mar 2009 23:33:41 +0000 (23:33 +0000)]
net.server: Don't retry if client closes socket during SSL handshaking
Matthew Wild [Sat, 28 Feb 2009 23:16:27 +0000 (23:16 +0000)]
Adding initial util.pubsub
Matthew Wild [Sat, 28 Feb 2009 04:58:14 +0000 (04:58 +0000)]
core.stanza_router: Reply with error to groupchat messages directed at unavailable resources or offline users
Matthew Wild [Sat, 28 Feb 2009 02:05:37 +0000 (02:05 +0000)]
core.componentmanager: Refactor a little to make XEP-0114 plugin a little simpler
Matthew Wild [Fri, 27 Feb 2009 18:40:17 +0000 (18:40 +0000)]
net.server: Some fixes for SSL/TLS handshake handling
Matthew Wild [Fri, 27 Feb 2009 17:56:07 +0000 (17:56 +0000)]
util.dataforms: First commit, incomplete
Matthew Wild [Fri, 27 Feb 2009 04:42:06 +0000 (04:42 +0000)]
core.xmlhandlers: Remove redundant check in condition
Matthew Wild [Fri, 27 Feb 2009 04:35:36 +0000 (04:35 +0000)]
prosody: Protect main loop. Dare I say crashing finally becomes impossible.
Matthew Wild [Thu, 26 Feb 2009 22:17:55 +0000 (22:17 +0000)]
util.timer: More small fixes I forgot to commit
Matthew Wild [Thu, 26 Feb 2009 21:00:42 +0000 (21:00 +0000)]
util.timer: Fix crash when loaded but no tasks set, fix skipping some tasks when multiple set, and one removed
Matthew Wild [Thu, 26 Feb 2009 16:55:46 +0000 (16:55 +0000)]
util.multitable: Add mt:search(), use nil for wildcard keys
Matthew Wild [Thu, 26 Feb 2009 02:42:47 +0000 (02:42 +0000)]
Better handling of found, but unloadable, core libraries (eg. undefined symbols)
Matthew Wild [Thu, 26 Feb 2009 02:26:30 +0000 (02:26 +0000)]
core.xmlhandlers: Optimise completed stanza logic
Matthew Wild [Thu, 26 Feb 2009 02:24:12 +0000 (02:24 +0000)]
net/xmppclient_listener: Add some logging and handle unestablished sessions error'ing
Waqas Hussain [Sun, 22 Feb 2009 20:14:23 +0000 (01:14 +0500)]
mod_register: Fixed an error happening during account deletion
Tobias Markmann [Sun, 22 Feb 2009 19:57:57 +0000 (20:57 +0100)]
Make the code actually build.
Tobias Markmann [Sun, 22 Feb 2009 19:55:06 +0000 (20:55 +0100)]
Added missing code.
Tobias Markmann [Sun, 22 Feb 2009 19:35:41 +0000 (20:35 +0100)]
Adding setrlimits() binding.
Waqas Hussain [Fri, 20 Feb 2009 20:57:13 +0000 (01:57 +0500)]
MUC: Added copyright notice
Waqas Hussain [Fri, 20 Feb 2009 20:49:09 +0000 (01:49 +0500)]
MUC: Replaced some duplicate code
Waqas Hussain [Fri, 20 Feb 2009 20:24:23 +0000 (01:24 +0500)]
MUC: Removed commented and unused code
Waqas Hussain [Fri, 20 Feb 2009 20:13:53 +0000 (01:13 +0500)]
Added util/timer.lua - a timer API
Waqas Hussain [Thu, 19 Feb 2009 22:52:04 +0000 (03:52 +0500)]
MUC: Workaround for a Gajim bug (it includes <x xmlns='jabber.org/protocol/muc'/> in nick change presences)
Waqas Hussain [Thu, 19 Feb 2009 21:23:21 +0000 (02:23 +0500)]
MUC: Use util.stanza.clone instead of pre/deserialize for cloning stanzas
Waqas Hussain [Thu, 19 Feb 2009 21:18:07 +0000 (02:18 +0500)]
util/stanza: Added clone function
Waqas Hussain [Thu, 19 Feb 2009 19:56:14 +0000 (00:56 +0500)]
MUC: Syntax error in last commit - this is lua :)
Waqas Hussain [Thu, 19 Feb 2009 19:51:33 +0000 (00:51 +0500)]
MUC: Throw an error if we try talking to ourselves
Matthew Wild [Thu, 19 Feb 2009 19:00:18 +0000 (19:00 +0000)]
core.presencemanager: Set 'from' attribute on outgoing unavailable directed presences
Matthew Wild [Thu, 19 Feb 2009 15:18:44 +0000 (15:18 +0000)]
Automated merge with http://waqas.ath.cx:8000/
Waqas Hussain [Thu, 19 Feb 2009 15:17:07 +0000 (20:17 +0500)]
MUC: Bug fixes and workarounds
Matthew Wild [Thu, 19 Feb 2009 13:13:54 +0000 (13:13 +0000)]
Automated merge with http://waqas.ath.cx:8000/
Waqas Hussain [Thu, 19 Feb 2009 09:10:26 +0000 (14:10 +0500)]
MUC: Logging - logger doesn't like nils
Matthew Wild [Wed, 18 Feb 2009 21:02:41 +0000 (21:02 +0000)]
Automated merge with http://waqas.ath.cx:8000/
Waqas Hussain [Wed, 18 Feb 2009 21:01:31 +0000 (02:01 +0500)]
MUC: Added logging
Matthew Wild [Wed, 18 Feb 2009 19:34:26 +0000 (19:34 +0000)]
Automated merge with http://waqas.ath.cx:8000/
Matthew Wild [Wed, 18 Feb 2009 19:33:57 +0000 (19:33 +0000)]
mod_bosh: Possible fix for invalid key to next crash
Matthew Wild [Wed, 18 Feb 2009 19:23:29 +0000 (19:23 +0000)]
net.server: Fix some more potential nil handler accesses
Waqas Hussain [Wed, 18 Feb 2009 18:30:33 +0000 (23:30 +0500)]
MUC: Various fixes
Waqas Hussain [Mon, 16 Feb 2009 21:48:06 +0000 (02:48 +0500)]
MUC: Fixed: Presence for user joining the roomi was sent twice to the user
Matthew Wild [Mon, 16 Feb 2009 15:44:54 +0000 (15:44 +0000)]
Merge from waqas
Matthew Wild [Mon, 16 Feb 2009 15:44:23 +0000 (15:44 +0000)]
Merge waqas with waqas
Waqas Hussain [Mon, 16 Feb 2009 15:24:31 +0000 (20:24 +0500)]
MUC: Made vCards work by redirecting vCard requests to bare JIDs
Waqas Hussain [Mon, 16 Feb 2009 15:05:58 +0000 (20:05 +0500)]
MUC: Kick participants sending error messages to other participants
Waqas Hussain [Mon, 16 Feb 2009 15:05:03 +0000 (20:05 +0500)]
MUC: Private stanzas (private messages, IQs, etc)
Waqas Hussain [Mon, 16 Feb 2009 14:39:10 +0000 (19:39 +0500)]
MUC: Presence and message stanzas now fully work (status messages, xhtml-im, etc)
Matthew Wild [Sun, 15 Feb 2009 15:56:04 +0000 (15:56 +0000)]
util.pposix: Add getuid/setuid (we don't use them yet)
Matthew Wild [Sun, 15 Feb 2009 15:52:11 +0000 (15:52 +0000)]
mod_version: Operating system detection. Disable with hide_os_type = true in config
Matthew Wild [Sun, 15 Feb 2009 11:47:43 +0000 (11:47 +0000)]
Add -Wall to default CFLAGS
Tobias Markmann [Sat, 14 Feb 2009 18:39:46 +0000 (19:39 +0100)]
Adding TODO notice on UUIDs for usage with SASL ANONYMOUS.
Tobias Markmann [Sat, 14 Feb 2009 18:13:14 +0000 (19:13 +0100)]
Merging with tip.
Tobias Markmann [Sat, 14 Feb 2009 17:57:50 +0000 (18:57 +0100)]
Adding inital support for ANONYMOUS mechanism in SASL.
Matthew Wild [Sat, 14 Feb 2009 15:38:37 +0000 (15:38 +0000)]
Use $CC, $LD in Makefile. Add --c-compiler, --linker flags to ./configure script. Add --lflags to ./configure script. Thanks to Lorenzo for the initial patch!
Waqas Hussain [Fri, 13 Feb 2009 17:23:08 +0000 (22:23 +0500)]
Added tests/run_tests.bat for running tests on Windows
Waqas Hussain [Fri, 13 Feb 2009 17:21:59 +0000 (22:21 +0500)]
Fixed tests/test.lua to work on Windows
Waqas Hussain [Fri, 13 Feb 2009 17:10:29 +0000 (22:10 +0500)]
Logging format improvement
Matthew Wild [Fri, 13 Feb 2009 16:43:44 +0000 (16:43 +0000)]
Add tests for util.multitable
Matthew Wild [Fri, 13 Feb 2009 15:01:46 +0000 (15:01 +0000)]
util.pposix: Fix incompatible pointer type compiler warnings
Matthew Wild [Fri, 13 Feb 2009 14:43:12 +0000 (14:43 +0000)]
Add RunScript command to config to run a Lua script prior to starting the server
Matthew Wild [Fri, 13 Feb 2009 14:38:17 +0000 (14:38 +0000)]
Add Include command to include extra configuration files from the main one
Matthew Wild [Fri, 13 Feb 2009 14:37:15 +0000 (14:37 +0000)]
Report errors in the config file to the user
Waqas Hussain [Fri, 13 Feb 2009 14:14:36 +0000 (19:14 +0500)]
Logging format improvement
Matthew Wild [Fri, 13 Feb 2009 10:54:25 +0000 (10:54 +0000)]
Fix to correct my email address in AUTHORS file
Waqas Hussain [Thu, 12 Feb 2009 13:23:00 +0000 (18:23 +0500)]
Fixed: kick_old resource conflict resolution policy could fail with a backtrace
Waqas Hussain [Thu, 12 Feb 2009 13:09:17 +0000 (18:09 +0500)]
Fixed: User resources not disconnected correctly on account delete
Matthew Wild [Wed, 11 Feb 2009 19:53:09 +0000 (19:53 +0000)]
stanza_router: Fix handling of iq from c2s to bare JIDs, thanks to jaharkes for spotting
Matthew Wild [Wed, 11 Feb 2009 19:52:05 +0000 (19:52 +0000)]
Add test to check for incorrect handling of iq from c2s to local bare JIDs
Matthew Wild [Wed, 11 Feb 2009 19:50:58 +0000 (19:50 +0000)]
Small fix to change verbosity level of subtests
Matthew Wild [Wed, 11 Feb 2009 19:35:48 +0000 (19:35 +0000)]
Correct tests for stanza routing IQs to bare JIDs
Matthew Wild [Wed, 11 Feb 2009 18:30:44 +0000 (18:30 +0000)]
Merge with waqas for MUC/routing fixes
Waqas Hussain [Wed, 11 Feb 2009 18:26:18 +0000 (23:26 +0500)]
Change the to attribute of messages to the recipients' bare JID when the recipient/resource is offline.
Waqas Hussain [Wed, 11 Feb 2009 18:16:14 +0000 (23:16 +0500)]
Stanza router: Message to bare JID fixes
- headline messages get sent to all non-negative priority available resource
- all other messages get sent to the set of highest non-negative priority available resources
- only messages of type chat and normal or missing type go into offline storage