prosody.git
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 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 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 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 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 agoTagging 0.5.1
Matthew Wild [Wed, 29 Jul 2009 17:56:24 +0000 (18:56 +0100)]
Tagging 0.5.1

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

14 years agonet.server: Much improve SSL/TLS error reporting, do our best to understand and hide...
Matthew Wild [Tue, 28 Jul 2009 13:48:37 +0000 (14:48 +0100)]
net.server: Much improve SSL/TLS error reporting, do our best to understand and hide OpenSSL's ridiculously unfriendly error messages

14 years agoFixed: Possible duplicate error replies for unhandled stanzas
Waqas Hussain [Mon, 27 Jul 2009 19:42:56 +0000 (00:42 +0500)]
Fixed: Possible duplicate error replies for unhandled stanzas

14 years agonet.httpserver: Reduce log level of 'request left open' message
Matthew Wild [Mon, 27 Jul 2009 13:26:59 +0000 (14:26 +0100)]
net.httpserver: Reduce log level of 'request left open' message

14 years agomod_presence: Tag outgoing unavailables generated by a disconnect with a from attribute
Matthew Wild [Mon, 27 Jul 2009 00:27:51 +0000 (01:27 +0100)]
mod_presence: Tag outgoing unavailables generated by a disconnect with a from attribute

14 years agonet.server: Fail to open port if legacy SSL requested, but SSL not available
Matthias Diene [Thu, 23 Jul 2009 11:01:00 +0000 (12:01 +0100)]
net.server: Fail to open port if legacy SSL requested, but SSL not available

14 years agoprosodyctl: Also switch group when we switch user
Matthew Wild [Thu, 23 Jul 2009 02:58:14 +0000 (03:58 +0100)]
prosodyctl: Also switch group when we switch user

14 years agopposix, mod_posix: Bump pposix version number
Matthew Wild [Thu, 23 Jul 2009 02:47:06 +0000 (03:47 +0100)]
pposix, mod_posix: Bump pposix version number

14 years agopposix: Add setgid() function
Matthew Wild [Thu, 23 Jul 2009 02:40:01 +0000 (03:40 +0100)]
pposix: Add setgid() function

14 years agonet.server: Remove listener from listeners table when calling removeserver
Matthew Wild [Thu, 23 Jul 2009 02:06:49 +0000 (03:06 +0100)]
net.server: Remove listener from listeners table when calling removeserver

14 years agoprosody: Correctly allow console ports to be changed through the config
Matthew Wild [Thu, 23 Jul 2009 01:33:10 +0000 (02:33 +0100)]
prosody: Correctly allow console ports to be changed through the config

14 years agomod_console: Set default_interface to 127.0.0.1
Matthew Wild [Thu, 23 Jul 2009 01:32:00 +0000 (02:32 +0100)]
mod_console: Set default_interface to 127.0.0.1

14 years agonet.server: Set sslctx to false when SSL wrapping fails, to avoid attempting to wrap...
Matthew Wild [Thu, 23 Jul 2009 00:57:09 +0000 (01:57 +0100)]
net.server: Set sslctx to false when SSL wrapping fails, to avoid attempting to wrap clients with a broken context

14 years agoejabberd2prosody, erlparse: Add support for parsing non-ASCII strings and binaries...
Sergei Golovan [Thu, 23 Jul 2009 00:38:13 +0000 (01:38 +0100)]
ejabberd2prosody, erlparse: Add support for parsing non-ASCII strings and binaries, and atoms enclosed in single quotes

14 years agoejabberd2prosody, erlparse.lua: Convert from Windows line endings (thanks teo)
Matthew Wild [Tue, 21 Jul 2009 18:23:03 +0000 (19:23 +0100)]
ejabberd2prosody, erlparse.lua: Convert from Windows line endings (thanks teo)

14 years agonet.server: Continue to initialise port listener even when SSL errors occur
Matthias Diener [Thu, 23 Jul 2009 00:29:41 +0000 (01:29 +0100)]
net.server: Continue to initialise port listener even when SSL errors occur

