prosody.git
14 years agoMerge with Tobias
Matthew Wild [Mon, 10 Aug 2009 13:29:28 +0000 (14:29 +0100)]
Merge with Tobias

14 years agoMoving realm at the beginning of the digest-md5 message send by the server.
Tobias Markmann [Sun, 9 Aug 2009 19:19:03 +0000 (21:19 +0200)]
Moving realm at the beginning of the digest-md5 message send by the server.

14 years agomod_bosh: Updated to use module:get_option instead of configmanager
Waqas Hussain [Sun, 9 Aug 2009 12:47:26 +0000 (17:47 +0500)]
mod_bosh: Updated to use module:get_option instead of configmanager

14 years agoFixing a SASL issue by always passing the realm from SASL framework init to the handlers.
Tobias Markmann [Sat, 8 Aug 2009 19:13:18 +0000 (21:13 +0200)]
Fixing a SASL issue by always passing the realm from SASL framework init to the handlers.

14 years agomod_watchregistrations: Updated to use module:get_option instead of configmanager
Waqas Hussain [Sat, 8 Aug 2009 18:55:25 +0000 (23:55 +0500)]
mod_watchregistrations: Updated to use module:get_option instead of configmanager

14 years agomod_selftests: Mark as global
Waqas Hussain [Sat, 8 Aug 2009 18:52:36 +0000 (23:52 +0500)]
mod_selftests: Mark as global

14 years agomod_tls: Updated to use module:get_option instead of configmanager
Waqas Hussain [Sat, 8 Aug 2009 18:41:45 +0000 (23:41 +0500)]
mod_tls: Updated to use module:get_option instead of configmanager

14 years agomod_selftests: Updated to use module:get_option instead of configmanager
Waqas Hussain [Sat, 8 Aug 2009 18:41:16 +0000 (23:41 +0500)]
mod_selftests: Updated to use module:get_option instead of configmanager

14 years agomod_welcome: Updated to use module:get_option instead of configmanager
Waqas Hussain [Sat, 8 Aug 2009 18:38:02 +0000 (23:38 +0500)]
mod_welcome: Updated to use module:get_option instead of configmanager

14 years agoejabberdsql2prosody: Removed unnecessary stanza reserialization for private storage
Waqas Hussain [Sat, 8 Aug 2009 18:23:21 +0000 (23:23 +0500)]
ejabberdsql2prosody: Removed unnecessary stanza reserialization for private storage

14 years agoejabberdsql2prosody: Added support for offline messages
Waqas Hussain [Sat, 8 Aug 2009 18:17:32 +0000 (23:17 +0500)]
ejabberdsql2prosody: Added support for offline messages

14 years agoejabberdsql2prosody: Fix access of undefined global
Waqas Hussain [Sat, 8 Aug 2009 16:10:25 +0000 (21:10 +0500)]
ejabberdsql2prosody: Fix access of undefined global

14 years agomod_version: Rewritten to use new API. Added reply caching, and fixed some issues.
Waqas Hussain [Fri, 7 Aug 2009 13:29:14 +0000 (18:29 +0500)]
mod_version: Rewritten to use new API. Added reply caching, and fixed some issues.

14 years agomod_version: Use the module API to read configuration options instead of configmanager
Waqas Hussain [Fri, 7 Aug 2009 13:27:49 +0000 (18:27 +0500)]
mod_version: Use the module API to read configuration options instead of configmanager

14 years agoMerge with albert and waqas
Matthew Wild [Sat, 8 Aug 2009 21:09:59 +0000 (22:09 +0100)]
Merge with albert and waqas

14 years agoFixed: Zeros could be stripped from the version string the Makefile extracts from...
Waqas Hussain [Fri, 7 Aug 2009 19:21:33 +0000 (00:21 +0500)]
Fixed: Zeros could be stripped from the version string the Makefile extracts from the local hg repository (thanks albert)

14 years agoMerge with 0.5
Matthew Wild [Fri, 7 Aug 2009 10:32:47 +0000 (11:32 +0100)]
Merge with 0.5

