prosody.git
14 years agoMerge waqas with Tobias. Eww.
Matthew Wild [Tue, 18 Aug 2009 12:03:35 +0000 (13:03 +0100)]
Merge waqas with Tobias. Eww.

14 years agoRemoved util/discohelper.lua
Waqas Hussain [Tue, 18 Aug 2009 07:58:34 +0000 (12:58 +0500)]
Removed util/discohelper.lua

14 years agoRemoved core/discomanager.lua
Waqas Hussain [Tue, 18 Aug 2009 07:57:00 +0000 (12:57 +0500)]
Removed core/discomanager.lua

14 years agomodulemanager: Removed unused variables and reference to core.discomanager
Waqas Hussain [Tue, 18 Aug 2009 07:55:37 +0000 (12:55 +0500)]
modulemanager: Removed unused variables and reference to core.discomanager

14 years agomodulemanager: Removed unnecessary code in the unload function
Waqas Hussain [Tue, 18 Aug 2009 07:54:16 +0000 (12:54 +0500)]
modulemanager: Removed unnecessary code in the unload function

14 years agomodulemanager: Removed legacy disco#items hook
Waqas Hussain [Tue, 18 Aug 2009 07:52:44 +0000 (12:52 +0500)]
modulemanager: Removed legacy disco#items hook

14 years agomodulemanager: add_feature and add_identity APIs updated to use only the add_item API
Waqas Hussain [Tue, 18 Aug 2009 07:51:14 +0000 (12:51 +0500)]
modulemanager: add_feature and add_identity APIs updated to use only the add_item API

14 years agocomponentmanager: Removed disco#items hook, and reference to core.discomanager
Waqas Hussain [Tue, 18 Aug 2009 07:47:37 +0000 (12:47 +0500)]
componentmanager: Removed disco#items hook, and reference to core.discomanager

14 years agomod_disco: Rearranged some lines, and added a FIXME comment
Waqas Hussain [Tue, 18 Aug 2009 07:44:42 +0000 (12:44 +0500)]
mod_disco: Rearranged some lines, and added a FIXME comment

14 years agomod_disco: Removed reference to core.discomanager
Waqas Hussain [Tue, 18 Aug 2009 07:43:21 +0000 (12:43 +0500)]
mod_disco: Removed reference to core.discomanager

14 years agomod_disco: Removed legacy IQ hooks
Waqas Hussain [Tue, 18 Aug 2009 07:42:56 +0000 (12:42 +0500)]
mod_disco: Removed legacy IQ hooks

14 years agomod_disco: Handle disco#items queries using new APIs
Waqas Hussain [Tue, 18 Aug 2009 07:39:00 +0000 (12:39 +0500)]
mod_disco: Handle disco#items queries using new APIs

14 years agomod_disco: Added identity server/im with name 'Prosody'
Waqas Hussain [Tue, 18 Aug 2009 07:38:28 +0000 (12:38 +0500)]
mod_disco: Added identity server/im with name 'Prosody'

14 years agomod_disco: Handle disco#info queries using new APIs
Waqas Hussain [Tue, 18 Aug 2009 07:37:40 +0000 (12:37 +0500)]
mod_disco: Handle disco#info queries using new APIs

14 years agomodulemanager: Added module API function to get all items for a given host based...
Waqas Hussain [Tue, 18 Aug 2009 07:35:42 +0000 (12:35 +0500)]
modulemanager: Added module API function to get all items for a given host based on a key

14 years agomodulemanager: Module API functions add_item and add_feature updated to use the add_i...
Waqas Hussain [Tue, 18 Aug 2009 07:34:59 +0000 (12:34 +0500)]
modulemanager: Module API functions add_item and add_feature updated to use the add_item API

14 years agomod_pep: Added name 'Prosody' to the pubsub/pep identity
Waqas Hussain [Tue, 18 Aug 2009 07:33:43 +0000 (12:33 +0500)]
mod_pep: Added name 'Prosody' to the pubsub/pep identity

14 years agomodulemanager: Changed the add_identity module API to accept an optional name paramet...
Waqas Hussain [Tue, 18 Aug 2009 07:32:38 +0000 (12:32 +0500)]
modulemanager: Changed the add_identity module API to accept an optional name parameter (the 'name' attribute for the <identity/> element)

