prosody.git
15 years agoChange modules to use the new add_feature module API method.
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.

15 years agoAdded function add_feature to modules API (for adding disco features)
Waqas Hussain [Thu, 4 Dec 2008 15:07:22 +0000 (20:07 +0500)]
Added function add_feature to modules API (for adding disco features)

15 years agoReorder the disco info elements to place always included elements first
Waqas Hussain [Thu, 4 Dec 2008 15:01:57 +0000 (20:01 +0500)]
Reorder the disco info elements to place always included elements first

15 years agoAdded an error log message for this case
Matthew Wild [Wed, 3 Dec 2008 18:06:04 +0000 (18:06 +0000)]
Added an error log message for this case

15 years agoQuick fix for an issue that needs more looking into
Matthew Wild [Wed, 3 Dec 2008 18:01:56 +0000 (18:01 +0000)]
Quick fix for an issue that needs more looking into

15 years agoAutomated merge with http://waqas.ath.cx/
Matthew Wild [Wed, 3 Dec 2008 17:24:20 +0000 (17:24 +0000)]
Automated merge with http://waqas.ath.cx/

15 years agoFix for handling latin1 encoded hostnames in SASL
Waqas Hussain [Wed, 3 Dec 2008 17:08:49 +0000 (22:08 +0500)]
Fix for handling latin1 encoded hostnames in SASL

15 years agoFix GPL'ing MIT/X licensed code :)
Matthew Wild [Wed, 3 Dec 2008 16:44:03 +0000 (16:44 +0000)]
Fix GPL'ing MIT/X licensed code :)

15 years agoUpdate HACKERS
Matthew Wild [Wed, 3 Dec 2008 16:20:58 +0000 (16:20 +0000)]
Update HACKERS

15 years agoFill blank with URL
Matthew Wild [Wed, 3 Dec 2008 16:07:15 +0000 (16:07 +0000)]
Fill blank with URL

15 years agoRemove stray merge marker
Matthew Wild [Wed, 3 Dec 2008 16:01:58 +0000 (16:01 +0000)]
Remove stray merge marker

15 years agoMerge from waqas
Matthew Wild [Wed, 3 Dec 2008 15:09:58 +0000 (15:09 +0000)]
Merge from waqas

15 years agoFix license (left some boilerplate in)
Matthew Wild [Wed, 3 Dec 2008 14:59:27 +0000 (14:59 +0000)]
Fix license (left some boilerplate in)

15 years agoconfig and data directories taken from path, and quoted to allow spaces in path
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

15 years agoConverted prosody.cfg.lua.dist to use windows end-of-lines
Waqas Hussain [Wed, 3 Dec 2008 14:56:05 +0000 (19:56 +0500)]
Converted prosody.cfg.lua.dist to use windows end-of-lines

15 years agoand the C files too
Matthew Wild [Wed, 3 Dec 2008 14:45:03 +0000 (14:45 +0000)]
and the C files too

15 years agoInsert copyright/license headers
Matthew Wild [Wed, 3 Dec 2008 14:39:07 +0000 (14:39 +0000)]
Insert copyright/license headers

15 years agoFix port number in mod_console instructions
Matthew Wild [Wed, 3 Dec 2008 13:06:23 +0000 (13:06 +0000)]
Fix port number in mod_console instructions

15 years agolxmppd -> Prosody
Matthew Wild [Wed, 3 Dec 2008 13:02:23 +0000 (13:02 +0000)]
lxmppd -> Prosody

15 years agoFix macosx ostype target
Matthew Wild [Sun, 30 Nov 2008 19:59:28 +0000 (19:59 +0000)]
Fix macosx ostype target

15 years agoFix debian ostype target
Matthew Wild [Sun, 30 Nov 2008 19:58:41 +0000 (19:58 +0000)]
Fix debian ostype target

15 years agoChange sed usage back into one sed script for incompetent versions of sed
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

15 years agoUse install to strip symbols
Matthew Wild [Sun, 30 Nov 2008 19:36:30 +0000 (19:36 +0000)]
Use install to strip symbols

15 years ago'install' libs to util before top-level make install
Matthew Wild [Sun, 30 Nov 2008 19:31:43 +0000 (19:31 +0000)]
'install' libs to util before top-level make install

15 years agoPotential fixes for building on Mac OSX
Matthew Wild [Sun, 30 Nov 2008 19:02:00 +0000 (19:02 +0000)]
Potential fixes for building on Mac OSX

