verse: Fix disconnected event for unassociated connections
|
Kim Alvefur |
Sun, 10 Feb 2013 18:06:43 +0100 |
Backout 55e3fd7b9731
|
Kim Alvefur |
Sun, 10 Feb 2013 18:02:00 +0100 |
verse: Err, I meant the stream, not the connection
|
Kim Alvefur |
Sun, 10 Feb 2013 04:29:20 +0100 |
verse: Really pass the connection to ondisconnect, not some unknown global
|
Kim Alvefur |
Sun, 10 Feb 2013 04:20:44 +0100 |
verse: Only fire the disconnected event if the stream and the connection are still associated (fixes smacks issue)
|
Kim Alvefur |
Sun, 10 Feb 2013 03:29:04 +0100 |
verse: Add missing 'reason' argument to stream:close()
|
Kim Alvefur |
Sun, 10 Feb 2013 02:50:02 +0100 |
verse: Remove some, erm, debug logging
|
Matthew Wild |
Fri, 30 Mar 2012 03:57:03 +0100 |
verse: Add :listen(host, port) to Verse objects ("connected" event is fired with new clients)
|
Matthew Wild |
Fri, 30 Mar 2012 03:09:59 +0100 |
verse: Accept a file object as a log handler, and automatically call :write() on it with a formatted message
|
Matthew Wild |
Sun, 12 Feb 2012 20:21:52 +0000 |
Merge with Zash
|
Matthew Wild |
Mon, 05 Dec 2011 15:39:05 +0000 |
verse: Add stream:info() for emitting info-level log message.
|
Kim Alvefur |
Mon, 05 Dec 2011 16:24:13 +0100 |
verse: Add init(...) method to load connection modules (client, component, bosh, etc.)
|
Matthew Wild |
Mon, 05 Dec 2011 15:38:18 +0000 |
verse: Remove silly logger line I just noticed at the end of the file
|
Matthew Wild |
Wed, 30 Nov 2011 18:01:53 +0000 |
verse: Add default log handler for errors
|
Matthew Wild |
Sun, 27 Nov 2011 23:00:15 +0000 |
verse: Format messages before passing them to custom log handler
|
Matthew Wild |
Sun, 27 Nov 2011 22:59:59 +0000 |
verse: set_log_handler(): Allow nil to be passed for log_handler to disable logging (the default).
|
Matthew Wild |
Sun, 27 Nov 2011 22:50:21 +0000 |
verse: Switch connection ids to be a simple incrementing integer
|
Matthew Wild |
Sun, 27 Nov 2011 22:48:02 +0000 |
verse, squishy: Port to Prosody's util.logger. Adds new function, verse.set_log_handler(handler, levels).
|
Matthew Wild |
Sun, 27 Nov 2011 22:45:26 +0000 |
verse: require('util.logger') (besides being correct, also fixes a silly bug when loading verse twice)
|
Matthew Wild |
Sun, 27 Nov 2011 22:07:59 +0000 |
verse: verse.logger() -> verse.new_logger()
|
Matthew Wild |
Sun, 27 Nov 2011 22:01:59 +0000 |
verse: Connections use global Verse logger by default
|
Matthew Wild |
Sun, 27 Nov 2011 21:41:44 +0000 |
verse: Expose net.server as verse.server
|
Matthew Wild |
Fri, 18 Mar 2011 21:50:06 +0000 |
verse: Make add_plugin only load a plugin once per stream
|
Matthew Wild |
Thu, 30 Dec 2010 22:59:23 +0000 |
verse: Change to set conn:send in only one place, and fire new events 'outgoing' and 'outgoing-raw'
|
Matthew Wild |
Wed, 15 Dec 2010 14:48:55 +0000 |
verse: Consider a plugin as failed to load only if it returns false
|
Matthew Wild |
Wed, 15 Dec 2010 11:57:23 +0000 |
verse: Add verse.filter_log(levels, logger) to filter a logger for certain levels
|
Matthew Wild |
Wed, 15 Sep 2010 16:52:18 +0100 |
verse: Fix set_logger() to set verse.log() correctly
|
Matthew Wild |
Wed, 15 Sep 2010 16:51:17 +0100 |
verse: Fire disconnected event even if connection fails instantly
|
Matthew Wild |
Tue, 14 Sep 2010 15:02:29 +0100 |
verse: Log error and return when trying to close a closed connection
|
Matthew Wild |
Mon, 13 Sep 2010 14:49:30 +0100 |
verse: verse.loop() and new verse.step() use the new error handler to, er, handle errors.
|
Matthew Wild |
Mon, 13 Sep 2010 14:08:41 +0100 |