prosody.git
14 years agoprosodyctl.man: Update email address
Dwayne Bent [Mon, 22 Feb 2010 00:27:42 +0000 (19:27 -0500)]
prosodyctl.man: Update email address

14 years agoprosodyctl.man: Include new restart command
Dwayne Bent [Mon, 22 Feb 2010 00:27:21 +0000 (19:27 -0500)]
prosodyctl.man: Include new restart command

14 years agomod_console: Uncomment the help for server:shutdown() - thanks darkrain
Matthew Wild [Mon, 22 Feb 2010 01:02:16 +0000 (01:02 +0000)]
mod_console: Uncomment the help for server:shutdown() - thanks darkrain

14 years agoprosodyctl: Add restart command for KSid and johnny :)
Matthew Wild [Sun, 21 Feb 2010 20:52:54 +0000 (20:52 +0000)]
prosodyctl: Add restart command for KSid and johnny :)

14 years agoMerge with 0.7
Matthew Wild [Sun, 21 Feb 2010 17:33:37 +0000 (17:33 +0000)]
Merge with 0.7

14 years agoprosody.cfg.lua.dist: Update config for 0.7, most improvements from the Arch Linux...
Matthew Wild [Sun, 21 Feb 2010 17:33:13 +0000 (17:33 +0000)]
prosody.cfg.lua.dist: Update config for 0.7, most improvements from the Arch Linux package by dbb, thanks!

14 years agoejabberd2prosody: Don't print passwords of imported accounts
Matthew Wild [Sun, 21 Feb 2010 16:57:06 +0000 (16:57 +0000)]
ejabberd2prosody: Don't print passwords of imported accounts

14 years agoMerge trunk with trunk
Matthew Wild [Sun, 21 Feb 2010 16:44:37 +0000 (16:44 +0000)]
Merge trunk with trunk

14 years agoMerge 0.7 with 0.7 with trunk \o/
Matthew Wild [Sun, 21 Feb 2010 16:43:55 +0000 (16:43 +0000)]
Merge 0.7 with 0.7 with trunk \o/

14 years agoMerge 0.7 with 0.7
Matthew Wild [Sun, 21 Feb 2010 16:43:29 +0000 (16:43 +0000)]
Merge 0.7 with 0.7

14 years agoMerge with 0.7
Matthew Wild [Sun, 21 Feb 2010 16:43:05 +0000 (16:43 +0000)]
Merge with 0.7

14 years agoejabberdsql2prosody: Don't print password of imported accounts (thanks azerttyu)
Matthew Wild [Sun, 21 Feb 2010 16:42:26 +0000 (16:42 +0000)]
ejabberdsql2prosody: Don't print password of imported accounts (thanks azerttyu)

14 years agoMerge with 0.7.
Waqas Hussain [Sun, 21 Feb 2010 12:47:49 +0000 (17:47 +0500)]
Merge with 0.7.

14 years agomod_iq: Fire sub-events for iq/self events.
Waqas Hussain [Sun, 21 Feb 2010 12:43:39 +0000 (17:43 +0500)]
mod_iq: Fire sub-events for iq/self events.

14 years agostanza_router: Make sure /self events are fired when the 'to' attribute is missing.
Waqas Hussain [Sun, 21 Feb 2010 12:43:05 +0000 (17:43 +0500)]
stanza_router: Make sure /self events are fired when the 'to' attribute is missing.

14 years agoMerge with 0.7
Matthew Wild [Sat, 20 Feb 2010 00:53:04 +0000 (00:53 +0000)]
Merge with 0.7

14 years agomod_debug: Obsoleted by mod_console
Matthew Wild [Sat, 20 Feb 2010 00:52:28 +0000 (00:52 +0000)]
mod_debug: Obsoleted by mod_console

14 years agomod_selftests: Obsolete, remove
Matthew Wild [Sat, 20 Feb 2010 00:52:13 +0000 (00:52 +0000)]
mod_selftests: Obsolete, remove

