prosody.git
14 years agocommit d2fb8a5ff43fcf3e94e5e518aba175503590ecda
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

14 years agos2smanager: Fix logging for outgoing sessions to also log pre-filtered data
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

14 years agoMUC: Added disco#info features to advertise room's anonymity status (muc_semianonymou...
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).

14 years agoMUC: Added disco#info features to advertise room's public status (muc_public or muc_h...
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).

14 years agoMUC: Updated code to use :set_hidden() and :is_hidden().
Waqas Hussain [Sun, 13 Jun 2010 16:58:46 +0000 (21:58 +0500)]
MUC: Updated code to use :set_hidden() and :is_hidden().

14 years agoMUC: Added room:set_hidden(boolean) and room: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().

14 years agoMUC: Added disco#info features to advertise room's persistence status (muc_persistent...
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).

14 years agoMUC: Replaced direct access of room's internal persistence state with :set_persistent...
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.

14 years agoMUC: Added room:set_persistent(boolean) and room:is_persistent().
Waqas Hussain [Sun, 13 Jun 2010 16:38:31 +0000 (21:38 +0500)]
MUC: Added room:set_persistent(boolean) and room:is_persistent().

14 years agoMUC: Added disco#info features to advertise room's members-only status (muc_memberson...
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).

14 years agoMUC: Added a 'Make Room Members-Only?' field to the room config dialog.
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.

14 years agoMUC: Updated room:get_default_role() to not assign unaffiliated occupants a role...
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.

14 years agoMUC: Added room:set_members_only(boolean) and room:is_members_only().
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().

14 years agoMUC: Added disco#info features to advertise room's moderation status (muc_moderated...
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).

14 years agoMUC: Added a 'Make Room Moderated?' field to the room config dialog.
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.

14 years agoMUC: Updated room:get_default_role() to assign unaffiliated occupants a "visitor...
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.

14 years agoMUC: Added room:set_moderated(boolean) and room:is_moderated().
Waqas Hussain [Sun, 13 Jun 2010 15:08:51 +0000 (20:08 +0500)]
MUC: Added room:set_moderated(boolean) and room:is_moderated().

14 years agoMUC: Persist data in room:set_password() when called programmatically.
Waqas Hussain [Sun, 13 Jun 2010 15:05:45 +0000 (20:05 +0500)]
MUC: Persist data in room:set_password() when called programmatically.

14 years agoMUC: Added a password field to the room config dialog.
Waqas Hussain [Sun, 13 Jun 2010 14:19:03 +0000 (19:19 +0500)]
MUC: Added a password field to the room config dialog.

14 years agoMUC: Include a <password/> element in invites from password protected rooms.
Waqas Hussain [Sun, 13 Jun 2010 14:03:03 +0000 (19:03 +0500)]
MUC: Include a <password/> element in invites from password protected rooms.

14 years agoMUC: Added disco#info features to advertise room's password protection (muc_passwordp...
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).

14 years agoMUC: Added password checking on room join.
Waqas Hussain [Sun, 13 Jun 2010 13:14:46 +0000 (18:14 +0500)]
MUC: Added password checking on room join.

14 years agoMUC: Added room:get_password() and room:set_password().
Waqas Hussain [Sun, 13 Jun 2010 13:13:18 +0000 (18:13 +0500)]
MUC: Added room:get_password() and room:set_password().

14 years agomod_auth_internal_hashed: Fixed a traceback in account creation.
Waqas Hussain [Sat, 12 Jun 2010 23:07:38 +0000 (04:07 +0500)]
mod_auth_internal_hashed: Fixed a traceback in account creation.

14 years agoMerge 0.7->trunk
Matthew Wild [Sat, 12 Jun 2010 01:47:53 +0000 (02:47 +0100)]
Merge 0.7->trunk

14 years agoTagging 0.7.0 (again)
Matthew Wild [Sat, 12 Jun 2010 01:47:32 +0000 (02:47 +0100)]
Tagging 0.7.0 (again)

14 years agoMerge 0.7->trunk
Matthew Wild [Sat, 12 Jun 2010 01:39:18 +0000 (02:39 +0100)]
Merge 0.7->trunk

