Hopefully inert commit to clean up logging across a number of modules, removing all cases of concatenation when building log messages
|
Matthew Wild |
Mon, 23 Jul 2012 17:32:33 +0100 |
certmanager: Remove unused import of setmetatable
|
Matthew Wild |
Mon, 23 Jul 2012 16:42:26 +0100 |
certmanager: Fix for traceback WITH LuaSec... (!) (thanks IRON)
|
Matthew Wild |
Mon, 23 Jul 2012 16:39:49 +0100 |
certmanager: Fix traceback for missing LuaSec (thanks Link Mauve)
|
Matthew Wild |
Mon, 23 Jul 2012 14:17:42 +0100 |
mod_admin_telnet: Always handle commands terminated by line feeds - ensures consistency even when packets are joined or split on the network
|
Matthew Wild |
Mon, 23 Jul 2012 14:03:00 +0100 |
mod_s2s: Adjust session:close() in line with mod_c2s's - fixes waiting for </stream:stream> if it has already been sent by the peer
|
Matthew Wild |
Mon, 23 Jul 2012 13:31:26 +0100 |
mod_s2s/s2sout.lib: Use %s to insert strings into log messages instead of concatenation
|
Matthew Wild |
Mon, 23 Jul 2012 13:29:33 +0100 |
mod_c2s: Change 'reason' parameter of session:close() to take nil to mean 'graceful close initiated by us' and false for 'graceful close initiated by client'
|
Matthew Wild |
Mon, 23 Jul 2012 12:56:47 +0100 |
mod_disco: Allow configurable name in disco identity (defaults to 'Prosody')
|
Matthew Wild |
Mon, 23 Jul 2012 12:25:33 +0100 |
net.server_event: Remove unused variables and imports
|
Matthew Wild |
Sun, 22 Jul 2012 23:45:53 +0100 |
net.server_select: Remove unused variables and imports
|
Matthew Wild |
Sun, 22 Jul 2012 23:41:33 +0100 |
net.server_select: Remove extraneous variable
|
Matthew Wild |
Sun, 22 Jul 2012 23:39:27 +0100 |
sessionmanager: Clean up some unused variables and imports
|
Matthew Wild |
Sun, 22 Jul 2012 23:38:21 +0100 |
net.server_select: Never call ondisconnect() directly, go via handler:close() or handler:force_close() - fixes cases where ondisconnect() could be called multiple times for the same connection, leading to issues with s2sout retry logic.
|
Matthew Wild |
Sun, 22 Jul 2012 22:12:17 +0100 |
Merge with Maranda
|
Matthew Wild |
Sun, 22 Jul 2012 18:52:20 +0100 |
mod_admin_telnet: add s2s:closeall command and relative help entry.
|
Marco Cirillo |
Mon, 09 Jul 2012 19:50:11 +0000 |
Merge with Zash
|
Matthew Wild |
Sun, 22 Jul 2012 18:47:40 +0100 |
Merge Zash with Zash for Zash
|
Matthew Wild |
Sun, 22 Jul 2012 18:46:49 +0100 |
adhoc.lib: Make some globals local
|
Kim Alvefur |
Wed, 18 Jul 2012 21:18:17 +0200 |
mod_admin_telnet: Add info about user management commands to the help
|
Kim Alvefur |
Mon, 09 Jul 2012 20:39:55 +0200 |
mod_admin_telnet: Add some user management commands.
|
Kim Alvefur |
Mon, 09 Jul 2012 20:21:47 +0200 |
net.http: Use base64 from util.encodings instead of luasocket
|
Kim Alvefur |
Sat, 07 Jul 2012 23:22:15 +0200 |
mod_admin_telnet: Replace anonymous function with loop (saves a closure)
|
Matthew Wild |
Sun, 22 Jul 2012 18:00:59 +0100 |
Merge 0.9->trunk
|
Matthew Wild |
Sun, 22 Jul 2012 17:08:09 +0100 |
mod_s2s: Don't call ondisconnect manually, don't call conn:close() 3 times (!) and merge its logic and streamdisconnected into session_close - including now waiting for a reply </stream:stream> if there is the chance of further stanzas requiring delivery arriving. session.sends2s() on a half-closed stream returns false.
|
Matthew Wild |
Sun, 22 Jul 2012 17:07:21 +0100 |
mod_s2s: Don't treat a stanza as delivered if session.sends2s() returns false
|
Matthew Wild |
Sun, 22 Jul 2012 17:04:02 +0100 |
mod_presence: Handle nil disconnection error
|
Matthew Wild |
Sun, 22 Jul 2012 17:02:18 +0100 |
mod_iq: Don't treat an iq as handled if session.send() returns false
|
Matthew Wild |
Sun, 22 Jul 2012 17:01:52 +0100 |
mod_message: Don't treat a message as delivered ok if session.send() returns false
|
Matthew Wild |
Sun, 22 Jul 2012 16:59:55 +0100 |
mod_c2s: Don't call ondisconnect manually on close, it is now called by net.server. Replace with inline code for destroying the session, and also waiting for a reply </stream:stream> if there is a chance of further data sent by the client. session.send() on a half-closed stream returns false (and does not deliver the data).
|
Matthew Wild |
Sun, 22 Jul 2012 16:59:12 +0100 |
net.http: Don't call ondisconnect manually, net.server now calls it on close
|
Matthew Wild |
Sun, 22 Jul 2012 16:54:58 +0100 |
net.server_select, net.server_event: Change semantics of conn:close() - always call ondisconnect (with err == nil), and never close with data in send buffer (i.e. 'now' parameter removed)
|
Matthew Wild |
Sun, 22 Jul 2012 16:54:33 +0100 |
sessionmanager: Have session.send() of a retired session return false to indicate failure
|
Matthew Wild |
Sun, 22 Jul 2012 16:50:14 +0100 |
mod_s2s: Make unauthed session timeout a little more aggressive... otherwise it's possible for sessions to slip under the net and never get killed off
|
Matthew Wild |
Sun, 22 Jul 2012 16:45:27 +0100 |
mod_s2s/s2sout.lib: Fix indentation
|
Matthew Wild |
Sun, 22 Jul 2012 16:29:52 +0100 |
Merge 0.9->trunk
|
Matthew Wild |
Sun, 22 Jul 2012 16:17:33 +0100 |
mod_s2s/s2sout.lib: Don't wait for both v4 and v6 DNS responses if we only send one (e.g. because v6 is disabled)
|
Matthew Wild |
Sun, 22 Jul 2012 16:17:04 +0100 |
Merge 0.9->trunk
|
Matthew Wild |
Thu, 19 Jul 2012 15:36:31 +0100 |
mod_admin_adhoc: Remove unused variable and save a bit of CPU...
|
Matthew Wild |
Thu, 19 Jul 2012 15:36:16 +0100 |
moduleapi: Remove unused import of util.multitable
|
Matthew Wild |
Thu, 19 Jul 2012 15:35:07 +0100 |
Merge 0.9->trunk
|
Matthew Wild |
Mon, 09 Jul 2012 02:36:09 +0100 |
util.throttle: floor() internal balance calculation
|
Matthew Wild |
Mon, 09 Jul 2012 02:35:47 +0100 |
Merge 0.9->trunk
|
Matthew Wild |
Sun, 08 Jul 2012 18:54:56 +0100 |
util.pposix: Add comments to mallinfo fields we use, so I don't forget tomorrow what they mean
|
Matthew Wild |
Sun, 08 Jul 2012 18:54:30 +0100 |
Merge 0.9->trunk
|
Matthew Wild |
Sun, 08 Jul 2012 18:49:44 +0100 |
Merge with backout
|
Matthew Wild |
Sun, 08 Jul 2012 18:48:28 +0100 |
Backed out changeset 72a2eec4204a (incomplete fix)
|
Matthew Wild |
Sun, 08 Jul 2012 18:48:22 +0100 |
util.pposix: Add meminfo() binding to memory allocation stats provided by mallinfo() [compilation tested on Ubuntu...]
|
Matthew Wild |
Sun, 08 Jul 2012 18:47:05 +0100 |
Merge 0.9->trunk
|
Matthew Wild |
Sat, 07 Jul 2012 02:43:57 +0100 |
mod_auth_anonymous: Attach a fake roster to the session, so the null storage backend can be used
|
Kim Alvefur |
Sat, 07 Jul 2012 03:42:31 +0200 |
usermanager: Pass session on to auth provider (missing half of commit 0545a574667b) (thanks Zash)
|
Matthew Wild |
Sat, 07 Jul 2012 02:32:39 +0100 |
Merge 0.9->trunk
|
Matthew Wild |
Thu, 05 Jul 2012 17:42:19 +0100 |
Merge (some of) trunk -> 0.9
|
Matthew Wild |
Thu, 05 Jul 2012 17:41:57 +0100 |
Merge 0.9->trunk
|
Matthew Wild |
Thu, 05 Jul 2012 17:40:12 +0100 |
mod_saslauth: Pass session to usermanager.get_sasl_handler()
|
Matthew Wild |
Wed, 04 Jul 2012 23:44:13 +0100 |
TODO: Add statistics
|
Matthew Wild |
Wed, 04 Jul 2012 23:43:18 +0100 |
util.logger: Remove some redundant code
|
Matthew Wild |
Mon, 25 Jun 2012 00:16:08 +0100 |
util.stanza: Make stanza:childtags() behave like :get_child()
|
Kim Alvefur |
Thu, 05 Jul 2012 17:58:47 +0200 |
prosodyctl: Fix typo
|
Kim Alvefur |
Tue, 03 Jul 2012 15:56:32 +0200 |
util.pposix: Add setenv()
|
Kim Alvefur |
Tue, 03 Jul 2012 15:43:46 +0200 |
util.sasl: Make registerMechanism a public function
|
Matthew Wild |
Mon, 18 Jun 2012 16:57:46 +0100 |
mod_admin_web: Use util.dataforms' own error checking
|
Florian Zeitz |
Thu, 05 Jul 2012 00:15:49 +0200 |
mod_dialback: Skip an unnecessary nameprep.
|
Waqas Hussain |
Fri, 15 Jun 2012 02:53:57 +0500 |
s2smanager: Fix a traceback when we close a s2s connection ourselves (thanks for the testing Zash).
|
Waqas Hussain |
Wed, 13 Jun 2012 11:47:04 +0500 |
Merge 0.9->trunk
|
Matthew Wild |
Tue, 12 Jun 2012 17:31:55 +0100 |
util.dataforms: Fix parsing of -multi fields
|
Florian Zeitz |
Tue, 12 Jun 2012 18:29:58 +0200 |
Merge with trunk
|
Matthew Wild |
Tue, 12 Jun 2012 13:55:56 +0100 |
mod_adhoc, mod_admin_adhoc, mod_announce: Use module:provides() to manage Ad-Hoc commands
|
Florian Zeitz |
Tue, 12 Jun 2012 14:29:04 +0200 |
certmanager: Add quotes around cert file path when logging.
|
Waqas Hussain |
Tue, 12 Jun 2012 17:02:35 +0500 |
MUC: Handle missing persistent room data.
|
Waqas Hussain |
Tue, 12 Jun 2012 16:55:27 +0500 |
mod_s2s: Remove check for socket.tcp6()
|
Kim Alvefur |
Tue, 29 May 2012 18:04:29 +0200 |
mod_s2s: Only do AAAA lookup if IPv6 is available, and A if IPv4 is available.
|
Kim Alvefur |
Tue, 29 May 2012 18:02:48 +0200 |
mod_proxy65: Fix ACL
|
Kim Alvefur |
Tue, 29 May 2012 17:20:02 +0200 |
util.sasl.plain: make it return "not-authorized" in case of non-existant accounts instead of "account-disabled" to avoid enumeration.
|
Marco Cirillo |
Mon, 28 May 2012 15:59:10 +0000 |
stanza_router: Also don't bounce <iq type='result'>
|
Matthew Wild |
Sun, 27 May 2012 11:57:56 +0100 |
stanza_router: Don't bounce type=error stanzas
|
Kim Alvefur |
Sun, 27 May 2012 04:01:34 +0200 |
mod_proxy65: Add missing import of portmanager
|
Kim Alvefur |
Sun, 27 May 2012 01:22:02 +0200 |
mod_proxy65: Warn about pre-0.9 config style (per host proxy65_port)
|
Kim Alvefur |
Sun, 27 May 2012 01:17:59 +0200 |
mod_http: Fix traceback when no HTTP services succeed in binding
|
Matthew Wild |
Sat, 26 May 2012 19:49:43 +0100 |
DEPENDS: Add luafilesystem (thanks Zash)
|
Matthew Wild |
Sat, 26 May 2012 19:41:17 +0100 |
mod_admin_telnet: More code found and updated, which depended on pre-8c5b5ebaacb0 behaviour.
|
Kim Alvefur |
Fri, 25 May 2012 12:50:58 +0200 |
mod_admin_telnet: Code found and updated, which depended on pre-8c5b5ebaacb0 behaviour.
|
Kim Alvefur |
Fri, 25 May 2012 07:08:12 +0200 |
mod_http: Fix normalize_path('/') to not return an empty string, fixes module:http_url()
|
Kim Alvefur |
Fri, 25 May 2012 03:39:45 +0200 |
net.http.parser: Break loop when no more usable data in buffer
|
Matthew Wild |
Fri, 25 May 2012 02:32:33 +0100 |
mod_watchregistrations: Convert JID list to a set, and prep before use to fix traceback on invalid JIDs (thanks sMi)
|
Matthew Wild |
Thu, 24 May 2012 18:52:47 +0100 |
util.set: Change '/' operator from filter to map+filter (nil to drop from set, false is a valid item). No code found which depends on current behaviour.
|
Matthew Wild |
Thu, 24 May 2012 18:51:18 +0100 |
net.server_event: Internal changes to get plain-SSL outgoing connections working (as for HTTPS)
|
Matthew Wild |
Thu, 24 May 2012 03:33:14 +0100 |
mod_s2s, s2sout.lib: Send stream header in onconnect()
|
Matthew Wild |
Thu, 24 May 2012 03:08:42 +0100 |
net.server_event: Assume wrapclient() is taking a new connection, and call onconnect when appropriate (to match server_select)
|
Matthew Wild |
Thu, 24 May 2012 02:55:37 +0100 |
net.server_select: Don't close client connections when closing a server (it wasn't working anyway)
|
Matthew Wild |
Wed, 23 May 2012 02:20:32 +0100 |
net.server_select: Call ondisconnect handler, even if we closed the socket ourselves (fixes HTTP session hoarding, thanks Maranda)
|
Matthew Wild |
Wed, 23 May 2012 02:19:11 +0100 |
portmanager: Match service against service_info (:iter() doesn't match values)
|
Matthew Wild |
Tue, 22 May 2012 14:33:06 +0100 |
util.multitable: Some fixes for iter()... always match against query, and pass value after path results
|
Matthew Wild |
Tue, 22 May 2012 14:31:19 +0100 |
certmanager: tonumber() (fix for 0b8134015635)
|
Matthew Wild |
Sat, 19 May 2012 21:57:40 +0100 |
certmanager: Don't use no_ticket option before LuaSec 0.4
|
Matthew Wild |
Sat, 19 May 2012 21:53:43 +0100 |
mod_compression: advertise/activate compression only for authenticated sessions in accordance to XEP-0170. (Thanks fippo)
|
Tobias Markmann |
Sat, 19 May 2012 22:05:23 +0200 |
portmanager: Fix to deactivate services when they are unregistered (metatable:iter() wins)
|
Matthew Wild |
Sat, 19 May 2012 20:46:44 +0100 |
modulemanager, moduleapi: Turn module.event_handlers into a multitable and track object->event->handler associations correctly (thanks Zash)
|
Matthew Wild |
Sat, 19 May 2012 15:39:16 +0100 |
util.multitable: No longer use table.remove to drop elements from the stack, when key is nil immediately (on empty tables) the previous stack entry's key gets removed instead
|
Matthew Wild |
Sat, 19 May 2012 15:35:49 +0100 |
util.multitable: Add :iter() method to iterate over results at a fixed depth (parameters are equivalent to :search())
|
Matthew Wild |
Sat, 19 May 2012 04:12:41 +0100 |
moduleapi, modulemanager: Re-structure module.event_handlers so that the same handler can harmlessly handle multiple events (thanks Zash)
|
Matthew Wild |
Fri, 18 May 2012 23:53:02 +0100 |
mod_http: Add module:http_url([app_name,][default_path]) for a module to get a guess at its external URL
|
Matthew Wild |
Fri, 18 May 2012 04:24:33 +0100 |
util.watchdog: Pass watchdog object to callback so that it doesn't always have to be a closure
|
Matthew Wild |
Fri, 18 May 2012 04:22:51 +0100 |
certmanager: no_ticket is not a verification option (thanks Zash)
|
Matthew Wild |
Fri, 18 May 2012 01:50:51 +0100 |
certmanager: Add no_ticket option for OpenSSL (we don't support resumption yet)
|
Matthew Wild |
Fri, 18 May 2012 00:31:23 +0100 |
net.server_select: Return error when SSL handshake fails immediately (thanks Zash)
|
Matthew Wild |
Fri, 18 May 2012 00:27:06 +0100 |
util.dataforms: Don't return invalid JIDs in jid-single.
|
Kim Alvefur |
Thu, 17 May 2012 21:25:41 +0200 |
util.dataforms: Fix validation of booleans.
|
Kim Alvefur |
Thu, 17 May 2012 21:18:35 +0200 |
INSTALL: Update with changes from wiki.
|
Kim Alvefur |
Thu, 17 May 2012 21:04:31 +0200 |
util.dataforms: Do field validation and normalization in field readers.
|
Kim Alvefur |
Thu, 17 May 2012 21:01:44 +0200 |
modulemanager: Components should inherit mod_s2s from global modules_enabled too
|
Matthew Wild |
Wed, 16 May 2012 20:30:53 +0100 |
Remove util.broadcast
|
Matthew Wild |
Wed, 16 May 2012 20:17:07 +0100 |