14 years agoFixed: Outbound subscription requests silently dropped (regression in hg:7f17d0d00fbb)
Waqas Hussain [Fri, 7 Aug 2009 10:30:47 +0000 (15:30 +0500)]
Fixed: Outbound subscription requests silently dropped (regression in hg:7f17d0d00fbb)

14 years agomod_xmlrpc: Correct stripping of filename/line number prefix in RPC method error...
Matthew Wild [Wed, 5 Aug 2009 19:00:07 +0000 (20:00 +0100)]
mod_xmlrpc: Correct stripping of filename/line number prefix in RPC method error results

14 years agomod_saslauth: Fix coding style and layout, and use of arg[] for vararg
Matthew Wild [Wed, 5 Aug 2009 15:37:28 +0000 (16:37 +0100)]
mod_saslauth: Fix coding style and layout, and use of arg[] for vararg

14 years agomod_saslauth: Fix indentation
Matthew Wild [Wed, 5 Aug 2009 15:35:13 +0000 (16:35 +0100)]
mod_saslauth: Fix indentation

14 years agomod_saslauth: Fix traceback on attempted login for non-existent users
Matthew Wild [Wed, 5 Aug 2009 15:31:56 +0000 (16:31 +0100)]
mod_saslauth: Fix traceback on attempted login for non-existent users

14 years agoMerge with 0.5
Matthew Wild [Wed, 5 Aug 2009 12:52:14 +0000 (13:52 +0100)]
Merge with 0.5

14 years agoxmppcomponent_listener: Fix to collect component sessions on disconnect
Matthew Wild [Wed, 5 Aug 2009 12:51:44 +0000 (13:51 +0100)]
xmppcomponent_listener: Fix to collect component sessions on disconnect

14 years agoMerge with 0.5
Matthew Wild [Wed, 5 Aug 2009 02:08:54 +0000 (03:08 +0100)]
Merge with 0.5

14 years agomod_bosh: Fix error reply for host-unknown errors
Matthew Wild [Wed, 5 Aug 2009 02:08:21 +0000 (03:08 +0100)]
mod_bosh: Fix error reply for host-unknown errors

14 years agonet.httpserver: Allow response.body to be a non-string
Matthew Wild [Wed, 5 Aug 2009 02:07:45 +0000 (03:07 +0100)]
net.httpserver: Allow response.body to be a non-string

14 years agoMerge with waqas
Matthew Wild [Mon, 3 Aug 2009 16:53:02 +0000 (17:53 +0100)]
Merge with waqas

14 years agoMerge with 0.5
Matthew Wild [Mon, 3 Aug 2009 16:52:17 +0000 (17:52 +0100)]
Merge with 0.5

14 years agoFixed: Self-references could be added to rosters via presence subscriptions
Waqas Hussain [Mon, 3 Aug 2009 16:48:51 +0000 (21:48 +0500)]
Fixed: Self-references could be added to rosters via presence subscriptions

14 years agoFixed: IQ replies are not sent back on publishing a PEP event
Waqas Hussain [Mon, 3 Aug 2009 16:47:32 +0000 (21:47 +0500)]
Fixed: IQ replies are not sent back on publishing a PEP event

14 years agoejabberdsql2prosody: Added support for Private XML Storage
Waqas Hussain [Sun, 2 Aug 2009 09:40:34 +0000 (14:40 +0500)]
ejabberdsql2prosody: Added support for Private XML Storage

14 years agoejabberdsql2prosody: Added support for vCards
Waqas Hussain [Sun, 2 Aug 2009 09:35:41 +0000 (14:35 +0500)]
ejabberdsql2prosody: Added support for vCards

14 years agoejabberdsql2prosody: Added an XML parser
Waqas Hussain [Sun, 2 Aug 2009 09:35:03 +0000 (14:35 +0500)]
ejabberdsql2prosody: Added an XML parser