14 years agosessionmanager: Fixed a traceback on invalid usernames (typo in previous commit).
Waqas Hussain [Fri, 11 Jun 2010 16:30:24 +0000 (21:30 +0500)]
sessionmanager: Fixed a traceback on invalid usernames (typo in previous commit).

14 years agomod_saslauth: Return proper error on invalid usernames.
Waqas Hussain [Fri, 11 Jun 2010 16:01:17 +0000 (21:01 +0500)]
mod_saslauth: Return proper error on invalid usernames.

14 years agomod_presence: Fixed a traceback on outgoing subscriptions from offline users.
Waqas Hussain [Fri, 11 Jun 2010 15:45:00 +0000 (20:45 +0500)]
mod_presence: Fixed a traceback on outgoing subscriptions from offline users.

14 years agonet.server_event: attemp to fix more spelling fail.
Waqas Hussain [Fri, 11 Jun 2010 15:35:10 +0000 (20:35 +0500)]
net.server_event: attemp to fix more spelling fail.

14 years agosessionmanager: Moved nodeprep to sessionmanager.make_authenticated.
Waqas Hussain [Fri, 11 Jun 2010 15:34:00 +0000 (20:34 +0500)]
sessionmanager: Moved nodeprep to sessionmanager.make_authenticated.

14 years agoMerge 0.7->trunk
Matthew Wild [Fri, 11 Jun 2010 13:25:54 +0000 (14:25 +0100)]
Merge 0.7->trunk

14 years agoprosodyctl, util.pluginloader: Remove support for storing plugins in the data store...
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

14 years agomod_uptime: Add ad-hoc command
Matthew Wild [Fri, 11 Jun 2010 12:29:15 +0000 (13:29 +0100)]
mod_uptime: Add ad-hoc command

14 years agomod_adhoc: Scan through list of items on load, in case items have been added before...
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

14 years agomod_adhoc/adhoc.lib: Add copyright header
Matthew Wild [Fri, 11 Jun 2010 11:18:27 +0000 (12:18 +0100)]
mod_adhoc/adhoc.lib: Add copyright header

14 years agomod_adhoc/adhoc.lib: Handle errors according to XEP
Matthew Wild [Fri, 11 Jun 2010 11:17:57 +0000 (12:17 +0100)]
mod_adhoc/adhoc.lib: Handle errors according to XEP

14 years agomod_announce: Add ad-hoc command for sending announcements \o/
Matthew Wild [Fri, 11 Jun 2010 11:07:25 +0000 (12:07 +0100)]
mod_announce: Add ad-hoc command for sending announcements \o/

14 years agoMerge 0.7->trunk
Matthew Wild [Thu, 10 Jun 2010 15:48:21 +0000 (16:48 +0100)]
Merge 0.7->trunk

14 years agomod_compression: Move logging of compression/decompression errors to before the closi...
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

14 years agos2smanager: Move 'sending' debug log message so that it sees the pre-filtered stanzas
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

14 years agomod_compression: Remove the unneccessary stream:reset() overloading, which was causin...
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

14 years agomod_legacyauth: Fixed the ordering of parameters passed to usermanager.test_password.
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.

14 years agomod_privacy: Workaround for a traceback.
Waqas Hussain [Wed, 9 Jun 2010 22:26:01 +0000 (03:26 +0500)]
mod_privacy: Workaround for a traceback.

14 years agomod_adhoc: Imported from prosody-modules, thanks Florob!
Matthew Wild [Wed, 9 Jun 2010 20:27:43 +0000 (21:27 +0100)]
mod_adhoc: Imported from prosody-modules, thanks Florob!

14 years agomod_auth_internal{,_hashed}: Update is_admin to only report the admin status of the...
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

14 years agousermanager: Handle checking for global admins on behalf of providers
Matthew Wild [Wed, 9 Jun 2010 20:24:20 +0000 (21:24 +0100)]
usermanager: Handle checking for global admins on behalf of providers

14 years agomod_legacyauth: Use the new usermanager.test_password instead of usermanager.validate...
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.

14 years agomod_auth_internal_hashed: Removed some useless code.
Waqas Hussain [Wed, 9 Jun 2010 17:01:47 +0000 (22:01 +0500)]
mod_auth_internal_hashed: Removed some useless code.

