Matthew Wild [Sun, 3 Jan 2010 15:17:51 +0000 (15:17 +0000)]
Merge with Rob
Matthew Wild [Sun, 3 Jan 2010 03:36:40 +0000 (03:36 +0000)]
prosodyctl: Gracefully handle a missing stty command, and fall back to ANSI escape sequences
Matthew Wild [Fri, 1 Jan 2010 21:32:23 +0000 (21:32 +0000)]
mod_httpserver: Rudimentary directory detection, return forbidden instead of causing a traceback (since commit
0325f241a26c)
Matthew Wild [Fri, 1 Jan 2010 03:32:26 +0000 (03:32 +0000)]
prosody.cfg.lua.dist: Remove lie about requiring console_enabled
Matthew Wild [Fri, 1 Jan 2010 03:29:12 +0000 (03:29 +0000)]
prosody.cfg.lua.dist: Remove trailing whitespace
Matthew Wild [Thu, 31 Dec 2009 02:39:40 +0000 (02:39 +0000)]
util.events: Rename add_plugin() and remove_plugin() to add_handlers() and remove_handlers() respectively
Matthew Wild [Wed, 30 Dec 2009 20:24:11 +0000 (20:24 +0000)]
util.signal: Update header comment for new filename
Rob Hoelz [Wed, 30 Dec 2009 19:26:11 +0000 (13:26 -0600)]
Added notification of configuration changes for MUCs
Tobias Markmann [Wed, 30 Dec 2009 15:43:08 +0000 (16:43 +0100)]
util.sasl_cyrus: Report an error if Cyrus SASL init fails.
Rob Hoelz [Tue, 29 Dec 2009 22:21:12 +0000 (16:21 -0600)]
Add support for non-anonymous MUC rooms
Tobias Markmann [Tue, 29 Dec 2009 00:04:48 +0000 (01:04 +0100)]
util.sasl_cyrus: Removing whitespace.
Tobias Markmann [Tue, 29 Dec 2009 00:03:37 +0000 (01:03 +0100)]
util.sasl_cyrus: Automatically initialize Cyrus SASL with the first used service name.
Tobias Markmann [Mon, 28 Dec 2009 21:08:32 +0000 (22:08 +0100)]
util.sasl_cyrus: Change variable name.
Tobias Markmann [Mon, 28 Dec 2009 19:21:49 +0000 (20:21 +0100)]
util.sasl_cyrus: Fixing cyrus mechanism list parsing. (Thanks darkrain)
Waqas Hussain [Sun, 27 Dec 2009 05:09:22 +0000 (10:09 +0500)]
net.httpserver: Optimized response serialization.
Tobias Markmann [Wed, 23 Dec 2009 22:13:39 +0000 (23:13 +0100)]
mod_saslauth: Adjust sanitizing.
Tobias Markmann [Wed, 23 Dec 2009 22:09:44 +0000 (23:09 +0100)]
mod_saslauth: Sanitize debugging information so it won't break terminal emulation when using GSSAPI auth.
jorj@jorj.org [Wed, 23 Dec 2009 21:46:49 +0000 (16:46 -0500)]
first working version with Cyrus SASL support.
jorj@jorj.org [Wed, 23 Dec 2009 21:45:03 +0000 (16:45 -0500)]
added comment to remind us to fix binary output breaking the terminal
later
Tobias Markmann [Tue, 22 Dec 2009 20:08:58 +0000 (21:08 +0100)]
util.sasl_cyrus: Further fixing and cleanup.
Tobias Markmann [Tue, 22 Dec 2009 19:55:35 +0000 (20:55 +0100)]
util.sasl_cyrus: Initializing Cyrus SASL library and a bit cleanup.
Tobias Markmann [Tue, 22 Dec 2009 19:21:44 +0000 (20:21 +0100)]
util.sasl_cyrus: Log errors if CyrusSASL init fails.
Tobias Markmann [Tue, 22 Dec 2009 19:20:37 +0000 (20:20 +0100)]
mod_saslauth: Make service_name configurable for CyrusSASL users.
Tobias Markmann [Tue, 22 Dec 2009 18:27:19 +0000 (19:27 +0100)]
mod_saslauth: Add support for CyrusSASL.
Tobias Markmann [Tue, 22 Dec 2009 18:26:16 +0000 (19:26 +0100)]
Adding sasl_cyrus.lua. A sasl.lua drop-in replacement to use CyrusSASL for all c2s authentication.
Matthew Wild [Mon, 21 Dec 2009 22:00:49 +0000 (22:00 +0000)]
mod_saslauth: Requiring c2s encryption means requiring c2s encryption... thanks Flo
Brian Cully [Mon, 21 Dec 2009 17:03:47 +0000 (17:03 +0000)]
net.dns: Update synchronous path for new connection API
Brian Cully [Mon, 21 Dec 2009 16:52:12 +0000 (16:52 +0000)]
util.prosodyctl: Saner determination of Prosody executable path
Waqas Hussain [Mon, 21 Dec 2009 01:37:58 +0000 (06:37 +0500)]
mod_pep: Added a TODO.
Waqas Hussain [Mon, 21 Dec 2009 01:26:37 +0000 (06:26 +0500)]
mod_pep: Handle service discovery queries for bare account JIDs (thanks darkrain).
Waqas Hussain [Mon, 21 Dec 2009 01:25:12 +0000 (06:25 +0500)]
mod_disco: Handle and fire events for service discovery queries for bare account JIDs (thanks darkrain).
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 21:38:16 +0000 (21:38 +0000)]
Merge with backout branch
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 21:33:35 +0000 (21:33 +0000)]
Backed out changeset
78c5cb163ea9, to fix another way. Haven't done this for a while :)
Matthew Wild [Thu, 17 Dec 2009 21:18:02 +0000 (21:18 +0000)]
s2smanager: More whitespace
Matthew Wild [Thu, 17 Dec 2009 21:17:47 +0000 (21:17 +0000)]
s2smanager: Mark stream as opened sooner, this prevents a duplicated stream header on host-unknown errors (thanks darkrain and his mail server)
Matthew Wild [Thu, 17 Dec 2009 21:14:44 +0000 (21:14 +0000)]
s2smanager: Whitespace
Matthew Wild [Thu, 17 Dec 2009 20:30:41 +0000 (20:30 +0000)]
net.server_event: Add properties like _ip and _port to server objects too
Matthew Wild [Thu, 17 Dec 2009 20:30:10 +0000 (20:30 +0000)]
net.server_event: Add :serverport() method to be compatible with old API
Matthew Wild [Thu, 17 Dec 2009 20:28:32 +0000 (20:28 +0000)]
mod_bosh: Update for new connection API
Matthew Wild [Thu, 17 Dec 2009 20:22:52 +0000 (20:22 +0000)]
httpserver_listener: Update for new connection API
Matthew Wild [Thu, 17 Dec 2009 20:10:11 +0000 (20:10 +0000)]
net.httpserver: Fix usage of old connection API syntax
Matthew Wild [Thu, 17 Dec 2009 19:01:57 +0000 (19:01 +0000)]
xmppserver_listener: Make log messages during SRV retries clearer
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 16:53:28 +0000 (16:53 +0000)]
net.server_event: Load ssl/socket libraries if not already available
Matthew Wild [Thu, 17 Dec 2009 16:52:39 +0000 (16:52 +0000)]
util.timer: Use luaevent's built-in method of repeating an event (fixes a weird crash)
Waqas Hussain [Tue, 15 Dec 2009 19:11:54 +0000 (00:11 +0500)]
prosody: Fixed a possible nil concatenation.
Paul Aurich [Tue, 15 Dec 2009 18:58:22 +0000 (18:58 +0000)]
prosody: Fix to net_activate_ports to mend binding to specific interfaces
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 13:40:21 +0000 (18:40 +0500)]
prosody: Added config option 'ssl_ports' to allow multiplexed SSL ports.
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 [Thu, 10 Dec 2009 11:21:33 +0000 (16:21 +0500)]
mod_httpserver: Delay setup until after server is started.
Waqas Hussain [Thu, 10 Dec 2009 11:21:06 +0000 (16:21 +0500)]
mod_bosh: Delay setup until after server is started.
Waqas Hussain [Thu, 10 Dec 2009 00:08:59 +0000 (05:08 +0500)]
prosody: Use the multiplex listener when the 'ports' config option is specified.
Waqas Hussain [Thu, 10 Dec 2009 00:07:32 +0000 (05:07 +0500)]
net_activate_ports: Use the default config option 'ports' when no option is specified.
Waqas Hussain [Thu, 10 Dec 2009 00:04:09 +0000 (05:04 +0500)]
multiplex_listener: Initial commit. Multiple protocols on a single port.
Waqas Hussain [Wed, 9 Dec 2009 22:02:04 +0000 (03:02 +0500)]
modulemanager: Fire item-removed events on module unload.
Waqas Hussain [Wed, 9 Dec 2009 22:00:16 +0000 (03:00 +0500)]
modulemanager: Fixed a global access.
Waqas Hussain [Wed, 9 Dec 2009 21:50:23 +0000 (02:50 +0500)]
prosody: Call tostring on the key being used for nil global read before concatenating it with a string.
Waqas Hussain [Wed, 9 Dec 2009 21:47:13 +0000 (02:47 +0500)]
prosody: Log a warning and traceback, but don't throw an error on nil global read.
Waqas Hussain [Wed, 9 Dec 2009 20:56:16 +0000 (01:56 +0500)]
Mainfile: Broke up a really long line.
Matthew Wild [Wed, 9 Dec 2009 13:20:46 +0000 (13:20 +0000)]
Merge with 0.6
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
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 [Tue, 8 Dec 2009 01:24:16 +0000 (01:24 +0000)]
mod_posix: Fix to not loop in SIGTERM either, but the same happens with SIGHUP (where the same 'fix' can't be applied) - shall investigate tomorrow
Matthew Wild [Tue, 8 Dec 2009 01:23:22 +0000 (01:23 +0000)]
prosody: Report the current socket backend in use
Matthew Wild [Tue, 8 Dec 2009 01:22:54 +0000 (01:22 +0000)]
net.server_event: Add get_backend() method
Matthew Wild [Tue, 8 Dec 2009 01:22:09 +0000 (01:22 +0000)]
net.server_select: Add get_backend() method
Matthew Wild [Tue, 8 Dec 2009 01:16:24 +0000 (01:16 +0000)]
mod_posix: Set empty SIGINT handler when a SIGINT is caught
Matthew Wild [Tue, 8 Dec 2009 00:55:17 +0000 (00:55 +0000)]
prosody: Clarify and add some comments to describe what we're doing when and why
Matthew Wild [Mon, 7 Dec 2009 19:26:50 +0000 (19:26 +0000)]
Rename closeallservers to closeall in the public API (same as net.server_select) and expose setquitting
Matthew Wild [Mon, 7 Dec 2009 19:26:12 +0000 (19:26 +0000)]
net.server_event: Add setquitting() function to be compatible with net.server_select
Matthew Wild [Mon, 7 Dec 2009 19:25:16 +0000 (19:25 +0000)]
net.server_event: Fix closeallservers() to work correctly after the giant refactorizification
Matthew Wild [Mon, 7 Dec 2009 18:42:31 +0000 (18:42 +0000)]
net.server_event: Return "quitting" on loop exit to be compatible with net.server_select, and give Prosody a way to know why the loop broke
Matthew Wild [Mon, 7 Dec 2009 18:38:35 +0000 (18:38 +0000)]
mod_posix: Catch SIGINT
Matthew Wild [Mon, 7 Dec 2009 18:32:50 +0000 (18:32 +0000)]
Merge with trunk
Matthew Wild [Mon, 7 Dec 2009 18:32:06 +0000 (18:32 +0000)]
prosody: Less strict matching for the magic 'interrupted' error
Matthew Wild [Mon, 7 Dec 2009 18:30:57 +0000 (18:30 +0000)]
prosodyctl: Nicer errors when addplugin command fails
Matthew Wild [Sun, 6 Dec 2009 00:35:06 +0000 (00:35 +0000)]
util.datamanager: Store data stores with no host in '_global' folder
Paul Aurich [Sat, 5 Dec 2009 18:26:43 +0000 (10:26 -0800)]
mod_pep: Support item retrieval use cases
Paul Aurich [Sat, 5 Dec 2009 17:43:53 +0000 (09:43 -0800)]
mod_pep: Allow storage of urn:xmpp:avatar:data node (payload only with base64 data)
Matthew Wild [Sat, 5 Dec 2009 13:34:45 +0000 (13:34 +0000)]
util.pluginloader: Don't specify a host for the plugin data store (clever waqas...)
Matthew Wild [Fri, 4 Dec 2009 19:04:03 +0000 (19:04 +0000)]
mod_compression: Tweak some log levels
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
Matthew Wild [Fri, 4 Dec 2009 18:57:54 +0000 (18:57 +0000)]
prosody: Expose global_ssl_ctx through prosody object
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 [Fri, 4 Dec 2009 14:41:53 +0000 (14:41 +0000)]
mod_proxy65: Strip trailing whitespace
Brian Cully [Fri, 4 Dec 2009 12:14:14 +0000 (12:14 +0000)]
util-src/Makefile: Clean up makefile (re-commit because MattJ shouldn't commit anything at 3AM)
Matthew Wild [Fri, 4 Dec 2009 03:07:17 +0000 (03:07 +0000)]
net.server_select, net.server_event: Convert to unix line endings from Windows
Brian Cully [Fri, 4 Dec 2009 03:02:25 +0000 (03:02 +0000)]
util-src/Makefile: Clean up makefile, rename lsignal.c to signal.c
Matthew Wild [Fri, 4 Dec 2009 02:51:43 +0000 (02:51 +0000)]
configure: fix typo of 'yes' -> 'yet'
Brian Cully [Fri, 4 Dec 2009 02:51:03 +0000 (02:51 +0000)]
configure: Add 'linux' ostype and rename lflags to LDFLAGS to match expectations.
Tobias Markmann [Thu, 3 Dec 2009 20:57:47 +0000 (21:57 +0100)]
Redo merge with Waqas' PBKDF2 optimizations.