Matthew Wild [Tue, 24 Aug 2010 22:27:58 +0000 (23:27 +0100)]
componentmanager: Relocate disallow_s2s to its correct position (thanks darkhoptipomatus)
Waqas Hussain [Mon, 23 Aug 2010 11:54:56 +0000 (16:54 +0500)]
mod_saslauth, mod_auth_cyrus, util.sasl_cyrus: Moved cyrus account provisioning check out of mod_saslauth.
Waqas Hussain [Mon, 23 Aug 2010 11:42:27 +0000 (16:42 +0500)]
util.sasl_cyrus: Spaces -> tabs.
Waqas Hussain [Mon, 23 Aug 2010 11:33:49 +0000 (16:33 +0500)]
usermanager: Get rid unused Cyrus SASL related code.
Waqas Hussain [Mon, 23 Aug 2010 11:31:44 +0000 (16:31 +0500)]
mod_auth_internal_plain: Get rid of all checks for Cyrus SASL.
Waqas Hussain [Mon, 23 Aug 2010 11:28:06 +0000 (16:28 +0500)]
mod_saslauth: Get rid of the sasl_backend option (use auth modules instead).
Waqas Hussain [Mon, 23 Aug 2010 11:22:58 +0000 (16:22 +0500)]
mod_saslauth: Get rid of most Cyrus SASL related code (use authentication='cyrus' instead).
Matthew Wild [Mon, 23 Aug 2010 00:18:52 +0000 (01:18 +0100)]
componentmanager: Support the 'disallow_s2s' option for components too (thanks darkhopatomopus)
Matthew Wild [Mon, 23 Aug 2010 00:06:13 +0000 (01:06 +0100)]
net.server: Don't load configmanager if not running inside Prosody, assume server_select
Matthew Wild [Sun, 22 Aug 2010 20:36:04 +0000 (21:36 +0100)]
mod_bosh: Don't adjust rid when creating a session, as this is no longer necessary and causes a log message ('rid too large') to be erroneously printed, fixes #203
Matthew Wild [Sun, 22 Aug 2010 20:23:37 +0000 (21:23 +0100)]
sessionmanager, s2smanager: Give resting sessions a pass-through filter, fixes #202
Matthew Wild [Sun, 22 Aug 2010 20:12:22 +0000 (21:12 +0100)]
net.server_select, net.server_event: Remove set_mode() call from server.link()... it can cause the last chunk of data to be discarded if shorter than buffersize (thanks to Zash for the debugging)
Florian Zeitz [Sun, 22 Aug 2010 18:53:40 +0000 (20:53 +0200)]
mod_adhoc: Answer disco#info (This is a MUST in XEP-0050)
Florian Zeitz [Sun, 22 Aug 2010 18:48:47 +0000 (20:48 +0200)]
mod_adhoc: Code restructuring
Matthew Wild [Sun, 22 Aug 2010 17:45:58 +0000 (18:45 +0100)]
util.logger: Remove support for the 'log_sources' option, to remove a dependency on configmanager. I think the equivalent of log_sources can be done with the advanced logging config.
Kim Alvefur [Mon, 16 Aug 2010 16:51:22 +0000 (18:51 +0200)]
mod_auth_internal_hashed: Fix deleting users
Florian Zeitz [Thu, 12 Aug 2010 18:44:01 +0000 (20:44 +0200)]
mod_privacy: Fix typo causing <active/> to never be send
Matthew Wild [Sat, 14 Aug 2010 14:15:35 +0000 (15:15 +0100)]
mod_console: Add host:* commands to help (thanks Zash)
Matthew Wild [Tue, 10 Aug 2010 13:07:03 +0000 (14:07 +0100)]
tests/test_util_jid.lua: Better formatting, comments, and stop giving 5 arguments to a 4-argument function (thanks Asterix :) )
Matthew Wild [Sat, 7 Aug 2010 18:00:04 +0000 (19:00 +0100)]
mod_bosh: Fix to properly ignore repeated requests
Matthew Wild [Fri, 6 Aug 2010 01:00:12 +0000 (02:00 +0100)]
mod_bosh: Small change to use variable instead of hard-coded xmlns
Matthew Wild [Fri, 6 Aug 2010 00:59:43 +0000 (01:59 +0100)]
mod_bosh: Much improve session:close() for BOSH sessions, so it now matches in usage normal session:close()
Matthew Wild [Fri, 6 Aug 2010 00:57:20 +0000 (01:57 +0100)]
mod_bosh: Add error callback for xmlhandlers, to handle the case of invalid or unusable XML in the request payload
Waqas Hussain [Tue, 3 Aug 2010 16:37:06 +0000 (21:37 +0500)]
MUC: Fixed: Unavilable presence was not being broadcasted for banned users in some cases (thanks Zash).
Waqas Hussain [Tue, 3 Aug 2010 16:07:00 +0000 (21:07 +0500)]
MUC: Return correct error to non-members attempting to enter a members-only room.
Waqas Hussain [Tue, 3 Aug 2010 15:05:58 +0000 (20:05 +0500)]
util.xmppstream: Removed some useless property assignments.
Waqas Hussain [Tue, 3 Aug 2010 13:20:29 +0000 (18:20 +0500)]
util.sasl_cyrus: Make multi-step SASL mechanisms work correctly.
Waqas Hussain [Tue, 3 Aug 2010 13:19:45 +0000 (18:19 +0500)]
util.sasl: Simplified some code a bit.
Waqas Hussain [Tue, 3 Aug 2010 12:11:40 +0000 (17:11 +0500)]
util.sasl, util.sasl_cyrus: Removed a ton of unused variables.
Matthew Wild [Tue, 3 Aug 2010 10:02:30 +0000 (11:02 +0100)]
eventmanager: REMOVE!!!
Matthew Wild [Tue, 3 Aug 2010 10:01:13 +0000 (11:01 +0100)]
mod_bosh: Remove dependency on eventmanager
Matthew Wild [Tue, 3 Aug 2010 09:59:47 +0000 (10:59 +0100)]
loggingmanager: Remove (redundant!) dependency on eventmanager
Matthew Wild [Tue, 3 Aug 2010 09:58:15 +0000 (10:58 +0100)]
sessionmanager: Remove dependency on eventmanager
Matthew Wild [Tue, 3 Aug 2010 09:57:27 +0000 (10:57 +0100)]
s2smanager: Remove dependency on eventmanager
Matthew Wild [Tue, 3 Aug 2010 09:56:17 +0000 (10:56 +0100)]
componentmanager: Remove dependency on eventmanager
Matthew Wild [Tue, 3 Aug 2010 09:55:17 +0000 (10:55 +0100)]
hostmanager: Remove dependency on eventmanager
Matthew Wild [Tue, 3 Aug 2010 09:52:53 +0000 (10:52 +0100)]
modulemanager: Remove dependency on eventmanager
Matthew Wild [Tue, 3 Aug 2010 08:40:06 +0000 (09:40 +0100)]
s2smanager: brackets, just to be sure :)
Matthew Wild [Tue, 3 Aug 2010 08:39:05 +0000 (09:39 +0100)]
s2smanager: Only bounce real stanzas on s2s failure, not dialback and friends (thanks elghinn)
Waqas Hussain [Mon, 2 Aug 2010 15:11:08 +0000 (20:11 +0500)]
util.datetime: Added implementation for function parse().
Waqas Hussain [Mon, 2 Aug 2010 14:04:52 +0000 (19:04 +0500)]
storage/mod_ejabberd: Reorganized some code.
Waqas Hussain [Mon, 2 Aug 2010 13:54:16 +0000 (18:54 +0500)]
util.sasl_cyrus: Cleanup.
Waqas Hussain [Mon, 2 Aug 2010 13:47:33 +0000 (18:47 +0500)]
util.sasl: Removed method:forbidden() and its side effects.
Waqas Hussain [Mon, 2 Aug 2010 13:46:13 +0000 (18:46 +0500)]
util.sasl_cyrus: Removed method:forbidden().
Waqas Hussain [Mon, 2 Aug 2010 13:44:08 +0000 (18:44 +0500)]
mod_auth_*: Fixed copyright headers.
Matthew Wild [Mon, 2 Aug 2010 09:21:26 +0000 (10:21 +0100)]
util.xmppstream: Add set_session() method to change the session that a stream is associated with
Matthew Wild [Mon, 2 Aug 2010 09:20:14 +0000 (10:20 +0100)]
net.xmppclient_listener: Add associate_session(conn, session) to change the session a connection is associated with
Matthew Wild [Mon, 2 Aug 2010 08:21:14 +0000 (09:21 +0100)]
net.server_event: Remove some debug messages
Kim Alvefur [Sun, 1 Aug 2010 13:58:10 +0000 (15:58 +0200)]
mod_version: Leave out the os element if hide_os_type is set
Kim Alvefur [Sun, 1 Aug 2010 13:56:52 +0000 (15:56 +0200)]
mod_version: Make the command used to get OS version configurable
Matthew Wild [Sat, 31 Jul 2010 10:30:16 +0000 (11:30 +0100)]
usermanager: Fix two nil global accesses
Waqas Hussain [Sat, 31 Jul 2010 10:16:15 +0000 (15:16 +0500)]
mod_saslauth: Fixed a nil global access.
Waqas Hussain [Sat, 31 Jul 2010 08:55:46 +0000 (13:55 +0500)]
mod_saslauth: Check for unencrypted PLAIN auth in mod_saslauth instead of the SASL handler (makes it work for Cyrus SASL).
Waqas Hussain [Sat, 31 Jul 2010 08:49:22 +0000 (13:49 +0500)]
mod_saslauth: Move mandatory encryption enforcement to before sasl_handler:select().
Waqas Hussain [Sat, 31 Jul 2010 08:32:57 +0000 (13:32 +0500)]
storage/mod_ejabberd (and associated library): Initial commit.
Waqas Hussain [Sat, 31 Jul 2010 08:32:20 +0000 (13:32 +0500)]
storage/mod_xep0227: Initial commit.
Waqas Hussain [Sat, 31 Jul 2010 08:29:58 +0000 (13:29 +0500)]
prosody: Enable storage manager.
Waqas Hussain [Sat, 31 Jul 2010 07:33:34 +0000 (12:33 +0500)]
prosody.cfg.lua.dist: Fixed trailing whitespace.
Waqas Hussain [Sat, 31 Jul 2010 07:32:56 +0000 (12:32 +0500)]
util.pluginloader: Remove useless datamanager dependency.
Waqas Hussain [Sat, 31 Jul 2010 07:32:34 +0000 (12:32 +0500)]
util.pluginloader: Fix loading of plugins, plugin libraries and resources in subfolders (e.g., when loading 'a/b', load 'a/mod_b.lua', and not 'mod_a/b.lua').
Matthew Wild [Mon, 26 Jul 2010 12:40:00 +0000 (13:40 +0100)]
util.roster: Remove, not going this route now
Waqas Hussain [Sun, 25 Jul 2010 21:18:03 +0000 (02:18 +0500)]
mod_message: Discard headline messages sent to offline full JIDs (to follow latest spec updates).
Waqas Hussain [Sun, 25 Jul 2010 20:52:04 +0000 (01:52 +0500)]
mod_console: Override dofile() in the console environment (this lets print() print to the console session for example).
Waqas Hussain [Sun, 25 Jul 2010 20:12:52 +0000 (01:12 +0500)]
tests: Added tests for util.sasl.scram.Hi().
Waqas Hussain [Sun, 25 Jul 2010 20:00:46 +0000 (01:00 +0500)]
util.sasl.scram: Made function Hi public.
Waqas Hussain [Sun, 25 Jul 2010 19:59:26 +0000 (00:59 +0500)]
mod_console: Added support for multiple arguments to print().
Waqas Hussain [Sun, 25 Jul 2010 19:58:19 +0000 (00:58 +0500)]
storagemanager: Fixed a nil access.
Waqas Hussain [Fri, 23 Jul 2010 18:14:50 +0000 (23:14 +0500)]
prosody.resolve_relative_path: Updated to take a parent path to resolve against.
Waqas Hussain [Fri, 23 Jul 2010 18:09:58 +0000 (23:09 +0500)]
storagemanager: Initial commit.
Matthew Wild [Fri, 23 Jul 2010 08:22:27 +0000 (09:22 +0100)]
Merge 0.7->trunk
Matthew Wild [Fri, 23 Jul 2010 08:17:11 +0000 (09:17 +0100)]
certmanager: Don't disable LuaSec and future cert loading on failure, and add error messages to the no LuaSec/config cases (thanks Jakob)
Matthew Wild [Thu, 22 Jul 2010 12:19:37 +0000 (13:19 +0100)]
net.server_select: Remove 'now' parameter from starttls(), and base it on whether the sendbuffer is empty instead
Matthew Wild [Thu, 22 Jul 2010 12:13:28 +0000 (13:13 +0100)]
mod_tls: Remove extraneous flag to starttls() for s2sout connecections
Matthew Wild [Thu, 22 Jul 2010 10:43:42 +0000 (11:43 +0100)]
net.server_event: Fix to not call onconnect a second time after the SSL handshake for starttls connections (thanks Flo)
Matthew Wild [Wed, 21 Jul 2010 20:01:36 +0000 (21:01 +0100)]
usermanager, mod_auth_internal_hashed, mod_legacyauth: New order of parameters for usermanager.test_password - username, host, password
Waqas Hussain [Tue, 20 Jul 2010 12:42:44 +0000 (17:42 +0500)]
mod_register: Drop useless depencency on datamanager.
Waqas Hussain [Tue, 20 Jul 2010 12:39:02 +0000 (17:39 +0500)]
MUC: Store the nick (full room JID) which set the subject, and send subject to occupants from that JID.
Matthew Wild [Tue, 20 Jul 2010 11:37:28 +0000 (12:37 +0100)]
util.iterators: Add skip() to skip the first n items of an iterator
Waqas Hussain [Sun, 18 Jul 2010 12:50:38 +0000 (17:50 +0500)]
mod_saslauth: Got rid of undocumented and useless 'sasl_realm' config option (was only used for anonymous auth, and that didn't make sense).
Waqas Hussain [Sat, 17 Jul 2010 14:36:14 +0000 (19:36 +0500)]
Merge with trunk.
Waqas Hussain [Sat, 17 Jul 2010 14:34:06 +0000 (19:34 +0500)]
mod_auth_internal_hashed: Fixed SCRAM-SHA-1 mechanism to not traceback on non-existent users.
Matthew Wild [Sat, 17 Jul 2010 14:20:45 +0000 (15:20 +0100)]
MUC: No need to call is_admin twice now, global admins are admins on hosts
Matthew Wild [Sat, 17 Jul 2010 14:17:02 +0000 (15:17 +0100)]
net.server_event: Remove debug logging from dummy onstatus handler
Waqas Hussain [Sat, 17 Jul 2010 14:02:56 +0000 (19:02 +0500)]
mod_saslauth: Cleaned up unused requires.
Waqas Hussain [Sat, 17 Jul 2010 13:58:25 +0000 (18:58 +0500)]
mod_saslauth: A little cleanup for anonymous_login.
Matthew Wild [Sat, 17 Jul 2010 13:50:16 +0000 (14:50 +0100)]
configmanager: Remove dependency on eventmanager, and global 'prosody' object
Matthew Wild [Fri, 16 Jul 2010 21:47:26 +0000 (22:47 +0100)]
s2smanager: Handle disallow_s2s for incoming streams as well as outgoing
Matthew Wild [Fri, 16 Jul 2010 21:28:50 +0000 (22:28 +0100)]
net.server_select: Ensure that onconnect is called for server sockets as well as clients, rather than onincoming. Fixes mod_console traceback, issue #197
Matthew Wild [Fri, 16 Jul 2010 15:53:54 +0000 (16:53 +0100)]
Merge Florob->trunk
Matthew Wild [Fri, 16 Jul 2010 14:19:44 +0000 (15:19 +0100)]
Merge Zash->trunk
Kim Alvefur [Fri, 16 Jul 2010 14:12:18 +0000 (16:12 +0200)]
mod_proxy65: Use util.jid.compare() and remove some clutter
Matthew Wild [Fri, 16 Jul 2010 14:10:45 +0000 (15:10 +0100)]
Merge Zash->trunk
Kim Alvefur [Thu, 15 Jul 2010 22:36:02 +0000 (00:36 +0200)]
util.jid: compare() added, with some tests.
Florian Zeitz [Thu, 15 Jul 2010 20:58:10 +0000 (22:58 +0200)]
util.dataforms: Add list-multi support
Florian Zeitz [Thu, 15 Jul 2010 19:31:57 +0000 (21:31 +0200)]
util.dataforms: Capability to set default for list-single
Tobias Markmann [Thu, 15 Jul 2010 19:14:07 +0000 (21:14 +0200)]
util.sasl.scram: Reference actual RFC instead of the draft.
Waqas Hussain [Thu, 15 Jul 2010 17:07:45 +0000 (22:07 +0500)]
util.sasl, util.sasl_cyrus: s/self.mechanisms()/self:mechanisms()/ in method:select().
Matthew Wild [Thu, 15 Jul 2010 07:27:56 +0000 (08:27 +0100)]
Merge with backout
Matthew Wild [Thu, 15 Jul 2010 07:25:50 +0000 (08:25 +0100)]
Backed out changeset
598c33a99a31 (already fixed a better way)
Waqas Hussain [Thu, 15 Jul 2010 06:25:41 +0000 (11:25 +0500)]
certmanager: Use an empty table as the default ssl config when a global 'ssl' config option isn't specified (fixes a top-level traceback on startup).