14 years agomod_console: EOT (Ctrl-D) closes the connection.
Paul Aurich [Fri, 31 Jul 2009 16:19:05 +0000 (17:19 +0100)]
mod_console: EOT (Ctrl-D) closes the connection.

14 years agoTagging 0.5.1
Matthew Wild [Wed, 29 Jul 2009 17:56:24 +0000 (18:56 +0100)]
Tagging 0.5.1

14 years agoMerge with 0.5
Matthew Wild [Wed, 29 Jul 2009 17:11:37 +0000 (18:11 +0100)]
Merge with 0.5

14 years agoMUC: Added the MUC child element to conflict errors
Waqas Hussain [Wed, 29 Jul 2009 13:02:05 +0000 (18:02 +0500)]
MUC: Added the MUC child element to conflict errors

14 years agoAdded: Support for PROSODY_SRCDIR and PROSODY_PLUGINDIR environment variables
Waqas Hussain [Wed, 29 Jul 2009 13:01:14 +0000 (18:01 +0500)]
Added: Support for PROSODY_SRCDIR and PROSODY_PLUGINDIR environment variables

14 years agomod_pep: Added support for pubsub item retraction
Waqas Hussain [Wed, 29 Jul 2009 12:57:24 +0000 (17:57 +0500)]
mod_pep: Added support for pubsub item retraction

14 years agoMerge with 0.5
Matthew Wild [Tue, 28 Jul 2009 18:17:09 +0000 (19:17 +0100)]
Merge with 0.5

14 years agoxmpp{client,server,component]_listener: Open stream if sending an error and it isn...
Matthew Wild [Tue, 28 Jul 2009 18:15:29 +0000 (19:15 +0100)]
xmpp{client,server,component]_listener: Open stream if sending an error and it isn't already open. Fixes #120

14 years agomod_console: Finally add in the missing 'help' command \o/
Matthew Wild [Tue, 28 Jul 2009 17:47:59 +0000 (18:47 +0100)]
mod_console: Finally add in the missing 'help' command \o/