14 years agomod_presence: Fixed a traceback.
Waqas Hussain [Wed, 9 Jun 2010 17:00:01 +0000 (22:00 +0500)]
mod_presence: Fixed a traceback.

14 years agoMerge with Tobias.
Waqas Hussain [Wed, 9 Jun 2010 16:34:32 +0000 (21:34 +0500)]
Merge with Tobias.

14 years agomod_auth_internal_hashed: Empty hashpass after conversion to stored_key/server_key...
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.

14 years agomod_auth_internal_hashed: Remove debugging output.
Tobias Markmann [Wed, 9 Jun 2010 15:55:04 +0000 (17:55 +0200)]
mod_auth_internal_hashed: Remove debugging output.

14 years agomod_auth_internal_hashed: Convert hashpass to server_key/stored_key on SCRAM-SHA...
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.

14 years agomod_auth_internal_hashed: Convert hashpass to server_key/stored_key on PLAIN 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.

14 years agoFix missing parameter in mod_auth_internal_hashed.
Kim Alvefur [Wed, 9 Jun 2010 01:41:24 +0000 (03:41 +0200)]
Fix missing parameter in mod_auth_internal_hashed.

14 years agoTagging 0.7.0
Matthew Wild [Wed, 9 Jun 2010 00:14:32 +0000 (01:14 +0100)]
Tagging 0.7.0

14 years agoMerge trunk/MattJ->trunk
Matthew Wild [Wed, 9 Jun 2010 00:11:46 +0000 (01:11 +0100)]
Merge trunk/MattJ->trunk

14 years agoMerge 0.7->trunk
Matthew Wild [Wed, 9 Jun 2010 00:11:12 +0000 (01:11 +0100)]
Merge 0.7->trunk

14 years agotools/xep227toprosody.lua: Set executable bit
Matthew Wild [Wed, 9 Jun 2010 00:07:37 +0000 (01:07 +0100)]
tools/xep227toprosody.lua: Set executable bit

14 years agoMerge with tip.
Tobias Markmann [Tue, 8 Jun 2010 18:39:27 +0000 (20:39 +0200)]
Merge with tip.

14 years agomod_auth_internal_hashed: Coverting salted password to stored_key and server_key.
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.

14 years agomod_auth_internal_hashed: Store stored_key and server_key when setting a password.
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.

14 years agomod_compression: Removed some useless logging code.
Waqas Hussain [Tue, 8 Jun 2010 11:33:32 +0000 (16:33 +0500)]
mod_compression: Removed some useless logging code.

14 years agomod_announce: Fixed an edge case where non-admins attempting to announce would get...
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.

14 years agomod_presence: Enable firing of pre-events for all outbound stanzas, and switching...
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.

14 years agoutil.sasl.scram: Authenticate clients by calculated StoredKey instead of ClientProof.
Tobias Markmann [Tue, 8 Jun 2010 09:00:26 +0000 (11:00 +0200)]
util.sasl.scram: Authenticate clients by calculated StoredKey instead of ClientProof.

14 years agomod_auth_internal_hashed: Store StoredKey and ServerKey instead of salted hashed...
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.

14 years agoMerge trunk/MattJ->trunk
Matthew Wild [Mon, 7 Jun 2010 11:21:57 +0000 (12:21 +0100)]
Merge trunk/MattJ->trunk

14 years agoMerge 0.7->trunk
Matthew Wild [Mon, 7 Jun 2010 11:19:14 +0000 (12:19 +0100)]
Merge 0.7->trunk

14 years agomod_auth_cyrus: Auth provider with support for Cyrus SASL.
Waqas Hussain [Sun, 6 Jun 2010 23:23:08 +0000 (04:23 +0500)]
mod_auth_cyrus: Auth provider with support for Cyrus SASL.

14 years agomod_auth_anonymous: Fixed a syntax error.
Waqas Hussain [Sun, 6 Jun 2010 23:22:49 +0000 (04:22 +0500)]
mod_auth_anonymous: Fixed a syntax error.

14 years agomod_auth_anonymous: Auth provider with support for SASL ANONYMOUS.
Waqas Hussain [Sun, 6 Jun 2010 23:07:40 +0000 (04:07 +0500)]
mod_auth_anonymous: Auth provider with support for SASL ANONYMOUS.

