prosody.git
15 years agotests: Add test for iq error replies
Matthew Wild [Tue, 3 Mar 2009 17:07:35 +0000 (17:07 +0000)]
tests: Add test for iq error replies

15 years agocore.configmanager: Small fix to check validity of Component definitions
Matthew Wild [Tue, 3 Mar 2009 16:54:29 +0000 (16:54 +0000)]
core.configmanager: Small fix to check validity of Component definitions

15 years agomod_muc: Don't bounce error replies in response to errors
Matthew Wild [Mon, 2 Mar 2009 19:50:28 +0000 (19:50 +0000)]
mod_muc: Don't bounce error replies in response to errors

15 years agonet.server: Fix to make sure we send a string to logging function
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

15 years agocore.stanza_router: Don't bounce errors to iq type=result/error
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

15 years agoprosody: Log top-level errors
Matthew Wild [Mon, 2 Mar 2009 19:44:46 +0000 (19:44 +0000)]
prosody: Log top-level errors

15 years agocore.s2smanager: Remove some old commented code, break a long line in 2
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

15 years agoutil.dataforms: Return the form
Matthew Wild [Sun, 1 Mar 2009 23:34:25 +0000 (23:34 +0000)]
util.dataforms: Return the form

15 years agonet.server: Don't retry if client closes socket during SSL handshaking
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

15 years agoAdding initial util.pubsub
Matthew Wild [Sat, 28 Feb 2009 23:16:27 +0000 (23:16 +0000)]
Adding initial util.pubsub

15 years agocore.stanza_router: Reply with error to groupchat messages directed at unavailable...
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

15 years agocore.componentmanager: Refactor a little to make XEP-0114 plugin a little simpler
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

15 years agonet.server: Some fixes for SSL/TLS handshake handling
Matthew Wild [Fri, 27 Feb 2009 18:40:17 +0000 (18:40 +0000)]
net.server: Some fixes for SSL/TLS handshake handling

15 years agoutil.dataforms: First commit, incomplete
Matthew Wild [Fri, 27 Feb 2009 17:56:07 +0000 (17:56 +0000)]
util.dataforms: First commit, incomplete

15 years agocore.xmlhandlers: Remove redundant check in condition
Matthew Wild [Fri, 27 Feb 2009 04:42:06 +0000 (04:42 +0000)]
core.xmlhandlers: Remove redundant check in condition

15 years agoprosody: Protect main loop. Dare I say crashing finally becomes impossible.
Matthew Wild [Fri, 27 Feb 2009 04:35:36 +0000 (04:35 +0000)]
prosody: Protect main loop. Dare I say crashing finally becomes impossible.

15 years agoutil.timer: More small fixes I forgot to commit
Matthew Wild [Thu, 26 Feb 2009 22:17:55 +0000 (22:17 +0000)]
util.timer: More small fixes I forgot to commit

15 years agoutil.timer: Fix crash when loaded but no tasks set, fix skipping some tasks when...
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

15 years agoutil.multitable: Add mt:search(), use nil for wildcard keys
Matthew Wild [Thu, 26 Feb 2009 16:55:46 +0000 (16:55 +0000)]
util.multitable: Add mt:search(), use nil for wildcard keys

15 years agoBetter handling of found, but unloadable, core libraries (eg. undefined symbols)
Matthew Wild [Thu, 26 Feb 2009 02:42:47 +0000 (02:42 +0000)]
Better handling of found, but unloadable, core libraries (eg. undefined symbols)

15 years agocore.xmlhandlers: Optimise completed stanza logic
Matthew Wild [Thu, 26 Feb 2009 02:26:30 +0000 (02:26 +0000)]
core.xmlhandlers: Optimise completed stanza logic

15 years agonet/xmppclient_listener: Add some logging and handle unestablished sessions error'ing
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

15 years agomod_register: Fixed an error happening during account deletion
Waqas Hussain [Sun, 22 Feb 2009 20:14:23 +0000 (01:14 +0500)]
mod_register: Fixed an error happening during account deletion

15 years agoMUC: Added copyright notice
Waqas Hussain [Fri, 20 Feb 2009 20:57:13 +0000 (01:57 +0500)]
MUC: Added copyright notice

15 years agoMUC: Replaced some duplicate code
Waqas Hussain [Fri, 20 Feb 2009 20:49:09 +0000 (01:49 +0500)]
MUC: Replaced some duplicate code

