Matthew Wild [Thu, 23 Jul 2009 02:40:01 +0000 (03:40 +0100)]
pposix: Add setgid() function
Matthew Wild [Thu, 23 Jul 2009 02:06:49 +0000 (03:06 +0100)]
net.server: Remove listener from listeners table when calling removeserver
Matthew Wild [Thu, 23 Jul 2009 01:33:10 +0000 (02:33 +0100)]
prosody: Correctly allow console ports to be changed through the config
Matthew Wild [Thu, 23 Jul 2009 01:32:00 +0000 (02:32 +0100)]
mod_console: Set default_interface to 127.0.0.1
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
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
Matthew Wild [Tue, 21 Jul 2009 18:23:03 +0000 (19:23 +0100)]
ejabberd2prosody, erlparse.lua: Convert from Windows line endings (thanks teo)
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
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)
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
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
Matthew Wild [Mon, 20 Jul 2009 13:59:51 +0000 (14:59 +0100)]
Tagging 0.5.0
Waqas Hussain [Tue, 14 Jul 2009 20:40:11 +0000 (01:40 +0500)]
util.xmlrpc: Fixed table serialization (regression introduced in previous change)
Matthew Wild [Tue, 14 Jul 2009 20:04:22 +0000 (21:04 +0100)]
mod_httpserver: Update to use new new_from_config() too
Matthew Wild [Tue, 14 Jul 2009 20:04:07 +0000 (21:04 +0100)]
mod_bosh: Update to use new 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()
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
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
Matthew Wild [Sun, 12 Jul 2009 19:32:38 +0000 (20:32 +0100)]
net.server: Fix copyright header line endings and text
Matthew Wild [Sun, 12 Jul 2009 19:25:02 +0000 (20:25 +0100)]
net.server: Correct fix for SSL traceback earlier
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
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
Matthew Wild [Sun, 12 Jul 2009 14:22:37 +0000 (15:22 +0100)]
mod_httpserver: 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
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
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
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
Matthew Wild [Fri, 10 Jul 2009 15:47:31 +0000 (16:47 +0100)]
prosody.cfg.lua: Various small changes
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)
Matthew Wild [Fri, 10 Jul 2009 15:38:35 +0000 (16:38 +0100)]
prosody.cfg.lua.dist: Add auto-loaded modules to the config
Matthew Wild [Fri, 10 Jul 2009 14:33:53 +0000 (15:33 +0100)]
mod_uptime: Fix bad uptime if module is loaded at startup
Matthew Wild [Fri, 10 Jul 2009 02:11:45 +0000 (03:11 +0100)]
Remove version number from copyright headers
Matthew Wild [Fri, 10 Jul 2009 02:08:38 +0000 (03:08 +0100)]
Add copyright header to those files missing one
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)
Matthew Wild [Fri, 10 Jul 2009 01:38:50 +0000 (02:38 +0100)]
Remove completed items from TODO
Matthew Wild [Fri, 10 Jul 2009 01:28:24 +0000 (02:28 +0100)]
util.pubsub: Fix undefined global accesses
Matthew Wild [Fri, 10 Jul 2009 01:26:43 +0000 (02:26 +0100)]
util.sasl: Convert spaces to tabs
Matthew Wild [Fri, 10 Jul 2009 01:25:14 +0000 (02:25 +0100)]
util.stanza: Convert spaces to tabs
Matthew Wild [Fri, 10 Jul 2009 01:19:51 +0000 (02:19 +0100)]
util.hmac: Convert spaces to tabs
Matthew Wild [Fri, 10 Jul 2009 01:16:52 +0000 (02:16 +0100)]
util.prosodyctl: Fix undefined global access
Matthew Wild [Fri, 10 Jul 2009 01:11:00 +0000 (02:11 +0100)]
eventmanager: 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
Matthew Wild [Thu, 9 Jul 2009 22:06:11 +0000 (23:06 +0100)]
discomanager: 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
Matthew Wild [Thu, 9 Jul 2009 22:00:32 +0000 (23:00 +0100)]
mod_disco: 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
Matthew Wild [Thu, 9 Jul 2009 21:57:59 +0000 (22:57 +0100)]
mod_presence: 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
Matthew Wild [Thu, 9 Jul 2009 13:41:56 +0000 (14:41 +0100)]
mod_console: Expose commands and environment table
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
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)
Matthew Wild [Thu, 9 Jul 2009 03:37:08 +0000 (04:37 +0100)]
mod_console: Add quit and exit as aliases for 'bye' command
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
Matthew Wild [Wed, 8 Jul 2009 15:53:59 +0000 (16:53 +0100)]
prosodyctl: Quit when user pressed ^C in password prompts
Matthew Wild [Wed, 8 Jul 2009 15:48:49 +0000 (16:48 +0100)]
prosodyctl: Don't 'blugh' when ^C is pressed during reading passwords
Matthew Wild [Wed, 8 Jul 2009 15:38:46 +0000 (16:38 +0100)]
prosodyctl: Fix traceback when issued with no parameters
Matthew Wild [Wed, 8 Jul 2009 14:23:07 +0000 (15:23 +0100)]
util.xmlrpc: Support for multiple parameters in requests
Matthew Wild [Wed, 8 Jul 2009 14:11:11 +0000 (15:11 +0100)]
util.xmlrpc: Add create_request
Matthew Wild [Wed, 8 Jul 2009 03:32:02 +0000 (04:32 +0100)]
mod_console: server:version() and server:uptime() commands
Matthew Wild [Wed, 8 Jul 2009 03:22:45 +0000 (04:22 +0100)]
mod_uptime: Use time of server start rather than module load
Matthew Wild [Wed, 8 Jul 2009 03:22:15 +0000 (04:22 +0100)]
mod_uptime: Convert to unix line endings
Matthew Wild [Wed, 8 Jul 2009 03:19:15 +0000 (04:19 +0100)]
prosody: Record time the server started
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
Matthew Wild [Wed, 8 Jul 2009 01:29:13 +0000 (02:29 +0100)]
mod_console: Add c2s:close() command
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
Waqas Hussain [Sun, 5 Jul 2009 20:40:43 +0000 (01:40 +0500)]
Merged with trunk
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
Tobias Markmann [Sun, 5 Jul 2009 17:05:25 +0000 (19:05 +0200)]
Merge with main branch.
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.
Tobias Markmann [Sun, 5 Jul 2009 17:02:55 +0000 (19:02 +0200)]
Move to-unicode conversion from mod_saslauth.lua to sasl.lua.
Tobias Markmann [Sun, 5 Jul 2009 16:59:46 +0000 (18:59 +0200)]
Fixed decoding of parameters.
Matthew Wild [Sun, 5 Jul 2009 16:36:27 +0000 (17:36 +0100)]
mod_console: Allow customisation/suppression of the banner
Matthew Wild [Sun, 5 Jul 2009 16:10:42 +0000 (17:10 +0100)]
util.hmac: Some optimisations
Matthew Wild [Sun, 5 Jul 2009 16:06:22 +0000 (17:06 +0100)]
util.hmac: Fix a global set
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
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
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
Waqas Hussain [Sun, 5 Jul 2009 07:43:25 +0000 (12:43 +0500)]
mod_presence: Broadcast presence to resources before contacts
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
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
Waqas Hussain [Sun, 5 Jul 2009 07:17:22 +0000 (12:17 +0500)]
mod_presence: Simplified roster iteration
Waqas Hussain [Sun, 5 Jul 2009 06:59:51 +0000 (11:59 +0500)]
mod_presence: Eliminated a jid_split
Waqas Hussain [Sun, 5 Jul 2009 06:57:18 +0000 (11:57 +0500)]
mod_presence: Removed some unnecessary code
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/
Matthew Wild [Fri, 3 Jul 2009 20:44:30 +0000 (21:44 +0100)]
mod_presence: Declare t_insert, fixes a potential traceback
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/
Matthew Wild [Fri, 3 Jul 2009 13:58:11 +0000 (14:58 +0100)]
s2smanager: Log the hostname and address when s2s connection fails instantly
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
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.
Dwayne Bent [Thu, 2 Jul 2009 19:23:09 +0000 (15:23 -0400)]
Merged branches
Dwayne Bent [Thu, 2 Jul 2009 19:20:15 +0000 (15:20 -0400)]
Added man page for prosodyctl
Waqas Hussain [Thu, 2 Jul 2009 18:46:27 +0000 (23:46 +0500)]
mod_presence: Removed dead code
Waqas Hussain [Thu, 2 Jul 2009 16:34:45 +0000 (21:34 +0500)]
datamanager: Fixed incorrect callback result checking
Matthew Wild [Thu, 2 Jul 2009 14:43:27 +0000 (15:43 +0100)]
mod_pep: Escape + in pattern
Matthew Wild [Thu, 2 Jul 2009 03:54:46 +0000 (04:54 +0100)]
prosodyctl: Add message for not-running error
Matthew Wild [Thu, 2 Jul 2009 03:53:31 +0000 (04:53 +0100)]
prosodyctl: Use prosodyctl_timeout option if it exists in the config
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
Matthew Wild [Thu, 2 Jul 2009 03:11:51 +0000 (04:11 +0100)]
mod_pep: Pass origin/session to publish_all()
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)
Matthew Wild [Thu, 2 Jul 2009 00:09:20 +0000 (01:09 +0100)]
prosody: Add fallbacks/ to path