Matthew Wild [Mon, 14 Jun 2010 22:51:11 +0000 (23:51 +0100)]
commit
d2fb8a5ff43fcf3e94e5e518aba175503590ecda
Author: Brian Cully <bjc@kublai.com>
Date: Mon Jun 14 17:30:52 2010 -0400
Install adhoc submodules
Matthew Wild [Sun, 13 Jun 2010 16:17:11 +0000 (17:17 +0100)]
s2smanager: Fix logging for outgoing sessions to also log pre-filtered data
Waqas Hussain [Sun, 13 Jun 2010 17:06:06 +0000 (22:06 +0500)]
MUC: Added disco#info features to advertise room's anonymity status (muc_semianonymous or muc_nonanonymous).
Waqas Hussain [Sun, 13 Jun 2010 17:00:08 +0000 (22:00 +0500)]
MUC: Added disco#info features to advertise room's public status (muc_public or muc_hidden).
Waqas Hussain [Sun, 13 Jun 2010 16:58:46 +0000 (21:58 +0500)]
MUC: Updated code to use :set_hidden() and :is_hidden().
Waqas Hussain [Sun, 13 Jun 2010 16:54:47 +0000 (21:54 +0500)]
MUC: Added room:set_hidden(boolean) and room:is_hidden().
Waqas Hussain [Sun, 13 Jun 2010 16:43:53 +0000 (21:43 +0500)]
MUC: Added disco#info features to advertise room's persistence status (muc_persistent or muc_temporary).
Waqas Hussain [Sun, 13 Jun 2010 16:41:49 +0000 (21:41 +0500)]
MUC: Replaced direct access of room's internal persistence state with :set_persistent(boolean) and :is_persistent() in various functions.
Waqas Hussain [Sun, 13 Jun 2010 16:38:31 +0000 (21:38 +0500)]
MUC: Added room:set_persistent(boolean) and room:is_persistent().
Waqas Hussain [Sun, 13 Jun 2010 15:55:07 +0000 (20:55 +0500)]
MUC: Added disco#info features to advertise room's members-only status (muc_membersonly or muc_open).
Waqas Hussain [Sun, 13 Jun 2010 15:52:37 +0000 (20:52 +0500)]
MUC: Added a 'Make Room Members-Only?' field to the room config dialog.
Waqas Hussain [Sun, 13 Jun 2010 15:44:38 +0000 (20:44 +0500)]
MUC: Updated room:get_default_role() to not assign unaffiliated occupants a role in members-only rooms.
Waqas Hussain [Sun, 13 Jun 2010 15:37:09 +0000 (20:37 +0500)]
MUC: Added room:set_members_only(boolean) and room:is_members_only().
Waqas Hussain [Sun, 13 Jun 2010 15:29:27 +0000 (20:29 +0500)]
MUC: Added disco#info features to advertise room's moderation status (muc_moderated or muc_unmoderated).
Waqas Hussain [Sun, 13 Jun 2010 15:24:55 +0000 (20:24 +0500)]
MUC: Added a 'Make Room Moderated?' field to the room config dialog.
Waqas Hussain [Sun, 13 Jun 2010 15:10:42 +0000 (20:10 +0500)]
MUC: Updated room:get_default_role() to assign unaffiliated occupants a "visitor" role in moderated rooms.
Waqas Hussain [Sun, 13 Jun 2010 15:08:51 +0000 (20:08 +0500)]
MUC: Added room:set_moderated(boolean) and room:is_moderated().
Waqas Hussain [Sun, 13 Jun 2010 15:05:45 +0000 (20:05 +0500)]
MUC: Persist data in room:set_password() when called programmatically.
Waqas Hussain [Sun, 13 Jun 2010 14:19:03 +0000 (19:19 +0500)]
MUC: Added a password field to the room config dialog.
Waqas Hussain [Sun, 13 Jun 2010 14:03:03 +0000 (19:03 +0500)]
MUC: Include a <password/> element in invites from password protected rooms.
Waqas Hussain [Sun, 13 Jun 2010 13:29:26 +0000 (18:29 +0500)]
MUC: Added disco#info features to advertise room's password protection (muc_passwordprotected or muc_unsecured, depending on whether a password is set).
Waqas Hussain [Sun, 13 Jun 2010 13:14:46 +0000 (18:14 +0500)]
MUC: Added password checking on room join.
Waqas Hussain [Sun, 13 Jun 2010 13:13:18 +0000 (18:13 +0500)]
MUC: Added room:get_password() and room:set_password().
Waqas Hussain [Sat, 12 Jun 2010 23:07:38 +0000 (04:07 +0500)]
mod_auth_internal_hashed: Fixed a traceback in account creation.
Matthew Wild [Sat, 12 Jun 2010 01:47:53 +0000 (02:47 +0100)]
Merge 0.7->trunk
Matthew Wild [Sat, 12 Jun 2010 01:47:32 +0000 (02:47 +0100)]
Tagging 0.7.0 (again)
Matthew Wild [Sat, 12 Jun 2010 01:39:18 +0000 (02:39 +0100)]
Merge 0.7->trunk
Waqas Hussain [Fri, 11 Jun 2010 16:30:24 +0000 (21:30 +0500)]
sessionmanager: Fixed a traceback on invalid usernames (typo in previous commit).
Waqas Hussain [Fri, 11 Jun 2010 16:01:17 +0000 (21:01 +0500)]
mod_saslauth: Return proper error on invalid usernames.
Waqas Hussain [Fri, 11 Jun 2010 15:45:00 +0000 (20:45 +0500)]
mod_presence: Fixed a traceback on outgoing subscriptions from offline users.
Waqas Hussain [Fri, 11 Jun 2010 15:35:10 +0000 (20:35 +0500)]
net.server_event: attemp to fix more spelling fail.
Waqas Hussain [Fri, 11 Jun 2010 15:34:00 +0000 (20:34 +0500)]
sessionmanager: Moved nodeprep to sessionmanager.make_authenticated.
Matthew Wild [Fri, 11 Jun 2010 13:25:54 +0000 (14:25 +0100)]
Merge 0.7->trunk
Matthew Wild [Fri, 11 Jun 2010 13:25:22 +0000 (14:25 +0100)]
prosodyctl, util.pluginloader: Remove support for storing plugins in the data store, and the addplugin command
Matthew Wild [Fri, 11 Jun 2010 12:29:15 +0000 (13:29 +0100)]
mod_uptime: Add ad-hoc command
Matthew Wild [Fri, 11 Jun 2010 12:23:10 +0000 (13:23 +0100)]
mod_adhoc: Scan through list of items on load, in case items have been added before we were loaded
Matthew Wild [Fri, 11 Jun 2010 11:18:27 +0000 (12:18 +0100)]
mod_adhoc/adhoc.lib: Add copyright header
Matthew Wild [Fri, 11 Jun 2010 11:17:57 +0000 (12:17 +0100)]
mod_adhoc/adhoc.lib: Handle errors according to XEP
Matthew Wild [Fri, 11 Jun 2010 11:07:25 +0000 (12:07 +0100)]
mod_announce: Add ad-hoc command for sending announcements \o/
Matthew Wild [Thu, 10 Jun 2010 15:48:21 +0000 (16:48 +0100)]
Merge 0.7->trunk
Matthew Wild [Thu, 10 Jun 2010 15:47:17 +0000 (16:47 +0100)]
mod_compression: Move logging of compression/decompression errors to before the closing of the stream, to make logs a bit easier to follow
Matthew Wild [Thu, 10 Jun 2010 01:07:48 +0000 (02:07 +0100)]
s2smanager: Move 'sending' debug log message so that it sees the pre-filtered stanzas
Matthew Wild [Thu, 10 Jun 2010 00:55:32 +0000 (01:55 +0100)]
mod_compression: Remove the unneccessary stream:reset() overloading, which was causing double decompression and c2s/s2s failures
Waqas Hussain [Wed, 9 Jun 2010 22:54:22 +0000 (03:54 +0500)]
mod_legacyauth: Fixed the ordering of parameters passed to usermanager.test_password.
Waqas Hussain [Wed, 9 Jun 2010 22:26:01 +0000 (03:26 +0500)]
mod_privacy: Workaround for a traceback.
Matthew Wild [Wed, 9 Jun 2010 20:27:43 +0000 (21:27 +0100)]
mod_adhoc: Imported from prosody-modules, thanks Florob!
Matthew Wild [Wed, 9 Jun 2010 20:25:59 +0000 (21:25 +0100)]
mod_auth_internal{,_hashed}: Update is_admin to only report the admin status of the current host (ignores global admin rights), fixes global access traceback
Matthew Wild [Wed, 9 Jun 2010 20:24:20 +0000 (21:24 +0100)]
usermanager: Handle checking for global admins on behalf of providers
Waqas Hussain [Wed, 9 Jun 2010 17:20:53 +0000 (22:20 +0500)]
mod_legacyauth: Use the new usermanager.test_password instead of usermanager.validate_credentials.
Waqas Hussain [Wed, 9 Jun 2010 17:01:47 +0000 (22:01 +0500)]
mod_auth_internal_hashed: Removed some useless code.
Waqas Hussain [Wed, 9 Jun 2010 17:00:01 +0000 (22:00 +0500)]
mod_presence: Fixed a traceback.
Waqas Hussain [Wed, 9 Jun 2010 16:34:32 +0000 (21:34 +0500)]
Merge with Tobias.
Tobias Markmann [Wed, 9 Jun 2010 15:58:20 +0000 (17:58 +0200)]
mod_auth_internal_hashed: Empty hashpass after conversion to stored_key/server_key and store new authentication database.
Tobias Markmann [Wed, 9 Jun 2010 15:55:04 +0000 (17:55 +0200)]
mod_auth_internal_hashed: Remove debugging output.
Tobias Markmann [Wed, 9 Jun 2010 15:54:34 +0000 (17:54 +0200)]
mod_auth_internal_hashed: Convert hashpass to server_key/stored_key on SCRAM-SHA-1 login.
Tobias Markmann [Wed, 9 Jun 2010 15:51:08 +0000 (17:51 +0200)]
mod_auth_internal_hashed: Convert hashpass to server_key/stored_key on PLAIN login.
Kim Alvefur [Wed, 9 Jun 2010 01:41:24 +0000 (03:41 +0200)]
Fix missing parameter in mod_auth_internal_hashed.
Matthew Wild [Wed, 9 Jun 2010 00:14:32 +0000 (01:14 +0100)]
Tagging 0.7.0
Matthew Wild [Wed, 9 Jun 2010 00:11:46 +0000 (01:11 +0100)]
Merge trunk/MattJ->trunk
Matthew Wild [Wed, 9 Jun 2010 00:11:12 +0000 (01:11 +0100)]
Merge 0.7->trunk
Matthew Wild [Wed, 9 Jun 2010 00:07:37 +0000 (01:07 +0100)]
tools/xep227toprosody.lua: Set executable bit
Tobias Markmann [Tue, 8 Jun 2010 18:39:27 +0000 (20:39 +0200)]
Merge with tip.
Tobias Markmann [Tue, 8 Jun 2010 13:02:53 +0000 (15:02 +0200)]
mod_auth_internal_hashed: Coverting salted password to stored_key and server_key.
Tobias Markmann [Tue, 8 Jun 2010 12:54:47 +0000 (14:54 +0200)]
mod_auth_internal_hashed: Store stored_key and server_key when setting a password.
Waqas Hussain [Tue, 8 Jun 2010 11:33:32 +0000 (16:33 +0500)]
mod_compression: Removed some useless logging code.
Waqas Hussain [Tue, 8 Jun 2010 11:26:01 +0000 (16:26 +0500)]
mod_announce: Fixed an edge case where non-admins attempting to announce would get two error replies.
Waqas Hussain [Tue, 8 Jun 2010 11:21:14 +0000 (16:21 +0500)]
mod_presence: Enable firing of pre-events for all outbound stanzas, and switching completely to core_post_stanza.
Tobias Markmann [Tue, 8 Jun 2010 09:00:26 +0000 (11:00 +0200)]
util.sasl.scram: Authenticate clients by calculated StoredKey instead of ClientProof.
Tobias Markmann [Tue, 8 Jun 2010 08:47:55 +0000 (10:47 +0200)]
mod_auth_internal_hashed: Store StoredKey and ServerKey instead of salted hashed password.
Matthew Wild [Mon, 7 Jun 2010 11:21:57 +0000 (12:21 +0100)]
Merge trunk/MattJ->trunk
Matthew Wild [Mon, 7 Jun 2010 11:19:14 +0000 (12:19 +0100)]
Merge 0.7->trunk
Waqas Hussain [Sun, 6 Jun 2010 23:23:08 +0000 (04:23 +0500)]
mod_auth_cyrus: Auth provider with support for Cyrus SASL.
Waqas Hussain [Sun, 6 Jun 2010 23:22:49 +0000 (04:22 +0500)]
mod_auth_anonymous: Fixed a syntax error.
Waqas Hussain [Sun, 6 Jun 2010 23:07:40 +0000 (04:07 +0500)]
mod_auth_anonymous: Auth provider with support for SASL ANONYMOUS.
Waqas Hussain [Sun, 6 Jun 2010 22:07:58 +0000 (03:07 +0500)]
mod_auth_internal_hashed: Added SCRAM-SHA-1 support for SASL.
Waqas Hussain [Sun, 6 Jun 2010 21:40:14 +0000 (02:40 +0500)]
mod_saslauth: Updated to use usermanager.get_sasl_handler.
Waqas Hussain [Sun, 6 Jun 2010 21:38:20 +0000 (02:38 +0500)]
mod_auth_internal, mod_auth_internal_hashed: Fixed a global access.
Waqas Hussain [Sun, 6 Jun 2010 21:33:40 +0000 (02:33 +0500)]
mod_auth_internal, mod_auth_internal_hashed: Updated to provide get_sasl_handler.
Waqas Hussain [Sun, 6 Jun 2010 21:32:13 +0000 (02:32 +0500)]
usermanager: Changed get_supported_methods to get_sasl_handler.
Waqas Hussain [Fri, 4 Jun 2010 13:38:35 +0000 (18:38 +0500)]
Merge with trunk.
Waqas Hussain [Fri, 4 Jun 2010 13:36:04 +0000 (18:36 +0500)]
mod_presence: Enable firing of pre-events for probes.
Matthew Wild [Fri, 4 Jun 2010 13:33:36 +0000 (14:33 +0100)]
Rename mod_defaultauth -> mod_auth_internal, mod_hashpassauth -> mod_auth_internal_hashed, and the providers to internal and internal_hashed respectively. Also no longer auto-load defaultauth, but instead auto-load the plugin selected for each host at startup based on the provider name.
Waqas Hussain [Fri, 4 Jun 2010 13:30:18 +0000 (18:30 +0500)]
mod_presence: Don't stop pre-event for outgoing probes.
Waqas Hussain [Fri, 4 Jun 2010 13:24:09 +0000 (18:24 +0500)]
mod_presence: Small refactoring.
Matthew Wild [Fri, 4 Jun 2010 13:08:40 +0000 (14:08 +0100)]
Merge trunk/MattJ with trunk
Matthew Wild [Fri, 4 Jun 2010 12:55:39 +0000 (13:55 +0100)]
mod_saslauth: Fix log level
Matthew Wild [Fri, 4 Jun 2010 12:54:15 +0000 (13:54 +0100)]
usermanager: Rename the fallback provider from 'dummyauth' to 'null'
Matthew Wild [Fri, 4 Jun 2010 12:53:07 +0000 (13:53 +0100)]
usermanager: Add hunk that got missed in a merge
Waqas Hussain [Thu, 3 Jun 2010 13:09:02 +0000 (18:09 +0500)]
util.sasl_cyrus: Log the textual representation of unknown Cyrus SASL errors, not just the error code.
Waqas Hussain [Thu, 3 Jun 2010 13:09:02 +0000 (18:09 +0500)]
util.sasl_cyrus: Log the textual representation of unknown Cyrus SASL errors, not just the error code.
Waqas Hussain [Thu, 3 Jun 2010 13:09:02 +0000 (18:09 +0500)]
util.sasl_cyrus: Log the textual representation of unknown Cyrus SASL errors, not just the error code.
Waqas Hussain [Thu, 3 Jun 2010 13:01:05 +0000 (18:01 +0500)]
mod_presence: Send unavailable presence in response to probes to the sender's full JID, not bare JID.
Waqas Hussain [Thu, 3 Jun 2010 13:01:05 +0000 (18:01 +0500)]
mod_presence: Send unavailable presence in response to probes to the sender's full JID, not bare JID.
Waqas Hussain [Thu, 3 Jun 2010 12:48:50 +0000 (17:48 +0500)]
SASL: Minor cleanup.
Waqas Hussain [Thu, 3 Jun 2010 12:48:50 +0000 (17:48 +0500)]
SASL: Minor cleanup.
Waqas Hussain [Thu, 3 Jun 2010 12:47:51 +0000 (17:47 +0500)]
util.sasl.scram: Fixed a log level.
Waqas Hussain [Thu, 3 Jun 2010 13:01:05 +0000 (18:01 +0500)]
mod_presence: Send unavailable presence in response to probes to the sender's full JID, not bare JID.
Waqas Hussain [Thu, 3 Jun 2010 12:47:51 +0000 (17:47 +0500)]
util.sasl.scram: Fixed a log level.
Waqas Hussain [Thu, 3 Jun 2010 12:47:51 +0000 (17:47 +0500)]
util.sasl.scram: Fixed a log level.
Waqas Hussain [Thu, 3 Jun 2010 12:27:49 +0000 (17:27 +0500)]
mod_presence: Removed unnecessary parameter 'core_route_stanza' from various functions.