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
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
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
Matthew Wild [Wed, 11 Feb 2009 16:09:48 +0000 (16:09 +0000)]
util.stanza: Temporary fix for serializing attributes with namespaces
Waqas Hussain [Wed, 11 Feb 2009 14:41:37 +0000 (19:41 +0500)]
mod_muc: Room history
Waqas Hussain [Wed, 11 Feb 2009 13:11:41 +0000 (18:11 +0500)]
Fixed: Some presence stanzas from local users were not being routed correctly to components (ghosts in mod_muc)
Waqas Hussain [Wed, 11 Feb 2009 13:09:41 +0000 (18:09 +0500)]
Fixed directed presence handling to work correctly for components
Waqas Hussain [Wed, 11 Feb 2009 13:07:20 +0000 (18:07 +0500)]
Changed mod_muc to work with changed component manager
Waqas Hussain [Wed, 11 Feb 2009 12:57:48 +0000 (17:57 +0500)]
modulemanager initializes hosts[host] if it isn't already initialized when loading a module.
Waqas Hussain [Wed, 11 Feb 2009 12:56:42 +0000 (17:56 +0500)]
Component-host module loading code was breaking module reload, andduplicated older code. Changed to reuse older code.
Matthew Wild [Mon, 9 Feb 2009 14:24:49 +0000 (14:24 +0000)]
net.server: Fix nil table index assignment
Matthew Wild [Mon, 9 Feb 2009 13:48:11 +0000 (13:48 +0000)]
stanza_router: Fix for when clients don't specify priority in initial presence
Matthew Wild [Mon, 9 Feb 2009 13:41:05 +0000 (13:41 +0000)]
net.server: Fix potential fatal error in server.lua
Matthew Wild [Mon, 9 Feb 2009 13:32:46 +0000 (13:32 +0000)]
mod_bosh: Fix for 'invalid key to next' error when using BOSH
Matthew Wild [Mon, 9 Feb 2009 13:31:10 +0000 (13:31 +0000)]
Remove redundant logging and debug printing from mod_bosh
Matthew Wild [Wed, 4 Feb 2009 18:53:56 +0000 (18:53 +0000)]
Fix for nil handler error after close
Matthew Wild [Wed, 4 Feb 2009 18:53:23 +0000 (18:53 +0000)]
Fix for never checking if the first module for a host is already loaded (affects global modules)
Matthew Wild [Mon, 2 Feb 2009 18:05:21 +0000 (18:05 +0000)]
Retagging 0.3.0, used up my mistake quota for today
Matthew Wild [Mon, 2 Feb 2009 18:04:13 +0000 (18:04 +0000)]
Update COPYING file... probably the worst thing I could forget to commit in this release :)
Matthew Wild [Mon, 2 Feb 2009 18:03:18 +0000 (18:03 +0000)]
Licensing/version updates for some files (forgot to commit, doh...)
Matthew Wild [Mon, 2 Feb 2009 18:02:20 +0000 (18:02 +0000)]
Remove redundant linking in util-src modules' Makefile
Matthew Wild [Mon, 2 Feb 2009 12:54:49 +0000 (12:54 +0000)]
Happy birthday to me, happy... 0.3.0!
Matthew Wild [Sun, 1 Feb 2009 02:20:11 +0000 (02:20 +0000)]
mod_bosh: No need to tostring() uuids now
Matthew Wild [Sun, 1 Feb 2009 02:17:56 +0000 (02:17 +0000)]
util.uuid: Return a string, not a number. Looked so innocent.
Matthew Wild [Fri, 30 Jan 2009 18:03:28 +0000 (18:03 +0000)]
Update main prosody file, since it doesn't match *.lua pattern, and sed -i treats symlinks badly
Matthew Wild [Fri, 30 Jan 2009 17:59:26 +0000 (17:59 +0000)]
Update copyright notices for 2009
Matthew Wild [Fri, 30 Jan 2009 17:40:25 +0000 (17:40 +0000)]
0.2->0.3