14 years agomod_presence: Ignore presence sent to host and invalid JIDs, fixes traceback (thanks...
Matthew Wild [Wed, 22 Jul 2009 20:35:41 +0000 (21:35 +0100)]
mod_presence: Ignore presence sent to host and invalid JIDs, fixes traceback (thanks Deepspawn)

14 years agopposix: Change LOG_EMERG -> LOG_CRIT, which makes more sense, thanks to intosi for...
Matthew Wild [Tue, 21 Jul 2009 12:21:52 +0000 (13:21 +0100)]
pposix: Change LOG_EMERG -> LOG_CRIT, which makes more sense, thanks to intosi for reporting and an initial patch

14 years agomod_muc: Set correct 'from' JID when sending the room subject to joiners, fixes a...
Matthew Wild [Tue, 21 Jul 2009 12:19:37 +0000 (13:19 +0100)]
mod_muc: Set correct 'from' JID when sending the room subject to joiners, fixes a traceback

14 years agoTagging 0.5.0
Matthew Wild [Mon, 20 Jul 2009 13:59:51 +0000 (14:59 +0100)]
Tagging 0.5.0

14 years agoutil.xmlrpc: Fixed table serialization (regression introduced in previous change)
Waqas Hussain [Tue, 14 Jul 2009 20:40:11 +0000 (01:40 +0500)]
util.xmlrpc: Fixed table serialization (regression introduced in previous change)

14 years agomod_httpserver: Update to use new new_from_config() too
Matthew Wild [Tue, 14 Jul 2009 20:04:22 +0000 (21:04 +0100)]
mod_httpserver: Update to use new new_from_config() too

14 years agomod_bosh: Update to use new new_from_config()
Matthew Wild [Tue, 14 Jul 2009 20:04:07 +0000 (21:04 +0100)]
mod_bosh: Update to use new new_from_config()

14 years agonet.httpserver: Allow specification of the default base URL when using new_from_config()
Matthew Wild [Tue, 14 Jul 2009 20:03:30 +0000 (21:03 +0100)]
net.httpserver: Allow specification of the default base URL when using new_from_config()

14 years agoprosody.cfg.lua.dist: Add mod_pep to the default config file
Matthew Wild [Tue, 14 Jul 2009 16:09:18 +0000 (17:09 +0100)]
prosody.cfg.lua.dist: Add mod_pep to the default config file

14 years agonet.server: Initiate the handshake when we should, the more correcter fix for the...
Matthew Wild [Mon, 13 Jul 2009 20:17:51 +0000 (21:17 +0100)]
net.server: Initiate the handshake when we should, the more correcter fix for the previous correct fix

14 years agonet.server: Fix copyright header line endings and text
Matthew Wild [Sun, 12 Jul 2009 19:32:38 +0000 (20:32 +0100)]
net.server: Fix copyright header line endings and text

14 years agonet.server: Correct fix for SSL traceback earlier
Matthew Wild [Sun, 12 Jul 2009 19:25:02 +0000 (20:25 +0100)]
net.server: Correct fix for SSL traceback earlier

14 years agomod_bosh: Mark a session as secure if it is created with HTTPS
Matthew Wild [Sun, 12 Jul 2009 18:16:37 +0000 (19:16 +0100)]
mod_bosh: Mark a session as secure if it is created with HTTPS

14 years agonet.httpserver: Mark a request as secure if it is made using HTTPS
Matthew Wild [Sun, 12 Jul 2009 18:16:13 +0000 (19:16 +0100)]
net.httpserver: Mark a request as secure if it is made using HTTPS

14 years agomod_httpserver: Use new httpserver helper to initialise ports
Matthew Wild [Sun, 12 Jul 2009 14:22:37 +0000 (15:22 +0100)]
mod_httpserver: Use new httpserver helper to initialise ports

14 years agomod_bosh: Use new httpserver helper to initialise ports
Matthew Wild [Sun, 12 Jul 2009 14:21:10 +0000 (15:21 +0100)]
mod_bosh: Use new httpserver helper to initialise ports

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