15 years agoMUC: Removed commented and unused code
Waqas Hussain [Fri, 20 Feb 2009 20:24:23 +0000 (01:24 +0500)]
MUC: Removed commented and unused code

15 years agoAdded util/timer.lua - a timer API
Waqas Hussain [Fri, 20 Feb 2009 20:13:53 +0000 (01:13 +0500)]
Added util/timer.lua - a timer API

15 years agoMUC: Workaround for a Gajim bug (it includes <x xmlns='http://jabber.org/protocol...
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)

15 years agoMUC: Use util.stanza.clone instead of pre/deserialize for cloning stanzas
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

15 years agoutil/stanza: Added clone function
Waqas Hussain [Thu, 19 Feb 2009 21:18:07 +0000 (02:18 +0500)]
util/stanza: Added clone function

15 years agoMUC: Syntax error in last commit - this is lua :)
Waqas Hussain [Thu, 19 Feb 2009 19:56:14 +0000 (00:56 +0500)]
MUC: Syntax error in last commit - this is lua :)

15 years agoMUC: Throw an error if we try talking to ourselves
Waqas Hussain [Thu, 19 Feb 2009 19:51:33 +0000 (00:51 +0500)]
MUC: Throw an error if we try talking to ourselves

15 years agocore.presencemanager: Set 'from' attribute on outgoing unavailable directed presences
Matthew Wild [Thu, 19 Feb 2009 19:00:18 +0000 (19:00 +0000)]
core.presencemanager: Set 'from' attribute on outgoing unavailable directed presences

15 years agoAutomated merge with http://waqas.ath.cx:8000/
Matthew Wild [Thu, 19 Feb 2009 15:18:44 +0000 (15:18 +0000)]
Automated merge with http://waqas.ath.cx:8000/

15 years agoMUC: Bug fixes and workarounds
Waqas Hussain [Thu, 19 Feb 2009 15:17:07 +0000 (20:17 +0500)]
MUC: Bug fixes and workarounds

15 years agoAutomated merge with http://waqas.ath.cx:8000/
Matthew Wild [Thu, 19 Feb 2009 13:13:54 +0000 (13:13 +0000)]
Automated merge with http://waqas.ath.cx:8000/

15 years agoMUC: Logging - logger doesn't like nils
Waqas Hussain [Thu, 19 Feb 2009 09:10:26 +0000 (14:10 +0500)]
MUC: Logging - logger doesn't like nils

15 years agoAutomated merge with http://waqas.ath.cx:8000/
Matthew Wild [Wed, 18 Feb 2009 21:02:41 +0000 (21:02 +0000)]
Automated merge with http://waqas.ath.cx:8000/

15 years agoMUC: Added logging
Waqas Hussain [Wed, 18 Feb 2009 21:01:31 +0000 (02:01 +0500)]
MUC: Added logging

15 years agoAutomated merge with http://waqas.ath.cx:8000/
Matthew Wild [Wed, 18 Feb 2009 19:34:26 +0000 (19:34 +0000)]
Automated merge with http://waqas.ath.cx:8000/

15 years agomod_bosh: Possible fix for invalid key to next crash
Matthew Wild [Wed, 18 Feb 2009 19:33:57 +0000 (19:33 +0000)]
mod_bosh: Possible fix for invalid key to next crash

15 years agonet.server: Fix some more potential nil handler accesses
Matthew Wild [Wed, 18 Feb 2009 19:23:29 +0000 (19:23 +0000)]
net.server: Fix some more potential nil handler accesses

15 years agoMUC: Various fixes
Waqas Hussain [Wed, 18 Feb 2009 18:30:33 +0000 (23:30 +0500)]
MUC: Various fixes

15 years agoMUC: Fixed: Presence for user joining the roomi was sent twice to the user
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

15 years agoMerge from waqas
Matthew Wild [Mon, 16 Feb 2009 15:44:54 +0000 (15:44 +0000)]
Merge from waqas

15 years agoMerge waqas with waqas
Matthew Wild [Mon, 16 Feb 2009 15:44:23 +0000 (15:44 +0000)]
Merge waqas with waqas

15 years agoMUC: Made vCards work by redirecting vCard requests to bare JIDs
Waqas Hussain [Mon, 16 Feb 2009 15:24:31 +0000 (20:24 +0500)]
MUC: Made vCards work by redirecting vCard requests to bare JIDs

15 years agoMUC: Kick participants sending error messages to other participants
Waqas Hussain [Mon, 16 Feb 2009 15:05:58 +0000 (20:05 +0500)]
MUC: Kick participants sending error messages to other participants

