Waqas Hussain [Tue, 1 Apr 2014 14:02:58 +0000 (10:02 -0400)]
MUC: Fixed traceback when a JID not in a room requested a role change for an occupant.
Kim Alvefur [Tue, 1 Apr 2014 13:26:40 +0000 (15:26 +0200)]
net.server_{select,event}: Add compat code for supporting the same client port API on connections
Kim Alvefur [Mon, 31 Mar 2014 17:38:06 +0000 (19:38 +0200)]
Backed out changeset
a5b5bce71a11
Kim Alvefur [Thu, 27 Mar 2014 22:02:52 +0000 (23:02 +0100)]
net.server_event: Rename conn:port() -> conn:clientport() to match server_select
Kim Alvefur [Sat, 22 Mar 2014 11:02:11 +0000 (12:02 +0100)]
prosodyctl: Show real error if certificate config file can't be opened
Kim Alvefur [Sat, 22 Mar 2014 11:42:01 +0000 (12:42 +0100)]
modulemanager: Load mod_saslauth on components by default
Kim Alvefur [Sat, 22 Mar 2014 11:41:38 +0000 (12:41 +0100)]
mod_saslauth: Only do c2s SASL on normal VirtualHosts
Kim Alvefur [Sun, 9 Mar 2014 21:16:44 +0000 (22:16 +0100)]
mod_http_files: Strip path separator from end of paths, was broken on Windows (thanks Junne)
Kim Alvefur [Sun, 9 Mar 2014 21:15:40 +0000 (22:15 +0100)]
util.pluginloader: Always use path separator from package.config (thanks Junne)
Kim Alvefur [Wed, 26 Feb 2014 21:19:58 +0000 (22:19 +0100)]
mod_http: Fix http_external_url setting without an explicit port
Kim Alvefur [Thu, 20 Feb 2014 18:08:55 +0000 (19:08 +0100)]
mod_http: Use hostname from the correct context (thanks gryffus)
Waqas Hussain [Tue, 18 Feb 2014 21:03:13 +0000 (16:03 -0500)]
tools/ejabberd2prosody: Don't throw an error if XML CDATA is null ([] in Erlang, instead of a string or being missing).
Waqas Hussain [Mon, 17 Feb 2014 21:00:41 +0000 (16:00 -0500)]
mod_auth_anonymous: Fixed a traceback in listing all users (issue#396).
Kim Alvefur [Sun, 9 Feb 2014 14:17:01 +0000 (15:17 +0100)]
mod_admin_telnet: Prep jids for user:create() etc.
Kim Alvefur [Sun, 9 Feb 2014 14:13:46 +0000 (15:13 +0100)]
mod_s2s: Log a warning if no local addresses are found, as this breaks s2sout
Kim Alvefur [Thu, 6 Feb 2014 09:44:21 +0000 (10:44 +0100)]
mod_motd: Strip indentation only, leave multiple newlines
Kim Alvefur [Mon, 27 Jan 2014 15:47:54 +0000 (16:47 +0100)]
tools/ejabberd2prosody: Handle new room member format.
Waqas Hussain [Sat, 18 Jan 2014 22:26:02 +0000 (17:26 -0500)]
tools/ejabberd2prosody: Disable generating a config, as the format it generates is completely out of date.
Waqas Hussain [Sat, 18 Jan 2014 22:24:10 +0000 (17:24 -0500)]
tools/ejabberd2prosody: ?xmlelement? can be ?xmlel? in newer ejabberd (thanks cr).
Kim Alvefur [Sat, 18 Jan 2014 19:14:05 +0000 (20:14 +0100)]
MUC: Fire muc-room-destroyed event when the last participant leaves a non-persistent room
Waqas Hussain [Sat, 18 Jan 2014 15:37:12 +0000 (10:37 -0500)]
tools/ejabberd2prosody: Add support for importing MUC rooms.
Waqas Hussain [Thu, 16 Jan 2014 19:03:27 +0000 (14:03 -0500)]
tools/ejabberdsql2prosody: Skip invalid XML in data, and print out errors.
Vadim Misbakh-Soloviov [Fri, 14 Jun 2013 08:43:35 +0000 (15:43 +0700)]
additional fix for erlparse loading in ejabberd2prosody.lua
Vadim Misbakh-Soloviov [Fri, 14 Jun 2013 08:15:05 +0000 (15:15 +0700)]
package{,c}path fixes for migration tools
Kim Alvefur [Wed, 15 Jan 2014 21:47:50 +0000 (22:47 +0100)]
mod_tls: Let s2s_secure_auth override s2s_require_encryption and warn if they differ
Kim Alvefur [Wed, 15 Jan 2014 20:57:15 +0000 (21:57 +0100)]
mod_tls: Rename variables to be less confusing
Matthew Wild [Sun, 12 Jan 2014 11:17:40 +0000 (06:17 -0500)]
Tagging 0.9.3
Matthew Wild [Sun, 12 Jan 2014 11:16:49 +0000 (06:16 -0500)]
mod_tls: Log error when TLS initialization fails
Florian Zeitz [Sun, 5 Jan 2014 21:21:50 +0000 (22:21 +0100)]
mod_s2s: Include IP in log messages, if host is unavailable
Waqas Hussain [Fri, 3 Jan 2014 20:52:52 +0000 (15:52 -0500)]
tools/migration/migrator/prosody_files: Fix undefined global access of ?error?, print the actual error message and correct file path in the error message when we fail to load a file, skip broken files instead of failing migration.
Kim Alvefur [Wed, 18 Dec 2013 17:35:35 +0000 (18:35 +0100)]
mod_component: Enable TCP keepalives on component streams
Kim Alvefur [Wed, 18 Dec 2013 17:34:22 +0000 (18:34 +0100)]
mod_component: Decrease priority of component auth hook
Matthew Wild [Mon, 16 Dec 2013 23:31:43 +0000 (23:31 +0000)]
net.server_select: Don't remove the socket from sendlist when we might have data in the buffer (we'll now let sendbuffer() take care of that) (thanks daurnimator)
Matthew Wild [Mon, 16 Dec 2013 23:24:16 +0000 (23:24 +0000)]
net.http: assert() for socket creation success so it doesn't silently fail (thanks daurnimator)
Matthew Wild [Mon, 16 Dec 2013 02:03:35 +0000 (02:03 +0000)]
util.jid: Strip trailing '.' when normalizing hostnames
Kim Alvefur [Sat, 14 Dec 2013 16:25:17 +0000 (17:25 +0100)]
mod_muc: Remove extra parenthesis (thanks janhouse)
Matthew Wild [Fri, 13 Dec 2013 12:52:03 +0000 (12:52 +0000)]
mod_muc: Allow admins to always bypass restrict_room_creation (thanks Chris B)
Kim Alvefur [Fri, 13 Dec 2013 09:25:40 +0000 (10:25 +0100)]
prosody: Store the config file name so the same file can be used when reloading
Matthew Wild [Wed, 4 Dec 2013 15:06:48 +0000 (15:06 +0000)]
Tagging 0.9.2 (again)
Kim Alvefur [Sat, 30 Nov 2013 21:26:20 +0000 (22:26 +0100)]
Makefile, configure: Add option for disabling generation of example certificates
Matthew Wild [Fri, 29 Nov 2013 20:10:13 +0000 (20:10 +0000)]
Tagging 0.9.2
Kim Alvefur [Thu, 28 Nov 2013 15:12:40 +0000 (16:12 +0100)]
util.pposix: Verify that file handle is open
Kim Alvefur [Fri, 22 Nov 2013 14:27:21 +0000 (15:27 +0100)]
Makefile, certs: Generate example certificates on build, remove the old static one
Matthew Wild [Thu, 21 Nov 2013 02:11:09 +0000 (02:11 +0000)]
certmanager: Further cipher string tweaking. Re-enable ciphers required for DSA and ECDH certs/keys.
Matthew Wild [Tue, 12 Nov 2013 02:13:01 +0000 (02:13 +0000)]
Back out
1b0ac7950129, as SSLv3 appears to still be in moderate use on the network. Also, although obsolete, SSLv3 isn't documented to have any weaknesses that TLS 1.0 (the most common version used today) doesn't also have. Get your act together clients!
Matthew Wild [Sun, 10 Nov 2013 18:46:48 +0000 (18:46 +0000)]
certmanager: Update default cipher string to prefer forward-secrecy over cipher strength and to disable triple-DES (weaker and much slower than AES)
Matthew Wild [Sun, 10 Nov 2013 16:43:10 +0000 (16:43 +0000)]
util.set: Remove unused variable
Matthew Wild [Sat, 9 Nov 2013 17:54:21 +0000 (17:54 +0000)]
certmanager: Fix order of options, so that the dynamic option is at the end of the array
Matthew Wild [Sat, 9 Nov 2013 17:50:19 +0000 (17:50 +0000)]
certmanager: Default to using the server's cipher preference order by default, as clients have been shown to commonly select weak and insecure ciphers even when they support stronger ones
Kim Alvefur [Thu, 31 Oct 2013 18:00:36 +0000 (19:00 +0100)]
certmanager: Disable SSLv3 by default
Waqas Hussain [Thu, 10 Oct 2013 21:18:16 +0000 (17:18 -0400)]
util.windows: Incorrect output buffer size passed to ReadConsoleOutputAttribute (fixes issue#362, thanks yanjun).
Paul [Sat, 5 Oct 2013 16:11:16 +0000 (17:11 +0100)]
muc.lib.lua: Fix Spark jabber client not displaying conference room lists, seemingly due to a missing value tag for the room description if the description has not been set
Kim Alvefur [Mon, 30 Sep 2013 19:51:42 +0000 (21:51 +0200)]
util.filters: Fix inserting items so that higher priority filters run first
Matthew Wild [Mon, 9 Sep 2013 10:32:03 +0000 (11:32 +0100)]
Tagging 0.9.1
Kim Alvefur [Tue, 3 Sep 2013 11:40:29 +0000 (13:40 +0200)]
certmanager: Fix dhparam callback, missing imports (Testing, pfft)
Kim Alvefur [Tue, 3 Sep 2013 11:13:31 +0000 (13:13 +0200)]
certmanager: Allow for specifying the dhparam option as a path to a file instead of a callback
Matthew Wild [Tue, 3 Sep 2013 11:11:11 +0000 (12:11 +0100)]
certmanager: Fix for working around a bug with LuaSec 0.4.1 that causes it to not honour the 'ciphers' option. This change will apply 0.9's default cipher string for LuaSec 0.4.1 users.
Matthew Wild [Mon, 2 Sep 2013 19:52:19 +0000 (20:52 +0100)]
util.set: Fix :include() and :exclude() methods to iterate the input set correctly
Kim Alvefur [Mon, 2 Sep 2013 16:19:38 +0000 (18:19 +0200)]
util.pposix: Fix building on non-Linux with glibc
Kim Alvefur [Fri, 30 Aug 2013 16:51:55 +0000 (18:51 +0200)]
configmanager: Fix checking of absolute paths on Windows
Kim Alvefur [Fri, 30 Aug 2013 14:14:31 +0000 (16:14 +0200)]
util.net: Fix s2sout on Windows (return 0.0.0.0 and :: instead of an empty list)
Matthew Wild [Sat, 24 Aug 2013 22:15:24 +0000 (23:15 +0100)]
mod_pep: Update COMPAT comment, it seems Asterisk 1.8 also suffers from this issue (thanks Lonnie Abelbeck)
Matthew Wild [Mon, 19 Aug 2013 19:36:04 +0000 (20:36 +0100)]
Added tag 0.9.0 for changeset
6ef79af0c445
Kim Alvefur [Fri, 9 Aug 2013 14:03:17 +0000 (16:03 +0200)]
util.hashes: Silence compiler warning about pointer signedness
Kim Alvefur [Tue, 6 Aug 2013 12:32:31 +0000 (14:32 +0200)]
mod_admin_telnet, mod_s2s: Fix reporting of certificate chain validation details
Kim Alvefur [Tue, 6 Aug 2013 12:31:20 +0000 (14:31 +0200)]
util.hashes: Correct argument order
Kim Alvefur [Mon, 5 Aug 2013 18:47:38 +0000 (20:47 +0200)]
mod_s2s: Improve policy check
Kim Alvefur [Sun, 4 Aug 2013 15:33:00 +0000 (17:33 +0200)]
mod_s2s: Log certificate identity validation result
Kim Alvefur [Wed, 24 Jul 2013 19:49:36 +0000 (21:49 +0200)]
adhoc.lib: Don't build error reply from reply stanza
Kim Alvefur [Wed, 24 Jul 2013 13:28:36 +0000 (15:28 +0200)]
mod_c2s: Change default of tcp_keepalives to true, and make it individually configurable through c2s_tcp_keepalives
Kim Alvefur [Mon, 22 Jul 2013 16:17:30 +0000 (18:17 +0200)]
net.server_event: Pass ondrain handler from listener
Kim Alvefur [Mon, 22 Jul 2013 15:28:37 +0000 (17:28 +0200)]
net.http.server: Fix Keep-Alive requests with HTTP 1.0
Matthew Wild [Mon, 15 Jul 2013 22:43:20 +0000 (23:43 +0100)]
util.net: Fix compilation on Windows (outputs an empty list of addresses for now) (tested only in my head)
Matthew Wild [Mon, 15 Jul 2013 22:34:59 +0000 (23:34 +0100)]
util.net: Include missing header needed for successful compiltion on FreeBSD
Matthew Wild [Sat, 13 Jul 2013 12:15:24 +0000 (13:15 +0100)]
certmanager: Set our own default cipher string, which includes only ciphers regarded as 'HIGH' strength (by OpenSSL). In particular this disables RC4.
Matthew Wild [Thu, 11 Jul 2013 14:08:47 +0000 (15:08 +0100)]
mod_storage_sql2: Remove from 0.9
Kim Alvefur [Wed, 10 Jul 2013 05:45:10 +0000 (07:45 +0200)]
net.dns, net.adns: Make sure errors from net.server are propagated (thanks asterix)
Matthew Wild [Mon, 8 Jul 2013 22:59:51 +0000 (23:59 +0100)]
mod_component: Local imports for some functions, including xpcall
Matthew Wild [Mon, 8 Jul 2013 22:59:27 +0000 (23:59 +0100)]
mod_bosh: pcall() core_process_stanza per stanza, to bring in line with other listeners. This ensures that stanzas following a traceback-causing stanza in a request will still be processed (as would happen on normal c2s).
Matthew Wild [Mon, 8 Jul 2013 22:42:54 +0000 (23:42 +0100)]
mod_bosh: Only pass stanza to core_process_stanza if it wasn't dropped by filters
Matthew Wild [Mon, 8 Jul 2013 20:38:08 +0000 (21:38 +0100)]
mod_component: xpcall() stanza processing, as per other listeners, preventing potentially harmful 'top-level errors'
Florian Zeitz [Sat, 29 Jun 2013 20:40:10 +0000 (22:40 +0200)]
mod_admin_adhoc: Fix node of the "Get List of Online Users" command
Matthew Wild [Fri, 28 Jun 2013 19:16:43 +0000 (20:16 +0100)]
util.pposix: setrlimit(): Add missing return on error when an incorrect number of arguments are passed
Kim Alvefur [Fri, 28 Jun 2013 17:34:57 +0000 (19:34 +0200)]
mod_http_files: Put the MIME type map in a global shared table instead of per-host
Matthew Wild [Wed, 26 Jun 2013 20:40:01 +0000 (21:40 +0100)]
net.http: Include port number (when non-standard) in the Host header of outgoing requests, as per the HTTP RFC
Kim Alvefur [Sun, 23 Jun 2013 17:27:49 +0000 (19:27 +0200)]
mod_storage_sql2: Use correct variable (Thanks SkyBlue and Florob)
Matthew Wild [Tue, 18 Jun 2013 11:14:46 +0000 (12:14 +0100)]
mod_s2s/s2sout.lib: Remove unused variables and imports
Matthew Wild [Tue, 18 Jun 2013 11:12:49 +0000 (12:12 +0100)]
mod_s2s/s2sout.lib: Remove reference to undefined global
Matthew Wild [Tue, 18 Jun 2013 11:12:12 +0000 (12:12 +0100)]
mod_s2s/s2sout.lib: Use new util.net.local_addresses() to fetch local interface addresses
Matthew Wild [Tue, 18 Jun 2013 11:11:40 +0000 (12:11 +0100)]
mod_s2s/s2sout.lib: Only attempt to create an IPv6 socket if LuaSocket supports IPv6
Matthew Wild [Tue, 18 Jun 2013 08:04:44 +0000 (09:04 +0100)]
util.net: Add util.net, containing local_addresses() (removed from LuaSocket 3.0)
Florian Zeitz [Thu, 13 Jun 2013 22:07:57 +0000 (00:07 +0200)]
util.dataforms: Return nil for empty list-mutli responses, to be consistent with other readers
Florian Zeitz [Thu, 13 Jun 2013 12:56:35 +0000 (13:56 +0100)]
mod_pep: When a client supplies no id on a published item, reflect our generated id back to it
Matthew Wild [Tue, 21 May 2013 09:10:28 +0000 (10:10 +0100)]
mod_muc: Fix incorrect variable name
Matthew Wild [Wed, 12 Jun 2013 23:45:41 +0000 (00:45 +0100)]
certmanager: Add single_dh_use and single_ecdh_use to default options
Matthew Wild [Wed, 12 Jun 2013 23:04:04 +0000 (00:04 +0100)]
certmanager: Set ssl.curve to 'secp384r1' by default, to enable ECC ciphers
Florian Zeitz [Wed, 12 Jun 2013 14:53:51 +0000 (16:53 +0200)]
util.pubsub: Check whether node exists, when deleting
Matthew Wild [Tue, 11 Jun 2013 20:44:53 +0000 (21:44 +0100)]
certmanager: Use 'curve' and 'dhparam' options from ssl config if present
Matthew Wild [Thu, 16 May 2013 09:47:22 +0000 (10:47 +0100)]
mod_admin_telnet: Add server:memory() command to view details of Prosody's memory usage
Matthew Wild [Fri, 7 Jun 2013 16:47:49 +0000 (17:47 +0100)]
mod_bosh: Remove Connection: keep-alive header (conflicts with new net.http.server)