14 years agoAdded: functions add_item and remove_item to add and remove items to the module API
Waqas Hussain [Tue, 18 Aug 2009 07:30:06 +0000 (12:30 +0500)]
Added: functions add_item and remove_item to add and remove items to the module API

14 years agocomponentmanager: Added function to get a list of children for a given hostname
Waqas Hussain [Tue, 18 Aug 2009 07:25:59 +0000 (12:25 +0500)]
componentmanager: Added function to get a list of children for a given hostname

14 years agocore.s2smanager, xmppserver_listener: Move the responsibility of setting session...
Matthew Wild [Sun, 16 Aug 2009 20:41:53 +0000 (21:41 +0100)]
core.s2smanager, xmppserver_listener: Move the responsibility of setting session.log from the latter to the former for incoming sessions (outgoing are already like this)

14 years agoxmppclient_listener: Remove useless comment
Matthew Wild [Sun, 16 Aug 2009 20:37:47 +0000 (21:37 +0100)]
xmppclient_listener: Remove useless comment

14 years agocore.sessionmanager, xmppclient_listener: Move responsibility for setting session...
Matthew Wild [Sun, 16 Aug 2009 20:34:53 +0000 (21:34 +0100)]
core.sessionmanager, xmppclient_listener: Move responsibility for setting session.log to the former from the latter, much more sensible

14 years agonet.server: Comment all calls to mem_free/collectgarbage... not really suitable for...
Matthew Wild [Sun, 16 Aug 2009 20:32:10 +0000 (21:32 +0100)]
net.server: Comment all calls to mem_free/collectgarbage... not really suitable for a realtime server, let's trust Lua's GC - it's good.

14 years agoShutdown prosody if changing user or group fails.
Tobias Markmann [Sat, 15 Aug 2009 10:30:43 +0000 (12:30 +0200)]
Shutdown prosody if changing user or group fails.

14 years agoMake mod_posix not complain about root user, if setuid is set to something different...
Tobias Markmann [Sat, 15 Aug 2009 10:19:07 +0000 (12:19 +0200)]
Make mod_posix not complain about root user, if setuid is set to something different as root.

14 years agoAdd setuid and setgid support.
Tobias Markmann [Sat, 15 Aug 2009 10:17:27 +0000 (12:17 +0200)]
Add setuid and setgid support.

14 years agomod_register: Updated to use module:get_option instead of configmanager
Waqas Hussain [Thu, 13 Aug 2009 12:21:44 +0000 (17:21 +0500)]
mod_register: Updated to use module:get_option instead of configmanager

14 years agoRemove print which was used for debugging purposes.
Tobias Markmann [Thu, 13 Aug 2009 11:58:49 +0000 (13:58 +0200)]
Remove print which was used for debugging purposes.

14 years agomod_posix: Updated to use module:get_option instead of configmanager
Waqas Hussain [Thu, 13 Aug 2009 11:55:44 +0000 (16:55 +0500)]
mod_posix: Updated to use module:get_option instead of configmanager

14 years agomod_legacyauth: Added a FIXME
Waqas Hussain [Thu, 13 Aug 2009 11:53:18 +0000 (16:53 +0500)]
mod_legacyauth: Added a FIXME

14 years agomod_legacyauth: Refactored a bit
Waqas Hussain [Thu, 13 Aug 2009 11:51:35 +0000 (16:51 +0500)]
mod_legacyauth: Refactored a bit

14 years agomod_legacyauth: Updated to use module:get_option instead of configmanager
Waqas Hussain [Thu, 13 Aug 2009 11:46:08 +0000 (16:46 +0500)]
mod_legacyauth: Updated to use module:get_option instead of configmanager

14 years agomod_legacyauth: Removed useless 'require' call on every login attempt
Waqas Hussain [Thu, 13 Aug 2009 11:45:47 +0000 (16:45 +0500)]
mod_legacyauth: Removed useless 'require' call on every login attempt

14 years agoUsing pcall to make save the rest from zlib fails. Emit errors on those fails.
Tobias Markmann [Thu, 13 Aug 2009 11:20:32 +0000 (13:20 +0200)]
Using pcall to make save the rest from zlib fails. Emit errors on those fails.