14 years agomod_auth_internal_hashed: Added SCRAM-SHA-1 support for SASL.
Waqas Hussain [Sun, 6 Jun 2010 22:07:58 +0000 (03:07 +0500)]
mod_auth_internal_hashed: Added SCRAM-SHA-1 support for SASL.

14 years agomod_saslauth: Updated to use usermanager.get_sasl_handler.
Waqas Hussain [Sun, 6 Jun 2010 21:40:14 +0000 (02:40 +0500)]
mod_saslauth: Updated to use usermanager.get_sasl_handler.

14 years agomod_auth_internal, mod_auth_internal_hashed: Fixed a global access.
Waqas Hussain [Sun, 6 Jun 2010 21:38:20 +0000 (02:38 +0500)]
mod_auth_internal, mod_auth_internal_hashed: Fixed a global access.

14 years agomod_auth_internal, mod_auth_internal_hashed: Updated to provide get_sasl_handler.
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.

14 years agousermanager: Changed get_supported_methods to 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.

14 years agoMerge with trunk.
Waqas Hussain [Fri, 4 Jun 2010 13:38:35 +0000 (18:38 +0500)]
Merge with trunk.

14 years agomod_presence: Enable firing of pre-events for probes.
Waqas Hussain [Fri, 4 Jun 2010 13:36:04 +0000 (18:36 +0500)]
mod_presence: Enable firing of pre-events for probes.

14 years agoRename mod_defaultauth -> mod_auth_internal, mod_hashpassauth -> mod_auth_internal_ha...
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.

14 years agomod_presence: Don't stop pre-event for outgoing probes.
Waqas Hussain [Fri, 4 Jun 2010 13:30:18 +0000 (18:30 +0500)]
mod_presence: Don't stop pre-event for outgoing probes.

14 years agomod_presence: Small refactoring.
Waqas Hussain [Fri, 4 Jun 2010 13:24:09 +0000 (18:24 +0500)]
mod_presence: Small refactoring.

14 years agoMerge trunk/MattJ with trunk
Matthew Wild [Fri, 4 Jun 2010 13:08:40 +0000 (14:08 +0100)]
Merge trunk/MattJ with trunk

14 years agomod_saslauth: Fix log level
Matthew Wild [Fri, 4 Jun 2010 12:55:39 +0000 (13:55 +0100)]
mod_saslauth: Fix log level

14 years agousermanager: Rename the fallback provider from 'dummyauth' to 'null'
Matthew Wild [Fri, 4 Jun 2010 12:54:15 +0000 (13:54 +0100)]
usermanager: Rename the fallback provider from 'dummyauth' to 'null'

14 years agousermanager: Add hunk that got missed in a merge
Matthew Wild [Fri, 4 Jun 2010 12:53:07 +0000 (13:53 +0100)]
usermanager: Add hunk that got missed in a merge

14 years agoutil.sasl_cyrus: Log the textual representation of unknown Cyrus SASL errors, not...
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.

14 years agoutil.sasl_cyrus: Log the textual representation of unknown Cyrus SASL errors, not...
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.

14 years agoutil.sasl_cyrus: Log the textual representation of unknown Cyrus SASL errors, not...
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.

14 years agomod_presence: Send unavailable presence in response to probes to the sender's full...
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.

14 years agomod_presence: Send unavailable presence in response to probes to the sender's full...
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.

14 years agoSASL: Minor cleanup.
Waqas Hussain [Thu, 3 Jun 2010 12:48:50 +0000 (17:48 +0500)]
SASL: Minor cleanup.

14 years agoSASL: Minor cleanup.
Waqas Hussain [Thu, 3 Jun 2010 12:48:50 +0000 (17:48 +0500)]
SASL: Minor cleanup.

14 years agoutil.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.

14 years agomod_presence: Send unavailable presence in response to probes to the sender's full...
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.

14 years agoutil.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.

14 years agoutil.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.

14 years agomod_presence: Removed unnecessary parameter 'core_route_stanza' from various functions.
Waqas Hussain [Thu, 3 Jun 2010 12:27:49 +0000 (17:27 +0500)]
mod_presence: Removed unnecessary parameter 'core_route_stanza' from various functions.