prosody.git
14 years agomod_ping: Convert from Windows line endings
Matthew Wild [Thu, 9 Jul 2009 22:01:13 +0000 (23:01 +0100)]
mod_ping: Convert from Windows line endings

14 years agomod_disco: Convert from Windows line endings
Matthew Wild [Thu, 9 Jul 2009 22:00:32 +0000 (23:00 +0100)]
mod_disco: Convert from Windows line endings

14 years agoutil.discohelper: Convert from Windows line endings
Matthew Wild [Thu, 9 Jul 2009 22:00:01 +0000 (23:00 +0100)]
util.discohelper: Convert from Windows line endings

14 years agomod_presence: Convert from Windows line endings
Matthew Wild [Thu, 9 Jul 2009 21:57:59 +0000 (22:57 +0100)]
mod_presence: Convert from Windows line endings

14 years agoutil.events: Convert from Windows line endings
Matthew Wild [Thu, 9 Jul 2009 21:57:32 +0000 (22:57 +0100)]
util.events: Convert from Windows line endings

14 years agomod_console: Expose commands and environment table
Matthew Wild [Thu, 9 Jul 2009 13:41:56 +0000 (14:41 +0100)]
mod_console: Expose commands and environment table

14 years agomodulemanager: Small code improvement, move autoloaded modules list to the top of...
Matthew Wild [Thu, 9 Jul 2009 13:37:04 +0000 (14:37 +0100)]
modulemanager: Small code improvement, move autoloaded modules list to the top of the file

