prosody.git
14 years agonet.httpserver: Add helper function to set up HTTP server according to given config...
Matthew Wild [Sun, 12 Jul 2009 14:20:43 +0000 (15:20 +0100)]
net.httpserver: Add helper function to set up HTTP server according to given config options

14 years agonet.server: Don't continue with socket initialisation if SSL handshake failed, fixes...
Matthew Wild [Sun, 12 Jul 2009 14:18:53 +0000 (15:18 +0100)]
net.server: Don't continue with socket initialisation if SSL handshake failed, fixes nil socket traceback

14 years agoMerge with 0.5
Matthew Wild [Sun, 12 Jul 2009 13:34:02 +0000 (14:34 +0100)]
Merge with 0.5

14 years agonet.server: Don't close handler if it is already nil when SSL handshake fails
Matthew Wild [Sun, 12 Jul 2009 13:29:42 +0000 (14:29 +0100)]
net.server: Don't close handler if it is already nil when SSL handshake fails

14 years agoprosody: Load util.helpers at startup
Matthew Wild [Sun, 12 Jul 2009 01:08:59 +0000 (02:08 +0100)]
prosody: Load util.helpers at startup

14 years agoutil.helpers: New util library to aid with debugging, etc.
Matthew Wild [Sun, 12 Jul 2009 01:07:14 +0000 (02:07 +0100)]
util.helpers: New util library to aid with debugging, etc.

14 years agoprosody: Call initialisation functions at once
Matthew Wild [Sat, 11 Jul 2009 17:06:03 +0000 (18:06 +0100)]
prosody: Call initialisation functions at once

14 years agoprosody: Start of refactoring of main file
Matthew Wild [Sat, 11 Jul 2009 16:55:36 +0000 (17:55 +0100)]
prosody: Start of refactoring of main file

14 years agoutil.pubsub -> util.broadcast
Matthew Wild [Sat, 11 Jul 2009 14:16:18 +0000 (15:16 +0100)]
util.pubsub -> util.broadcast

14 years agoprosody.cfg.lua: Various small changes
Matthew Wild [Fri, 10 Jul 2009 15:47:31 +0000 (16:47 +0100)]
prosody.cfg.lua: Various small changes

14 years agoprosody.cfg.lua.dist: Move enabled line higher up (people including myself often...
Matthew Wild [Fri, 10 Jul 2009 15:39:50 +0000 (16:39 +0100)]
prosody.cfg.lua.dist: Move enabled line higher up (people including myself often miss it)

14 years agoprosody.cfg.lua.dist: Add auto-loaded modules to the config
Matthew Wild [Fri, 10 Jul 2009 15:38:35 +0000 (16:38 +0100)]
prosody.cfg.lua.dist: Add auto-loaded modules to the config

14 years agomod_uptime: Fix bad uptime if module is loaded at startup
Matthew Wild [Fri, 10 Jul 2009 14:33:53 +0000 (15:33 +0100)]
mod_uptime: Fix bad uptime if module is loaded at startup

14 years agoRemove version number from copyright headers
Matthew Wild [Fri, 10 Jul 2009 02:11:45 +0000 (03:11 +0100)]
Remove version number from copyright headers

14 years agoAdd copyright header to those files missing one
Matthew Wild [Fri, 10 Jul 2009 02:08:38 +0000 (03:08 +0100)]
Add copyright header to those files missing one

14 years agostanza_router: Catch and log an error case which I don't think should happen (but...
Matthew Wild [Fri, 10 Jul 2009 01:50:57 +0000 (02:50 +0100)]
stanza_router: Catch and log an error case which I don't think should happen (but sometimes seems to)

14 years agoRemove completed items from TODO
Matthew Wild [Fri, 10 Jul 2009 01:38:50 +0000 (02:38 +0100)]
Remove completed items from TODO

14 years agoutil.pubsub: Fix undefined global accesses
Matthew Wild [Fri, 10 Jul 2009 01:28:24 +0000 (02:28 +0100)]
util.pubsub: Fix undefined global accesses

14 years agoutil.sasl: Convert spaces to tabs
Matthew Wild [Fri, 10 Jul 2009 01:26:43 +0000 (02:26 +0100)]
util.sasl: Convert spaces to tabs

14 years agoutil.stanza: Convert spaces to tabs
Matthew Wild [Fri, 10 Jul 2009 01:25:14 +0000 (02:25 +0100)]
util.stanza: Convert spaces to tabs

14 years agoutil.hmac: Convert spaces to tabs
Matthew Wild [Fri, 10 Jul 2009 01:19:51 +0000 (02:19 +0100)]
util.hmac: Convert spaces to tabs

14 years agoutil.prosodyctl: Fix undefined global access
Matthew Wild [Fri, 10 Jul 2009 01:16:52 +0000 (02:16 +0100)]
util.prosodyctl: Fix undefined global access

14 years agoeventmanager: Convert from Windows line endings
Matthew Wild [Fri, 10 Jul 2009 01:11:00 +0000 (02:11 +0100)]
eventmanager: Convert from Windows line endings

14 years agomod_time Convert from Windows line endings
Matthew Wild [Thu, 9 Jul 2009 22:06:41 +0000 (23:06 +0100)]
mod_time Convert from Windows line endings

14 years agodiscomanager: Convert from Windows line endings
Matthew Wild [Thu, 9 Jul 2009 22:06:11 +0000 (23:06 +0100)]
discomanager: Convert from Windows line endings

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

15 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/

15 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

15 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/

15 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

15 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

15 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.

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

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

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

15 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

15 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