prosody.git
14 years agoprosodyctl.man: Update email address
Dwayne Bent [Mon, 22 Feb 2010 00:27:42 +0000 (19:27 -0500)]
prosodyctl.man: Update email address

14 years agomod_console: Uncomment the help for server:shutdown() - thanks darkrain
Matthew Wild [Mon, 22 Feb 2010 01:02:16 +0000 (01:02 +0000)]
mod_console: Uncomment the help for server:shutdown() - thanks darkrain

14 years agoejabberd2prosody: Don't print passwords of imported accounts
Matthew Wild [Sun, 21 Feb 2010 16:57:06 +0000 (16:57 +0000)]
ejabberd2prosody: Don't print passwords of imported accounts

14 years agoejabberdsql2prosody: Don't print password of imported accounts (thanks azerttyu)
Matthew Wild [Sun, 21 Feb 2010 16:42:26 +0000 (16:42 +0000)]
ejabberdsql2prosody: Don't print password of imported accounts (thanks azerttyu)

14 years agomod_debug: Obsoleted by mod_console
Matthew Wild [Sat, 20 Feb 2010 00:52:28 +0000 (00:52 +0000)]
mod_debug: Obsoleted by mod_console

14 years agomod_selftests: Obsolete, remove
Matthew Wild [Sat, 20 Feb 2010 00:52:13 +0000 (00:52 +0000)]
mod_selftests: Obsolete, remove

14 years agomod_offline: Remove from 0.7 (offline messages are handled in core at the moment)
Matthew Wild [Sat, 20 Feb 2010 00:12:32 +0000 (00:12 +0000)]
mod_offline: Remove from 0.7 (offline messages are handled in core at the moment)

14 years agoMUC: Allow role changes based on JIDs.
Waqas Hussain [Thu, 18 Feb 2010 09:28:52 +0000 (14:28 +0500)]
MUC: Allow role changes based on JIDs.
(transplanted from a4879b1e6cde5aedb6bd5827d710b6dba5e8a736)

14 years agomod_presence: Reflect the user's own presence back to them.
Waqas Hussain [Sun, 14 Feb 2010 23:15:37 +0000 (04:15 +0500)]
mod_presence: Reflect the user's own presence back to them.

14 years agoconfigmanager: Remove debugging code accidentally committed
Matthew Wild [Sun, 14 Feb 2010 20:37:49 +0000 (20:37 +0000)]
configmanager: Remove debugging code accidentally committed

14 years agoconfigmanager: Error when a component and host clash hostnames
Matthew Wild [Sun, 14 Feb 2010 18:41:44 +0000 (18:41 +0000)]
configmanager: Error when a component and host clash hostnames

14 years agomod_saslauth: Don't print raw SASL data to avoid logging passwords unnecessarily
Matthew Wild [Sat, 13 Feb 2010 19:35:12 +0000 (19:35 +0000)]
mod_saslauth: Don't print raw SASL data to avoid logging passwords unnecessarily

14 years agoprosody: More accurate friendly error message in the event that creating the global...
Matthew Wild [Sat, 13 Feb 2010 16:22:05 +0000 (16:22 +0000)]
prosody: More accurate friendly error message in the event that creating the global SSL context fails

14 years agosessionmanager, s2smanager: Fix for syntax of null_data_handler() (thanks Nolan)
Matthew Wild [Fri, 12 Feb 2010 17:27:53 +0000 (17:27 +0000)]
sessionmanager, s2smanager: Fix for syntax of null_data_handler() (thanks Nolan)

14 years agosessionmanager, s2smanager: Give sessions dummy data handlers that log when data...
Matthew Wild [Fri, 12 Feb 2010 17:14:54 +0000 (17:14 +0000)]
sessionmanager, s2smanager: Give sessions dummy data handlers that log when data is received by a destroyed session

