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
Matthew Wild [Fri, 30 Jan 2009 17:22:56 +0000 (17:22 +0000)]
GPL->MIT!
Matthew Wild [Thu, 29 Jan 2009 20:49:32 +0000 (20:49 +0000)]
mod_muc: Add 'nick' to unavailable presence of nick changes. Thanks to Asterix for spotting :)
Matthew Wild [Thu, 29 Jan 2009 20:46:34 +0000 (20:46 +0000)]
mod_muc: Convert to unix line endings
Matthew Wild [Thu, 29 Jan 2009 18:04:25 +0000 (18:04 +0000)]
Load net.server after util.dependencies to catch missing luasocket
Matthew Wild [Thu, 29 Jan 2009 17:54:37 +0000 (17:54 +0000)]
Automated merge with http://waqas.ath.cx:8000/
Waqas Hussain [Thu, 29 Jan 2009 17:37:25 +0000 (22:37 +0500)]
tools/ejabberd2prosody: Support for pending-in roster items
Matthew Wild [Thu, 29 Jan 2009 02:14:16 +0000 (02:14 +0000)]
mod_muc: Add support for being a component
Matthew Wild [Thu, 29 Jan 2009 02:13:58 +0000 (02:13 +0000)]
componentmanager: Add support for loading components defined in the config
Matthew Wild [Thu, 29 Jan 2009 02:13:30 +0000 (02:13 +0000)]
configmanager: Add support for defining components
Matthew Wild [Thu, 29 Jan 2009 02:09:53 +0000 (02:09 +0000)]
hostmanager: Fire event when all hosts are loaded from config
Matthew Wild [Thu, 29 Jan 2009 02:01:09 +0000 (02:01 +0000)]
modulemanager: Really fix call_module_method to work properly
Matthew Wild [Thu, 29 Jan 2009 01:58:11 +0000 (01:58 +0000)]
modulemanager: Add get_host_type() API method, and fix up call_module_method to work properly
Matthew Wild [Sat, 24 Jan 2009 20:29:25 +0000 (20:29 +0000)]
modulemanager: Add module:set_global() as a cleaner way for a module to declare itself 'global'
Matthew Wild [Sat, 24 Jan 2009 01:15:40 +0000 (01:15 +0000)]
core.modulemanager: Some refactoring to make upcoming changes a little easier
Matthew Wild [Thu, 22 Jan 2009 14:39:40 +0000 (14:39 +0000)]
Friendlier message when config file not found
Matthew Wild [Thu, 22 Jan 2009 14:33:02 +0000 (14:33 +0000)]
util.dependencies: Not finding our own libraries is fatal
Matthew Wild [Thu, 22 Jan 2009 14:29:29 +0000 (14:29 +0000)]
util.dependencies: Show useful messages when our own libraries are not found, too
Matthew Wild [Sat, 17 Jan 2009 14:57:21 +0000 (14:57 +0000)]
server.lua: Comment out unnecessary or very verbose logging, and log the rest as debug level
Matthew Wild [Sat, 17 Jan 2009 14:53:20 +0000 (14:53 +0000)]
server.lua: Use Prosody logger for errors, silence non-errors
Matthew Wild [Sat, 17 Jan 2009 04:45:08 +0000 (04:45 +0000)]
Port to new server.lua, quite some changes, but I believe everything to be working
Matthew Wild [Fri, 16 Jan 2009 23:34:45 +0000 (23:34 +0000)]
net.http: custom_headers -> headers
Matthew Wild [Fri, 16 Jan 2009 23:33:19 +0000 (23:33 +0000)]
net.http: Remove request from conn->request table when conn closed
Matthew Wild [Fri, 16 Jan 2009 05:43:45 +0000 (05:43 +0000)]
mod_console: Make global
Matthew Wild [Fri, 16 Jan 2009 05:41:59 +0000 (05:41 +0000)]
mod_posix: logging fix
Matthew Wild [Fri, 16 Jan 2009 05:40:40 +0000 (05:40 +0000)]
Fix for pposix version detection
Matthew Wild [Fri, 16 Jan 2009 05:38:03 +0000 (05:38 +0000)]
modulemanager: Comment out logging of modules hooking stanzas, too noisy
Matthew Wild [Fri, 16 Jan 2009 05:37:17 +0000 (05:37 +0000)]
util.datamanager: Small fix for clearer logging of data path
Matthew Wild [Fri, 16 Jan 2009 05:36:39 +0000 (05:36 +0000)]
Fixed server.lua to use prosody logger for errors
Matthew Wild [Fri, 16 Jan 2009 05:22:28 +0000 (05:22 +0000)]
pposix: Remove debug line
Matthew Wild [Fri, 16 Jan 2009 05:20:04 +0000 (05:20 +0000)]
pposix: Add syslog_setmask (use config: minimum_log_level = 'warn' etc.)
Matthew Wild [Fri, 16 Jan 2009 05:18:38 +0000 (05:18 +0000)]
mod_posix: Check version of pposix
Matthew Wild [Fri, 16 Jan 2009 04:57:36 +0000 (04:57 +0000)]
pposix: Add _NAME and _VERSION
Matthew Wild [Fri, 16 Jan 2009 04:57:23 +0000 (04:57 +0000)]
stanza_router: That'll teach me to not commit at this time of night. Or not.
Matthew Wild [Fri, 16 Jan 2009 04:37:16 +0000 (04:37 +0000)]
Replacing pretty_print() with top_tag() for logging
Matthew Wild [Fri, 16 Jan 2009 04:19:47 +0000 (04:19 +0000)]
Fix invalid loglevels in mod_saslauth
Matthew Wild [Thu, 15 Jan 2009 20:59:36 +0000 (20:59 +0000)]
mod_posix/pposix: Fix reporting of incorrect PID on daemonization. Log correct PID, and support writing a pidfile (pidfile = '/path/to/prosody.pid' in config). Added getpid() to pposix and improved function names.
Matthew Wild [Thu, 15 Jan 2009 20:06:41 +0000 (20:06 +0000)]
mod_posix: Support for logging to syslog (log = 'syslog' in config)
Matthew Wild [Thu, 15 Jan 2009 20:02:28 +0000 (20:02 +0000)]
net.connlisteners: Fix to report errors loading connlisteners
Matthew Wild [Thu, 15 Jan 2009 04:10:06 +0000 (04:10 +0000)]
net.http: Don't log content from server
Matthew Wild [Thu, 15 Jan 2009 04:08:06 +0000 (04:08 +0000)]
net.http: Fix to send query part of URL to server
Waqas Hussain [Wed, 14 Jan 2009 23:36:35 +0000 (04:36 +0500)]
Stringprep!
Waqas Hussain [Wed, 14 Jan 2009 23:34:55 +0000 (04:34 +0500)]
util/jid: string prepping functions added: prepped_split and prep
Waqas Hussain [Wed, 14 Jan 2009 18:04:16 +0000 (23:04 +0500)]
util/logger: setwriter now returns the old writer on success