prosody.git
14 years agoFix for Makefile hack to install MUC plugin
matthew@silver [Tue, 8 Sep 2009 13:38:51 +0000 (14:38 +0100)]
Fix for Makefile hack to install MUC plugin

14 years agoUpdated the Makefile to work with the MUC plugin folder.
Waqas Hussain [Tue, 8 Sep 2009 00:41:33 +0000 (05:41 +0500)]
Updated the Makefile to work with the MUC plugin folder.

14 years agoMerged with Tobias
Waqas Hussain [Mon, 7 Sep 2009 18:28:25 +0000 (23:28 +0500)]
Merged with Tobias

14 years agoMUC: Fixed traceback on unauthorized access of the room configuration form.
Waqas Hussain [Mon, 7 Sep 2009 15:55:57 +0000 (20:55 +0500)]
MUC: Fixed traceback on unauthorized access of the room configuration form.

14 years agoMUC: Added service discovery replies for rooms.
Waqas Hussain [Mon, 7 Sep 2009 15:54:53 +0000 (20:54 +0500)]
MUC: Added service discovery replies for rooms.

14 years agoMUC: Fixed an undefined global access.
Waqas Hussain [Mon, 7 Sep 2009 15:53:33 +0000 (20:53 +0500)]
MUC: Fixed an undefined global access.

14 years agoMUC: Added support for room configuration forms, persistence and hidden rooms.
Waqas Hussain [Mon, 7 Sep 2009 15:51:59 +0000 (20:51 +0500)]
MUC: Added support for room configuration forms, persistence and hidden rooms.

14 years agoMUC: Refactored IQ handling to be more easily extensible.
Waqas Hussain [Mon, 7 Sep 2009 15:50:06 +0000 (20:50 +0500)]
MUC: Refactored IQ handling to be more easily extensible.

14 years agoMUC: Added kicking support.
Waqas Hussain [Mon, 7 Sep 2009 15:48:16 +0000 (20:48 +0500)]
MUC: Added kicking support.

14 years agoMUC: Fixed a variable scoping bug causing problems with presence routing on affiliati...
Waqas Hussain [Mon, 7 Sep 2009 15:43:25 +0000 (20:43 +0500)]
MUC: Fixed a variable scoping bug causing problems with presence routing on affiliation/role change.

14 years agoMUC: Fixed: Unavailable presence was being sent for all role and affiliation changes...
Waqas Hussain [Mon, 7 Sep 2009 15:41:42 +0000 (20:41 +0500)]
MUC: Fixed: Unavailable presence was being sent for all role and affiliation changes. Now sent only for kicked occupants.

14 years agoMUC: Changed a MUC library method into a function.
Waqas Hussain [Mon, 7 Sep 2009 15:40:11 +0000 (20:40 +0500)]
MUC: Changed a MUC library method into a function.

14 years agoMUC: Fixed stanza routing for reloaded rooms.
Waqas Hussain [Mon, 7 Sep 2009 15:39:05 +0000 (20:39 +0500)]
MUC: Fixed stanza routing for reloaded rooms.

14 years agoMUC: Added support for reloading MUC library code.
Waqas Hussain [Mon, 7 Sep 2009 15:38:20 +0000 (20:38 +0500)]
MUC: Added support for reloading MUC library code.

14 years agoMUC: Workaround for Miranda sending 'nick' instead of 'jid' when changing affiliation.
Waqas Hussain [Mon, 7 Sep 2009 15:36:29 +0000 (20:36 +0500)]
MUC: Workaround for Miranda sending 'nick' instead of 'jid' when changing affiliation.

14 years agoMUC: Some fixes for minor bugs in IQ handling.
Waqas Hussain [Mon, 7 Sep 2009 15:35:09 +0000 (20:35 +0500)]
MUC: Some fixes for minor bugs in IQ handling.

