util.sha1: Obey second parameter which decides whether to return the result in ASCII hex encoding

verse.plugins.version: Return true when handling a version request

verse.plugins.proxy65: Add proxies discovered by disco plugin to proxy65.available_streamhosts

verse.plugins.jingle_ft: Jingle File Transfer application profile

verse.plugins.jingle_s5b: Jingle SOCKS5 Bytestreams transport

verse.plugins.jingle: XEP-0166 Jingle plugin

verse.plugins.disco: Add disco plugin originally developed by Hubert Chathi for Riddim, but here adapted for Verse with new APIs added to allow disco'ing the local server and remote entities

verse: Add verse.eventable() to give a passed object :event() and :hook()/:unhook() methods and return it again

verse.client: Update stream:close() to use base stream:close(), and not add an XMPP-specific :close() to the base stream

verse: Return true from connect() on success, add stream:close()

verse: Return false rather than nil from connect() on error, for consistency

verse: Add stream:set_loglevels()

verse.bosh: Implemented retry/reconnect logic, and handling of disconnects (either CM-intiated or due to connection failures)

squishy: Build in BOSH and HTTP by default, --no-bosh to disable

doc/example_bosh.lua: Put url into variable

squishy: Add --with-bosh option to squish with verse.bosh and necessarylibraries

verse.bosh: Update to use net.http instead of verse.plugins.http

Add doc/example_bosh.lua

verse.bosh: Use verse.new_bosh(logger, url) to make a BOSH connection

example_component.lua: Fix password

docs/example_component.lua: Example for connecting to the server as a component

verse.component: XEP-0114 support \o/

verse.client: Add stream_id property

plugins.roster: Unfinished roster plugin

Bounce service-unavailable on unhandled iq stanzas (thanks Kev, Florob and anyone else who poked me)

verse.plugins.blocking, squishy: New plugin for XEP-0191: Simple Communications Blocking

plugins.compression: Add newline at end of file (helps old versions of squish for one thing)

verse.client, verse.plugins.bind, verse.plugins.session: Rename binding-success and binding-failure to bind-success and bind-failure for consistency

doc/example.lua: Update to use 'ready' event

verse.client: Fire 'ready' event on stream when resource binding or session negotiation is complete, hook this instead of binding-success

verse.plugins.session: Only negotiate session when support is advertised by the server, and not marked as optional (saves a round-trip in a lot of cases)

verse.plugins.compression: Remove some redundant debug logging

verse.plugins.session: Convert from spaces to tabs

verse.plugins.compression: Bump priority of stream-features handler to negotiate compression before resource binding

verse.plugins.compression: Support for stream compression (requires brimworks lua-zlib)

verse.client: Add stream:reset(), keep self.data static between resets

LICENSE: Add license (MIT/X11)

plugins.session: Convert from Windows line endings

verse.plugins.tls: self -> stream

verse.plugins.tls: Return true to indicate success loading plugin

verse.plugins.tls: Set secure flag, hide some warnings

verse: Load LuaSec if possible

verse.plugins.tls: Fail gracefully when LuaSec not loaded

verse.client: Load TLS along with other core plugins

verse.plugins.tls: Support for TLS encryption! (thanks Azelphur for the final push)

verse: Fire "status" event for connection status changes (notably SSL handshake complete)

verse: Remove some useless comments

doc/example.lua: Example XMPP client script

util.sha1, squishy: Add sha1 lib needed for proxy65 (and soon XEP-0114)

verse.plugins.proxy65: XEP-0065 plugin for file transfer through a proxy

verse: Add "drained" event to signal when send buffer is empty (new server.lua feature)

verse: Take advantage of server.lua's new onconnect callback for a more robust "connected" event

verse: Add stream:unhook(event_name, handler)

verse.client: Add verse.error_reply() helper

plugins.version: Detect errors based on type attribute, rather than presence of query element

Add support for 3921 session negotiation (makes ejabberd happy), thanks Chris!

verse.client: Add missing version to stream header (thanks Bill Clark)

verse.client: Update stream_callbacks format for new xmlhandlers API (thanks to Bill Clark for the patch)

verse.client, squishy: Rename "xmlhandlers" to "core.xmlhandlers" in line with Prosody's structure

verse.client: Fire disconnected event when the disconnect is initiated by the client too

verse: Add verse.quit() to exit the event loop

verse: Multiple changes to allow controlling logging for both verse and streams

verse.plugins.bind: Fix incorrect variable name causing traceback on unsuccessful bind

verse: Add verse.add_task(delay, callback) to add timer functions using util.timer

plugins.ping: Don't handle all errors as successful pongs, call callback with nil time and 3rd parameter a table with error info

plugins.bind: Requested JID^Wresource should be in <jid/>^W<resource/> tag (thanks Maranda :) )

plugins.bind: Requested JID should be in <jid/> tag (thanks Maranda :) )

verse.client: Automatically load sasl and bind plugins

verse.client: Don't hook the stanza event every time a stanza comes in :)

plugins.ping: Define xmlns_ping namespace

squishy: Add ping plugin

plugins.ping: Return true on module load to indicate load success

plugins.version: Return true on module load to indicate load success

plugins.ping: Add ping plugin to XMPP ping a JID

squish: Add version plugin

Revert module names throughout to their Prosody equivalents

verse.plugins.version: Fix for handling of version requests

verse.client: New stanza dispatcher to fire events based on the name (and in the case of iq, xmlns) of the stanza

Add 'version' plugin to handle and generate version requests

Rename verse2 -> verse

verse.client: Add verse.reply() as shortcut for util.stanza.reply()

squishy: Add util.uuid dependency

verse: Have verse.new() accept a prototype table on which to base the connection

verse.client: Extend verse object with message/iq/presence/stanza methods from util.stanza

verse.client: Fixes for new xmlhandlers namespace seperator

verse: Update for new server connection API

squishy: Update to fetch new server_select.lua from Prosody

squishy: Add util.timer

verse: Include LuaRocks packages if we can

verse: Fix stream:hook() to pass additional parameters to the underlying hook(), so we don't strip priority

util.xstanza: Fix and rename error_from_stanza() -> get_error()

squish: Add plugins

verse.client: Add stream:send_iq() and stream:new_id() for sending iqs with response handlers, and for generating stream-unique ids respectively

verse.client: Add stream:close()

verse.client: Add stream:reopen()

verse.client: Fire events on stream features, errors, etc. and on non-stream tags such as SASL and TLS

(0) -100 -96 +96 +100 +300 tip

mercurial