Waqas Hussain [Thu, 4 Dec 2008 15:16:30 +0000 (20:16 +0500)]
Change modules to use the new add_feature module API method.
This also fixes the bug causing disco features being added to every disco reply for every host.
Waqas Hussain [Thu, 4 Dec 2008 15:07:22 +0000 (20:07 +0500)]
Added function add_feature to modules API (for adding disco features)
Waqas Hussain [Thu, 4 Dec 2008 15:01:57 +0000 (20:01 +0500)]
Reorder the disco info elements to place always included elements first
Matthew Wild [Wed, 3 Dec 2008 18:06:04 +0000 (18:06 +0000)]
Added an error log message for this case
Matthew Wild [Wed, 3 Dec 2008 18:01:56 +0000 (18:01 +0000)]
Quick fix for an issue that needs more looking into
Matthew Wild [Wed, 3 Dec 2008 17:24:20 +0000 (17:24 +0000)]
Automated merge with http://waqas.ath.cx/
Waqas Hussain [Wed, 3 Dec 2008 17:08:49 +0000 (22:08 +0500)]
Fix for handling latin1 encoded hostnames in SASL
Matthew Wild [Wed, 3 Dec 2008 16:44:03 +0000 (16:44 +0000)]
Fix GPL'ing MIT/X licensed code :)
Matthew Wild [Wed, 3 Dec 2008 16:20:58 +0000 (16:20 +0000)]
Update HACKERS
Matthew Wild [Wed, 3 Dec 2008 16:07:15 +0000 (16:07 +0000)]
Fill blank with URL
Matthew Wild [Wed, 3 Dec 2008 16:01:58 +0000 (16:01 +0000)]
Remove stray merge marker
Matthew Wild [Wed, 3 Dec 2008 15:09:58 +0000 (15:09 +0000)]
Merge from waqas
Matthew Wild [Wed, 3 Dec 2008 14:59:27 +0000 (14:59 +0000)]
Fix license (left some boilerplate in)
Waqas Hussain [Wed, 3 Dec 2008 14:57:08 +0000 (19:57 +0500)]
config and data directories taken from path, and quoted to allow spaces in path
Waqas Hussain [Wed, 3 Dec 2008 14:56:05 +0000 (19:56 +0500)]
Converted prosody.cfg.lua.dist to use windows end-of-lines
Matthew Wild [Wed, 3 Dec 2008 14:45:03 +0000 (14:45 +0000)]
and the C files too
Matthew Wild [Wed, 3 Dec 2008 14:39:07 +0000 (14:39 +0000)]
Insert copyright/license headers
Matthew Wild [Wed, 3 Dec 2008 13:06:23 +0000 (13:06 +0000)]
Fix port number in mod_console instructions
Matthew Wild [Wed, 3 Dec 2008 13:02:23 +0000 (13:02 +0000)]
lxmppd -> Prosody
Matthew Wild [Sun, 30 Nov 2008 19:59:28 +0000 (19:59 +0000)]
Fix macosx ostype target
Matthew Wild [Sun, 30 Nov 2008 19:58:41 +0000 (19:58 +0000)]
Fix debian ostype target
Matthew Wild [Sun, 30 Nov 2008 19:58:22 +0000 (19:58 +0000)]
Change sed usage back into one sed script for incompetent versions of sed
Matthew Wild [Sun, 30 Nov 2008 19:36:30 +0000 (19:36 +0000)]
Use install to strip symbols
Matthew Wild [Sun, 30 Nov 2008 19:31:43 +0000 (19:31 +0000)]
'install' libs to util before top-level make install
Matthew Wild [Sun, 30 Nov 2008 19:02:00 +0000 (19:02 +0000)]
Potential fixes for building on Mac OSX
Matthew Wild [Sun, 30 Nov 2008 18:59:29 +0000 (18:59 +0000)]
No need for the placeholder file in tests/ because the directory is no longer empty
Matthew Wild [Sun, 30 Nov 2008 18:57:23 +0000 (18:57 +0000)]
Add test for latin1toutf8 (which passes)
Tobias Markmann [Sun, 30 Nov 2008 16:34:47 +0000 (17:34 +0100)]
Converting latin encoded responsed to utf-8 when needed.
Tobias Markmann [Sun, 30 Nov 2008 16:18:31 +0000 (17:18 +0100)]
Automerge with waqas.
Waqas Hussain [Sun, 30 Nov 2008 15:58:48 +0000 (20:58 +0500)]
Added function latin1toutf8 to sasl.lua, for processing non-utf8 responses
Matthew Wild [Sun, 30 Nov 2008 14:30:22 +0000 (14:30 +0000)]
Makefile fix for creating datadir in correct place on install
Tobias Markmann [Sun, 30 Nov 2008 14:18:45 +0000 (15:18 +0100)]
Automated merge with h-h.
Matthew Wild [Sun, 30 Nov 2008 04:22:43 +0000 (04:22 +0000)]
Installation improvements (auto-creation of data directories)
Tobias Markmann [Sun, 30 Nov 2008 01:26:37 +0000 (02:26 +0100)]
Remove that idn stuff for realm because it's either an ugly hack that the password_handler isn't ready for or something worse.
Matthew Wild [Sun, 30 Nov 2008 01:16:55 +0000 (01:16 +0000)]
Don't overwrite config on make install if it already exists
Waqas Hussain [Sun, 30 Nov 2008 01:14:41 +0000 (06:14 +0500)]
Path fix for auto-creating directories
Matthew Wild [Sun, 30 Nov 2008 01:02:12 +0000 (01:02 +0000)]
Merge from waqas
Waqas Hussain [Sun, 30 Nov 2008 01:01:37 +0000 (06:01 +0500)]
Auto-create data directories on start
Matthew Wild [Sun, 30 Nov 2008 00:38:41 +0000 (00:38 +0000)]
Merge with Tobias
Tobias Markmann [Sun, 30 Nov 2008 00:35:40 +0000 (01:35 +0100)]
idna-to-unicode so password_handler looks for the right domain.
Matthew Wild [Sun, 30 Nov 2008 00:33:58 +0000 (00:33 +0000)]
Yet another fix for the makefile :)
Tobias Markmann [Sat, 29 Nov 2008 23:44:23 +0000 (00:44 +0100)]
Do idna-to-ascii to the realm we send first in Digest-MD5.
Matthew Wild [Sat, 29 Nov 2008 22:55:16 +0000 (22:55 +0000)]
Fix missing prosody.cfg.lua.install
Matthew Wild [Sat, 29 Nov 2008 22:28:11 +0000 (22:28 +0000)]
Don't write to prosody.cfg.lua from Makefile. Much apologies to poor albert :(
Matthew Wild [Sat, 29 Nov 2008 22:20:59 +0000 (22:20 +0000)]
Add -fPIC to util-src/Makefile
Tobias Markmann [Sat, 29 Nov 2008 21:11:21 +0000 (22:11 +0100)]
Another automatic merge, this gets annoying."
Waqas Hussain [Sat, 29 Nov 2008 21:08:37 +0000 (02:08 +0500)]
Fixed the ejabberd importer to work with the pipe sign "|" as a separator in erlang lists
Tobias Markmann [Sat, 29 Nov 2008 20:13:12 +0000 (21:13 +0100)]
Autocommit.
Matthew Wild [Sat, 29 Nov 2008 19:52:20 +0000 (19:52 +0000)]
Make ejabberd2prosody.lua a little more cross-platform :)
Tobias Markmann [Sat, 29 Nov 2008 19:33:14 +0000 (20:33 +0100)]
Automated merge.
Tobias Markmann [Sat, 29 Nov 2008 19:30:35 +0000 (20:30 +0100)]
Automated merge.
Matthew Wild [Sat, 29 Nov 2008 19:14:54 +0000 (19:14 +0000)]
Make ejabberd2prosody.lua eecutable
Matthew Wild [Sat, 29 Nov 2008 19:09:38 +0000 (19:09 +0000)]
Automated merge with http://waqas.ath.cx/
Waqas Hussain [Sat, 29 Nov 2008 18:59:27 +0000 (23:59 +0500)]
ejabberd db dump importer for Prosody
Matthew Wild [Sat, 29 Nov 2008 17:52:10 +0000 (17:52 +0000)]
More Makefile improvements (install the certificates, and update the config on install to find them)
Matthew Wild [Sat, 29 Nov 2008 17:22:05 +0000 (17:22 +0000)]
Update Makefile to set correct paths on install with Debian package
Matthew Wild [Sat, 29 Nov 2008 17:21:04 +0000 (17:21 +0000)]
Add some example certificates and update the config to point to them
Matthew Wild [Sat, 29 Nov 2008 16:25:14 +0000 (16:25 +0000)]
Add COPYING, remove LICENSE
Matthew Wild [Sat, 29 Nov 2008 15:14:59 +0000 (15:14 +0000)]
Merfe from Tobias
Matthew Wild [Sat, 29 Nov 2008 15:13:30 +0000 (15:13 +0000)]
Fix for loading connlisteners when running without CFG_SOURCEDIR
Tobias Markmann [Sat, 29 Nov 2008 11:17:21 +0000 (12:17 +0100)]
Apply IDNA to ASCII on hostnames.
Tobias Markmann [Sat, 29 Nov 2008 10:24:59 +0000 (11:24 +0100)]
Forced merge.
Matthew Wild [Sat, 29 Nov 2008 03:49:46 +0000 (03:49 +0000)]
Also look for binary modules in the parent directory when running tests
Matthew Wild [Sat, 29 Nov 2008 03:28:07 +0000 (03:28 +0000)]
Automated merge with http://waqas.ath.cx/
Matthew Wild [Sat, 29 Nov 2008 03:27:50 +0000 (03:27 +0000)]
Update Makefile to now pass config paths to prosody. Update prosody, modulemanager and connectionlisteners to obey these paths.
Matthew Wild [Sat, 29 Nov 2008 03:26:46 +0000 (03:26 +0000)]
Fix for configmanager when config file can't be found
Waqas Hussain [Sat, 29 Nov 2008 03:25:34 +0000 (08:25 +0500)]
Moved incoming c2s presence handling from stanza_router to presencemanager
Matthew Wild [Sat, 29 Nov 2008 02:28:00 +0000 (02:28 +0000)]
Rename and update config. Update Makefile for this change.
Matthew Wild [Sat, 29 Nov 2008 02:23:48 +0000 (02:23 +0000)]
More Makefile improvements
Matthew Wild [Sat, 29 Nov 2008 02:07:33 +0000 (02:07 +0000)]
Add a top-level Makefile and ./configure script. Update util-src Makefile for this.
Matthew Wild [Sat, 29 Nov 2008 01:49:23 +0000 (01:49 +0000)]
Removing pull_from_sh. Use hg fetch instead.
Waqas Hussain [Sat, 29 Nov 2008 01:08:37 +0000 (06:08 +0500)]
Load prosody instead of main.lia in mod_console
Matthew Wild [Sat, 29 Nov 2008 01:02:32 +0000 (01:02 +0000)]
Make prosody executable
Matthew Wild [Sat, 29 Nov 2008 01:01:19 +0000 (01:01 +0000)]
Automated merge with http://waqas.ath.cx/
Matthew Wild [Sat, 29 Nov 2008 01:00:04 +0000 (01:00 +0000)]
main.lua -> prosody
Waqas Hussain [Sat, 29 Nov 2008 00:57:57 +0000 (05:57 +0500)]
Added a FIXME
Waqas Hussain [Sat, 29 Nov 2008 00:56:09 +0000 (05:56 +0500)]
Improved the regexp used to parse the client response a bit. Authenticating with non-ascii realm values now works.
Waqas Hussain [Sat, 29 Nov 2008 00:53:11 +0000 (05:53 +0500)]
Fixed logging in datamanager
Tobias Markmann [Fri, 28 Nov 2008 18:24:08 +0000 (19:24 +0100)]
Use unsigned int instead of uint because uint is already in use on OS X.
Matthew Wild [Fri, 28 Nov 2008 18:06:29 +0000 (18:06 +0000)]
Merge from waqas
Waqas Hussain [Fri, 28 Nov 2008 17:47:22 +0000 (22:47 +0500)]
Quickfix for dns.lua to not crash on failed connection to name servers
Tobias Markmann [Fri, 28 Nov 2008 17:36:04 +0000 (18:36 +0100)]
To use free you should include stdlib.h rather than malloc.h according to man page of free() and various C reference websites.
Tobias Markmann [Fri, 28 Nov 2008 17:32:54 +0000 (18:32 +0100)]
Do idna_to_ascii when building own response.
Waqas Hussain [Fri, 28 Nov 2008 15:17:20 +0000 (20:17 +0500)]
Added option core.data_path
Matthew Wild [Fri, 28 Nov 2008 00:08:23 +0000 (00:08 +0000)]
No more reading 1 byte at a time from sockets
Matthew Wild [Thu, 27 Nov 2008 23:36:49 +0000 (23:36 +0000)]
Merge from waqas
Matthew Wild [Thu, 27 Nov 2008 23:36:17 +0000 (23:36 +0000)]
Add module:unload() to mod_console, and allow module:load() to take config param
Waqas Hussain [Thu, 27 Nov 2008 20:16:26 +0000 (01:16 +0500)]
Completely switched to new hashes library from the old md5 library
Waqas Hussain [Thu, 27 Nov 2008 20:13:34 +0000 (01:13 +0500)]
Switched from md5 to sha256 for dialback key generation
Waqas Hussain [Thu, 27 Nov 2008 19:48:16 +0000 (00:48 +0500)]
Stopped using the lbase64 library
Waqas Hussain [Thu, 27 Nov 2008 17:28:33 +0000 (22:28 +0500)]
Added make.bat for windows
Waqas Hussain [Thu, 27 Nov 2008 17:27:25 +0000 (22:27 +0500)]
Removed MS specific preprocessor statements from the Makefile
Matthew Wild [Thu, 27 Nov 2008 17:12:05 +0000 (17:12 +0000)]
Merge from waqas
Matthew Wild [Thu, 27 Nov 2008 17:09:21 +0000 (17:09 +0000)]
Some mod_console updates
Matthew Wild [Thu, 27 Nov 2008 16:52:30 +0000 (16:52 +0000)]
is_loaded() and incomplete unload() for modules
Waqas Hussain [Thu, 27 Nov 2008 16:49:31 +0000 (21:49 +0500)]
Makefile now works on windows with Microsoft's compiler
Waqas Hussain [Thu, 27 Nov 2008 16:47:13 +0000 (21:47 +0500)]
Minor changes to C files (to prevent compiler warnings)
Matthew Wild [Thu, 27 Nov 2008 03:12:12 +0000 (03:12 +0000)]
Bumper commit for the new modulemanager API \o/ Updates all the modules, though some more changes may be in store.
Matthew Wild [Thu, 27 Nov 2008 03:06:29 +0000 (03:06 +0000)]
Nice enhancement for logging output
Matthew Wild [Thu, 27 Nov 2008 02:43:39 +0000 (02:43 +0000)]
Removing servermanager... it is no longer used