14 years agonet.dns: Normalize records before placing them in the cache, fixes issues with CNAME...
Matthew Wild [Fri, 12 Feb 2010 15:05:48 +0000 (15:05 +0000)]
net.dns: Normalize records before placing them in the cache, fixes issues with CNAME targets in CAPS (fixes #161)

14 years agohostmanager: Log an error if no hosts are defined
Matthew Wild [Fri, 12 Feb 2010 12:43:50 +0000 (12:43 +0000)]
hostmanager: Log an error if no hosts are defined

14 years agomod_tls: Fixed an extra :up() in s2s stream feature generation.
Waqas Hussain [Thu, 11 Feb 2010 22:14:53 +0000 (03:14 +0500)]
mod_tls: Fixed an extra :up() in s2s stream feature generation.

14 years agomod_tls: Respond with proper error when TLS cannot be negotiated.
Waqas Hussain [Thu, 11 Feb 2010 21:39:50 +0000 (02:39 +0500)]
mod_tls: Respond with proper error when TLS cannot be negotiated.

14 years agomod_presence: Don't depend on user being online when calculating top resources.
Waqas Hussain [Thu, 11 Feb 2010 19:55:06 +0000 (00:55 +0500)]
mod_presence: Don't depend on user being online when calculating top resources.

14 years agomod_presence: Don't depend on sessions array existing for a user when handling outgoi...
Waqas Hussain [Thu, 11 Feb 2010 19:54:14 +0000 (00:54 +0500)]
mod_presence: Don't depend on sessions array existing for a user when handling outgoing presence broadcast.

14 years agoutil.encodings: Use STD3 ASCII rules for idna.to_ascii.
Waqas Hussain [Tue, 9 Feb 2010 19:12:48 +0000 (00:12 +0500)]
util.encodings: Use STD3 ASCII rules for idna.to_ascii.

14 years agoprosody: Add a catch-all friendly message for when any port is in use we want to use
Matthew Wild [Fri, 5 Feb 2010 15:05:39 +0000 (15:05 +0000)]
prosody: Add a catch-all friendly message for when any port is in use we want to use

14 years agoutil.stanza: stanza.error_reply(): Fix to put the correct namespace on <text>
Matthew Wild [Sun, 31 Jan 2010 19:27:52 +0000 (19:27 +0000)]
util.stanza: stanza.error_reply(): Fix to put the correct namespace on <text>

14 years agoprosody: Show friendly error when no config present for legacy SSL ports
Matthew Wild [Sun, 31 Jan 2010 17:15:35 +0000 (17:15 +0000)]
prosody: Show friendly error when no config present for legacy SSL ports

14 years agoprosody: Log error message when failing to open ports
Matthew Wild [Sun, 31 Jan 2010 16:40:47 +0000 (16:40 +0000)]
prosody: Log error message when failing to open ports

14 years agoMUC: muc.lib.lua: Fix the sending of the occupant JID instead of the nick in role...
Matthew Wild [Sat, 30 Jan 2010 18:51:07 +0000 (18:51 +0000)]
MUC: muc.lib.lua: Fix the sending of the occupant JID instead of the nick in role lists and presence broadcasts after role changes (thanks teo)

14 years agomod_presence: Quick fix to make probes from local users to local hosts work.
Waqas Hussain [Fri, 29 Jan 2010 16:08:18 +0000 (21:08 +0500)]
mod_presence: Quick fix to make probes from local users to local hosts work.

14 years agomod_presence: Added handler for presence subscriptions and probes to local hosts.
Waqas Hussain [Fri, 29 Jan 2010 16:06:51 +0000 (21:06 +0500)]
mod_presence: Added handler for presence subscriptions and probes to local hosts.

14 years agostanza_router: Added third parameter to core_post_stanza, to control pre-events.
Waqas Hussain [Fri, 29 Jan 2010 16:04:36 +0000 (21:04 +0500)]
stanza_router: Added third parameter to core_post_stanza, to control pre-events.

14 years agomod_presence: Respond with an unavailable presence when subscribers probe and no...
Waqas Hussain [Fri, 29 Jan 2010 13:16:39 +0000 (18:16 +0500)]
mod_presence: Respond with an unavailable presence when subscribers probe and no resources are available.

14 years agoprosody: Listen for component connections on port 5347 by default.
Waqas Hussain [Sun, 24 Jan 2010 00:35:21 +0000 (05:35 +0500)]
prosody: Listen for component connections on port 5347 by default.

14 years agomod_component: Fix name of config option in error message (thanks nulani!)
Matthew Wild [Sat, 23 Jan 2010 02:53:44 +0000 (02:53 +0000)]
mod_component: Fix name of config option in error message (thanks nulani!)

14 years agoutil.dataforms: Add optional type parameters (defaults to 'form')
Matthew Wild [Fri, 22 Jan 2010 14:58:31 +0000 (14:58 +0000)]
util.dataforms: Add optional type parameters (defaults to 'form')

14 years agonet.httpserver: More robust handling of headers split across multiple packets
Matthew Wild [Thu, 21 Jan 2010 14:53:01 +0000 (14:53 +0000)]
net.httpserver: More robust handling of headers split across multiple packets

14 years agonet.httpserver: Make it possible to return responses with no body
Matthew Wild [Thu, 21 Jan 2010 13:14:52 +0000 (13:14 +0000)]
net.httpserver: Make it possible to return responses with no body

14 years agonet.httpserver: Close connection on invalid HTTP status line
Matthew Wild [Thu, 21 Jan 2010 13:10:13 +0000 (13:10 +0000)]
net.httpserver: Close connection on invalid HTTP status line

14 years agomod_presence: Automatically deny presence requests for hosts, fixes traceback in...
Matthew Wild [Mon, 18 Jan 2010 17:14:41 +0000 (17:14 +0000)]
mod_presence: Automatically deny presence requests for hosts, fixes traceback in #153

14 years agostanza_router: Log the name of unhandled stanzas (thanks bear)
Matthew Wild [Mon, 18 Jan 2010 16:31:57 +0000 (16:31 +0000)]
stanza_router: Log the name of unhandled stanzas (thanks bear)

14 years agosessionmanager: Added resource prepping, and invalid resource checking to the bind_re...
Waqas Hussain [Mon, 11 Jan 2010 13:59:06 +0000 (18:59 +0500)]
sessionmanager: Added resource prepping, and invalid resource checking to the bind_resource function.

14 years agomod_register: Return a <not-acceptable/> error on empty usernames (thanks Neustradamus).
Waqas Hussain [Mon, 11 Jan 2010 12:52:28 +0000 (17:52 +0500)]
mod_register: Return a <not-acceptable/> error on empty usernames (thanks Neustradamus).

14 years agoutil.pposix: Fix return type of lc_abort to shush compiler warning
Matthew Wild [Sun, 10 Jan 2010 20:21:48 +0000 (20:21 +0000)]
util.pposix: Fix return type of lc_abort to shush compiler warning

14 years agoprosody.cfg.lua.dist: Remove lie about requiring console_enabled
Matthew Wild [Fri, 1 Jan 2010 03:32:26 +0000 (03:32 +0000)]
prosody.cfg.lua.dist: Remove lie about requiring console_enabled

14 years agomodulemanager: Fire item-removed events on module unload.
Waqas Hussain [Wed, 9 Dec 2009 22:02:04 +0000 (03:02 +0500)]
modulemanager: Fire item-removed events on module unload.

14 years agoprosody: Call tostring on the key being used for nil global read before concatenating...
Waqas Hussain [Wed, 9 Dec 2009 21:50:23 +0000 (02:50 +0500)]
prosody: Call tostring on the key being used for nil global read before concatenating it with a string.

14 years agoprosody: Log a warning and traceback, but don't throw an error on nil global read.
Waqas Hussain [Wed, 9 Dec 2009 21:47:13 +0000 (02:47 +0500)]
prosody: Log a warning and traceback, but don't throw an error on nil global read.

14 years agoMainfile: Broke up a really long line.
Waqas Hussain [Wed, 9 Dec 2009 20:56:16 +0000 (01:56 +0500)]
Mainfile: Broke up a really long line.

14 years agomod_pep: Support item retrieval use cases
Paul Aurich [Sat, 5 Dec 2009 18:26:43 +0000 (10:26 -0800)]
mod_pep: Support item retrieval use cases

14 years agomod_pep: Allow storage of urn:xmpp:avatar:data node (payload only with base64 data)
Paul Aurich [Sat, 5 Dec 2009 17:43:53 +0000 (09:43 -0800)]
mod_pep: Allow storage of urn:xmpp:avatar:data node (payload only with base64 data)

14 years agoutil.stanza: Add stanza:get_child(name, xmlns) to find a child tag given a name/xmlns
Matthew Wild [Mon, 30 Nov 2009 16:39:27 +0000 (16:39 +0000)]
util.stanza: Add stanza:get_child(name, xmlns) to find a child tag given a name/xmlns

14 years agotests: Add tests for util.jid.join()
Matthew Wild [Fri, 27 Nov 2009 17:41:52 +0000 (17:41 +0000)]
tests: Add tests for util.jid.join()

14 years agoutil.jid: Add join(node, host, resource) function to join the components and return...
Matthew Wild [Fri, 27 Nov 2009 17:33:55 +0000 (17:33 +0000)]
util.jid: Add join(node, host, resource) function to join the components and return nil if invalid

14 years agoMUC: Only allow moderators to change the room subject.
Waqas Hussain [Wed, 25 Nov 2009 17:00:33 +0000 (22:00 +0500)]
MUC: Only allow moderators to change the room subject.

14 years agoMUC: Prevent visitors from broadcasting messages.
Waqas Hussain [Wed, 25 Nov 2009 16:42:05 +0000 (21:42 +0500)]
MUC: Prevent visitors from broadcasting messages.

14 years agoMUC: Improved handling of incoming groupchat messages (state preserved for possible...
Waqas Hussain [Wed, 25 Nov 2009 16:40:44 +0000 (21:40 +0500)]
MUC: Improved handling of incoming groupchat messages (state preserved for possible later use).

14 years agocore.sessionmanager, net.*_listener: Remove the evil collectgarbage() calls
Matthew Wild [Tue, 24 Nov 2009 20:34:22 +0000 (20:34 +0000)]
core.sessionmanager, net.*_listener: Remove the evil collectgarbage() calls

14 years agoutil.dependencies: Make the commands line up properly in the "missing dependency...
Matthew Wild [Mon, 23 Nov 2009 02:58:42 +0000 (02:58 +0000)]
util.dependencies: Make the commands line up properly in the "missing dependency" output. Yes, this was the commit you didn't know you were waiting for!

14 years agomod_bosh: Don't log response XML
Matthew Wild [Sat, 21 Nov 2009 13:15:46 +0000 (13:15 +0000)]
mod_bosh: Don't log response XML

14 years agotests/test_core_s2smanager.lua: Fix to compare SRV weights correctly
Matthew Wild [Thu, 25 Feb 2010 17:54:23 +0000 (17:54 +0000)]
tests/test_core_s2smanager.lua: Fix to compare SRV weights correctly

14 years agos2smanager: Log and fail gracefully when unable to create socket for outgoing s2s...
Matthew Wild [Thu, 25 Feb 2010 17:53:27 +0000 (17:53 +0000)]
s2smanager: Log and fail gracefully when unable to create socket for outgoing s2s connection (thanks foucault)

14 years agos2smanager: Fix for the logic SRV record priority comparison (thanks darkrain)
Matthew Wild [Thu, 25 Feb 2010 17:52:33 +0000 (17:52 +0000)]
s2smanager: Fix for the logic SRV record priority comparison (thanks darkrain)

14 years agonet.adns: Trailing whitespace
Matthew Wild [Wed, 20 Jan 2010 02:44:38 +0000 (02:44 +0000)]
net.adns: Trailing whitespace

14 years agomod_vcard: Stricter matching of vcard stanzas with vcard_compatibility enabled, fixes...
Matthew Wild [Wed, 9 Dec 2009 13:19:50 +0000 (13:19 +0000)]
mod_vcard: Stricter matching of vcard stanzas with vcard_compatibility enabled, fixes intercepting stanzas to the full JID that it shouldn't

14 years agoutil.dependencies: Fix package name of LuaFilesystem
Matthew Wild [Wed, 2 Dec 2009 22:13:31 +0000 (22:13 +0000)]
util.dependencies: Fix package name of LuaFilesystem

14 years agoMerge with Tobias
Matthew Wild [Wed, 2 Dec 2009 20:35:31 +0000 (20:35 +0000)]
Merge with Tobias

14 years agoMerge with Tobias
Matthew Wild [Wed, 2 Dec 2009 20:33:09 +0000 (20:33 +0000)]
Merge with Tobias

14 years agomodulemanager, net.dns: Remove trailing whitespace
Matthew Wild [Wed, 2 Dec 2009 20:32:44 +0000 (20:32 +0000)]
modulemanager, net.dns: Remove trailing whitespace

14 years agoprosodyctl: Experimental 'addplugin' command
Matthew Wild [Wed, 2 Dec 2009 20:31:54 +0000 (20:31 +0000)]
prosodyctl: Experimental 'addplugin' command

14 years agoutil.pluginloader: Support for fetching plugins from the data store
Matthew Wild [Wed, 2 Dec 2009 18:05:03 +0000 (18:05 +0000)]
util.pluginloader: Support for fetching plugins from the data store

14 years agonet.httpserver: Fix to work with new server API
Matthew Wild [Wed, 2 Dec 2009 18:03:10 +0000 (18:03 +0000)]
net.httpserver: Fix to work with new server API

14 years agonet.httpserver: Quick fix to set the correct Content-Type on simple (string) response...
Matthew Wild [Wed, 2 Dec 2009 18:02:47 +0000 (18:02 +0000)]
net.httpserver: Quick fix to set the correct Content-Type on simple (string) responses, for a few known types

14 years agomod_console: Show compression status on s2s:show() output.
Tobias Markmann [Tue, 1 Dec 2009 22:23:51 +0000 (23:23 +0100)]
mod_console: Show compression status on s2s:show() output.

14 years agoMerge with tip.
Tobias Markmann [Tue, 1 Dec 2009 22:05:32 +0000 (23:05 +0100)]
Merge with tip.

14 years agomod_proxy65: Remove trailing whitespace
Matthew Wild [Tue, 1 Dec 2009 20:18:47 +0000 (20:18 +0000)]
mod_proxy65: Remove trailing whitespace

14 years agomod_compression: Removing trailing whitespace.
Tobias Markmann [Tue, 1 Dec 2009 20:17:13 +0000 (21:17 +0100)]
mod_compression: Removing trailing whitespace.

14 years agomod_proxy65: Fix log:module -> module:log :)
Matthew Wild [Tue, 1 Dec 2009 20:07:07 +0000 (20:07 +0000)]
mod_proxy65: Fix log:module -> module:log :)

