prosody.git
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

15 years agoLog reason for connection failure
Matthew Wild [Wed, 26 Nov 2008 23:47:23 +0000 (23:47 +0000)]
Log reason for connection failure

15 years ago(Basic) IDNA and SRV fallback support
Matthew Wild [Wed, 26 Nov 2008 23:44:30 +0000 (23:44 +0000)]
(Basic) IDNA and SRV fallback support

15 years agoFix to make a global configmanager instance
Matthew Wild [Wed, 26 Nov 2008 23:12:05 +0000 (23:12 +0000)]
Fix to make a global configmanager instance

15 years agoFix for hashes.c and encodings.c to rename luaopen for util_*
Matthew Wild [Wed, 26 Nov 2008 22:45:33 +0000 (22:45 +0000)]
Fix for hashes.c and encodings.c to rename luaopen for util_*

15 years agoFix a waqas copy/paste error. It was my fault again apparently.
Matthew Wild [Wed, 26 Nov 2008 22:18:26 +0000 (22:18 +0000)]
Fix a waqas copy/paste error. It was my fault again apparently.

15 years agoMerge from waqas
Matthew Wild [Wed, 26 Nov 2008 21:49:17 +0000 (21:49 +0000)]
Merge from waqas

15 years agoAdded options to limit the number of resources and for handling of resource conflicts
Waqas Hussain [Wed, 26 Nov 2008 21:48:08 +0000 (02:48 +0500)]
Added options to limit the number of resources and for handling of resource conflicts
 - core.max_resources: defaults to 10
 - core.conflict_resolve: can be "random", "increment", "kick_new" and "kick_old" (default)

15 years agoUpdate mod_selftests to use the hosts on http://xmpp.org/interop/servers.shtml
Matthew Wild [Wed, 26 Nov 2008 18:25:03 +0000 (18:25 +0000)]
Update mod_selftests to use the hosts on xmpp.org/interop/servers.shtml

15 years agoYes, we don't put these things in here, we put them in here.
Matthew Wild [Wed, 26 Nov 2008 15:58:04 +0000 (15:58 +0000)]
Yes, we don't put these things in here, we put them in here.

15 years agoWrapped a core_process_stanza call in an xpcall call
Waqas Hussain [Wed, 26 Nov 2008 04:47:16 +0000 (09:47 +0500)]
Wrapped a core_process_stanza call in an xpcall call

15 years agoAdded mod_ping with support for [XEP-0199: XMPP Ping]
Waqas Hussain [Wed, 26 Nov 2008 04:06:32 +0000 (09:06 +0500)]
Added mod_ping with support for [XEP-0199: XMPP Ping]

15 years agoChanged format for XEP-0090 to the legacy format
Waqas Hussain [Wed, 26 Nov 2008 04:02:58 +0000 (09:02 +0500)]
Changed format for XEP-0090 to the legacy format