14 years agoMUC: Added support for requesting various lists (owner, admin, voice, etc).
Waqas Hussain [Mon, 7 Sep 2009 15:33:24 +0000 (20:33 +0500)]
MUC: Added support for requesting various lists (owner, admin, voice, etc).

14 years agoMUC: An admin or owner MUST NOT be able to revoke moderation privileges from another...
Waqas Hussain [Mon, 7 Sep 2009 15:31:35 +0000 (20:31 +0500)]
MUC: An admin or owner MUST NOT be able to revoke moderation privileges from another admin or owner.

14 years agoMUC: Owners can now modify roles and affiliations
Waqas Hussain [Mon, 7 Sep 2009 15:30:16 +0000 (20:30 +0500)]
MUC: Owners can now modify roles and affiliations

14 years agoMUC: Added support for generating unique room names
Waqas Hussain [Mon, 7 Sep 2009 15:29:04 +0000 (20:29 +0500)]
MUC: Added support for generating unique room names

14 years agoMUC: Send appropriate error to banned users on join.
Waqas Hussain [Mon, 7 Sep 2009 15:27:52 +0000 (20:27 +0500)]
MUC: Send appropriate error to banned users on join.

14 years agoMUC: Renamed _participants table to _occupants
Waqas Hussain [Mon, 7 Sep 2009 15:26:26 +0000 (20:26 +0500)]
MUC: Renamed _participants table to _occupants

14 years agoMUC: New basic mod_muc based on the new MUC library
Waqas Hussain [Mon, 7 Sep 2009 15:18:26 +0000 (20:18 +0500)]
MUC: New basic mod_muc based on the new MUC library

14 years agoMUC: Initial support for roles and affiliations
Waqas Hussain [Mon, 7 Sep 2009 15:13:40 +0000 (20:13 +0500)]
MUC: Initial support for roles and affiliations

14 years agoMUC: Fixed function declarations.
Waqas Hussain [Mon, 7 Sep 2009 15:12:14 +0000 (20:12 +0500)]
MUC: Fixed function declarations.

14 years agoMUC: The MUC lib is now metatable based. Cleaned up code, etc.
Waqas Hussain [Mon, 7 Sep 2009 15:11:13 +0000 (20:11 +0500)]
MUC: The MUC lib is now metatable based. Cleaned up code, etc.

14 years agoMUC: Added initial MUC lib
Waqas Hussain [Mon, 7 Sep 2009 15:07:16 +0000 (20:07 +0500)]
MUC: Added initial MUC lib

14 years agoAutomated merge with http://prosody.im/source/hg
Tobias Markmann [Sun, 6 Sep 2009 20:08:05 +0000 (22:08 +0200)]
Automated merge with http://prosody.im/source/hg

14 years agoAdd NODEprepping to SASL Digest-MD5 authentication handling.
Tobias Markmann [Sun, 6 Sep 2009 20:07:59 +0000 (22:07 +0200)]
Add NODEprepping to SASL Digest-MD5 authentication handling.

14 years agoMerge with 0.5
matthew@silver [Sat, 5 Sep 2009 22:01:06 +0000 (23:01 +0100)]
Merge with 0.5

14 years agodatamanager: Fixed logging errors on deletion of datastores not owned by a user@host
Waqas Hussain [Sat, 5 Sep 2009 20:33:41 +0000 (01:33 +0500)]
datamanager: Fixed logging errors on deletion of datastores not owned by a user@host

14 years agomod_presence: Fixed: Don't recursively handle inbound presence directed at local...
Waqas Hussain [Sat, 5 Sep 2009 20:32:36 +0000 (01:32 +0500)]
mod_presence: Fixed: Don't recursively handle inbound presence directed at local host

14 years agomodulemanager: Fixed: Internally generated stanzas could be missing namespaces, which...
Waqas Hussain [Sat, 5 Sep 2009 20:31:18 +0000 (01:31 +0500)]
modulemanager: Fixed: Internally generated stanzas could be missing namespaces, which causes tracebacks in logging (e.g., auto-generated offline presence)