15 years agoNo need for the placeholder file in tests/ because the directory is no longer empty
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

15 years agoAdd test for latin1toutf8 (which passes)
Matthew Wild [Sun, 30 Nov 2008 18:57:23 +0000 (18:57 +0000)]
Add test for latin1toutf8 (which passes)

15 years agoConverting latin encoded responsed to utf-8 when needed.
Tobias Markmann [Sun, 30 Nov 2008 16:34:47 +0000 (17:34 +0100)]
Converting latin encoded responsed to utf-8 when needed.

15 years agoAutomerge with waqas.
Tobias Markmann [Sun, 30 Nov 2008 16:18:31 +0000 (17:18 +0100)]
Automerge with waqas.

15 years agoAdded function latin1toutf8 to sasl.lua, for processing non-utf8 responses
Waqas Hussain [Sun, 30 Nov 2008 15:58:48 +0000 (20:58 +0500)]
Added function latin1toutf8 to sasl.lua, for processing non-utf8 responses

15 years agoMakefile fix for creating datadir in correct place on install
Matthew Wild [Sun, 30 Nov 2008 14:30:22 +0000 (14:30 +0000)]
Makefile fix for creating datadir in correct place on install

15 years agoAutomated merge with h-h.
Tobias Markmann [Sun, 30 Nov 2008 14:18:45 +0000 (15:18 +0100)]
Automated merge with h-h.

15 years agoInstallation improvements (auto-creation of data directories)
Matthew Wild [Sun, 30 Nov 2008 04:22:43 +0000 (04:22 +0000)]
Installation improvements (auto-creation of data directories)

15 years agoRemove that idn stuff for realm because it's either an ugly hack that the password_ha...
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.

15 years agoDon't overwrite config on make install if it already exists
Matthew Wild [Sun, 30 Nov 2008 01:16:55 +0000 (01:16 +0000)]
Don't overwrite config on make install if it already exists

15 years agoPath fix for auto-creating directories
Waqas Hussain [Sun, 30 Nov 2008 01:14:41 +0000 (06:14 +0500)]
Path fix for auto-creating directories

15 years agoMerge from waqas
Matthew Wild [Sun, 30 Nov 2008 01:02:12 +0000 (01:02 +0000)]
Merge from waqas

15 years agoAuto-create data directories on start
Waqas Hussain [Sun, 30 Nov 2008 01:01:37 +0000 (06:01 +0500)]
Auto-create data directories on start

15 years agoMerge with Tobias
Matthew Wild [Sun, 30 Nov 2008 00:38:41 +0000 (00:38 +0000)]
Merge with Tobias

15 years agoidna-to-unicode so password_handler looks for the right domain.
Tobias Markmann [Sun, 30 Nov 2008 00:35:40 +0000 (01:35 +0100)]
idna-to-unicode so password_handler looks for the right domain.

15 years agoYet another fix for the makefile :)
Matthew Wild [Sun, 30 Nov 2008 00:33:58 +0000 (00:33 +0000)]
Yet another fix for the makefile :)

15 years agoDo idna-to-ascii to the realm we send first in Digest-MD5.
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.

15 years agoFix missing prosody.cfg.lua.install
Matthew Wild [Sat, 29 Nov 2008 22:55:16 +0000 (22:55 +0000)]
Fix missing prosody.cfg.lua.install

15 years agoDon't write to prosody.cfg.lua from Makefile. Much apologies to poor albert :(
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 :(

15 years agoAdd -fPIC to util-src/Makefile
Matthew Wild [Sat, 29 Nov 2008 22:20:59 +0000 (22:20 +0000)]
Add -fPIC to util-src/Makefile

15 years agoAnother automatic merge, this gets annoying."
Tobias Markmann [Sat, 29 Nov 2008 21:11:21 +0000 (22:11 +0100)]
Another automatic merge, this gets annoying."

15 years agoFixed the ejabberd importer to work with the pipe sign "|" as a separator in erlang...
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

15 years agoAutocommit.
Tobias Markmann [Sat, 29 Nov 2008 20:13:12 +0000 (21:13 +0100)]
Autocommit.

15 years agoMake ejabberd2prosody.lua a little more cross-platform :)
Matthew Wild [Sat, 29 Nov 2008 19:52:20 +0000 (19:52 +0000)]
Make ejabberd2prosody.lua a little more cross-platform :)

