Matthew Wild [Mon, 21 Dec 2009 22:00:49 +0000 (22:00 +0000)]
mod_saslauth: Requiring c2s encryption means requiring c2s encryption... thanks Flo
Matthew Wild [Thu, 17 Dec 2009 21:50:02 +0000 (21:50 +0000)]
s2smanager: Give reasons to destroy_session in more cases, including when DNS lookup fails
Matthew Wild [Thu, 17 Dec 2009 19:00:36 +0000 (19:00 +0000)]
xmppserver_listener: When a connection fails, pass the reason to destroy_session
Matthew Wild [Thu, 17 Dec 2009 18:59:29 +0000 (18:59 +0000)]
s2smanager: Have both destroy_session and bounce_sendq accept a reason string to include in bounced stanzas
Matthew Wild [Thu, 17 Dec 2009 21:36:31 +0000 (21:36 +0000)]
s2smanager: Send reply stream header only after checking we serve this host (sorry darkrain... :) )
Matthew Wild [Thu, 17 Dec 2009 19:01:57 +0000 (19:01 +0000)]
xmppserver_listener: Make log messages during SRV retries clearer
Waqas Hussain [Tue, 15 Dec 2009 19:11:54 +0000 (00:11 +0500)]
prosody: Fixed a possible nil concatenation.
Matthew Wild [Thu, 10 Dec 2009 22:13:04 +0000 (22:13 +0000)]
net.http: Don't expect the body on redirects
Waqas Hussain [Thu, 10 Dec 2009 11:52:08 +0000 (16:52 +0500)]
mod_httpserver: Text files are text/plain, and not plain/text.
Waqas Hussain [Thu, 10 Dec 2009 11:36:33 +0000 (16:36 +0500)]
net.httpserver: Removed mime handling (now in mod_httpserver). Unknown dynamic content is now always served as text/html.
Waqas Hussain [Thu, 10 Dec 2009 11:34:38 +0000 (16:34 +0500)]
mod_httpserver: Removed a log message.
Waqas Hussain [Thu, 10 Dec 2009 11:27:17 +0000 (16:27 +0500)]
mod_httpserver: Read files in binary mode; fixes issues with serving binary files.
Waqas Hussain [Thu, 10 Dec 2009 11:25:50 +0000 (16:25 +0500)]
mod_httpserver: Skip returning a Content-Type when not known (application/octet-stream is not a correct default).
Waqas Hussain [Thu, 10 Dec 2009 11:22:34 +0000 (16:22 +0500)]
mod_httpserver: Return Content-Type header based on file extension.
Waqas Hussain [Wed, 9 Dec 2009 11:25:18 +0000 (16:25 +0500)]
util.signal: Make kill() available on Solaris; really fixes #136.
Matthew Wild [Mon, 7 Dec 2009 18:32:06 +0000 (18:32 +0000)]
prosody: Less strict matching for the magic 'interrupted' error
Matthew Wild [Fri, 4 Dec 2009 18:59:28 +0000 (18:59 +0000)]
componentmanager: Set ssl_ctx[_in] for components correctly, and use global SSL context if available
Paul Aurich [Fri, 4 Dec 2009 17:48:08 +0000 (09:48 -0800)]
Disable SSLv2 by default, it's known to be insecure.
Matthew Wild [Thu, 3 Dec 2009 19:18:18 +0000 (19:18 +0000)]
net.server_select: Restore checks for wantread/timeout errors on receive
Matthew Wild [Thu, 3 Dec 2009 14:08:54 +0000 (14:08 +0000)]
net.server_select: Make bufferlen() method return, of all things, the buffer length
Matthew Wild [Thu, 3 Dec 2009 02:28:34 +0000 (02:28 +0000)]
net.server_select: Fix possibility of losing data sent from a socket just before it closes (thanks Sjoerd Simons)
Matthew Wild [Thu, 3 Dec 2009 01:13:06 +0000 (01:13 +0000)]
net.dns: Fix for blocking dns lookups to find waiting coroutines correctly (not that we use this in Prosody...)
Matthew Wild [Thu, 3 Dec 2009 01:10:08 +0000 (01:10 +0000)]
net.dns: Port some DNS fixes to the resolver:feed() function for net.adns to use
Matthew Wild [Wed, 2 Dec 2009 18:02:47 +0000 (18:02 +0000)]
net.httpserver: Quick fix to set the correct Content-Type on simple (string) responses, for a few known types
Matthew Wild [Sat, 21 Nov 2009 13:47:45 +0000 (13:47 +0000)]
s2smanager: Don't tostring() the data before sending, sends2s already does this.
Matthew Wild [Thu, 25 Feb 2010 17:54:23 +0000 (17:54 +0000)]
tests/test_core_s2smanager.lua: Fix to compare SRV weights correctly
Matthew Wild [Thu, 25 Feb 2010 17:53:27 +0000 (17:53 +0000)]
s2smanager: Log and fail gracefully when unable to create socket for outgoing s2s connection (thanks foucault)
Matthew Wild [Thu, 25 Feb 2010 17:52:33 +0000 (17:52 +0000)]
s2smanager: Fix for the logic SRV record priority comparison (thanks darkrain)
Matthew Wild [Wed, 20 Jan 2010 02:44:38 +0000 (02:44 +0000)]
net.adns: Trailing whitespace
Matthew Wild [Wed, 9 Dec 2009 13:19:50 +0000 (13:19 +0000)]
mod_vcard: Stricter matching of vcard stanzas with vcard_compatibility enabled, fixes intercepting stanzas to the full JID that it shouldn't
Matthew Wild [Wed, 2 Dec 2009 22:13:31 +0000 (22:13 +0000)]
util.dependencies: Fix package name of LuaFilesystem
Matthew Wild [Wed, 2 Dec 2009 20:35:31 +0000 (20:35 +0000)]
Merge with Tobias
Matthew Wild [Wed, 2 Dec 2009 20:33:09 +0000 (20:33 +0000)]
Merge with Tobias
Matthew Wild [Wed, 2 Dec 2009 20:32:44 +0000 (20:32 +0000)]
modulemanager, net.dns: Remove trailing whitespace
Matthew Wild [Wed, 2 Dec 2009 20:31:54 +0000 (20:31 +0000)]
prosodyctl: Experimental 'addplugin' command
Matthew Wild [Wed, 2 Dec 2009 18:05:03 +0000 (18:05 +0000)]
util.pluginloader: Support for fetching plugins from the data store
Matthew Wild [Wed, 2 Dec 2009 18:03:10 +0000 (18:03 +0000)]
net.httpserver: Fix to work with new server API
Matthew Wild [Wed, 2 Dec 2009 18:02:47 +0000 (18:02 +0000)]
net.httpserver: Quick fix to set the correct Content-Type on simple (string) responses, for a few known types
Tobias Markmann [Tue, 1 Dec 2009 22:23:51 +0000 (23:23 +0100)]
mod_console: Show compression status on s2s:show() output.
Tobias Markmann [Tue, 1 Dec 2009 22:05:32 +0000 (23:05 +0100)]
Merge with tip.
Matthew Wild [Tue, 1 Dec 2009 20:18:47 +0000 (20:18 +0000)]
mod_proxy65: Remove trailing whitespace
Tobias Markmann [Tue, 1 Dec 2009 20:17:13 +0000 (21:17 +0100)]
mod_compression: Removing trailing whitespace.
Matthew Wild [Tue, 1 Dec 2009 20:07:07 +0000 (20:07 +0000)]
mod_proxy65: Fix log:module -> module:log :)
Tobias Markmann [Tue, 1 Dec 2009 20:04:02 +0000 (21:04 +0100)]
mod_compression: Declaring the de-/compression pipes as local.
Tobias Markmann [Tue, 1 Dec 2009 19:59:42 +0000 (20:59 +0100)]
mod_compression: Some comment clean up.
Matthew Wild [Tue, 1 Dec 2009 19:57:54 +0000 (19:57 +0000)]
Merge with trunk
Matthew Wild [Tue, 1 Dec 2009 19:57:33 +0000 (19:57 +0000)]
modulemanager: Fire events module-loaded and module-unloaded, both receive a table with 'module' and 'host' fields, thanks bjc
Tobias Markmann [Tue, 1 Dec 2009 19:55:32 +0000 (20:55 +0100)]
Merge with tip.
Waqas Hussain [Tue, 1 Dec 2009 17:32:37 +0000 (22:32 +0500)]
util.sasl.plain: Allow empty authzid (thanks bjc).
Tobias Markmann [Mon, 30 Nov 2009 23:21:32 +0000 (00:21 +0100)]
mod_compression: Removing forgotten debugging output.
Tobias Markmann [Mon, 30 Nov 2009 23:10:47 +0000 (00:10 +0100)]
mod_compression: Define db (dialback) namespace in stream header.
Tobias Markmann [Mon, 30 Nov 2009 22:25:10 +0000 (23:25 +0100)]
Merge with tip.
Tobias Markmann [Mon, 30 Nov 2009 22:23:42 +0000 (23:23 +0100)]
mod_compression: Enabeling compression for outgoing s2s streams.
Waqas Hussain [Mon, 30 Nov 2009 21:23:48 +0000 (02:23 +0500)]
util.hmac: Optimized.
Waqas Hussain [Mon, 30 Nov 2009 20:45:56 +0000 (01:45 +0500)]
util.sasl.scram: Optimized binaryXOR.
Waqas Hussain [Mon, 30 Nov 2009 20:41:31 +0000 (01:41 +0500)]
util.sasl.scram: Fixed a variable redeclaration.
Tobias Markmann [Mon, 30 Nov 2009 19:53:25 +0000 (20:53 +0100)]
util.sasl.scram: Making =2D and =3D substitution actually work.
Matthew Wild [Mon, 30 Nov 2009 16:39:27 +0000 (16:39 +0000)]
util.stanza: Add stanza:get_child(name, xmlns) to find a child tag given a name/xmlns
Tobias Markmann [Sun, 29 Nov 2009 22:43:12 +0000 (23:43 +0100)]
mod_compression: Some further refactoring.
Tobias Markmann [Sun, 29 Nov 2009 22:04:19 +0000 (23:04 +0100)]
mod_compression: Make setup_compression work for s2s sessions too.
Tobias Markmann [Sun, 29 Nov 2009 21:18:06 +0000 (22:18 +0100)]
mod_compression: Moving compression setup in a dedicated function.
Tobias Markmann [Sun, 29 Nov 2009 21:02:21 +0000 (22:02 +0100)]
mod_compression: Prepare activating of compression on s2s.
Tobias Markmann [Sun, 29 Nov 2009 20:33:37 +0000 (21:33 +0100)]
Merge with tip.
Tobias Markmann [Sun, 29 Nov 2009 20:32:39 +0000 (21:32 +0100)]
Enable one way stream compression on s2s links.
Waqas Hussain [Sun, 29 Nov 2009 13:30:33 +0000 (18:30 +0500)]
util.sasl.plain: A little refactoring.
Waqas Hussain [Sun, 29 Nov 2009 13:29:19 +0000 (18:29 +0500)]
Merge with 0.6.
Tobias Markmann [Sat, 28 Nov 2009 17:58:58 +0000 (18:58 +0100)]
util.sasl.digest-md5: Fixing some variable access.
Matthew Wild [Sat, 28 Nov 2009 17:40:49 +0000 (17:40 +0000)]
Merge with Tobias
Matthew Wild [Sat, 28 Nov 2009 17:40:37 +0000 (17:40 +0000)]
xmppserver_listener: Update for new server API, fixes traceback when closing s2s connections
Matthew Wild [Sat, 28 Nov 2009 17:39:05 +0000 (17:39 +0000)]
mod_console: Update for new server API, fixes traceback when closing console sessions
Tobias Markmann [Sat, 28 Nov 2009 17:32:41 +0000 (18:32 +0100)]
Make some more variables to locals.
Tobias Markmann [Sat, 28 Nov 2009 17:23:25 +0000 (18:23 +0100)]
util.sasl: Move some variables to local space. Fix a bug.
Matthew Wild [Sat, 28 Nov 2009 15:12:43 +0000 (15:12 +0000)]
util.sasl.plain: Fail gracefully on empty <auth/> tag
Matthew Wild [Sat, 28 Nov 2009 15:12:07 +0000 (15:12 +0000)]
mod_saslauth: Fix typo in variable name
Matthew Wild [Sat, 28 Nov 2009 14:09:53 +0000 (14:09 +0000)]
net.server_select: Update conn.close() to use new connection method convention
Waqas Hussain [Sat, 28 Nov 2009 07:00:31 +0000 (12:00 +0500)]
core.xmlhandlers: Fixed processing of empty namespaces (which caused an issue with jwchat).
Waqas Hussain [Sat, 28 Nov 2009 06:59:06 +0000 (11:59 +0500)]
mod_register: Properly notify contacts of subscription removal on account deletion.
Matthew Wild [Fri, 27 Nov 2009 18:02:24 +0000 (18:02 +0000)]
mod_proxy65: Use new jid.join() from util.jid
Matthew Wild [Fri, 27 Nov 2009 18:00:47 +0000 (18:00 +0000)]
tests/test.lua: Changes to environment handling of tests, and replace module() with dummy function that doesn't alter the current environment
Matthew Wild [Fri, 27 Nov 2009 17:41:52 +0000 (17:41 +0000)]
tests: Add tests for util.jid.join()
Matthew Wild [Fri, 27 Nov 2009 17:39:17 +0000 (17:39 +0000)]
tests/test.lua: Print the current test being run if verbosity sufficient
Matthew Wild [Fri, 27 Nov 2009 17:33:55 +0000 (17:33 +0000)]
util.jid: Add join(node, host, resource) function to join the components and return nil if invalid
sjoerd.simons@collabora.co.uk [Fri, 27 Nov 2009 16:51:05 +0000 (16:51 +0000)]
mod_proxy65: Update listener callback names for new server API
Tobias Markmann [Thu, 26 Nov 2009 23:19:56 +0000 (00:19 +0100)]
Merged with tip.
Matthew Wild [Thu, 26 Nov 2009 22:25:13 +0000 (22:25 +0000)]
net.server_event: Add addclient/wrapclient compatible with server_select, DNS and s2s should now work with libevent \o/
Matthew Wild [Thu, 26 Nov 2009 22:23:51 +0000 (22:23 +0000)]
net.server_event: tostring() some debug logging parameters
Matthew Wild [Thu, 26 Nov 2009 22:22:03 +0000 (22:22 +0000)]
net.server_event: Add set_send() for compatibility with server_select
Matthew Wild [Thu, 26 Nov 2009 22:21:12 +0000 (22:21 +0000)]
net.server_event: Hide starttls function when the connection is not SSL-enabled
Matthew Wild [Thu, 26 Nov 2009 22:19:49 +0000 (22:19 +0000)]
net.server_event: Count the number of client connections *upwards* :)
Matthew Wild [Thu, 26 Nov 2009 22:18:44 +0000 (22:18 +0000)]
net.server_handler: Add stub handlers as fallbacks for those listeners don't implement
Tobias Markmann [Thu, 26 Nov 2009 22:18:26 +0000 (23:18 +0100)]
mod_saslauth: Allow relogins after failed SASL login.
Matthew Wild [Thu, 26 Nov 2009 22:15:40 +0000 (22:15 +0000)]
net.server_event: Fix to make ontimeout() listener callback work
Tobias Markmann [Thu, 26 Nov 2009 22:11:02 +0000 (23:11 +0100)]
util.sasl: Adding clean_clone() method.
Matthew Wild [Thu, 26 Nov 2009 22:08:47 +0000 (22:08 +0000)]
net.server_select: Rename server.setsend() to server.set_send() for consistency
Matthew Wild [Thu, 26 Nov 2009 22:08:10 +0000 (22:08 +0000)]
net.adns: Some cleanup, happens to also make it compatible with libevent
Matthew Wild [Thu, 26 Nov 2009 17:17:54 +0000 (17:17 +0000)]
s2smanager: Allow configuration of the dialback_secret in the config
Waqas Hussain [Thu, 26 Nov 2009 10:19:59 +0000 (15:19 +0500)]
mod_presence: Use the local host object as the origin for auto-generated subscription approvals and cancellations.
Waqas Hussain [Thu, 26 Nov 2009 08:06:52 +0000 (13:06 +0500)]
Merge with 0.6.
Waqas Hussain [Thu, 26 Nov 2009 08:02:10 +0000 (13:02 +0500)]
mod_presence: Use the local host as origin for subscription request acks.
Waqas Hussain [Thu, 26 Nov 2009 08:00:11 +0000 (13:00 +0500)]
mod_presence: Removed an unnecessary compatibility workaround which was causing issues with unavailable presence exchange after subscription removal.