14 years agomod_compression: Declaring the de-/compression pipes as local.
Tobias Markmann [Tue, 1 Dec 2009 20:04:02 +0000 (21:04 +0100)]
mod_compression: Declaring the de-/compression pipes as local.

14 years agomod_compression: Some comment clean up.
Tobias Markmann [Tue, 1 Dec 2009 19:59:42 +0000 (20:59 +0100)]
mod_compression: Some comment clean up.

14 years agoMerge with trunk
Matthew Wild [Tue, 1 Dec 2009 19:57:54 +0000 (19:57 +0000)]
Merge with trunk

14 years agomodulemanager: Fire events module-loaded and module-unloaded, both receive a table...
Matthew Wild [Tue, 1 Dec 2009 19:57:33 +0000 (19:57 +0000)]
modulemanager: Fire events module-loaded and module-unloaded, both receive a table with 'module' and 'host' fields, thanks bjc

14 years agoMerge with tip.
Tobias Markmann [Tue, 1 Dec 2009 19:55:32 +0000 (20:55 +0100)]
Merge with tip.

14 years agoutil.sasl.plain: Allow empty authzid (thanks bjc).
Waqas Hussain [Tue, 1 Dec 2009 17:32:37 +0000 (22:32 +0500)]
util.sasl.plain: Allow empty authzid (thanks bjc).

