prosody.git
14 years agoMakefile: Don't combine variable export with assignment for compatibility with other...
Matthew Wild [Tue, 29 Sep 2009 12:59:35 +0000 (13:59 +0100)]
Makefile: Don't combine variable export with assignment for compatibility with other shells (thanks Filip)

14 years agoMerge with 0.5
Matthew Wild [Sun, 27 Sep 2009 12:20:17 +0000 (13:20 +0100)]
Merge with 0.5

14 years agoTagging 0.5.2
Matthew Wild [Sun, 27 Sep 2009 12:19:40 +0000 (13:19 +0100)]
Tagging 0.5.2

14 years agoMerge with trunk
Matthew Wild [Sun, 27 Sep 2009 11:28:45 +0000 (12:28 +0100)]
Merge with trunk

14 years agoMerge with 0.5
Matthew Wild [Sun, 27 Sep 2009 11:26:51 +0000 (12:26 +0100)]
Merge with 0.5

14 years agoMerge with waqas
Matthew Wild [Sun, 27 Sep 2009 11:10:50 +0000 (12:10 +0100)]
Merge with waqas

14 years agoMerge with waqas
Matthew Wild [Sun, 27 Sep 2009 11:10:36 +0000 (12:10 +0100)]
Merge with waqas

14 years agocore.s2smanager: Always use last record in the DNS cache
Matthew Wild [Sun, 27 Sep 2009 10:59:11 +0000 (11:59 +0100)]
core.s2smanager: Always use last record in the DNS cache

14 years agomod_legacyauth: Don't allow server-generated resource identifiers, as these are not...
Waqas Hussain [Sun, 27 Sep 2009 10:50:41 +0000 (15:50 +0500)]
mod_legacyauth: Don't allow server-generated resource identifiers, as these are not support by legacy auth.

14 years agomod_legacyauth: Undo auth on bind fail. Legacy auth is atomic.
Waqas Hussain [Sun, 27 Sep 2009 10:30:01 +0000 (15:30 +0500)]
mod_legacyauth: Undo auth on bind fail. Legacy auth is atomic.

14 years agomod_legacyauth: Added node and resource prepping.
Waqas Hussain [Sun, 27 Sep 2009 10:21:08 +0000 (15:21 +0500)]
mod_legacyauth: Added node and resource prepping.

14 years agoMUC: Added multi-session support to the room-exiting occupant use case.
Waqas Hussain [Fri, 25 Sep 2009 07:39:28 +0000 (12:39 +0500)]
MUC: Added multi-session support to the room-exiting occupant use case.

14 years agoMUC: Renamed a variable name.
Waqas Hussain [Fri, 25 Sep 2009 07:36:11 +0000 (12:36 +0500)]
MUC: Renamed a variable name.

14 years agoMUC: Refactored to remove some duplicate code.
Waqas Hussain [Fri, 25 Sep 2009 07:35:09 +0000 (12:35 +0500)]
MUC: Refactored to remove some duplicate code.

14 years agonet.dns: Even better parsing of nameservers from resolv.conf
Matthew Wild [Fri, 25 Sep 2009 00:35:46 +0000 (01:35 +0100)]
net.dns: Even better parsing of nameservers from resolv.conf

14 years agoMerge with 0.5
Matthew Wild [Thu, 24 Sep 2009 22:47:16 +0000 (23:47 +0100)]
Merge with 0.5

14 years agonet.dns: Remove elements from the cache when expired so as to not leave holes in...
Matthew Wild [Thu, 24 Sep 2009 22:46:12 +0000 (23:46 +0100)]
net.dns: Remove elements from the cache when expired so as to not leave holes in the array

14 years agomod_console: s2s:close: Use session:close() if that exists, otherwise just destroy...
Matthew Wild [Thu, 24 Sep 2009 22:44:13 +0000 (23:44 +0100)]
mod_console: s2s:close: Use session:close() if that exists, otherwise just destroy the session

14 years agonet.dns: Stricter matching of nameserver entries in resolv.conf
Matthew Wild [Thu, 24 Sep 2009 22:25:18 +0000 (23:25 +0100)]
net.dns: Stricter matching of nameserver entries in resolv.conf

14 years agoMUC: Added legacy error code to the presence error returned when a banned user attemp...
Waqas Hussain [Thu, 24 Sep 2009 22:23:31 +0000 (03:23 +0500)]
MUC: Added legacy error code to the presence error returned when a banned user attempts to join.