15 years agoAutomated merge.
Tobias Markmann [Sat, 29 Nov 2008 19:33:14 +0000 (20:33 +0100)]
Automated merge.

15 years agoAutomated merge.
Tobias Markmann [Sat, 29 Nov 2008 19:30:35 +0000 (20:30 +0100)]
Automated merge.

15 years agoMake ejabberd2prosody.lua eecutable
Matthew Wild [Sat, 29 Nov 2008 19:14:54 +0000 (19:14 +0000)]
Make ejabberd2prosody.lua eecutable

15 years agoAutomated merge with http://waqas.ath.cx/
Matthew Wild [Sat, 29 Nov 2008 19:09:38 +0000 (19:09 +0000)]
Automated merge with http://waqas.ath.cx/

15 years agoejabberd db dump importer for Prosody
Waqas Hussain [Sat, 29 Nov 2008 18:59:27 +0000 (23:59 +0500)]
ejabberd db dump importer for Prosody

15 years agoMore Makefile improvements (install the certificates, and update the config on instal...
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)

15 years agoUpdate Makefile to set correct paths on install with Debian package
Matthew Wild [Sat, 29 Nov 2008 17:22:05 +0000 (17:22 +0000)]
Update Makefile to set correct paths on install with Debian package

15 years agoAdd some example certificates and update the config to point to them
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

15 years agoAdd COPYING, remove LICENSE
Matthew Wild [Sat, 29 Nov 2008 16:25:14 +0000 (16:25 +0000)]
Add COPYING, remove LICENSE

15 years agoMerfe from Tobias
Matthew Wild [Sat, 29 Nov 2008 15:14:59 +0000 (15:14 +0000)]
Merfe from Tobias

15 years agoFix for loading connlisteners when running without CFG_SOURCEDIR
Matthew Wild [Sat, 29 Nov 2008 15:13:30 +0000 (15:13 +0000)]
Fix for loading connlisteners when running without CFG_SOURCEDIR

15 years agoApply IDNA to ASCII on hostnames.
Tobias Markmann [Sat, 29 Nov 2008 11:17:21 +0000 (12:17 +0100)]
Apply IDNA to ASCII on hostnames.

15 years agoForced merge.
Tobias Markmann [Sat, 29 Nov 2008 10:24:59 +0000 (11:24 +0100)]
Forced merge.

15 years agoAlso look for binary modules in the parent directory when running tests
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

15 years agoAutomated merge with http://waqas.ath.cx/
Matthew Wild [Sat, 29 Nov 2008 03:28:07 +0000 (03:28 +0000)]
Automated merge with http://waqas.ath.cx/

15 years agoUpdate Makefile to now pass config paths to prosody. Update prosody, modulemanager...
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.

15 years agoFix for configmanager when config file can't be found
Matthew Wild [Sat, 29 Nov 2008 03:26:46 +0000 (03:26 +0000)]
Fix for configmanager when config file can't be found

15 years agoMoved incoming c2s presence handling from stanza_router to presencemanager
Waqas Hussain [Sat, 29 Nov 2008 03:25:34 +0000 (08:25 +0500)]
Moved incoming c2s presence handling from stanza_router to presencemanager

15 years agoRename and update config. Update Makefile for this change.
Matthew Wild [Sat, 29 Nov 2008 02:28:00 +0000 (02:28 +0000)]
Rename and update config. Update Makefile for this change.

15 years agoMore Makefile improvements
Matthew Wild [Sat, 29 Nov 2008 02:23:48 +0000 (02:23 +0000)]
More Makefile improvements

15 years agoAdd a top-level Makefile and ./configure script. Update util-src Makefile for this.
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.

15 years agoRemoving pull_from_master.sh. Use hg fetch instead.
Matthew Wild [Sat, 29 Nov 2008 01:49:23 +0000 (01:49 +0000)]
Removing pull_from_sh. Use hg fetch instead.

15 years agoLoad prosody instead of main.lia in mod_console
Waqas Hussain [Sat, 29 Nov 2008 01:08:37 +0000 (06:08 +0500)]
Load prosody instead of main.lia in mod_console

15 years agoMake prosody executable
Matthew Wild [Sat, 29 Nov 2008 01:02:32 +0000 (01:02 +0000)]
Make prosody executable

15 years agoAutomated merge with http://waqas.ath.cx/
Matthew Wild [Sat, 29 Nov 2008 01:01:19 +0000 (01:01 +0000)]
Automated merge with http://waqas.ath.cx/