14 years agomod_compression: Removing forgotten debugging output.
Tobias Markmann [Mon, 30 Nov 2009 23:21:32 +0000 (00:21 +0100)]
mod_compression: Removing forgotten debugging output.

14 years agomod_compression: Define db (dialback) namespace in stream header.
Tobias Markmann [Mon, 30 Nov 2009 23:10:47 +0000 (00:10 +0100)]
mod_compression: Define db (dialback) namespace in stream header.

14 years agoMerge with tip.
Tobias Markmann [Mon, 30 Nov 2009 22:25:10 +0000 (23:25 +0100)]
Merge with tip.

14 years agomod_compression: Enabeling compression for outgoing s2s streams.
Tobias Markmann [Mon, 30 Nov 2009 22:23:42 +0000 (23:23 +0100)]
mod_compression: Enabeling compression for outgoing s2s streams.

14 years agoutil.hmac: Optimized.
Waqas Hussain [Mon, 30 Nov 2009 21:23:48 +0000 (02:23 +0500)]
util.hmac: Optimized.

14 years agoutil.sasl.scram: Optimized binaryXOR.
Waqas Hussain [Mon, 30 Nov 2009 20:45:56 +0000 (01:45 +0500)]
util.sasl.scram: Optimized binaryXOR.

14 years agoutil.sasl.scram: Fixed a variable redeclaration.
Waqas Hussain [Mon, 30 Nov 2009 20:41:31 +0000 (01:41 +0500)]
util.sasl.scram: Fixed a variable redeclaration.