14 years agoBacked out changeset e7b09424b486 (not removing mod_offline for trunk)
Matthew Wild [Sat, 20 Feb 2010 00:47:18 +0000 (00:47 +0000)]
Backed out changeset e7b09424b486 (not removing mod_offline for trunk)

14 years agomod_offline: Remove from 0.7 (offline messages are handled in core at the moment)
Matthew Wild [Sat, 20 Feb 2010 00:12:32 +0000 (00:12 +0000)]
mod_offline: Remove from 0.7 (offline messages are handled in core at the moment)

14 years agomod_offline: Remove from 0.7 (offline messages are handled in core at the moment)
Matthew Wild [Sat, 20 Feb 2010 00:12:32 +0000 (00:12 +0000)]
mod_offline: Remove from 0.7 (offline messages are handled in core at the moment)

14 years agomod_storage, plus a bit of SQL and XML.
Waqas Hussain [Fri, 19 Feb 2010 17:32:28 +0000 (22:32 +0500)]
mod_storage, plus a bit of SQL and XML.

14 years agoMerge with 0.7
Matthew Wild [Fri, 19 Feb 2010 03:31:15 +0000 (03:31 +0000)]
Merge with 0.7

14 years agos2smanager: Use s2smanager log() if session doesn't have a logger (thanks Flo)
Matthew Wild [Fri, 19 Feb 2010 03:30:27 +0000 (03:30 +0000)]
s2smanager: Use s2smanager log() if session doesn't have a logger (thanks Flo)

14 years agonet.http: Update print()s to log()s - don't ask how this came to be, I have no idea :)
Matthew Wild [Fri, 19 Feb 2010 03:27:18 +0000 (03:27 +0000)]
net.http: Update print()s to log()s - don't ask how this came to be, I have no idea :)

14 years agonet.httpclient_listener: Don't notify request of closed connection if the close was...
Matthew Wild [Fri, 19 Feb 2010 03:23:51 +0000 (03:23 +0000)]
net.httpclient_listener: Don't notify request of closed connection if the close was initiated by us

14 years agonet.http: destroy_request(): Remove update for new server API, pass request.handler...
Matthew Wild [Fri, 19 Feb 2010 03:22:42 +0000 (03:22 +0000)]
net.http: destroy_request(): Remove update for new server API, pass request.handler instead of request.conn to ondisconnect

14 years agonet.http: Close connection when invalid status line is received from the server
Matthew Wild [Fri, 19 Feb 2010 03:21:50 +0000 (03:21 +0000)]
net.http: Close connection when invalid status line is received from the server

14 years agonet.http: Don't re-destroy a request when the connection is closed
Matthew Wild [Fri, 19 Feb 2010 03:21:20 +0000 (03:21 +0000)]
net.http: Don't re-destroy a request when the connection is closed

14 years agoMerge with 0.7
Matthew Wild [Fri, 19 Feb 2010 02:59:00 +0000 (02:59 +0000)]
Merge with 0.7