15 years agoAdded mod_time with support for [XEP-0202: Entity Time] and [XEP-0090: Entity Time...
Waqas Hussain [Wed, 26 Nov 2008 03:56:30 +0000 (08:56 +0500)]
Added mod_time with support for [XEP-0202: Entity Time] and [XEP-0090: Entity Time] (deprecated)

15 years agoMerge from waqas
Matthew Wild [Wed, 26 Nov 2008 03:29:06 +0000 (03:29 +0000)]
Merge from waqas

15 years agoModules now sending disco replies
Waqas Hussain [Wed, 26 Nov 2008 03:27:09 +0000 (08:27 +0500)]
Modules now sending disco replies

15 years agoMinor bug fix
Waqas Hussain [Wed, 26 Nov 2008 03:26:24 +0000 (08:26 +0500)]
Minor bug fix

15 years agoAdded helper method to discomanager
Waqas Hussain [Wed, 26 Nov 2008 02:44:38 +0000 (07:44 +0500)]
Added helper method to discomanager

15 years agoAdd rough Makefile for util-src/
Matthew Wild [Wed, 26 Nov 2008 02:21:18 +0000 (02:21 +0000)]
Add rough Makefile for util-src/

15 years agoRemoved commented code
Waqas Hussain [Tue, 25 Nov 2008 20:55:07 +0000 (01:55 +0500)]
Removed commented code

15 years agoAdded util-src/hashes.c - support for sha1, sha256 and md5 hashes
Waqas Hussain [Tue, 25 Nov 2008 20:46:16 +0000 (01:46 +0500)]
Added util-src/hashes.c - support for sha1, sha256 and md5 hashes

15 years agoAdded util-src/encodings.c - support for base64, stringprep and idna encodings
Waqas Hussain [Tue, 25 Nov 2008 20:45:25 +0000 (01:45 +0500)]
Added util-src/encodings.c - support for base64, stringprep and idna encodings

15 years agoUpdate TODO
Matthew Wild [Tue, 25 Nov 2008 05:00:31 +0000 (05:00 +0000)]
Update TODO

15 years agoRefuse to run without SSL/TLS unless run_without_ssl is set in config
Matthew Wild [Tue, 25 Nov 2008 03:52:53 +0000 (03:52 +0000)]
Refuse to run without SSL/TLS unless run_without_ssl is set in config

15 years agoChange loading order of modules, config before dependency checking
Matthew Wild [Tue, 25 Nov 2008 03:50:08 +0000 (03:50 +0000)]
Change loading order of modules, config before dependency checking

15 years agoSome mod_console changes
Matthew Wild [Tue, 25 Nov 2008 03:48:43 +0000 (03:48 +0000)]
Some mod_console changes

15 years agoTrivial whitespace fix in the missing dependency message
Matthew Wild [Tue, 25 Nov 2008 02:33:13 +0000 (02:33 +0000)]
Trivial whitespace fix in the missing dependency message

15 years agoAdd MD5 to the list of checked dependencies
Matthew Wild [Tue, 25 Nov 2008 02:30:25 +0000 (02:30 +0000)]
Add MD5 to the list of checked dependencies

15 years agoFriendlier messages on missing dependencies
Matthew Wild [Tue, 25 Nov 2008 02:20:23 +0000 (02:20 +0000)]
Friendlier messages on missing dependencies

15 years agoFix softreq, so it reports when no suitable MD5 library is found
Matthew Wild [Tue, 25 Nov 2008 01:56:20 +0000 (01:56 +0000)]
Fix softreq, so it reports when no suitable MD5 library is found

15 years agoSSL library is optional, not a fatal error
Matthew Wild [Tue, 25 Nov 2008 01:55:01 +0000 (01:55 +0000)]
SSL library is optional, not a fatal error

15 years agoSome ends too much.
Tobias Markmann [Sun, 23 Nov 2008 21:56:07 +0000 (22:56 +0100)]
Some ends too much.

15 years agoSome changes to report more correct SASL failures. Support for disabled accounts.
Tobias Markmann [Sun, 23 Nov 2008 20:26:06 +0000 (21:26 +0100)]
Some changes to report more correct SASL failures. Support for disabled accounts.

15 years agoMerging with main branch.
Tobias Markmann [Sun, 23 Nov 2008 19:44:48 +0000 (20:44 +0100)]
Merging with main branch.

15 years agoChecking some variables for nil so no errors occur that'll break the server.
Tobias Markmann [Sun, 23 Nov 2008 19:43:42 +0000 (20:43 +0100)]
Checking some variables for nil so no errors occur that'll break the server.

15 years agoMerge from waqas
Matthew Wild [Sun, 23 Nov 2008 05:49:08 +0000 (05:49 +0000)]
Merge from waqas

15 years agoBacked out the backout. Now we're back out.
Matthew Wild [Sun, 23 Nov 2008 05:47:55 +0000 (05:47 +0000)]
Backed out the backout. Now we're back out.

15 years agoReverted my change to modulemanager, to restore those made by waqas
Matthew Wild [Sun, 23 Nov 2008 05:43:58 +0000 (05:43 +0000)]
Reverted my change to modulemanager, to restore those made by waqas

15 years agoAdded temporary fix for srv on windows: using opendns nameservers
Waqas Hussain [Sun, 23 Nov 2008 05:43:50 +0000 (10:43 +0500)]
Added temporary fix for srv on windows: using opendns nameservers

15 years agoBacked out changeset 79bd7a3e906c
Matthew Wild [Sun, 23 Nov 2008 05:43:17 +0000 (05:43 +0000)]
Backed out changeset 79bd7a3e906c

15 years agoCheck to prevent error on IQs from completely unhandled origins
Waqas Hussain [Sun, 23 Nov 2008 05:39:13 +0000 (10:39 +0500)]
Check to prevent error on IQs from completely unhandled origins

15 years agoMerge from waqas
Matthew Wild [Sun, 23 Nov 2008 05:21:21 +0000 (05:21 +0000)]
Merge from waqas

15 years agoAhem, a bit of an identity crisis..
Waqas Hussain [Sun, 23 Nov 2008 05:20:56 +0000 (10:20 +0500)]
Ahem, a bit of an identity crisis..

15 years agoRemoving lxmppd.cfg.dist
Matthew Wild [Sun, 23 Nov 2008 05:20:33 +0000 (05:20 +0000)]
Removing lxmppd.cfg.dist

15 years agoTypo prevented modulemanager.load() from returning the error if load failed.
Matthew Wild [Sun, 23 Nov 2008 05:14:37 +0000 (05:14 +0000)]
Typo prevented modulemanager.load() from returning the error if load failed.

15 years agoMerge from waqas
Matthew Wild [Sun, 23 Nov 2008 05:03:36 +0000 (05:03 +0000)]
Merge from waqas

15 years agoOnly start console if it is enabled in the config. Note that the exact option is...
Matthew Wild [Sun, 23 Nov 2008 04:56:46 +0000 (04:56 +0000)]
Only start console if it is enabled in the config. Note that the exact option is going to change tomorrow.

15 years agoAdd initial mod_console
Matthew Wild [Sun, 23 Nov 2008 04:54:44 +0000 (04:54 +0000)]
Add initial mod_console

15 years agoComment out remote debug, will later be enabled via config
Matthew Wild [Sun, 23 Nov 2008 04:54:05 +0000 (04:54 +0000)]
Comment out remote debug, will later be enabled via config

15 years agoSmall fix for connlisteners to accept nil for userdata
Matthew Wild [Sun, 23 Nov 2008 04:53:12 +0000 (04:53 +0000)]
Small fix for connlisteners to accept nil for userdata

15 years agoFix various mistakes in dns.lua
Matthew Wild [Sun, 23 Nov 2008 03:00:20 +0000 (03:00 +0000)]
Fix various mistakes in dns.lua

15 years agoFix dns for poor Windows users, who have never seen a resolv.conf
Matthew Wild [Sun, 23 Nov 2008 02:50:57 +0000 (02:50 +0000)]
Fix dns for poor Windows users, who have never seen a resolv.conf

15 years agoAdd new lxmppd.cfg.lua.dist example config file
Matthew Wild [Sun, 23 Nov 2008 02:42:21 +0000 (02:42 +0000)]
Add new lxmppd.cfg.lua.dist example config file