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
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
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
Matthew Wild [Wed, 26 Nov 2008 23:47:23 +0000 (23:47 +0000)]
Log reason for connection failure
Matthew Wild [Wed, 26 Nov 2008 23:44:30 +0000 (23:44 +0000)]
(Basic) IDNA and SRV fallback support
Matthew Wild [Wed, 26 Nov 2008 23:12:05 +0000 (23:12 +0000)]
Fix to make a global configmanager instance
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_*
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.
Matthew Wild [Wed, 26 Nov 2008 21:49:17 +0000 (21:49 +0000)]
Merge from waqas
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)
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
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.
Waqas Hussain [Wed, 26 Nov 2008 04:47:16 +0000 (09:47 +0500)]
Wrapped a core_process_stanza call in an xpcall call
Waqas Hussain [Wed, 26 Nov 2008 04:06:32 +0000 (09:06 +0500)]
Added mod_ping with support for [XEP-0199: XMPP Ping]
Waqas Hussain [Wed, 26 Nov 2008 04:02:58 +0000 (09:02 +0500)]
Changed format for XEP-0090 to the legacy format
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)
Matthew Wild [Wed, 26 Nov 2008 03:29:06 +0000 (03:29 +0000)]
Merge from waqas
Waqas Hussain [Wed, 26 Nov 2008 03:27:09 +0000 (08:27 +0500)]
Modules now sending disco replies
Waqas Hussain [Wed, 26 Nov 2008 03:26:24 +0000 (08:26 +0500)]
Minor bug fix
Waqas Hussain [Wed, 26 Nov 2008 02:44:38 +0000 (07:44 +0500)]
Added helper method to discomanager
Matthew Wild [Wed, 26 Nov 2008 02:21:18 +0000 (02:21 +0000)]
Add rough Makefile for util-src/
Waqas Hussain [Tue, 25 Nov 2008 20:55:07 +0000 (01:55 +0500)]
Removed commented code
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
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
Matthew Wild [Tue, 25 Nov 2008 05:00:31 +0000 (05:00 +0000)]
Update TODO
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
Matthew Wild [Tue, 25 Nov 2008 03:50:08 +0000 (03:50 +0000)]
Change loading order of modules, config before dependency checking
Matthew Wild [Tue, 25 Nov 2008 03:48:43 +0000 (03:48 +0000)]
Some mod_console changes
Matthew Wild [Tue, 25 Nov 2008 02:33:13 +0000 (02:33 +0000)]
Trivial whitespace fix in the missing dependency message
Matthew Wild [Tue, 25 Nov 2008 02:30:25 +0000 (02:30 +0000)]
Add MD5 to the list of checked dependencies
Matthew Wild [Tue, 25 Nov 2008 02:20:23 +0000 (02:20 +0000)]
Friendlier messages on missing dependencies
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
Matthew Wild [Tue, 25 Nov 2008 01:55:01 +0000 (01:55 +0000)]
SSL library is optional, not a fatal error
Tobias Markmann [Sun, 23 Nov 2008 21:56:07 +0000 (22:56 +0100)]
Some ends too much.
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.
Tobias Markmann [Sun, 23 Nov 2008 19:44:48 +0000 (20:44 +0100)]
Merging with main branch.
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.
Matthew Wild [Sun, 23 Nov 2008 05:49:08 +0000 (05:49 +0000)]
Merge from waqas
Matthew Wild [Sun, 23 Nov 2008 05:47:55 +0000 (05:47 +0000)]
Backed out the backout. Now we're back out.
Matthew Wild [Sun, 23 Nov 2008 05:43:58 +0000 (05:43 +0000)]
Reverted my change to modulemanager, to restore those made by waqas
Waqas Hussain [Sun, 23 Nov 2008 05:43:50 +0000 (10:43 +0500)]
Added temporary fix for srv on windows: using opendns nameservers
Matthew Wild [Sun, 23 Nov 2008 05:43:17 +0000 (05:43 +0000)]
Backed out changeset
79bd7a3e906c
Waqas Hussain [Sun, 23 Nov 2008 05:39:13 +0000 (10:39 +0500)]
Check to prevent error on IQs from completely unhandled origins
Matthew Wild [Sun, 23 Nov 2008 05:21:21 +0000 (05:21 +0000)]
Merge from waqas
Waqas Hussain [Sun, 23 Nov 2008 05:20:56 +0000 (10:20 +0500)]
Ahem, a bit of an identity crisis..
Matthew Wild [Sun, 23 Nov 2008 05:20:33 +0000 (05:20 +0000)]
Removing lxmppd.cfg.dist
Matthew Wild [Sun, 23 Nov 2008 05:14:37 +0000 (05:14 +0000)]
Typo prevented modulemanager.load() from returning the error if load failed.
Matthew Wild [Sun, 23 Nov 2008 05:03:36 +0000 (05:03 +0000)]
Merge from waqas
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.
Matthew Wild [Sun, 23 Nov 2008 04:54:44 +0000 (04:54 +0000)]
Add initial mod_console
Matthew Wild [Sun, 23 Nov 2008 04:54:05 +0000 (04:54 +0000)]
Comment out remote debug, will later be enabled via config
Matthew Wild [Sun, 23 Nov 2008 04:53:12 +0000 (04:53 +0000)]
Small fix for connlisteners to accept nil for userdata
Matthew Wild [Sun, 23 Nov 2008 03:00:20 +0000 (03:00 +0000)]
Fix various mistakes in dns.lua
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
Matthew Wild [Sun, 23 Nov 2008 02:42:21 +0000 (02:42 +0000)]
Add new lxmppd.cfg.lua.dist example config file
Matthew Wild [Sun, 23 Nov 2008 02:12:46 +0000 (02:12 +0000)]
New configmanager. Old-style config files still work, but will print a warning
Matthew Wild [Sun, 23 Nov 2008 02:11:58 +0000 (02:11 +0000)]
Fix mod_selftests syntax, and switch it to use config
Waqas Hussain [Sat, 22 Nov 2008 22:32:57 +0000 (03:32 +0500)]
Added mod_disco
Waqas Hussain [Sat, 22 Nov 2008 22:32:34 +0000 (03:32 +0500)]
Added discomanager
Waqas Hussain [Sat, 22 Nov 2008 22:32:20 +0000 (03:32 +0500)]
Added discohelper
Waqas Hussain [Sat, 22 Nov 2008 22:31:03 +0000 (03:31 +0500)]
Account deletion support
Matthew Wild [Sat, 22 Nov 2008 20:12:27 +0000 (20:12 +0000)]
All the people who don't use TLS, this one's for you.
Matthew Wild [Sat, 22 Nov 2008 19:07:41 +0000 (19:07 +0000)]
Add helper function for adding message bodies to stanzas
Waqas Hussain [Sat, 22 Nov 2008 18:14:31 +0000 (23:14 +0500)]
Check to prevent error for IQs from completely unhandled origins
Waqas Hussain [Sat, 22 Nov 2008 17:37:44 +0000 (22:37 +0500)]
Removed useless check
Matthew Wild [Fri, 21 Nov 2008 05:59:03 +0000 (05:59 +0000)]
Now possible to specify nil origin to core_route_stanza. Origin will be chosen as the host of the 'from' attribute on the stanza. Returns false on no such host.
Matthew Wild [Fri, 21 Nov 2008 05:47:27 +0000 (05:47 +0000)]
Import initial configmanager, not sure if it works yet, but it does pass the unit tests ;)
Matthew Wild [Fri, 21 Nov 2008 05:46:15 +0000 (05:46 +0000)]
Update test.lua with a work-in-progress
Matthew Wild [Fri, 21 Nov 2008 05:07:41 +0000 (05:07 +0000)]
Better names for variables
Matthew Wild [Fri, 21 Nov 2008 05:06:35 +0000 (05:06 +0000)]
Remove old TODO
Matthew Wild [Fri, 21 Nov 2008 05:06:01 +0000 (05:06 +0000)]
Remove some declarations I added while debugging
Matthew Wild [Fri, 21 Nov 2008 05:02:53 +0000 (05:02 +0000)]
Improve jid.split() and jid.bare() to pass new test cases with invalid JIDs
Matthew Wild [Thu, 20 Nov 2008 23:28:16 +0000 (23:28 +0000)]
Add jid.bare() helper function
Matthew Wild [Thu, 20 Nov 2008 22:42:37 +0000 (22:42 +0000)]
Adding selftests module, but not enabling in config
Matthew Wild [Thu, 20 Nov 2008 21:06:27 +0000 (21:06 +0000)]
Oops, never added the tests for s2smanager to the repo
Matthew Wild [Thu, 20 Nov 2008 21:04:46 +0000 (21:04 +0000)]
Add run_tests.sh
Matthew Wild [Thu, 20 Nov 2008 21:02:49 +0000 (21:02 +0000)]
Update unit testing to output coverage reports