prosody.git
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.

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.

14 years agoMerge 0.7->trunk
Matthew Wild [Thu, 3 Jun 2010 11:29:27 +0000 (12:29 +0100)]
Merge 0.7->trunk

14 years agos2smanager: Remove potentially misleading log message (thanks albert)
Matthew Wild [Thu, 3 Jun 2010 11:28:27 +0000 (12:28 +0100)]
s2smanager: Remove potentially misleading log message (thanks albert)

14 years agoMerge 0.7->trunk
Matthew Wild [Wed, 2 Jun 2010 20:34:16 +0000 (21:34 +0100)]
Merge 0.7->trunk

14 years agonet.server_event: Also return the socket from wrapclient, to maintain compatibility...
Matthew Wild [Wed, 2 Jun 2010 20:33:44 +0000 (21:33 +0100)]
net.server_event: Also return the socket from wrapclient, to maintain compatibility with server_select (thanks uhoreg)

14 years agomod_compression: Use filters! \o/
Matthew Wild [Wed, 2 Jun 2010 17:24:56 +0000 (18:24 +0100)]
mod_compression: Use filters! \o/

14 years agoxmppserver_listener: Add filters for incoming bytes and stanzas
Matthew Wild [Wed, 2 Jun 2010 17:23:39 +0000 (18:23 +0100)]
xmppserver_listener: Add filters for incoming bytes and stanzas

14 years agos2smanager: Add filters for outgoing bytes and stanzas
Matthew Wild [Wed, 2 Jun 2010 17:23:15 +0000 (18:23 +0100)]
s2smanager: Add filters for outgoing bytes and stanzas

14 years agosessionmanager: Rename filters_initialize->initialize_filters
Matthew Wild [Wed, 2 Jun 2010 17:22:23 +0000 (18:22 +0100)]
sessionmanager: Rename filters_initialize->initialize_filters

14 years agoxmppclient_listener: Add filters for incoming bytes and stanzas
Matthew Wild [Wed, 2 Jun 2010 16:51:39 +0000 (17:51 +0100)]
xmppclient_listener: Add filters for incoming bytes and stanzas

14 years agosessionmanager: Initialize new sessions for filtering, and add filters for outgoing...
Matthew Wild [Wed, 2 Jun 2010 16:51:14 +0000 (17:51 +0100)]
sessionmanager: Initialize new sessions for filtering, and add filters for outgoing bytes and stanzas

14 years agoutil.filters: Ensure initialize() never initializes an object twice - and return...
Matthew Wild [Wed, 2 Jun 2010 16:23:57 +0000 (17:23 +0100)]
util.filters: Ensure initialize() never initializes an object twice - and return the filter function to the caller

14 years agoxmppserver_listener: Port to util.xmppstream \o/
Matthew Wild [Wed, 2 Jun 2010 15:53:40 +0000 (16:53 +0100)]
xmppserver_listener: Port to util.xmppstream \o/

14 years agoutil.filters: Break processing if a filterer returns nil
Matthew Wild [Wed, 2 Jun 2010 12:31:36 +0000 (13:31 +0100)]
util.filters: Break processing if a filterer returns nil

14 years agoutil.filters: Don't traceback with no filters of a type added
Matthew Wild [Wed, 2 Jun 2010 12:03:55 +0000 (13:03 +0100)]
util.filters: Don't traceback with no filters of a type added

14 years agonet.multiplex_listener: Test to make sure listener.onconnect isn't nil.
Waqas Hussain [Wed, 2 Jun 2010 12:25:01 +0000 (17:25 +0500)]
net.multiplex_listener: Test to make sure listener.onconnect isn't nil.

14 years agonet.multiplex_listener: Call listener.onconnect(conn) when swapping listeners.
Waqas Hussain [Wed, 2 Jun 2010 12:06:23 +0000 (17:06 +0500)]
net.multiplex_listener: Call listener.onconnect(conn) when swapping listeners.

14 years agoxmppclient_listener: Port to onconnect handler
Matthew Wild [Wed, 2 Jun 2010 11:32:24 +0000 (12:32 +0100)]
xmppclient_listener: Port to onconnect handler

14 years agoutil.filters: Don't traceback when trying to remove a filter from an uninitialized...
Matthew Wild [Wed, 2 Jun 2010 11:24:07 +0000 (12:24 +0100)]
util.filters: Don't traceback when trying to remove a filter from an uninitialized object

14 years agoutil.filters: Expose the initialization function
Matthew Wild [Wed, 2 Jun 2010 11:23:07 +0000 (12:23 +0100)]
util.filters: Expose the initialization function

14 years agoutil.filters: New utility library for managing filters on an object
Matthew Wild [Wed, 2 Jun 2010 11:20:29 +0000 (12:20 +0100)]
util.filters: New utility library for managing filters on an object

14 years agomod_pep: Corrected and optimized handling of non-available presence stanzas.
Waqas Hussain [Tue, 1 Jun 2010 20:54:17 +0000 (01:54 +0500)]
mod_pep: Corrected and optimized handling of non-available presence stanzas.

14 years agomod_iq: Removed a check for user existance when firing iq/bare/* sub-events.
Waqas Hussain [Sun, 30 May 2010 18:01:34 +0000 (23:01 +0500)]
mod_iq: Removed a check for user existance when firing iq/bare/* sub-events.

14 years agomod_pep: Use is_contact_subscribed (which uses the new rostermanager fix to avoid...
Matthew Wild [Tue, 1 Jun 2010 19:10:17 +0000 (20:10 +0100)]
mod_pep: Use is_contact_subscribed (which uses the new rostermanager fix to avoid unnecessary roster loads)

14 years agorostermanager: Optimisation to avoid unnecessarily loading rosters for offline contac...
Waqas Hussain [Tue, 1 Jun 2010 19:09:31 +0000 (20:09 +0100)]
rostermanager: Optimisation to avoid unnecessarily loading rosters for offline contacts on probes, etc.

14 years agoAdd jid support for motd
Jeff Mitchell [Sat, 29 May 2010 22:52:27 +0000 (18:52 -0400)]
Add jid support for motd

14 years agoAdd motd plugin, giving text to a user on each login.
Jeff Mitchell [Sat, 29 May 2010 18:02:58 +0000 (14:02 -0400)]
Add motd plugin, giving text to a user on each login.

14 years agoMerge compression fix
Matthew Wild [Sat, 29 May 2010 01:08:56 +0000 (02:08 +0100)]
Merge compression fix

14 years agomod_compression: Update for new session.data() syntax, fixes invalid XML errors after...
Matthew Wild [Sat, 29 May 2010 01:08:11 +0000 (02:08 +0100)]
mod_compression: Update for new session.data() syntax, fixes invalid XML errors after compression negotiation (thanks hg bisect)