15 years agoMUC: Private stanzas (private messages, IQs, etc)
Waqas Hussain [Mon, 16 Feb 2009 15:05:03 +0000 (20:05 +0500)]
MUC: Private stanzas (private messages, IQs, etc)

15 years agoMUC: Presence and message stanzas now fully work (status messages, xhtml-im, 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)

15 years agoutil.pposix: Add getuid/setuid (we don't use them yet)
Matthew Wild [Sun, 15 Feb 2009 15:56:04 +0000 (15:56 +0000)]
util.pposix: Add getuid/setuid (we don't use them yet)

15 years agomod_version: Operating system detection. Disable with hide_os_type = true in config
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

15 years agoAdd -Wall to default CFLAGS
Matthew Wild [Sun, 15 Feb 2009 11:47:43 +0000 (11:47 +0000)]
Add -Wall to default CFLAGS

15 years agoAdding TODO notice on UUIDs for usage with SASL ANONYMOUS.
Tobias Markmann [Sat, 14 Feb 2009 18:39:46 +0000 (19:39 +0100)]
Adding TODO notice on UUIDs for usage with SASL ANONYMOUS.

15 years agoMerging with tip.
Tobias Markmann [Sat, 14 Feb 2009 18:13:14 +0000 (19:13 +0100)]
Merging with tip.

15 years agoAdding inital support for ANONYMOUS mechanism in SASL.
Tobias Markmann [Sat, 14 Feb 2009 17:57:50 +0000 (18:57 +0100)]
Adding inital support for ANONYMOUS mechanism in SASL.

15 years agoUse $CC, $LD in Makefile. Add --c-compiler, --linker flags to ./configure script...
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!

15 years agoAdded tests/run_tests.bat for running tests on Windows
Waqas Hussain [Fri, 13 Feb 2009 17:23:08 +0000 (22:23 +0500)]
Added tests/run_tests.bat for running tests on Windows

15 years agoFixed tests/test.lua to work on Windows
Waqas Hussain [Fri, 13 Feb 2009 17:21:59 +0000 (22:21 +0500)]
Fixed tests/test.lua to work on Windows

15 years agoLogging format improvement
Waqas Hussain [Fri, 13 Feb 2009 17:10:29 +0000 (22:10 +0500)]
Logging format improvement

15 years agoAdd tests for util.multitable
Matthew Wild [Fri, 13 Feb 2009 16:43:44 +0000 (16:43 +0000)]
Add tests for util.multitable

15 years agoutil.pposix: Fix incompatible pointer type compiler warnings
Matthew Wild [Fri, 13 Feb 2009 15:01:46 +0000 (15:01 +0000)]
util.pposix: Fix incompatible pointer type compiler warnings

15 years agoAdd RunScript command to config to run a Lua script prior to starting the server
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

15 years agoAdd Include command to include extra configuration files from the main one
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

15 years agoReport errors in the config file to the user
Matthew Wild [Fri, 13 Feb 2009 14:37:15 +0000 (14:37 +0000)]
Report errors in the config file to the user

15 years agoLogging format improvement
Waqas Hussain [Fri, 13 Feb 2009 14:14:36 +0000 (19:14 +0500)]
Logging format improvement

15 years agoFix to correct my email address in AUTHORS file
Matthew Wild [Fri, 13 Feb 2009 10:54:25 +0000 (10:54 +0000)]
Fix to correct my email address in AUTHORS file

15 years agoFixed: kick_old resource conflict resolution policy could fail with a backtrace
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

15 years agoFixed: User resources not disconnected correctly on account delete
Waqas Hussain [Thu, 12 Feb 2009 13:09:17 +0000 (18:09 +0500)]
Fixed: User resources not disconnected correctly on account delete

15 years agostanza_router: Fix handling of iq from c2s to bare JIDs, thanks to jaharkes for spotting
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

15 years agoAdd test to check for incorrect handling of iq from c2s to local bare JIDs
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

15 years agoSmall fix to change verbosity level of subtests
Matthew Wild [Wed, 11 Feb 2009 19:50:58 +0000 (19:50 +0000)]
Small fix to change verbosity level of subtests

15 years agoCorrect tests for stanza routing IQs to bare JIDs
Matthew Wild [Wed, 11 Feb 2009 19:35:48 +0000 (19:35 +0000)]
Correct tests for stanza routing IQs to bare JIDs

15 years agoMerge with waqas for MUC/routing fixes
Matthew Wild [Wed, 11 Feb 2009 18:30:44 +0000 (18:30 +0000)]
Merge with waqas for MUC/routing fixes

15 years agoChange the to attribute of messages to the recipients' bare JID when the recipient...
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.

15 years agoStanza router: Message to bare JID fixes
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

15 years agoutil.stanza: Temporary fix for serializing attributes with namespaces
Matthew Wild [Wed, 11 Feb 2009 16:09:48 +0000 (16:09 +0000)]
util.stanza: Temporary fix for serializing attributes with namespaces

15 years agomod_muc: Room history
Waqas Hussain [Wed, 11 Feb 2009 14:41:37 +0000 (19:41 +0500)]
mod_muc: Room history

15 years agoFixed: Some presence stanzas from local users were not being routed correctly to...
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)

15 years agoFixed directed presence handling to work correctly for components
Waqas Hussain [Wed, 11 Feb 2009 13:09:41 +0000 (18:09 +0500)]
Fixed directed presence handling to work correctly for components

15 years agoChanged mod_muc to work with changed component manager
Waqas Hussain [Wed, 11 Feb 2009 13:07:20 +0000 (18:07 +0500)]
Changed mod_muc to work with changed component manager

15 years agomodulemanager initializes hosts[host] if it isn't already initialized when loading...
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.

15 years agoComponent-host module loading code was breaking module reload, andduplicated older...
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.

15 years agonet.server: Fix nil table index assignment
Matthew Wild [Mon, 9 Feb 2009 14:24:49 +0000 (14:24 +0000)]
net.server: Fix nil table index assignment

15 years agostanza_router: Fix for when clients don't specify priority in initial presence
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

15 years agonet.server: Fix potential fatal error in server.lua
Matthew Wild [Mon, 9 Feb 2009 13:41:05 +0000 (13:41 +0000)]
net.server: Fix potential fatal error in server.lua

15 years agomod_bosh: Fix for 'invalid key to next' error when using BOSH
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

15 years agoRemove redundant logging and debug printing from mod_bosh
Matthew Wild [Mon, 9 Feb 2009 13:31:10 +0000 (13:31 +0000)]
Remove redundant logging and debug printing from mod_bosh

15 years agoFix for nil handler error after close
Matthew Wild [Wed, 4 Feb 2009 18:53:56 +0000 (18:53 +0000)]
Fix for nil handler error after close

15 years agoFix for never checking if the first module for a host is already loaded (affects...
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)

15 years agoRetagging 0.3.0, used up my mistake quota for today
Matthew Wild [Mon, 2 Feb 2009 18:05:21 +0000 (18:05 +0000)]
Retagging 0.3.0, used up my mistake quota for today

15 years agoUpdate COPYING file... probably the worst thing I could forget to commit in this...
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 :)