14 years agoForgot to use the configured compression_level. Now it's used.
Tobias Markmann [Thu, 13 Aug 2009 10:05:33 +0000 (12:05 +0200)]
Forgot to use the configured compression_level. Now it's used.

14 years agoAdd config option handling.
Tobias Markmann [Thu, 13 Aug 2009 09:56:22 +0000 (11:56 +0200)]
Add config option handling.

14 years agoAnother unwanted spaces at the end of a line.
Tobias Markmann [Thu, 13 Aug 2009 09:35:50 +0000 (11:35 +0200)]
Another unwanted spaces at the end of a line.

14 years agoAdd a TODO for s2s compression support.
Tobias Markmann [Thu, 13 Aug 2009 08:57:56 +0000 (10:57 +0200)]
Add a TODO for s2s compression support.

14 years agoRemove space at the end of a line.
Tobias Markmann [Thu, 13 Aug 2009 08:21:32 +0000 (10:21 +0200)]
Remove space at the end of a line.

14 years agoAdd FIXME to remember TLS compression detection.
Tobias Markmann [Thu, 13 Aug 2009 08:19:33 +0000 (10:19 +0200)]
Add FIXME to remember TLS compression detection.

14 years agoActually inject de- and compression into the reading/writing functions.
Tobias Markmann [Thu, 13 Aug 2009 07:34:27 +0000 (09:34 +0200)]
Actually inject de- and compression into the reading/writing functions.

14 years agoRemove unwanted spaces.
Tobias Markmann [Wed, 12 Aug 2009 18:09:07 +0000 (20:09 +0200)]
Remove unwanted spaces.

14 years agoCommit initial version of mod_compression.
Tobias Markmann [Wed, 12 Aug 2009 18:05:05 +0000 (20:05 +0200)]
Commit initial version of mod_compression.

14 years agoRemoving tabs at the end of a line.
Tobias Markmann [Wed, 12 Aug 2009 18:03:58 +0000 (20:03 +0200)]
Removing tabs at the end of a line.

14 years agomod_httpserver: Set default file handler (you can now request static files as /*...
Matthew Wild [Tue, 11 Aug 2009 20:33:24 +0000 (21:33 +0100)]
mod_httpserver: Set default file handler (you can now request static files as /*) and restructure code a bit

14 years agonet.httpserver: Allow overriding default request handler
Matthew Wild [Tue, 11 Aug 2009 19:49:19 +0000 (20:49 +0100)]
net.httpserver: Allow overriding default request handler

14 years agomod_bosh: Strip BOSH namespace from stanzas to allow for some clients which may send...
Matthew Wild [Tue, 11 Aug 2009 19:38:48 +0000 (20:38 +0100)]
mod_bosh: Strip BOSH namespace from stanzas to allow for some clients which may send them without the correct xmlns

14 years agomod_bosh: Calculate rid difference just once
Matthew Wild [Tue, 11 Aug 2009 19:15:54 +0000 (20:15 +0100)]
mod_bosh: Calculate rid difference just once

14 years agomod_bosh: Basic handling of rids (more to come)
Matthew Wild [Tue, 11 Aug 2009 18:52:09 +0000 (19:52 +0100)]
mod_bosh: Basic handling of rids (more to come)

14 years agomod_bosh: Correct reply when closing sessions
Matthew Wild [Tue, 11 Aug 2009 18:48:41 +0000 (19:48 +0100)]
mod_bosh: Correct reply when closing sessions

14 years agonet.httpserver: Don't log response bodies!
Matthew Wild [Tue, 11 Aug 2009 18:40:38 +0000 (19:40 +0100)]
net.httpserver: Don't log response bodies!

14 years agoutil.iterators: Add tail() iterator, to return the last n items
Matthew Wild [Mon, 10 Aug 2009 14:46:34 +0000 (15:46 +0100)]
util.iterators: Add tail() iterator, to return the last n items

14 years agoutil.iterators: Add head() iterator, to return the first n items
Matthew Wild [Mon, 10 Aug 2009 14:07:32 +0000 (15:07 +0100)]
util.iterators: Add head() iterator, to return the first n items

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