14 years agoutil.sasl.scram: Making =2D and =3D substitution actually work.
Tobias Markmann [Mon, 30 Nov 2009 19:53:25 +0000 (20:53 +0100)]
util.sasl.scram: Making =2D and =3D substitution actually work.

14 years agoutil.stanza: Add stanza:get_child(name, xmlns) to find a child tag given a name/xmlns
Matthew Wild [Mon, 30 Nov 2009 16:39:27 +0000 (16:39 +0000)]
util.stanza: Add stanza:get_child(name, xmlns) to find a child tag given a name/xmlns

14 years agomod_compression: Some further refactoring.
Tobias Markmann [Sun, 29 Nov 2009 22:43:12 +0000 (23:43 +0100)]
mod_compression: Some further refactoring.

14 years agomod_compression: Make setup_compression work for s2s sessions too.
Tobias Markmann [Sun, 29 Nov 2009 22:04:19 +0000 (23:04 +0100)]
mod_compression: Make setup_compression work for s2s sessions too.

14 years agomod_compression: Moving compression setup in a dedicated function.
Tobias Markmann [Sun, 29 Nov 2009 21:18:06 +0000 (22:18 +0100)]
mod_compression: Moving compression setup in a dedicated function.

14 years agomod_compression: Prepare activating of compression on s2s.
Tobias Markmann [Sun, 29 Nov 2009 21:02:21 +0000 (22:02 +0100)]
mod_compression: Prepare activating of compression on s2s.

14 years agoMerge with tip.
Tobias Markmann [Sun, 29 Nov 2009 20:33:37 +0000 (21:33 +0100)]
Merge with tip.

14 years agoEnable one way stream compression on s2s links.
Tobias Markmann [Sun, 29 Nov 2009 20:32:39 +0000 (21:32 +0100)]
Enable one way stream compression on s2s links.

14 years agoutil.sasl.plain: A little refactoring.
Waqas Hussain [Sun, 29 Nov 2009 13:30:33 +0000 (18:30 +0500)]
util.sasl.plain: A little refactoring.

14 years agoMerge with 0.6.
Waqas Hussain [Sun, 29 Nov 2009 13:29:19 +0000 (18:29 +0500)]
Merge with 0.6.

14 years agoutil.sasl.digest-md5: Fixing some variable access.
Tobias Markmann [Sat, 28 Nov 2009 17:58:58 +0000 (18:58 +0100)]
util.sasl.digest-md5: Fixing some variable access.