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.

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

mercurial