14 years agonet.http: Port commit 2f235c57d713 to net.http to fix headers in responses (thanks...
Matthew Wild [Fri, 19 Feb 2010 02:58:34 +0000 (02:58 +0000)]
net.http: Port commit 2f235c57d713 to net.http to fix headers in responses (thanks dersd)

14 years agoMerge with 0.7
Matthew Wild [Thu, 18 Feb 2010 19:00:50 +0000 (19:00 +0000)]
Merge with 0.7

14 years agoMerge with 0.7
Matthew Wild [Thu, 18 Feb 2010 18:57:55 +0000 (18:57 +0000)]
Merge with 0.7

14 years agoREADME: Update URL for installation docs
Matthew Wild [Thu, 18 Feb 2010 18:57:37 +0000 (18:57 +0000)]
README: Update URL for installation docs

14 years agoHACKERS: Update
Matthew Wild [Thu, 18 Feb 2010 17:12:37 +0000 (17:12 +0000)]
HACKERS: Update

14 years agoTODO: Update
Matthew Wild [Thu, 18 Feb 2010 17:10:45 +0000 (17:10 +0000)]
TODO: Update

14 years agoMerge with 0.7
Matthew Wild [Thu, 18 Feb 2010 16:46:07 +0000 (16:46 +0000)]
Merge with 0.7

14 years agonet.adns: Don't treat locally-initiated disconnects as fatal with libevent backend...
Matthew Wild [Thu, 18 Feb 2010 16:44:26 +0000 (16:44 +0000)]
net.adns: Don't treat locally-initiated disconnects as fatal with libevent backend in use (thanks Flo)

14 years agonet.server_event: Pass false as connection error to disconnect handler if close was...
Matthew Wild [Thu, 18 Feb 2010 16:41:53 +0000 (16:41 +0000)]
net.server_event: Pass false as connection error to disconnect handler if close was initiated by us

14 years agomodulemanager: Fix traceback on unloading global modules (thanks KSid)
Matthew Wild [Thu, 18 Feb 2010 16:22:50 +0000 (16:22 +0000)]
modulemanager: Fix traceback on unloading global modules (thanks KSid)

14 years agoMUC: Allow role changes based on JIDs.
Waqas Hussain [Thu, 18 Feb 2010 09:28:52 +0000 (14:28 +0500)]
MUC: Allow role changes based on JIDs.
(transplanted from a4879b1e6cde5aedb6bd5827d710b6dba5e8a736)

14 years agoMUC: Allow role changes based on JIDs.
Waqas Hussain [Thu, 18 Feb 2010 09:28:52 +0000 (14:28 +0500)]
MUC: Allow role changes based on JIDs.

14 years agoMerge with 0.7
Matthew Wild [Wed, 17 Feb 2010 13:22:42 +0000 (13:22 +0000)]
Merge with 0.7

14 years agonet.server_event: Increase SSL handshake timeout to 30s, make handshake round-trip...
Matthew Wild [Wed, 17 Feb 2010 13:21:33 +0000 (13:21 +0000)]
net.server_event: Increase SSL handshake timeout to 30s, make handshake round-trip count configurable, and bump connect timeout to 20s (thanks Flo)

14 years agoMerge with 0.7
Matthew Wild [Tue, 16 Feb 2010 17:16:12 +0000 (17:16 +0000)]
Merge with 0.7

14 years agomod_tls: Only negotiate TLS on outgoing s2s connections if we have an SSL context...
Matthew Wild [Tue, 16 Feb 2010 17:15:43 +0000 (17:15 +0000)]
mod_tls: Only negotiate TLS on outgoing s2s connections if we have an SSL context (thanks Flo...)

14 years agoMerge with 0.7
Matthew Wild [Tue, 16 Feb 2010 15:06:06 +0000 (15:06 +0000)]
Merge with 0.7

14 years agonet.adns: Fix potential traceback on DNS responses with libevent enabled (thanks...
Matthew Wild [Tue, 16 Feb 2010 15:05:18 +0000 (15:05 +0000)]
net.adns: Fix potential traceback on DNS responses with libevent enabled (thanks Flo)

14 years agoMakefile: Remove fallbacks/
Matthew Wild [Mon, 15 Feb 2010 23:06:57 +0000 (23:06 +0000)]
Makefile: Remove fallbacks/

14 years agoMakefile: Remove fallbacks/
Matthew Wild [Mon, 15 Feb 2010 23:06:57 +0000 (23:06 +0000)]
Makefile: Remove fallbacks/

14 years agoprosody: Don't add fallbacks to package.path and package.cpath.
Waqas Hussain [Mon, 15 Feb 2010 23:05:25 +0000 (04:05 +0500)]
prosody: Don't add fallbacks to package.path and package.cpath.

14 years agoutil.sasl.scram: Removed unnecessary dependency on bitlib.
Waqas Hussain [Mon, 15 Feb 2010 23:02:37 +0000 (04:02 +0500)]
util.sasl.scram: Removed unnecessary dependency on bitlib.

14 years agomod_saslauth: Log debug message with full error if cyrussasl couldn't be loaded
Matthew Wild [Mon, 15 Feb 2010 22:56:36 +0000 (22:56 +0000)]
mod_saslauth: Log debug message with full error if cyrussasl couldn't be loaded

14 years agomod_saslauth: Correct syntax for gracefully handling a missing cyrussasl library
Matthew Wild [Mon, 15 Feb 2010 22:56:15 +0000 (22:56 +0000)]
mod_saslauth: Correct syntax for gracefully handling a missing cyrussasl library

14 years agonet.server: Remove redundant commented code and some trailing whitespace
Matthew Wild [Mon, 15 Feb 2010 22:53:32 +0000 (22:53 +0000)]
net.server: Remove redundant commented code and some trailing whitespace

14 years agomod_presence: Added config option 'bare_message_delivery_policy'. Allowed values...
Waqas Hussain [Mon, 15 Feb 2010 03:04:25 +0000 (08:04 +0500)]
mod_presence: Added config option 'bare_message_delivery_policy'. Allowed values are 'priority' (default) and 'broadcast'.

14 years agomod_presence: Reflect the user's own presence back to them.
Waqas Hussain [Sun, 14 Feb 2010 23:15:37 +0000 (04:15 +0500)]
mod_presence: Reflect the user's own presence back to them.

14 years agomod_saslauth: Warn and fallback gracefully when Cyrus SASL is requested, but missing.
Waqas Hussain [Sun, 14 Feb 2010 21:51:07 +0000 (02:51 +0500)]
mod_saslauth: Warn and fallback gracefully when Cyrus SASL is requested, but missing.

14 years agonet.server_event: Fire onincoming() callback for new connections as opposed to the...
Matthew Wild [Sun, 14 Feb 2010 20:47:09 +0000 (20:47 +0000)]
net.server_event: Fire onincoming() callback for new connections as opposed to the new onconnect() - let's change this for a future version though

14 years agoconfigmanager: Remove debugging code accidentally committed
Matthew Wild [Sun, 14 Feb 2010 20:37:49 +0000 (20:37 +0000)]
configmanager: Remove debugging code accidentally committed

14 years agonet.server_event: Fix another instance of creating an SSL context - certmanager now...
Matthew Wild [Sun, 14 Feb 2010 20:36:54 +0000 (20:36 +0000)]
net.server_event: Fix another instance of creating an SSL context - certmanager now does this

14 years agonet.server_event: Fix traceback in creating SSL context
Matthew Wild [Sun, 14 Feb 2010 20:15:17 +0000 (20:15 +0000)]
net.server_event: Fix traceback in creating SSL context

14 years agoconfigmanager: Error when a component and host clash hostnames
Matthew Wild [Sun, 14 Feb 2010 18:41:44 +0000 (18:41 +0000)]
configmanager: Error when a component and host clash hostnames

14 years agomod_tls: Ban TLS after auth, not before.
Waqas Hussain [Sun, 14 Feb 2010 05:00:39 +0000 (10:00 +0500)]
mod_tls: Ban TLS after auth, not before.

14 years agomod_tls: Fixed traceback during S2S TLS (nil global access).
Waqas Hussain [Sun, 14 Feb 2010 04:59:57 +0000 (09:59 +0500)]
mod_tls: Fixed traceback during S2S TLS (nil global access).

14 years agomod_saslauth: Don't print raw SASL data to avoid logging passwords unnecessarily
Matthew Wild [Sat, 13 Feb 2010 19:35:12 +0000 (19:35 +0000)]
mod_saslauth: Don't print raw SASL data to avoid logging passwords unnecessarily

14 years agoprosody: More accurate friendly error message in the event that creating the global...
Matthew Wild [Sat, 13 Feb 2010 16:22:05 +0000 (16:22 +0000)]
prosody: More accurate friendly error message in the event that creating the global SSL context fails

14 years agoprosody: Use certmanager to create the global SSL context
Matthew Wild [Sat, 13 Feb 2010 16:21:32 +0000 (16:21 +0000)]
prosody: Use certmanager to create the global SSL context

14 years agoMerge with 0.7
Matthew Wild [Sat, 13 Feb 2010 16:12:53 +0000 (16:12 +0000)]
Merge with 0.7

14 years agocertmanager: Bring back the friendly errors when failing to load the key/certificate...
Matthew Wild [Sat, 13 Feb 2010 16:12:21 +0000 (16:12 +0000)]
certmanager: Bring back the friendly errors when failing to load the key/certificate file

14 years agocomponentmanager: Use certmanager for creating contexts
Matthew Wild [Sat, 13 Feb 2010 16:10:01 +0000 (16:10 +0000)]
componentmanager: Use certmanager for creating contexts

14 years agocertmanager, hostmanager: Rename get_context() to create_context() to be more explici...
Matthew Wild [Sat, 13 Feb 2010 16:08:43 +0000 (16:08 +0000)]
certmanager, hostmanager: Rename get_context() to create_context() to be more explicit about what it does

14 years agoMerge with backout
Matthew Wild [Sat, 13 Feb 2010 15:34:33 +0000 (15:34 +0000)]
Merge with backout

14 years agoBacked out changeset cb1f9266130b: better way to achieve this to be committed Real...
Matthew Wild [Sat, 13 Feb 2010 15:34:22 +0000 (15:34 +0000)]
Backed out changeset cb1f9266130b: better way to achieve this to be committed Real Soon Now.

14 years agomod_tls: Refactor to simplify detection of whether we can do TLS on a connection
Matthew Wild [Fri, 12 Feb 2010 21:57:46 +0000 (21:57 +0000)]
mod_tls: Refactor to simplify detection of whether we can do TLS on a connection

14 years agostanza_router: Fire /self events for stanzas users send to their own bare JID.
Waqas Hussain [Fri, 12 Feb 2010 21:55:24 +0000 (02:55 +0500)]
stanza_router: Fire /self events for stanzas users send to their own bare JID.

14 years agomod_tls: Don't offer TLS on hosts that don't have any certs
Matthew Wild [Fri, 12 Feb 2010 21:33:22 +0000 (21:33 +0000)]
mod_tls: Don't offer TLS on hosts that don't have any certs

14 years agosessionmanager, s2smanager: Fix for syntax of null_data_handler() (thanks Nolan)
Matthew Wild [Fri, 12 Feb 2010 17:27:53 +0000 (17:27 +0000)]
sessionmanager, s2smanager: Fix for syntax of null_data_handler() (thanks Nolan)

14 years agosessionmanager, s2smanager: Give sessions dummy data handlers that log when data...
Matthew Wild [Fri, 12 Feb 2010 17:14:54 +0000 (17:14 +0000)]
sessionmanager, s2smanager: Give sessions dummy data handlers that log when data is received by a destroyed session

14 years agonet.dns: Normalize records before placing them in the cache, fixes issues with CNAME...
Matthew Wild [Fri, 12 Feb 2010 15:05:48 +0000 (15:05 +0000)]
net.dns: Normalize records before placing them in the cache, fixes issues with CNAME targets in CAPS (fixes #161)

14 years agonet.dns: Update for new socket API
Matthew Wild [Fri, 12 Feb 2010 15:02:57 +0000 (15:02 +0000)]
net.dns: Update for new socket API

14 years agohostmanager: Small optimisation in checking whether a host is enabled
Matthew Wild [Fri, 12 Feb 2010 12:47:23 +0000 (12:47 +0000)]
hostmanager: Small optimisation in checking whether a host is enabled

14 years agohostmanager: Log an error if no hosts are defined
Matthew Wild [Fri, 12 Feb 2010 12:43:50 +0000 (12:43 +0000)]
hostmanager: Log an error if no hosts are defined

14 years agomod_privacy: Remove the non-working sendNeededUnavailablePresences() and the related...
Matthew Wild [Fri, 12 Feb 2010 12:29:53 +0000 (12:29 +0000)]
mod_privacy: Remove the non-working sendNeededUnavailablePresences() and the related commented code

14 years agomod_privacy: Fix to correctly iterate over lists stored in new format
Matthew Wild [Fri, 12 Feb 2010 12:28:45 +0000 (12:28 +0000)]
mod_privacy: Fix to correctly iterate over lists stored in new format

14 years agomod_privacy: Upgrade old privacy lists to new storage format, so they don't get lost
Matthew Wild [Fri, 12 Feb 2010 12:07:46 +0000 (12:07 +0000)]
mod_privacy: Upgrade old privacy lists to new storage format, so they don't get lost

14 years agos2smanager, mod_compression, mod_tls: Changed event.session to event.origin for s2s...
Waqas Hussain [Thu, 11 Feb 2010 23:30:17 +0000 (04:30 +0500)]
s2smanager, mod_compression, mod_tls: Changed event.session to event.origin for s2s-stream-features event for consistency.

14 years agomod_saslauth: Hook stream-features event using new events API.
Waqas Hussain [Thu, 11 Feb 2010 23:25:37 +0000 (04:25 +0500)]
mod_saslauth: Hook stream-features event using new events API.

14 years agomod_roster: Hook stream-features event using new events API.
Waqas Hussain [Thu, 11 Feb 2010 23:22:30 +0000 (04:22 +0500)]
mod_roster: Hook stream-features event using new events API.

14 years agomod_legacyauth: Hook stream-features event using new events API.
Waqas Hussain [Thu, 11 Feb 2010 23:22:01 +0000 (04:22 +0500)]
mod_legacyauth: Hook stream-features event using new events API.

14 years agomod_compression: Hook stream-features event using new events API.
Waqas Hussain [Thu, 11 Feb 2010 23:21:34 +0000 (04:21 +0500)]
mod_compression: Hook stream-features event using new events API.

14 years agomod_bosh: Fire stream-features event using new events API.
Waqas Hussain [Thu, 11 Feb 2010 23:11:50 +0000 (04:11 +0500)]
mod_bosh: Fire stream-features event using new events API.

14 years agomod_tls: Hook stream-features event using new events API.
Waqas Hussain [Thu, 11 Feb 2010 22:50:44 +0000 (03:50 +0500)]
mod_tls: Hook stream-features event using new events API.

14 years agosessionmanager: Fire stream-features event using new events API.
Waqas Hussain [Thu, 11 Feb 2010 22:49:05 +0000 (03:49 +0500)]
sessionmanager: Fire stream-features event using new events API.

14 years agomod_tls: Cleanup.
Waqas Hussain [Thu, 11 Feb 2010 22:46:48 +0000 (03:46 +0500)]
mod_tls: Cleanup.

14 years agomod_tls: Fixed an extra :up() in s2s stream feature generation.
Waqas Hussain [Thu, 11 Feb 2010 22:14:53 +0000 (03:14 +0500)]
mod_tls: Fixed an extra :up() in s2s stream feature generation.

14 years agoMerge with trunk.
Waqas Hussain [Thu, 11 Feb 2010 21:50:57 +0000 (02:50 +0500)]
Merge with trunk.

14 years agomod_tls: Remove origin type check when TLS is requested (thanks MattJ).
Waqas Hussain [Thu, 11 Feb 2010 21:43:02 +0000 (02:43 +0500)]
mod_tls: Remove origin type check when TLS is requested (thanks MattJ).

14 years agomod_tls: Respond with proper error when TLS cannot be negotiated.
Waqas Hussain [Thu, 11 Feb 2010 21:39:50 +0000 (02:39 +0500)]
mod_tls: Respond with proper error when TLS cannot be negotiated.

14 years agonet.server_event: Fixes for traceback with no LuaSec
Matthew Wild [Thu, 11 Feb 2010 21:32:49 +0000 (21:32 +0000)]
net.server_event: Fixes for traceback with no LuaSec