Kim Alvefur [Wed, 3 Apr 2013 13:38:18 +0000 (15:38 +0200)]
configure: Add RUNWITH to --help
Matthew Wild [Wed, 3 Apr 2013 12:51:59 +0000 (13:51 +0100)]
mod_pubsub: Don't send current items to new subscribers (I don't know why we did)
Matthew Wild [Wed, 3 Apr 2013 12:40:40 +0000 (13:40 +0100)]
mod_groups: Remove unused import
Matthew Wild [Wed, 3 Apr 2013 12:40:29 +0000 (13:40 +0100)]
mod_groups: Add a public function other modules can use to determine if a JID belongs to a given group
Matthew Wild [Wed, 3 Apr 2013 12:39:41 +0000 (13:39 +0100)]
mod_presence: Remove some unused variables
Matthew Wild [Wed, 3 Apr 2013 12:39:00 +0000 (13:39 +0100)]
util.helpers: Helper helpers to log host events
Matthew Wild [Wed, 3 Apr 2013 12:38:27 +0000 (13:38 +0100)]
util.stanza: :maptags(): Fixes to make loop more robust on item removal
Matthew Wild [Wed, 3 Apr 2013 07:14:55 +0000 (08:14 +0100)]
configmanager: Some cleanup, remove unused variables and imports
Marco Cirillo [Mon, 1 Apr 2013 23:44:28 +0000 (23:44 +0000)]
moduleapi: have get_host_items wrap on get_items from modulemanager, also add has_{feature/identity} to the API.
Marco Cirillo [Mon, 1 Apr 2013 23:41:57 +0000 (23:41 +0000)]
modulemanager: add missing ipairs import.
Marco Cirillo [Mon, 1 Apr 2013 22:34:44 +0000 (22:34 +0000)]
modulemanager: add function to retrieve module items from a specific host entity.
Matthew Wild [Mon, 1 Apr 2013 13:51:42 +0000 (14:51 +0100)]
prosody.cfg.lua.dist: Update with new options and comments
Matthew Wild [Mon, 1 Apr 2013 13:45:59 +0000 (14:45 +0100)]
mod_s2s: Close incoming s2s with stream error when secure and we don't trust their certificate
Matthew Wild [Sun, 31 Mar 2013 21:40:01 +0000 (22:40 +0100)]
INSTALL: Update from wiki
Matthew Wild [Sun, 31 Mar 2013 12:49:33 +0000 (13:49 +0100)]
DEPENDS: Update (LuaSec now has a rock) and add link to /doc/depends
Matthew Wild [Sun, 31 Mar 2013 12:45:57 +0000 (13:45 +0100)]
TODO: Remove 0.9
Matthew Wild [Sun, 31 Mar 2013 12:45:04 +0000 (13:45 +0100)]
net.http.server: Don't overwrite existing response.headers when returning a response object from a HTTP handler (waqas says it's wrong)
Matthew Wild [Sun, 31 Mar 2013 12:43:12 +0000 (13:43 +0100)]
AUTHORS: A small update...
Kim Alvefur [Sun, 31 Mar 2013 18:09:14 +0000 (20:09 +0200)]
tools/migration/Makefile: Apply Lua runtime override (see
53f741a5a73a)
Kim Alvefur [Sun, 31 Mar 2013 18:04:09 +0000 (20:04 +0200)]
configure: Set to run with lua5.1 in the debian preset
Matthew Wild [Sun, 31 Mar 2013 11:27:28 +0000 (12:27 +0100)]
portmanager: Log error and fail to bind when port is invalid (not a number)
Matthew Wild [Thu, 28 Mar 2013 13:50:21 +0000 (09:50 -0400)]
mod_muc/muc.lib: Don't add messages without a body (such as chat state notifications) to the room history (thanks louiz?, Link Mauve, poezio and all its users)
Matthew Wild [Thu, 28 Mar 2013 13:31:07 +0000 (09:31 -0400)]
util.json: Add json.encode_array() (thanks B)
Tobias Markmann [Thu, 28 Mar 2013 11:49:19 +0000 (12:49 +0100)]
mod_privacy: Drop stanzas of type groupchat, so users aren't kicked from their chatrooms when blocking specific MUC occupants.
Kim Alvefur [Wed, 27 Mar 2013 22:48:39 +0000 (23:48 +0100)]
portmanager: Add use_ipv4 option, default to true.
Kim Alvefur [Wed, 27 Mar 2013 22:32:34 +0000 (23:32 +0100)]
portmanager: use_ipv6 defaults to true if luasocket has ipv6 support
Kim Alvefur [Wed, 27 Mar 2013 22:09:47 +0000 (23:09 +0100)]
mod_s2s: Prevent s2s to and from hosts we serve locally
Kim Alvefur [Tue, 26 Mar 2013 08:25:20 +0000 (09:25 +0100)]
mod_s2s: Prevent traceback when replying to incoming connection to a host we don't serve
Kim Alvefur [Mon, 25 Mar 2013 18:08:15 +0000 (19:08 +0100)]
mod_s2s: Reset secure flag on new connection attempt
Kim Alvefur [Mon, 25 Mar 2013 07:18:49 +0000 (08:18 +0100)]
mod_s2s: session.from_host does not allways exist on incoming connections, true and nil or "our hostname" does not evaluate to what we want here
Kim Alvefur [Sat, 23 Mar 2013 22:30:13 +0000 (23:30 +0100)]
mod_s2s: Keep the dns answer object around a while so plugins can look at it
Kim Alvefur [Sat, 23 Mar 2013 19:06:02 +0000 (20:06 +0100)]
net.server, _select: Reorganise configuration of server_select to be more like server_event
Kim Alvefur [Sat, 23 Mar 2013 14:00:49 +0000 (15:00 +0100)]
prosody, prosodyctl: Remove last trace of "core" \o/
Kim Alvefur [Sat, 23 Mar 2013 14:00:22 +0000 (15:00 +0100)]
net.server: No sections in config anymore
Kim Alvefur [Sat, 23 Mar 2013 03:14:52 +0000 (04:14 +0100)]
configmanager: Fix so unset variables are searched for in the global section
Kim Alvefur [Sat, 23 Mar 2013 01:38:30 +0000 (02:38 +0100)]
util.{prosodyctl,openssl}: More use of config sections removed
Kim Alvefur [Sat, 23 Mar 2013 01:35:50 +0000 (02:35 +0100)]
mod_tls: More use of config sections removed
Kim Alvefur [Sat, 23 Mar 2013 01:33:15 +0000 (02:33 +0100)]
core.*: Complete removal of all traces of the "core" section and section-related code.
Kim Alvefur [Sat, 23 Mar 2013 01:24:11 +0000 (02:24 +0100)]
MUC: Access prosody.hosts instead of the old global hosts
Kim Alvefur [Sat, 23 Mar 2013 00:42:48 +0000 (01:42 +0100)]
mod_proxy65: Fix typo in comment
Kim Alvefur [Sat, 23 Mar 2013 00:42:27 +0000 (01:42 +0100)]
mod_http: Import portmanager
Kim Alvefur [Sat, 23 Mar 2013 00:39:56 +0000 (01:39 +0100)]
mod_groups: Use module API for reading config
Kim Alvefur [Sat, 23 Mar 2013 00:35:52 +0000 (01:35 +0100)]
mod_roster: Remove unused variable
Kim Alvefur [Sat, 23 Mar 2013 00:27:38 +0000 (01:27 +0100)]
mod_motd, mod_register, mod_private, mod_http_errors, mod_admin_adhoc: Remove unused imports
Kim Alvefur [Sat, 23 Mar 2013 00:27:16 +0000 (01:27 +0100)]
mod_announce, mod_auth_anonymous, mod_c2s, mod_c2s, mod_component, mod_iq, mod_message, mod_presence, mod_tls: Access prosody.{hosts,bare_sessions,full_sessions} instead of the old globals
Matthew Wild [Fri, 22 Mar 2013 15:16:43 +0000 (15:16 +0000)]
Merge 0.9->trunk
Matthew Wild [Fri, 22 Mar 2013 15:16:22 +0000 (15:16 +0000)]
mod_s2s: Fix variable usage in check_auth_policy (thanks Florob)
Matthew Wild [Fri, 22 Mar 2013 14:50:43 +0000 (14:50 +0000)]
s2smanager: Remove unused function parameter
Matthew Wild [Fri, 22 Mar 2013 14:50:29 +0000 (14:50 +0000)]
s2smanager: Access prosody.hosts instead of hosts global directly
Matthew Wild [Fri, 22 Mar 2013 14:31:14 +0000 (14:31 +0000)]
mod_s2s: Remove unused variable
Matthew Wild [Fri, 22 Mar 2013 14:22:46 +0000 (14:22 +0000)]
Merge 0.9->trunk
Matthew Wild [Fri, 22 Mar 2013 14:21:02 +0000 (14:21 +0000)]
mod_s2s: Add controls for certificate validation via the s2s_secure_auth option. Plugins can now return false from handling s2s-check-certificate to prevent connection establishment (s2sin+s2sout)
Matthew Wild [Fri, 22 Mar 2013 14:18:23 +0000 (14:18 +0000)]
s2smanager, mod_s2s, mod_dialback, mod_saslauth: Move s2smanager.make_authenticated() to mod_s2s, and plugins now signal authentication via the s2s-authenticated event
Matthew Wild [Fri, 22 Mar 2013 11:24:54 +0000 (11:24 +0000)]
hostmanager: Use rawget to check for activated hosts to prevent recursion in dynamic host loaders
Matthew Wild [Fri, 22 Mar 2013 11:24:13 +0000 (11:24 +0000)]
hostmanager: Use prosody.hosts instead of 'hosts' global
Matthew Wild [Fri, 22 Mar 2013 11:23:40 +0000 (11:23 +0000)]
util.pposix: Allow fetching RLIMIT_NICE when available
Matthew Wild [Fri, 22 Mar 2013 11:22:50 +0000 (11:22 +0000)]
prosody: Add COMPAT note about globals
Matthew Wild [Fri, 22 Mar 2013 11:21:24 +0000 (11:21 +0000)]
configmanager, hostmanager, prosody: Almost complete removal of section-related code, and the infamous 'core' section. Still backwards-compatible with API users.
Matthew Wild [Wed, 20 Mar 2013 20:35:59 +0000 (20:35 +0000)]
Merge...
Matthew Wild [Wed, 20 Mar 2013 20:34:38 +0000 (20:34 +0000)]
Merge 0.9->trunk
Matthew Wild [Wed, 20 Mar 2013 20:31:52 +0000 (20:31 +0000)]
net.http: Disable SSLv2 support for HTTPS connections
Matthew Wild [Wed, 20 Mar 2013 20:31:02 +0000 (20:31 +0000)]
net.http: Allow passing an SSL context or options table to be used for HTTPS requests (thanks daurnimator)
Kim Alvefur [Sat, 16 Mar 2013 17:49:14 +0000 (18:49 +0100)]
Merge 0.9->trunk
Kim Alvefur [Sat, 16 Mar 2013 16:46:43 +0000 (17:46 +0100)]
mod_s2s, mod_saslauth, mod_compression: Refactor to have common code for opening streams
Kim Alvefur [Fri, 15 Mar 2013 08:51:43 +0000 (09:51 +0100)]
certs/openssl.cnf: Update XMPP-Core references to reflect RFC publication
Kim Alvefur [Wed, 13 Mar 2013 06:33:36 +0000 (07:33 +0100)]
s2smanager: Use unused local, reduce table indexing
Kim Alvefur [Wed, 13 Mar 2013 06:03:34 +0000 (07:03 +0100)]
rostermanager: Remove unused imports
Kim Alvefur [Wed, 13 Mar 2013 06:01:57 +0000 (07:01 +0100)]
hostmanager: Import core_post_stanza from the global prosody table
Matthew Wild [Tue, 12 Mar 2013 12:30:35 +0000 (12:30 +0000)]
Merge 0.9->trunk
Matthew Wild [Tue, 12 Mar 2013 12:30:08 +0000 (12:30 +0000)]
mod_s2s: Do not include xmlns:db declaration in stream header if mod_dialback is not loaded
Kim Alvefur [Mon, 11 Mar 2013 20:39:15 +0000 (21:39 +0100)]
mod_s2s: Make sure host variable is reachable
Matthew Wild [Sun, 10 Mar 2013 17:49:07 +0000 (17:49 +0000)]
mod_s2s: Fire s2s-check-certificate event after validating a certificate, to allow plugins to override standard procedure
Matthew Wild [Sun, 10 Mar 2013 11:29:47 +0000 (11:29 +0000)]
Merge 0.9->trunk
Matthew Wild [Sun, 10 Mar 2013 11:25:05 +0000 (11:25 +0000)]
mod_s2s, mod_dialback: Rename s2s-authenticate-legacy event to s2sout-authenticate-legacy for clarity. Also, hello!
Kim Alvefur [Tue, 5 Mar 2013 09:04:31 +0000 (10:04 +0100)]
net.dns: Make sure argument to math.randomseed does not overflow a 32 bit unsigned int. Closes #320
Kim Alvefur [Fri, 1 Mar 2013 13:15:38 +0000 (14:15 +0100)]
net.server_event: Remove unused local
Kim Alvefur [Fri, 1 Mar 2013 10:41:26 +0000 (11:41 +0100)]
net.server_select: Optimization, clean bufferqueue when it makes sense.
Kim Alvefur [Fri, 1 Mar 2013 10:11:05 +0000 (11:11 +0100)]
net.server_select: Use # operator instead of string.len
Waqas Hussain [Tue, 26 Feb 2013 18:57:44 +0000 (23:57 +0500)]
mod_proxy65: Only handle service discovery requests when no node is present in the request.
Waqas Hussain [Tue, 26 Feb 2013 18:56:44 +0000 (23:56 +0500)]
MUC: Always return <service-unavailable/> when a node is present in service discovery requests.
Waqas Hussain [Tue, 26 Feb 2013 15:31:41 +0000 (20:31 +0500)]
MUC: Fix affiliation check for admins, and bring it in line with the spec (thanks Maranda).
Waqas Hussain [Tue, 26 Feb 2013 14:41:52 +0000 (19:41 +0500)]
net.http.server: Ensure HTTP callbacks are never called recursively for pipelined requests.
Kim Alvefur [Mon, 18 Feb 2013 12:12:14 +0000 (13:12 +0100)]
mod_http: Expand $host in http_paths
Kim Alvefur [Tue, 12 Feb 2013 02:24:41 +0000 (03:24 +0100)]
net.server_select: Limit global number of sockets passed to select.
Kim Alvefur [Tue, 12 Feb 2013 02:24:30 +0000 (03:24 +0100)]
net.server_select: Be less aggressive about server pause
Florian Zeitz [Thu, 7 Feb 2013 21:11:35 +0000 (22:11 +0100)]
mod_admin_adhoc: Fix 'Shut down service' command
Florian Zeitz [Thu, 7 Feb 2013 20:14:01 +0000 (21:14 +0100)]
mod_admin_adhoc: Implement global module unloading
Florian Zeitz [Wed, 6 Feb 2013 23:40:00 +0000 (00:40 +0100)]
mod_admin_adhoc: Implement global module reloading
Florian Zeitz [Tue, 5 Feb 2013 23:53:49 +0000 (00:53 +0100)]
mod_admin_adhoc: Fix info message for module reload/unload
Florian Zeitz [Tue, 5 Feb 2013 23:51:25 +0000 (00:51 +0100)]
mod_admin_adhoc: Implement global module loading
Florian Zeitz [Mon, 4 Feb 2013 23:43:14 +0000 (00:43 +0100)]
mod_admin_adhoc: Remove a TODO, our pretty_print turns out not to be helpful after all
Waqas Hussain [Thu, 7 Feb 2013 19:27:59 +0000 (00:27 +0500)]
net.http.parser: Ensure full URL in status line contains a path.
Waqas Hussain [Thu, 7 Feb 2013 19:18:40 +0000 (00:18 +0500)]
net.http.parser: Fix traceback on invalid URL in status line.
Kim Alvefur [Sun, 3 Feb 2013 14:52:27 +0000 (15:52 +0100)]
Merge 0.9->trunk
Kim Alvefur [Thu, 31 Jan 2013 17:41:01 +0000 (18:41 +0100)]
mod_pubsub, util.pubsub: Add delete action
Kim Alvefur [Thu, 31 Jan 2013 14:48:55 +0000 (15:48 +0100)]
portmanager: Make sure foo_ports is a table
Kim Alvefur [Thu, 31 Jan 2013 14:33:41 +0000 (15:33 +0100)]
mod_pubsub: More strict checks for node and ids
Kim Alvefur [Mon, 28 Jan 2013 00:06:05 +0000 (01:06 +0100)]
mod_pubsub: Broadcast items correctly on new subscriptions
Kim Alvefur [Sun, 27 Jan 2013 16:11:45 +0000 (17:11 +0100)]
mod_component: Look for the correct xmlns (thanks NebuK)
Waqas Hussain [Fri, 25 Jan 2013 22:54:18 +0000 (03:54 +0500)]
util.pubsub: Fix nil access error in get_subscriptions.