15 years agomain.lua -> prosody
Matthew Wild [Sat, 29 Nov 2008 01:00:04 +0000 (01:00 +0000)]
main.lua -> prosody

15 years agoAdded a FIXME
Waqas Hussain [Sat, 29 Nov 2008 00:57:57 +0000 (05:57 +0500)]
Added a FIXME

15 years agoImproved the regexp used to parse the client response a bit. Authenticating with...
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.

15 years agoFixed logging in datamanager
Waqas Hussain [Sat, 29 Nov 2008 00:53:11 +0000 (05:53 +0500)]
Fixed logging in datamanager

15 years agoUse unsigned int instead of uint because uint is already in use on OS X.
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.

15 years agoMerge from waqas
Matthew Wild [Fri, 28 Nov 2008 18:06:29 +0000 (18:06 +0000)]
Merge from waqas

15 years agoQuickfix for dns.lua to not crash on failed connection to name servers
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

15 years agoTo use free you should include stdlib.h rather than malloc.h according to man page...
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.

15 years agoDo idna_to_ascii when building own response.
Tobias Markmann [Fri, 28 Nov 2008 17:32:54 +0000 (18:32 +0100)]
Do idna_to_ascii when building own response.

15 years agoAdded option core.data_path
Waqas Hussain [Fri, 28 Nov 2008 15:17:20 +0000 (20:17 +0500)]
Added option core.data_path

15 years agoNo more reading 1 byte at a time from sockets
Matthew Wild [Fri, 28 Nov 2008 00:08:23 +0000 (00:08 +0000)]
No more reading 1 byte at a time from sockets

15 years agoMerge from waqas
Matthew Wild [Thu, 27 Nov 2008 23:36:49 +0000 (23:36 +0000)]
Merge from waqas

15 years agoAdd module:unload() to mod_console, and allow module:load() to take config param
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

15 years agoCompletely switched to new hashes library from the old md5 library
Waqas Hussain [Thu, 27 Nov 2008 20:16:26 +0000 (01:16 +0500)]
Completely switched to new hashes library from the old md5 library

15 years agoSwitched from md5 to sha256 for dialback key generation
Waqas Hussain [Thu, 27 Nov 2008 20:13:34 +0000 (01:13 +0500)]
Switched from md5 to sha256 for dialback key generation

15 years agoStopped using the lbase64 library
Waqas Hussain [Thu, 27 Nov 2008 19:48:16 +0000 (00:48 +0500)]
Stopped using the lbase64 library

15 years agoAdded make.bat for windows
Waqas Hussain [Thu, 27 Nov 2008 17:28:33 +0000 (22:28 +0500)]
Added make.bat for windows

15 years agoRemoved MS specific preprocessor statements from the Makefile
Waqas Hussain [Thu, 27 Nov 2008 17:27:25 +0000 (22:27 +0500)]
Removed MS specific preprocessor statements from the Makefile

15 years agoMerge from waqas
Matthew Wild [Thu, 27 Nov 2008 17:12:05 +0000 (17:12 +0000)]
Merge from waqas

15 years agoSome mod_console updates
Matthew Wild [Thu, 27 Nov 2008 17:09:21 +0000 (17:09 +0000)]
Some mod_console updates

15 years agois_loaded() and incomplete unload() for modules
Matthew Wild [Thu, 27 Nov 2008 16:52:30 +0000 (16:52 +0000)]
is_loaded() and incomplete unload() for modules

15 years agoMakefile now works on windows with Microsoft's compiler
Waqas Hussain [Thu, 27 Nov 2008 16:49:31 +0000 (21:49 +0500)]
Makefile now works on windows with Microsoft's compiler

15 years agoMinor changes to C files (to prevent compiler warnings)
Waqas Hussain [Thu, 27 Nov 2008 16:47:13 +0000 (21:47 +0500)]
Minor changes to C files (to prevent compiler warnings)

15 years agoBumper commit for the new modulemanager API \o/ Updates all the modules, though some...
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.

15 years agoNice enhancement for logging output
Matthew Wild [Thu, 27 Nov 2008 03:06:29 +0000 (03:06 +0000)]
Nice enhancement for logging output

15 years agoRemoving servermanager... it is no longer used
Matthew Wild [Thu, 27 Nov 2008 02:43:39 +0000 (02:43 +0000)]
Removing servermanager... it is no longer used