14 years agonet/dns: Fixed regression causing nameserver initialization to fail on Windows
Waqas Hussain [Wed, 2 Sep 2009 14:23:02 +0000 (19:23 +0500)]
net/dns: Fixed regression causing nameserver initialization to fail on Windows

14 years agomod_compression: Fixed: Starting compression only worked before auth
Waqas Hussain [Wed, 2 Sep 2009 14:22:06 +0000 (19:22 +0500)]
mod_compression: Fixed: Starting compression only worked before auth

14 years agoMerge with 0.5
Matthew Wild [Thu, 20 Aug 2009 15:30:32 +0000 (16:30 +0100)]
Merge with 0.5

14 years agoejabberd2prosody: More intelligent searching for erlparse library
Matthew Wild [Thu, 20 Aug 2009 15:30:03 +0000 (16:30 +0100)]
ejabberd2prosody: More intelligent searching for erlparse library

14 years agoUncertain merge with 0.5's SASL
Matthew Wild [Thu, 20 Aug 2009 12:57:50 +0000 (13:57 +0100)]
Uncertain merge with 0.5's SASL

14 years agoutil.sasl: Fix 2 global sets (one a tpyo)
Matthew Wild [Thu, 20 Aug 2009 03:15:41 +0000 (04:15 +0100)]
util.sasl: Fix 2 global sets (one a tpyo)

14 years agoAllow ampersands in passwords for SASL PLAIN mechanism and fixing a typo.
Tobias Markmann [Wed, 19 Aug 2009 20:16:27 +0000 (22:16 +0200)]
Allow ampersands in passwords for SASL PLAIN mechanism and fixing a typo.

14 years agoChange variable name. The previous choice was too ugly looking.
Tobias Markmann [Wed, 19 Aug 2009 20:04:14 +0000 (22:04 +0200)]
Change variable name. The previous choice was too ugly looking.

14 years agoUse NODEprep for prepping usernames used during SASL logins.
Tobias Markmann [Wed, 19 Aug 2009 19:59:16 +0000 (21:59 +0200)]
Use NODEprep for prepping usernames used during SASL logins.

14 years agoDo SASLprep for SASL PLAIN mechanism to be more conform with RFC 4616.
Tobias Markmann [Wed, 19 Aug 2009 19:34:28 +0000 (21:34 +0200)]
Do SASLprep for SASL PLAIN mechanism to be more conform with RFC 4616.

14 years agoDon't allow double compression.
Tobias Markmann [Tue, 18 Aug 2009 20:00:37 +0000 (22:00 +0200)]
Don't allow double compression.

14 years agoSupport compression also after SASL.
Tobias Markmann [Tue, 18 Aug 2009 19:46:25 +0000 (21:46 +0200)]
Support compression also after SASL.

14 years agoMerge with waqas
Matthew Wild [Tue, 18 Aug 2009 14:59:58 +0000 (15:59 +0100)]
Merge with waqas

14 years agonet.adns: Add some debug logging to help track down traceback
Matthew Wild [Tue, 18 Aug 2009 14:59:11 +0000 (15:59 +0100)]
net.adns: Add some debug logging to help track down traceback

14 years agonet.server: Add checking for nil sockets to prevent traceback
Matthew Wild [Tue, 18 Aug 2009 14:58:44 +0000 (15:58 +0100)]
net.server: Add checking for nil sockets to prevent traceback

14 years agomod_compression: Fixed some undefined global accesses
Waqas Hussain [Tue, 18 Aug 2009 14:56:16 +0000 (19:56 +0500)]
mod_compression: Fixed some undefined global accesses

14 years agonet.dns: Automatically add nameserver 127.0.0.1 if /etc/resolv.conf missing or empty...
Matthew Wild [Tue, 18 Aug 2009 12:47:21 +0000 (13:47 +0100)]
net.dns: Automatically add nameserver 127.0.0.1 if /etc/resolv.conf missing or empty on a non-Windows system (thanks Louis Mamakos)

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)