14 years agoMUC: Added legacy error codes to nickname conflict presence errors.
Waqas Hussain [Thu, 24 Sep 2009 22:21:57 +0000 (03:21 +0500)]
MUC: Added legacy error codes to nickname conflict presence errors.

14 years agoMerge with trunk
Matthew Wild [Thu, 24 Sep 2009 10:17:47 +0000 (11:17 +0100)]
Merge with trunk

14 years agoMerge with 0.5
Matthew Wild [Thu, 24 Sep 2009 10:16:25 +0000 (11:16 +0100)]
Merge with 0.5

14 years agonet.dns: Respect commented nameserver entries in resolv.conf (thanks Remko)
Matthew Wild [Thu, 24 Sep 2009 10:14:05 +0000 (11:14 +0100)]
net.dns: Respect commented nameserver entries in resolv.conf (thanks Remko)

14 years agomod_welcome: Change $user to $username in default welcome message (thanks to neustrad...
Matthew Wild [Wed, 23 Sep 2009 12:17:13 +0000 (13:17 +0100)]
mod_welcome: Change $user to $username in default welcome message (thanks to neustradamus for spotting)

14 years agoMakefile.win: Updated the windows Makefile with more appropriate paths.
Waqas Hussain [Tue, 22 Sep 2009 17:31:41 +0000 (22:31 +0500)]
Makefile.win: Updated the windows Makefile with more appropriate paths.

14 years agoutil.encodings: Fixed an issue with cross-module memory deallocation (crashes on...
Waqas Hussain [Tue, 22 Sep 2009 17:21:15 +0000 (22:21 +0500)]
util.encodings: Fixed an issue with cross-module memory deallocation (crashes on some windows versions).

14 years agoMUC: Added MUC feature to the disco#info replies of rooms.
Waqas Hussain [Mon, 21 Sep 2009 19:38:06 +0000 (00:38 +0500)]
MUC: Added MUC feature to the disco#info replies of rooms.

14 years agoRe-tagging 0.5.2
Matthew Wild [Mon, 21 Sep 2009 16:59:21 +0000 (17:59 +0100)]
Re-tagging 0.5.2

14 years agomod_httpserver: Configurable filesystem path to serve from
Matthew Wild [Mon, 21 Sep 2009 16:57:28 +0000 (17:57 +0100)]
mod_httpserver: Configurable filesystem path to serve from

14 years agoRe-tagging 0.5.2
Matthew Wild [Mon, 21 Sep 2009 14:10:36 +0000 (15:10 +0100)]
Re-tagging 0.5.2

14 years agoprosody.cfg.lua.dist: Add example of declaring admins for a server
Matthew Wild [Mon, 21 Sep 2009 14:09:22 +0000 (15:09 +0100)]
prosody.cfg.lua.dist: Add example of declaring admins for a server

14 years agonet.dns: (for some reason this commit didn't pull over from 0.5) Remove hard-coded...
Matthew Wild [Mon, 21 Sep 2009 13:46:12 +0000 (14:46 +0100)]
net.dns: (for some reason this commit didn't pull over from 0.5) Remove hard-coded 4.2.2.1 from dns.lua

14 years agoMerge with 0.5
Matthew Wild [Mon, 21 Sep 2009 13:42:29 +0000 (14:42 +0100)]
Merge with 0.5

14 years agonet.dns: Accidentally committed a hard-coded 4.2.2.1 nameserver
Matthew Wild [Mon, 21 Sep 2009 13:42:01 +0000 (14:42 +0100)]
net.dns: Accidentally committed a hard-coded 4.2.2.1 nameserver

14 years agocore.s2smanager: Don't recurse CNAMEs infinitely :)
Matthew Wild [Mon, 21 Sep 2009 13:40:14 +0000 (14:40 +0100)]
core.s2smanager: Don't recurse CNAMEs infinitely :)

14 years agonet.server: Fix traceback when closing connections with buffered data get closed...
Matthew Wild [Mon, 21 Sep 2009 12:53:59 +0000 (13:53 +0100)]
net.server: Fix traceback when closing connections with buffered data get closed during send

14 years agoMerge with 0.5
Matthew Wild [Sun, 20 Sep 2009 20:30:20 +0000 (21:30 +0100)]
Merge with 0.5

14 years agoTagging 0.5.2
Matthew Wild [Sun, 20 Sep 2009 20:29:43 +0000 (21:29 +0100)]
Tagging 0.5.2

14 years agoMerge with 0.5
Matthew Wild [Sun, 20 Sep 2009 17:46:35 +0000 (18:46 +0100)]
Merge with 0.5

14 years agomod_vcard: Handle vcard requests from local components.
Waqas Hussain [Sun, 20 Sep 2009 17:18:40 +0000 (22:18 +0500)]
mod_vcard: Handle vcard requests from local components.

14 years agoMerge with 0.5
Matthew Wild [Sun, 20 Sep 2009 14:31:51 +0000 (15:31 +0100)]
Merge with 0.5

14 years agoMerge with 0.5
Matthew Wild [Sun, 20 Sep 2009 14:17:37 +0000 (15:17 +0100)]
Merge with 0.5

14 years agos2smanager: Timeout unauthed s2s connections
Matthew Wild [Sun, 20 Sep 2009 14:16:25 +0000 (15:16 +0100)]
s2smanager: Timeout unauthed s2s connections

14 years agoutil.helpers: It would be a good idea to fire an event when we say we are
Matthew Wild [Sun, 20 Sep 2009 02:20:38 +0000 (03:20 +0100)]
util.helpers: It would be a good idea to fire an event when we say we are

14 years agoMerge with 0.5
Matthew Wild [Sat, 19 Sep 2009 16:48:15 +0000 (17:48 +0100)]
Merge with 0.5

14 years agos2smanager: Compatibility with domains which use CNAMEs
Matthew Wild [Sat, 19 Sep 2009 16:47:26 +0000 (17:47 +0100)]
s2smanager: Compatibility with domains which use CNAMEs

14 years agoMerge with 0.5
Matthew Wild [Sat, 19 Sep 2009 16:42:16 +0000 (17:42 +0100)]
Merge with 0.5

14 years agos2smanager: Pass A-record lookups through adns module
Matthew Wild [Sat, 19 Sep 2009 16:40:19 +0000 (17:40 +0100)]
s2smanager: Pass A-record lookups through adns module

14 years agoprosody: Add prosody.installed flag to indicate whether Prosody has been installed...
Matthew Wild [Sat, 19 Sep 2009 10:25:59 +0000 (11:25 +0100)]
prosody: Add prosody.installed flag to indicate whether Prosody has been installed or is running from checkout

14 years agoprosody: Add prosody.platform which can be either 'windows', 'posix' or 'unknown'
Matthew Wild [Sat, 19 Sep 2009 10:17:30 +0000 (11:17 +0100)]
prosody: Add prosody.platform which can be either 'windows', 'posix' or 'unknown'

14 years agoMerge with 0.5
Matthew Wild [Fri, 18 Sep 2009 01:48:52 +0000 (02:48 +0100)]
Merge with 0.5

14 years agonet.adns: Utilise new net.dns API to handle DNS network errors
Matthew Wild [Fri, 18 Sep 2009 01:46:11 +0000 (02:46 +0100)]
net.adns: Utilise new net.dns API to handle DNS network errors

14 years agonet.dns: Multiple internal changes and API extensions to allow for more reliable...
Matthew Wild [Fri, 18 Sep 2009 01:45:15 +0000 (02:45 +0100)]
net.dns: Multiple internal changes and API extensions to allow for more reliable DNS lookups

14 years agoejabberd2prosody: Fixed a problem with null roster groups.
Waqas Hussain [Fri, 18 Sep 2009 00:16:26 +0000 (05:16 +0500)]
ejabberd2prosody: Fixed a problem with null roster groups.

14 years agoejabberd2prosody: Fixed escape code processing when parsing strings.
Waqas Hussain [Thu, 17 Sep 2009 21:11:16 +0000 (02:11 +0500)]
ejabberd2prosody: Fixed escape code processing when parsing strings.

14 years agoejabberd2prosody: Added support for ask='both' in subscriptions.
Waqas Hussain [Thu, 17 Sep 2009 19:54:12 +0000 (00:54 +0500)]
ejabberd2prosody: Added support for ask='both' in subscriptions.

14 years agoMUC: Removed some debug logging.
Waqas Hussain [Sun, 13 Sep 2009 21:11:17 +0000 (02:11 +0500)]
MUC: Removed some debug logging.

14 years agoMUC: Added a send() method to the component. Fixes issues with local mod_vcard.
Waqas Hussain [Sun, 13 Sep 2009 21:08:20 +0000 (02:08 +0500)]
MUC: Added a send() method to the component. Fixes issues with local mod_vcard.

14 years agomod_vcard: Handle vcard requests from local components.
Waqas Hussain [Sun, 13 Sep 2009 20:13:17 +0000 (01:13 +0500)]
mod_vcard: Handle vcard requests from local components.

14 years agoMUC: Correct routing of vCard requests to bare JID.
Waqas Hussain [Sun, 13 Sep 2009 18:52:09 +0000 (23:52 +0500)]
MUC: Correct routing of vCard requests to bare JID.

14 years agoconfigmanager: Assign a chunk name to config files loaded using the default config...
Waqas Hussain [Fri, 11 Sep 2009 22:45:19 +0000 (03:45 +0500)]
configmanager: Assign a chunk name to config files loaded using the default config loader (fixes issues with some diagnostic tools).

14 years agomod_offline: Fixed undefined global access.
Waqas Hussain [Fri, 11 Sep 2009 22:41:31 +0000 (03:41 +0500)]
mod_offline: Fixed undefined global access.

14 years agoComponentManager: Removed unused variable.
Waqas Hussain [Fri, 11 Sep 2009 11:33:40 +0000 (16:33 +0500)]
ComponentManager: Removed unused variable.

14 years agoComponentManager: Removed dependency on core_route_stanza. The default component...
Waqas Hussain [Fri, 11 Sep 2009 11:28:52 +0000 (16:28 +0500)]
ComponentManager: Removed dependency on core_route_stanza. The default component handler now replies using origin.send().

14 years agoComponentManager: Fixed: Default handler sent error replies on result stanzas.
Waqas Hussain [Fri, 11 Sep 2009 11:20:49 +0000 (16:20 +0500)]
ComponentManager: Fixed: Default handler sent error replies on result stanzas.

14 years agoComponentManager: Fixed a bit of logging.
Waqas Hussain [Fri, 11 Sep 2009 11:17:18 +0000 (16:17 +0500)]
ComponentManager: Fixed a bit of logging.

14 years agoMerge with 0.5 (no changes!)
Matthew Wild [Fri, 11 Sep 2009 02:13:56 +0000 (03:13 +0100)]
Merge with 0.5 (no changes!)

14 years agomod_httpserver: Backport from trunk more thorough validation of URLs prior to processing
Matthew Wild [Fri, 11 Sep 2009 02:12:09 +0000 (03:12 +0100)]
mod_httpserver: Backport from trunk more thorough validation of URLs prior to processing

14 years agoMUC: Preserve stanza attributes for private messages.
Waqas Hussain [Wed, 9 Sep 2009 15:48:25 +0000 (20:48 +0500)]
MUC: Preserve stanza attributes for private messages.

14 years agoMUC: Don't kick on errors in private messages.
Waqas Hussain [Wed, 9 Sep 2009 15:32:37 +0000 (20:32 +0500)]
MUC: Don't kick on errors in private messages.

14 years agoMUC: Discard non-persistent rooms as soon as they become empty.
Waqas Hussain [Wed, 9 Sep 2009 14:28:36 +0000 (19:28 +0500)]
MUC: Discard non-persistent rooms as soon as they become empty.

14 years agoRemoved util.muc (replaced by new MUC plugin library)
Waqas Hussain [Wed, 9 Sep 2009 14:17:29 +0000 (19:17 +0500)]
Removed util.muc (replaced by new MUC plugin library)

14 years agoRemoved legacy mod_muc (replaced by new one).
Waqas Hussain [Wed, 9 Sep 2009 14:16:41 +0000 (19:16 +0500)]
Removed legacy mod_muc (replaced by new one).

14 years agoMUC: Removed commented code.
Waqas Hussain [Wed, 9 Sep 2009 14:14:12 +0000 (19:14 +0500)]
MUC: Removed commented code.

14 years agomod_console: c2s:show(): Group listed clients by host
Matthew Wild [Wed, 9 Sep 2009 13:35:41 +0000 (14:35 +0100)]
mod_console: c2s:show(): Group listed clients by host

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