Some changes to report more correct SASL failures. Support for disabled accounts.

Merging with main branch.

Checking some variables for nil so no errors occur that'll break the server.

Removing some debug messages.

Merge from waqas

Added temporary fix for srv on windows: using opendns nameservers

Check to prevent error on IQs from completely unhandled origins

Backed out the backout. Now we're back out.

Reverted my change to modulemanager, to restore those made by waqas

Backed out changeset 79bd7a3e906c

Merge from waqas

Ahem, a bit of an identity crisis..

Removing lxmppd.cfg.dist

Typo prevented modulemanager.load() from returning the error if load failed.

Merge from waqas

Added mod_disco

Added discomanager

Added discohelper

Account deletion support

Check to prevent error for IQs from completely unhandled origins

Removed useless check

Only start console if it is enabled in the config. Note that the exact option is going to change tomorrow.

Add initial mod_console

Comment out remote debug, will later be enabled via config

Small fix for connlisteners to accept nil for userdata

Fix various mistakes in dns.lua

Fix dns for poor Windows users, who have never seen a resolv.conf

Add new lxmppd.cfg.lua.dist example config file

New configmanager. Old-style config files still work, but will print a warning

Fix mod_selftests syntax, and switch it to use config

All the people who don't use TLS, this one's for you.

Add helper function for adding message bodies to stanzas

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.

Import initial configmanager, not sure if it works yet, but it does pass the unit tests ;)

Update test.lua with a work-in-progress

Better names for variables

Remove old TODO

Remove some declarations I added while debugging

Improve jid.split() and jid.bare() to pass new test cases with invalid JIDs

Add jid.bare() helper function

Adding selftests module, but not enabling in config

Oops, never added the tests for s2smanager to the repo

Add run_tests.sh

Update unit testing to output coverage reports

Remove or comment useless prints, or change them to log()

Add event for server startup completed: server-started

Don't error reply to stanzas direct over the s2s stream they came from

Use a stanza for c2s stream features instead of an array of strings. Removes a FIXME.

Log number of open sessions on session creation

Remove a debug print() from xmlhandlers

Remove version=1.0 on s2s stream headers, again.

Remove an old FIXME comment

Fix the reversed to/from on the final db:result. Fixes M-Link and Gmail. Thanks dwd!!

Comments and logging fixes

Send version=1.0 again in s2s stream header

Fix for setting the correct host on the socket, seems to fix s2s with XCP

Show which session got disconnected in log message

Don't error if the original s2s connection has closed before we get the dialback result

Don't send version 1.0. Who cares about Gmail?

Send version=1.0 in s2s stream header. Send s2s stream:features when in 1.0 mode.

(0) -300 -100 -60 +60 +100 +300 +1000 +3000 tip

mercurial