15 years agoLicensing/version updates for some files (forgot to commit, doh...)
Matthew Wild [Mon, 2 Feb 2009 18:03:18 +0000 (18:03 +0000)]
Licensing/version updates for some files (forgot to commit, doh...)

15 years agoRemove redundant linking in util-src modules' Makefile
Matthew Wild [Mon, 2 Feb 2009 18:02:20 +0000 (18:02 +0000)]
Remove redundant linking in util-src modules' Makefile

15 years agoHappy birthday to me, happy... 0.3.0!
Matthew Wild [Mon, 2 Feb 2009 12:54:49 +0000 (12:54 +0000)]
Happy birthday to me, happy... 0.3.0!

15 years agomod_bosh: No need to tostring() uuids now
Matthew Wild [Sun, 1 Feb 2009 02:20:11 +0000 (02:20 +0000)]
mod_bosh: No need to tostring() uuids now

15 years agoutil.uuid: Return a string, not a number. Looked so innocent.
Matthew Wild [Sun, 1 Feb 2009 02:17:56 +0000 (02:17 +0000)]
util.uuid: Return a string, not a number. Looked so innocent.

15 years agoUpdate main prosody file, since it doesn't match *.lua pattern, and sed -i treats...
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

15 years agoUpdate copyright notices for 2009
Matthew Wild [Fri, 30 Jan 2009 17:59:26 +0000 (17:59 +0000)]
Update copyright notices for 2009

15 years ago0.2->0.3
Matthew Wild [Fri, 30 Jan 2009 17:40:25 +0000 (17:40 +0000)]
0.2->0.3