Implement session:close() for BOSH, and add checking for attempts to connect to hosts we don't serve

Change default maximum inactivity period to 60s from 30s

Add more tests for util/stanza.lua serialization routines

Add test for previous commit

Restore fix for missing last_add on deserialized stanzas. Thanks to tsing for discovering.

Numerous BOSH improvements... handle client disconnects, either explicit or implicit through inactivity; allow specifying BOSH default parameters through config; fix to prevent prematurely closing request connections in some cases, before they were replied to

Protected call for HTTP request callbacks, to catch errors

Fix to prevent calling HTTP request callback twice with the same data

Default mod_console to listening on localhost only. May be changed with console_interface=xxx.xxx.xxx.xxx in the config

Automated merge with http://waqas.ath.cx:8000/

modulemanager: module.unload now gets called when modules are being unloaded

componentmanager: Added support for component deregistering

Remove warning of already-loaded modules at startup

mod_muc: Room subject should be sent only the newly joined occupant

Modulemanager: Basic modules can now be unloaded correctly

mod_console: replace all \n with \r\n in the output, and send \0 as a marker character after every response

mod_muc: Room subjects stored, and room persistence code in place. First user now the owner.

Send host, and not the recipient's JID to module manager (fixes #53)

Initial mod_muc: XEP-0045: Multi-User Chat

Add allow_registration option to disable account registration

Don't use TLS connection handler when SSL/TLS not available or configured (thanks to Ricardo for finding)

Makefile fix for clean target

Updating 0.2.0 tag

Small fix for logging in connlisteners (warning != warn) 0.2.0

Remove some old debugging code from mod_bosh

Remove some debugging code that slipped in

Fix specifying ports in config, and SSL support

Remove logging for server.lua

Remove borken tags

Fix incorrect version number as tag (again) (again)

Fix incorrect version number as tag (again) (again)

Added tag 0.2.0, -m, Fix incorrect version number as tag (again) for changeset 90da4c9b34b5

Added tag 0.20, -m, Fix incorrect version number as tag for changeset 90da4c9b34b5

Added tag 0.20, -m, Fix incorrect version number as tag for changeset 90da4c9b34b5

Added util.multitable.set

Delete the offline message store only when offline messages are present

Return an empty set intead of an error when no disco items are available for a host

Added tag 0.2 for changeset 90da4c9b34b5

HTTP requests now have status code as a number instead of a string. Switched parameters on both http.request() and the callback to better match LuaSocket's http module

Destroy session on failed dialback instead of throwing an error

Automated merge with http://waqas.ath.cx:8000/

Moved directory auto-creation to datamanager

More error replies for offline and non-existing users

Directed presence

Changed order of checking for component hosts to check the full and bare JIDs before the hostname (at another place)

Automated merge with http://waqas.ath.cx:8000/

Changed order of checking for component hosts to check the full and bare JIDs before the hostname

Fix for not loading global modules when host-specific modules are specified in config

Initial mod_bosh, works, kind of, but quite incomplete

Add initial mod_httpserver for serving static content

Adding initial net.httpserver (lots of work to do on it)

Fix nil status code for http request callbacks

Merge from waqas

Bounce stanza errors on failed s2s

Fix data loss when closing connection with a large write queue. Thanks albert :)

Second merge from waqas

Merge from waqas

Fixed URL encoding to generate %0x instead of %x

Optimized stanza_mt.__tostring (called when doing tostring(stanza))

Change xmlhandlers to match stream opening tag with ns+tag

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

mercurial