14 years agoconfigmanager: Default options appearing before Host "*" to global (fixes potential...
Matthew Wild [Tue, 28 Jul 2009 17:02:11 +0000 (18:02 +0100)]
configmanager: Default options appearing before Host "*" to global (fixes potential traceback)

14 years agohostmanager: Warn when user puts port configuration under vhost section
Matthew Wild [Tue, 28 Jul 2009 16:43:46 +0000 (17:43 +0100)]
hostmanager: Warn when user puts port configuration under vhost section

14 years agocore.loggingmanager: Enable timestamps by default for file log sinks
Matthew Wild [Tue, 28 Jul 2009 14:03:42 +0000 (15:03 +0100)]
core.loggingmanager: Enable timestamps by default for file log sinks

14 years agonet.server: Much improve SSL/TLS error reporting, do our best to understand and hide...
Matthew Wild [Tue, 28 Jul 2009 13:48:37 +0000 (14:48 +0100)]
net.server: Much improve SSL/TLS error reporting, do our best to understand and hide OpenSSL's ridiculously unfriendly error messages

14 years agoejabberdsql2prosody: Allow for multiple INSERTs to the same table
Waqas Hussain [Tue, 28 Jul 2009 00:33:51 +0000 (05:33 +0500)]
ejabberdsql2prosody: Allow for multiple INSERTs to the same table

14 years agoMerge with 0.5
Matthew Wild [Mon, 27 Jul 2009 21:42:36 +0000 (22:42 +0100)]
Merge with 0.5

14 years agoFixed: Possible duplicate error replies for unhandled stanzas
Waqas Hussain [Mon, 27 Jul 2009 19:42:56 +0000 (00:42 +0500)]
Fixed: Possible duplicate error replies for unhandled stanzas

14 years agonet.httpserver: Reduce log level of 'request left open' message
Matthew Wild [Mon, 27 Jul 2009 13:26:59 +0000 (14:26 +0100)]
net.httpserver: Reduce log level of 'request left open' message

14 years agoMerge with 0.5
Matthew Wild [Mon, 27 Jul 2009 00:28:22 +0000 (01:28 +0100)]
Merge with 0.5

14 years agomod_presence: Tag outgoing unavailables generated by a disconnect with a from attribute
Matthew Wild [Mon, 27 Jul 2009 00:27:51 +0000 (01:27 +0100)]
mod_presence: Tag outgoing unavailables generated by a disconnect with a from attribute

14 years agoxmpp{client,server}_listener: Report contents of packets containing invalid XML
Matthew Wild [Sun, 26 Jul 2009 19:58:37 +0000 (20:58 +0100)]
xmpp{client,server}_listener: Report contents of packets containing invalid XML

14 years agomod_console: Show status and priority of clients
Matthew Wild [Sun, 26 Jul 2009 16:05:18 +0000 (17:05 +0100)]
mod_console: Show status and priority of clients

14 years agoejabberdsql2prosody: Fixed a nil global access error
Waqas Hussain [Sun, 26 Jul 2009 13:22:10 +0000 (18:22 +0500)]
ejabberdsql2prosody: Fixed a nil global access error

14 years agoejabberdsql2prosody: Add support for rosterusers.ask == "B" (both pending in and...
Waqas Hussain [Sun, 26 Jul 2009 13:17:54 +0000 (18:17 +0500)]
ejabberdsql2prosody: Add support for rosterusers.ask == "B" (both pending in and out subscriptions)

14 years agoejabberdsql2prosody: Fix typo, and improve the warning message
Waqas Hussain [Sun, 26 Jul 2009 13:12:32 +0000 (18:12 +0500)]
ejabberdsql2prosody: Fix typo, and improve the warning message

14 years agoejabberdsql2prosody: Display a warning if a row has more columns than expected
Waqas Hussain [Sun, 26 Jul 2009 13:05:05 +0000 (18:05 +0500)]
ejabberdsql2prosody: Display a warning if a row has more columns than expected

14 years agoejabberdsql2prosody: Added support for all mysql escape sequences
Waqas Hussain [Sun, 26 Jul 2009 12:51:36 +0000 (17:51 +0500)]
ejabberdsql2prosody: Added support for all mysql escape sequences

14 years agoejabberdsql2prosody: Added support for the escape sequence '\\' in strings
Waqas Hussain [Sun, 26 Jul 2009 12:29:56 +0000 (17:29 +0500)]
ejabberdsql2prosody: Added support for the escape sequence '\\' in strings

14 years agoejabberdsql2prosody: Fixed: 'ask' value should be nil for pending-in subscriptions
Waqas Hussain [Sun, 26 Jul 2009 10:36:06 +0000 (15:36 +0500)]
ejabberdsql2prosody: Fixed: 'ask' value should be nil for pending-in subscriptions

14 years agoejabberdsql2prosody: Fixed: pending-in subscriptions could halt processing
Waqas Hussain [Sun, 26 Jul 2009 10:28:04 +0000 (15:28 +0500)]
ejabberdsql2prosody: Fixed: pending-in subscriptions could halt processing

14 years agoejabberdsql2prosody: Added support for rosters
Waqas Hussain [Sat, 25 Jul 2009 19:32:51 +0000 (00:32 +0500)]
ejabberdsql2prosody: Added support for rosters

14 years agoejabberdsql2prosody: Added a second required command line parameter: hostname
Waqas Hussain [Sat, 25 Jul 2009 18:40:33 +0000 (23:40 +0500)]
ejabberdsql2prosody: Added a second required command line parameter: hostname

14 years agoejabberdsql2prosody: Improved help message
Waqas Hussain [Sat, 25 Jul 2009 18:37:52 +0000 (23:37 +0500)]
ejabberdsql2prosody: Improved help message

14 years agoejabberdsql2prosody: Initial commit
Waqas Hussain [Sat, 25 Jul 2009 18:19:39 +0000 (23:19 +0500)]
ejabberdsql2prosody: Initial commit
 - full parser
 - only exports account data at the moment

14 years agomod_xmlrpc: Remove file and line number from XML-RPC errors
Waqas Hussain [Sat, 25 Jul 2009 14:58:24 +0000 (19:58 +0500)]
mod_xmlrpc: Remove file and line number from XML-RPC errors

14 years agomod_xmlrpc: Fixed typos
Waqas Hussain [Sat, 25 Jul 2009 14:46:17 +0000 (19:46 +0500)]
mod_xmlrpc: Fixed typos

14 years agousermanager: Reduced some code
Waqas Hussain [Sat, 25 Jul 2009 14:18:37 +0000 (19:18 +0500)]
usermanager: Reduced some code

14 years agousermanager: Removed an unnecessary check
Waqas Hussain [Sat, 25 Jul 2009 14:15:05 +0000 (19:15 +0500)]
usermanager: Removed an unnecessary check

14 years agomod_xmlrpc: Added support for secure calls by non-admins
Waqas Hussain [Sat, 25 Jul 2009 13:38:47 +0000 (18:38 +0500)]
mod_xmlrpc: Added support for secure calls by non-admins

14 years agomodulemanager: Added get_option(name, default_value) to plugin API
Waqas Hussain [Sat, 25 Jul 2009 13:37:05 +0000 (18:37 +0500)]
modulemanager: Added get_option(name, default_value) to plugin API

14 years agoSwitch to using a more generic credentials_callback/handler for SASL auth.
nick@lupine.me.uk [Fri, 24 Jul 2009 00:34:25 +0000 (01:34 +0100)]
Switch to using a more generic credentials_callback/handler for SASL auth.

Not all authentication mechanisms have the same requirements; it makes sense
to provide them only with the information they require (and for them to
depend on that) so that as many auth mechanisms as possible can be supported
with a variety of credentials-storing schemes. This commit patches that together

14 years agomod_saslauth, usermanager: Fetch list of mechanisms from usermanager
Nick Thomas [Thu, 23 Jul 2009 21:15:06 +0000 (22:15 +0100)]
mod_saslauth, usermanager: Fetch list of mechanisms from usermanager

14 years agoprosody: net_activate_ports: Check listener exists before trying to open port for it
Matthew Wild [Thu, 23 Jul 2009 20:09:25 +0000 (21:09 +0100)]
prosody: net_activate_ports: Check listener exists before trying to open port for it

14 years agoMerge with 0.5
Matthew Wild [Thu, 23 Jul 2009 11:04:41 +0000 (12:04 +0100)]
Merge with 0.5

14 years agonet.server: Fail to open port if legacy SSL requested, but SSL not available
Matthias Diene [Thu, 23 Jul 2009 11:01:00 +0000 (12:01 +0100)]
net.server: Fail to open port if legacy SSL requested, but SSL not available

14 years agoprosodyctl: Also switch group when we switch user
Matthew Wild [Thu, 23 Jul 2009 02:58:14 +0000 (03:58 +0100)]
prosodyctl: Also switch group when we switch user

14 years agopposix, mod_posix: Bump pposix version number
Matthew Wild [Thu, 23 Jul 2009 02:47:06 +0000 (03:47 +0100)]
pposix, mod_posix: Bump pposix version number

14 years agopposix: Add setgid() function
Matthew Wild [Thu, 23 Jul 2009 02:40:01 +0000 (03:40 +0100)]
pposix: Add setgid() function

14 years agonet.server: Remove listener from listeners table when calling removeserver
Matthew Wild [Thu, 23 Jul 2009 02:06:49 +0000 (03:06 +0100)]
net.server: Remove listener from listeners table when calling removeserver

14 years agoprosody: Correctly allow console ports to be changed through the config
Matthew Wild [Thu, 23 Jul 2009 01:33:10 +0000 (02:33 +0100)]
prosody: Correctly allow console ports to be changed through the config

14 years agomod_console: Set default_interface to 127.0.0.1
Matthew Wild [Thu, 23 Jul 2009 01:32:00 +0000 (02:32 +0100)]
mod_console: Set default_interface to 127.0.0.1

14 years agonet.server: Set sslctx to false when SSL wrapping fails, to avoid attempting to wrap...
Matthew Wild [Thu, 23 Jul 2009 00:57:09 +0000 (01:57 +0100)]
net.server: Set sslctx to false when SSL wrapping fails, to avoid attempting to wrap clients with a broken context

14 years agoMerge with 0.5
Matthew Wild [Thu, 23 Jul 2009 00:38:52 +0000 (01:38 +0100)]
Merge with 0.5

14 years agoejabberd2prosody, erlparse: Add support for parsing non-ASCII strings and binaries...
Sergei Golovan [Thu, 23 Jul 2009 00:38:13 +0000 (01:38 +0100)]
ejabberd2prosody, erlparse: Add support for parsing non-ASCII strings and binaries, and atoms enclosed in single quotes

14 years agoMerge with 0.5
Matthew Wild [Wed, 22 Jul 2009 20:35:58 +0000 (21:35 +0100)]
Merge with 0.5

14 years agomod_presence: Ignore presence sent to host and invalid JIDs, fixes traceback (thanks...
Matthew Wild [Wed, 22 Jul 2009 20:35:41 +0000 (21:35 +0100)]
mod_presence: Ignore presence sent to host and invalid JIDs, fixes traceback (thanks Deepspawn)

14 years agoejabberd2prosody, erlparse.lua: Convert from Windows line endings (thanks teo)
Matthew Wild [Tue, 21 Jul 2009 18:23:03 +0000 (19:23 +0100)]
ejabberd2prosody, erlparse.lua: Convert from Windows line endings (thanks teo)

14 years agonet.server: Continue to initialise port listener even when SSL errors occur
Matthias Diener [Thu, 23 Jul 2009 00:29:41 +0000 (01:29 +0100)]
net.server: Continue to initialise port listener even when SSL errors occur

14 years agoejabberd2prosody, erlparse.lua: Convert from Windows line endings (thanks teo)
Matthew Wild [Tue, 21 Jul 2009 18:23:03 +0000 (19:23 +0100)]
ejabberd2prosody, erlparse.lua: Convert from Windows line endings (thanks teo)

14 years agoMerge with 0.5
Matthew Wild [Tue, 21 Jul 2009 12:22:48 +0000 (13:22 +0100)]
Merge with 0.5

14 years agopposix: Change LOG_EMERG -> LOG_CRIT, which makes more sense, thanks to intosi for...
Matthew Wild [Tue, 21 Jul 2009 12:21:52 +0000 (13:21 +0100)]
pposix: Change LOG_EMERG -> LOG_CRIT, which makes more sense, thanks to intosi for reporting and an initial patch

14 years agomod_muc: Set correct 'from' JID when sending the room subject to joiners, fixes a...
Matthew Wild [Tue, 21 Jul 2009 12:19:37 +0000 (13:19 +0100)]
mod_muc: Set correct 'from' JID when sending the room subject to joiners, fixes a traceback

14 years agoTagging 0.5.0
Matthew Wild [Mon, 20 Jul 2009 13:59:51 +0000 (14:59 +0100)]
Tagging 0.5.0

14 years agomod_muc: Expose rooms table to the host and plugins
Matthew Wild [Mon, 20 Jul 2009 04:27:59 +0000 (05:27 +0100)]
mod_muc: Expose rooms table to the host and plugins

14 years agoprosody: Send friendly text with system-shutdown stream error
Matthew Wild [Sat, 18 Jul 2009 17:51:04 +0000 (18:51 +0100)]
prosody: Send friendly text with system-shutdown stream error

14 years agoxmppclient_listener: Use error text as disconnect reason if there is any
Matthew Wild [Sat, 18 Jul 2009 17:49:54 +0000 (18:49 +0100)]
xmppclient_listener: Use error text as disconnect reason if there is any

14 years agomod_console: Add server:shutdown() command
Matthew Wild [Sat, 18 Jul 2009 17:37:06 +0000 (18:37 +0100)]
mod_console: Add server:shutdown() command