14 years agoconfigmanager, modulemanager: Allow components to have modules specified in the confi...
Matthew Wild [Thu, 9 Jul 2009 13:34:49 +0000 (14:34 +0100)]
configmanager, modulemanager: Allow components to have modules specified in the config (but don't load the global set of modules for them)

14 years agomod_console: Add quit and exit as aliases for 'bye' command
Matthew Wild [Thu, 9 Jul 2009 03:37:08 +0000 (04:37 +0100)]
mod_console: Add quit and exit as aliases for 'bye' command

14 years agomod_console: Check for commands when not executing in the global environment
Matthew Wild [Thu, 9 Jul 2009 03:34:55 +0000 (04:34 +0100)]
mod_console: Check for commands when not executing in the global environment

14 years agoprosodyctl: Quit when user pressed ^C in password prompts
Matthew Wild [Wed, 8 Jul 2009 15:53:59 +0000 (16:53 +0100)]
prosodyctl: Quit when user pressed ^C in password prompts

14 years agoprosodyctl: Don't 'blugh' when ^C is pressed during reading passwords
Matthew Wild [Wed, 8 Jul 2009 15:48:49 +0000 (16:48 +0100)]
prosodyctl: Don't 'blugh' when ^C is pressed during reading passwords

14 years agoprosodyctl: Fix traceback when issued with no parameters
Matthew Wild [Wed, 8 Jul 2009 15:38:46 +0000 (16:38 +0100)]
prosodyctl: Fix traceback when issued with no parameters

14 years agoutil.xmlrpc: Support for multiple parameters in requests
Matthew Wild [Wed, 8 Jul 2009 14:23:07 +0000 (15:23 +0100)]
util.xmlrpc: Support for multiple parameters in requests

14 years agoutil.xmlrpc: Add create_request
Matthew Wild [Wed, 8 Jul 2009 14:11:11 +0000 (15:11 +0100)]
util.xmlrpc: Add create_request

14 years agomod_console: server:version() and server:uptime() commands
Matthew Wild [Wed, 8 Jul 2009 03:32:02 +0000 (04:32 +0100)]
mod_console: server:version() and server:uptime() commands

14 years agomod_uptime: Use time of server start rather than module load
Matthew Wild [Wed, 8 Jul 2009 03:22:45 +0000 (04:22 +0100)]
mod_uptime: Use time of server start rather than module load

14 years agomod_uptime: Convert to unix line endings
Matthew Wild [Wed, 8 Jul 2009 03:22:15 +0000 (04:22 +0100)]
mod_uptime: Convert to unix line endings

14 years agoprosody: Record time the server started
Matthew Wild [Wed, 8 Jul 2009 03:19:15 +0000 (04:19 +0100)]
prosody: Record time the server started

14 years agos2smanager: Fix to correctly bounce stanzas if first connection attempt fails instantly
Matthew Wild [Wed, 8 Jul 2009 02:14:12 +0000 (03:14 +0100)]
s2smanager: Fix to correctly bounce stanzas if first connection attempt fails instantly

14 years agomod_console: Add c2s:close() command
Matthew Wild [Wed, 8 Jul 2009 01:29:13 +0000 (02:29 +0100)]
mod_console: Add c2s:close() command

14 years agonet.xmppclient_listener: Fix potential traceback when no reason is specified for...
Matthew Wild [Wed, 8 Jul 2009 01:27:33 +0000 (02:27 +0100)]
net.xmppclient_listener: Fix potential traceback when no reason is specified for closing a session

14 years agoMerged with trunk
Waqas Hussain [Sun, 5 Jul 2009 20:40:43 +0000 (01:40 +0500)]
Merged with trunk

14 years agomod_presence: Fixed: Presence probe replies now get sent to the full JID of the probe...
Waqas Hussain [Sun, 5 Jul 2009 20:37:57 +0000 (01:37 +0500)]
mod_presence: Fixed: Presence probe replies now get sent to the full JID of the probe sender

14 years agoMerge with main branch.
Tobias Markmann [Sun, 5 Jul 2009 17:05:25 +0000 (19:05 +0200)]
Merge with main branch.

14 years agoRemove to-unicode conversion because it's done in sasl.lua now.
Tobias Markmann [Sun, 5 Jul 2009 17:05:03 +0000 (19:05 +0200)]
Remove to-unicode conversion because it's done in sasl.lua now.

14 years agoMove to-unicode conversion from mod_saslauth.lua to sasl.lua.
Tobias Markmann [Sun, 5 Jul 2009 17:02:55 +0000 (19:02 +0200)]
Move to-unicode conversion from mod_saslauth.lua to sasl.lua.

14 years agoFixed decoding of parameters.
Tobias Markmann [Sun, 5 Jul 2009 16:59:46 +0000 (18:59 +0200)]
Fixed decoding of parameters.

14 years agomod_console: Allow customisation/suppression of the banner
Matthew Wild [Sun, 5 Jul 2009 16:36:27 +0000 (17:36 +0100)]
mod_console: Allow customisation/suppression of the banner

14 years agoutil.hmac: Some optimisations
Matthew Wild [Sun, 5 Jul 2009 16:10:42 +0000 (17:10 +0100)]
util.hmac: Some optimisations

14 years agoutil.hmac: Fix a global set
Matthew Wild [Sun, 5 Jul 2009 16:06:22 +0000 (17:06 +0100)]
util.hmac: Fix a global set

14 years agomod_presence: Send unavailable presence to resources from non-available resources...
Waqas Hussain [Sun, 5 Jul 2009 15:40:31 +0000 (20:40 +0500)]
mod_presence: Send unavailable presence to resources from non-available resources on disconnect

14 years agoMoved automatic unavailable presence generation on disconnect from sessionmanager...
Waqas Hussain [Sun, 5 Jul 2009 12:45:44 +0000 (17:45 +0500)]
Moved automatic unavailable presence generation on disconnect from sessionmanager to mod_presence

14 years agosessionmanager: Replace raw session by an event data table for resource bind/unbind...
Waqas Hussain [Sun, 5 Jul 2009 11:21:58 +0000 (16:21 +0500)]
sessionmanager: Replace raw session by an event data table for resource bind/unbind events, allowing extra data

14 years agomod_presence: Broadcast presence to resources before contacts
Waqas Hussain [Sun, 5 Jul 2009 07:43:25 +0000 (12:43 +0500)]
mod_presence: Broadcast presence to resources before contacts

14 years agomod_presence: Prevented normal presence from non-interested resources from being...
Waqas Hussain [Sun, 5 Jul 2009 07:40:18 +0000 (12:40 +0500)]
mod_presence: Prevented normal presence from non-interested resources from being dropped

14 years agomod_presence: Changed handle_normal_presence to use a local roster rather than origin...
Waqas Hussain [Sun, 5 Jul 2009 07:25:15 +0000 (12:25 +0500)]
mod_presence: Changed handle_normal_presence to use a local roster rather than origin's roster

14 years agomod_presence: Simplified roster iteration
Waqas Hussain [Sun, 5 Jul 2009 07:17:22 +0000 (12:17 +0500)]
mod_presence: Simplified roster iteration

14 years agomod_presence: Eliminated a jid_split
Waqas Hussain [Sun, 5 Jul 2009 06:59:51 +0000 (11:59 +0500)]
mod_presence: Eliminated a jid_split

14 years agomod_presence: Removed some unnecessary code
Waqas Hussain [Sun, 5 Jul 2009 06:57:18 +0000 (11:57 +0500)]
mod_presence: Removed some unnecessary code

14 years agosessionmanager: Reset bare_sessions[user] after resource conflict resolution. Fixes...
Matthew Wild [Fri, 3 Jul 2009 20:47:26 +0000 (21:47 +0100)]
sessionmanager: Reset bare_sessions[user] after resource conflict resolution. Fixes the other stanza gobbling bug \o/

14 years agomod_presence: Declare t_insert, fixes a potential traceback
Matthew Wild [Fri, 3 Jul 2009 20:44:30 +0000 (21:44 +0100)]
mod_presence: Declare t_insert, fixes a potential traceback

14 years agosessionmanager: Newly created sessions shouldn't have a priority. Fixes one of the...
Matthew Wild [Fri, 3 Jul 2009 20:37:09 +0000 (21:37 +0100)]
sessionmanager: Newly created sessions shouldn't have a priority. Fixes one of the stanza-gobbling bugs \o/

14 years agos2smanager: Log the hostname and address when s2s connection fails instantly
Matthew Wild [Fri, 3 Jul 2009 13:58:11 +0000 (14:58 +0100)]
s2smanager: Log the hostname and address when s2s connection fails instantly

14 years agohostmanager: Add disallow_s2s to config, defaults to false unless anonymous_login...
Matthew Wild [Fri, 3 Jul 2009 03:24:30 +0000 (04:24 +0100)]
hostmanager: Add disallow_s2s to config, defaults to false unless anonymous_login is enabled, then defaults to true

14 years agostanza_router: Check host.disallow_s2s before routing over s2sout. you can haz no...
Matthew Wild [Fri, 3 Jul 2009 03:04:27 +0000 (04:04 +0100)]
stanza_router: Check host.disallow_s2s before routing over s2sout. you can haz no s2s.

14 years agoMerged branches
Dwayne Bent [Thu, 2 Jul 2009 19:23:09 +0000 (15:23 -0400)]
Merged branches

14 years agoAdded man page for prosodyctl
Dwayne Bent [Thu, 2 Jul 2009 19:20:15 +0000 (15:20 -0400)]
Added man page for prosodyctl

14 years agomod_presence: Removed dead code
Waqas Hussain [Thu, 2 Jul 2009 18:46:27 +0000 (23:46 +0500)]
mod_presence: Removed dead code

14 years agodatamanager: Fixed incorrect callback result checking
Waqas Hussain [Thu, 2 Jul 2009 16:34:45 +0000 (21:34 +0500)]
datamanager: Fixed incorrect callback result checking

14 years agomod_pep: Escape + in pattern
Matthew Wild [Thu, 2 Jul 2009 14:43:27 +0000 (15:43 +0100)]
mod_pep: Escape + in pattern

15 years agoprosodyctl: Add message for not-running error
Matthew Wild [Thu, 2 Jul 2009 03:54:46 +0000 (04:54 +0100)]
prosodyctl: Add message for not-running error

15 years agoprosodyctl: Use prosodyctl_timeout option if it exists in the config
Matthew Wild [Thu, 2 Jul 2009 03:53:31 +0000 (04:53 +0100)]
prosodyctl: Use prosodyctl_timeout option if it exists in the config

15 years agoprosodyctl: Improve usability with status messages, and waiting up to 5s for the...
Matthew Wild [Thu, 2 Jul 2009 03:43:08 +0000 (04:43 +0100)]
prosodyctl: Improve usability with status messages, and waiting up to 5s for the server to start/stop

15 years agomod_pep: Pass origin/session to publish_all()
Matthew Wild [Thu, 2 Jul 2009 03:11:51 +0000 (04:11 +0100)]
mod_pep: Pass origin/session to publish_all()

15 years agoAdded HMAC utility module
Dwayne Bent [Thu, 2 Jul 2009 00:24:47 +0000 (20:24 -0400)]
Added HMAC utility module

Produces HMAC codes using all the supported hashes (md5, sha1, sha256)

15 years agoprosody: Add fallbacks/ to path
Matthew Wild [Thu, 2 Jul 2009 00:09:20 +0000 (01:09 +0100)]
prosody: Add fallbacks/ to path

15 years agoMakefile: Install fallbacks/ directory
Matthew Wild [Wed, 1 Jul 2009 23:25:14 +0000 (00:25 +0100)]
Makefile: Install fallbacks/ directory

15 years agomod_offline: Initial commit
Waqas Hussain [Wed, 1 Jul 2009 19:48:18 +0000 (00:48 +0500)]
mod_offline: Initial commit

15 years agoMerged with trunk
Waqas Hussain [Wed, 1 Jul 2009 19:47:21 +0000 (00:47 +0500)]
Merged with trunk

15 years agomod_pep: Fixed boolean indexing error while casting all messages for a user
Waqas Hussain [Wed, 1 Jul 2009 19:43:32 +0000 (00:43 +0500)]
mod_pep: Fixed boolean indexing error while casting all messages for a user

15 years agoSend xml:lang in stream headers, fixes #78
Matthew Wild [Wed, 1 Jul 2009 16:53:18 +0000 (17:53 +0100)]
Send xml:lang in stream headers, fixes #78

15 years agoMaking sure the node is in unicode when passing it to password lookup function.
Tobias Markmann [Wed, 1 Jul 2009 13:14:44 +0000 (15:14 +0200)]
Making sure the node is in unicode when passing it to password lookup function.

15 years agoAutomated merge with http://waqas.ath.cx:8000/
Matthew Wild [Mon, 29 Jun 2009 13:13:49 +0000 (14:13 +0100)]
Automated merge with http://waqas.ath.cx:8000/

15 years agoMerge with nolan
Matthew Wild [Mon, 29 Jun 2009 13:10:11 +0000 (14:10 +0100)]
Merge with nolan

15 years agomodulemanager: Don't close stream on stream:error with unsupported-stanza-type (fixes...
Waqas Hussain [Mon, 29 Jun 2009 10:26:04 +0000 (15:26 +0500)]
modulemanager: Don't close stream on stream:error with unsupported-stanza-type (fixes #102)

15 years agoprosody.cfg.lua.dist: Removed 'presence' from default modules list
Waqas Hussain [Mon, 29 Jun 2009 10:20:26 +0000 (15:20 +0500)]
prosody.cfg.lua.dist: Removed 'presence' from default modules list

15 years agostanza_router: Removed unnecessary xmlns check
Waqas Hussain [Mon, 29 Jun 2009 08:15:46 +0000 (13:15 +0500)]
stanza_router: Removed unnecessary xmlns check

15 years agostanza_router: Don't fire preprocessing events if stanza is not from full JID
Waqas Hussain [Mon, 29 Jun 2009 08:15:09 +0000 (13:15 +0500)]
stanza_router: Don't fire preprocessing events if stanza is not from full JID

15 years agoutil.pluginloader: Append "@" to chunk names (fixes weird formatting in plugin traceb...
Waqas Hussain [Sun, 28 Jun 2009 17:29:17 +0000 (22:29 +0500)]
util.pluginloader: Append "@" to chunk names (fixes weird formatting in plugin tracebacks)

15 years agomod_pep: Fixed a nil access error
Waqas Hussain [Sun, 28 Jun 2009 17:23:06 +0000 (22:23 +0500)]
mod_pep: Fixed a nil access error

15 years agomod_pep: Use cached caps
Waqas Hussain [Sun, 28 Jun 2009 16:49:31 +0000 (21:49 +0500)]
mod_pep: Use cached caps

15 years agoSerialize unknown stanza before logging.
nolan@nolan-eee [Sun, 28 Jun 2009 16:49:25 +0000 (11:49 -0500)]
Serialize unknown stanza before logging.

15 years agoMerged with trunk
Waqas Hussain [Sun, 28 Jun 2009 16:32:19 +0000 (21:32 +0500)]
Merged with trunk

15 years agomod_pep: Entity capabilities
Waqas Hussain [Sun, 28 Jun 2009 16:29:39 +0000 (21:29 +0500)]
mod_pep: Entity capabilities

15 years agoMerge with nolan
Matthew Wild [Sun, 28 Jun 2009 13:17:22 +0000 (14:17 +0100)]
Merge with nolan

15 years agonet.httpserver: Don't upset logger when response is nil
Matthew Wild [Sun, 28 Jun 2009 13:17:07 +0000 (14:17 +0100)]
net.httpserver: Don't upset logger when response is nil

15 years agoLog stanza if stanza.to isn't set for some component errors.
nolan@nolan-eee [Sun, 28 Jun 2009 13:09:57 +0000 (08:09 -0500)]
Log stanza if stanza.to isn't set for some component errors.

15 years agomod_console: Reload/unload a module on a component host if it is loaded there
Matthew Wild [Sun, 28 Jun 2009 01:46:36 +0000 (02:46 +0100)]
mod_console: Reload/unload a module on a component host if it is loaded there

15 years agoAutomated merge with http://waqas.ath.cx:8000/
Matthew Wild [Sat, 27 Jun 2009 03:44:27 +0000 (04:44 +0100)]
Automated merge with http://waqas.ath.cx:8000/

15 years agoutil.stanza: Serializer optimizations, and nicer output for empty elements
Waqas Hussain [Sat, 27 Jun 2009 03:38:52 +0000 (08:38 +0500)]
util.stanza: Serializer optimizations, and nicer output for empty elements

15 years agomod_pep: Broadcast only to available recipients with caps
Waqas Hussain [Fri, 26 Jun 2009 18:58:52 +0000 (23:58 +0500)]
mod_pep: Broadcast only to available recipients with caps

15 years agomod_pep: Ignore presence subscriptions when extractng hash information
Waqas Hussain [Fri, 26 Jun 2009 18:42:59 +0000 (23:42 +0500)]
mod_pep: Ignore presence subscriptions when extractng hash information

15 years agomod_pep: Added function get_caps_hash_from_presence
Waqas Hussain [Fri, 26 Jun 2009 18:36:12 +0000 (23:36 +0500)]
mod_pep: Added function get_caps_hash_from_presence

15 years agoutil.muc: Fixed duplicate parameter names in function room:set_subject
Waqas Hussain [Fri, 26 Jun 2009 16:51:32 +0000 (21:51 +0500)]
util.muc: Fixed duplicate parameter names in function room:set_subject

15 years agoutil.muc: Fixed incorrect parameters for a function call
Waqas Hussain [Fri, 26 Jun 2009 16:50:27 +0000 (21:50 +0500)]
util.muc: Fixed incorrect parameters for a function call

15 years agomod_message: Advertise offline message support as per XEP-0160 (thanks nolan)
Matthew Wild [Fri, 26 Jun 2009 14:35:20 +0000 (15:35 +0100)]
mod_message: Advertise offline message support as per XEP-0160 (thanks nolan)

15 years agomod_pep: Removed some YODO comments
Waqas Hussain [Fri, 26 Jun 2009 13:46:52 +0000 (18:46 +0500)]
mod_pep: Removed some YODO comments

15 years agomod_pep: Added handler for disco responses
Waqas Hussain [Fri, 26 Jun 2009 13:45:54 +0000 (18:45 +0500)]
mod_pep: Added handler for disco responses

15 years agoxmppclient_listener: Pass session close reason to destroy_session (to be used in...
Matthew Wild [Fri, 26 Jun 2009 05:32:45 +0000 (06:32 +0100)]
xmppclient_listener: Pass session close reason to destroy_session (to be used in unavailable presence)

15 years agomod_iq: Change sub-event names for IQ errors and results to use stanza IDs
Waqas Hussain [Fri, 26 Jun 2009 05:02:46 +0000 (10:02 +0500)]
mod_iq: Change sub-event names for IQ errors and results to use stanza IDs

15 years agoutil.stanza: Add stanza:get_text() to retrieve all child text nodes #api
Matthew Wild [Fri, 26 Jun 2009 04:54:55 +0000 (05:54 +0100)]
util.stanza: Add stanza:get_text() to retrieve all child text nodes #api

15 years agostanza_router: Fire events also for stanzas to components
Matthew Wild [Fri, 26 Jun 2009 04:54:03 +0000 (05:54 +0100)]
stanza_router: Fire events also for stanzas to components

15 years agomod_message, mod_presence: Maintain list of top resources. Less work in routing messa...
Waqas Hussain [Fri, 26 Jun 2009 03:54:22 +0000 (08:54 +0500)]
mod_message, mod_presence: Maintain list of top resources. Less work in routing messages to bare JIDs. - #optimization

15 years agoutil.events: Replaced ipairs with slightly faster numeric for loop - #optimization
Waqas Hussain [Fri, 26 Jun 2009 03:52:26 +0000 (08:52 +0500)]
util.events: Replaced ipairs with slightly faster numeric for loop - #optimization

15 years agoutil.stanza: Rewrote stanza_mt.__tostring. 20-30% faster stanza serialization. -...
Waqas Hussain [Thu, 25 Jun 2009 12:22:53 +0000 (17:22 +0500)]
util.stanza: Rewrote stanza_mt.__tostring. 20-30% faster stanza serialization. - #optimization

15 years agoutil.stanza: Remove numeric attributes while deserializing
Waqas Hussain [Thu, 25 Jun 2009 12:19:13 +0000 (17:19 +0500)]
util.stanza: Remove numeric attributes while deserializing

15 years agoxmlhandlers: Remove numeric attributes
Waqas Hussain [Thu, 25 Jun 2009 05:04:22 +0000 (10:04 +0500)]
xmlhandlers: Remove numeric attributes

15 years agostanza_router: Remove unused variables and code
Waqas Hussain [Thu, 25 Jun 2009 03:20:38 +0000 (08:20 +0500)]
stanza_router: Remove unused variables and code

15 years agostanza_router: A little refactoring
Waqas Hussain [Thu, 25 Jun 2009 03:17:02 +0000 (08:17 +0500)]
stanza_router: A little refactoring