squishy: Normalise Lua syntax default tip

server: Import one of Prosodys net.server implementations

squishy: Update for prosody.* namespace

Update for new Prosody module namespace

libs.encodings: Remove unused function

util.xstanza: Remove, unused since c95b84ed366b

Added tag 0.10.0 for changeset 98dc1750584d

Fix sha1 support when no binary dependencies available

component: Avoid adding to the global stream metatable

libs/hashes: Support for luaossl (lua-luaossl on Debian)

libs/table: Add table.move

squishy: Comment legacy protocol plugins by default

squishy: Add browsing plugin

Add time query plugin

squishy: Updates for Prosody trunk (@ e77c607e8da8)

Add dummy util.net

sasl: Add oauthbearer mechanism

presence: Clone stanza before caching it

disco: Fire disco-info-changed when necessary, move presence resending there

disco: Remove stray print()

disco: Add support for extended disco forms

buildscripts: Update included squish (now supports Lua 5.2)

libs/time: Add monotonic() if lua-system is available

pep: Include item id in event

jingle_ibb: Remove unused import of table.concat

pubsub: Fire event on item retraction notifications

sasl: Expose what mechanisms were offered on authentication-failure

browsing: whitespace fixes

Add 'shutdown' event for a self-initiated disconnect

Fix whitespace

Update to new tls_builder() API in net.server upstream

archive: Add 'complete' flag

Use util.format for logging

client: Include xml:lang in stream header, if known

client: Don't enable session plugin by default, that protocol is obsolete

client: Correctly randomize SRV targets (thanks Zash)

Update to use util.id for random ids instead of counters (thanks Zash)

sasl: Include offered mechanisms in event when no supported mechanisms found

util.sasl.scram: Add support for 'tls-exporter' channel binding

util.sasl.scram: Disable 'tls-unique' channel binding on TLS 1.3

util.sasl.scram: Refactor channel binding

client: Allow passing SCRAM hashes for use in authentication

Merge with MattJ

plugins.smacks: Change to track enabled state per direction

plugins.smacks: Restructure events to avoid double hooks after (failed) resumption

plugins.smacks: Handle failed resumption by trying to bind instead

squishy: Include util.hex used by util.uuid

plugins.smacks: Convert counter to string in resumption

plugins.smacks: Don't warn about zero stanzas acked

client: Send whitespace keeplives

libs.hashes: Add back pure Lua sha1 implementation

util.dataforms: Support XEP-0122 validation

util.dataforms: Update from prosody trunk 5fb6563eee1e keeping from_stanza()

util.time: Add pure Lua version of Prosody C module

util.table: Add fallback for the Prosody C module

pubsub: Support for 'notify' in retract and purge operations 0.10.0

pubsub: Allow setting additional attributes in pubsub action elements

Merge

verse.plugins.groupchat: Add support for MUC passwords https://xmpp.org/extensions/xep-0045.html#example-27

Merge

docs/example.lua: Don't depend on 'verse' being a global

libs.encodings: Add encodings.utf8 compat (works on Lua 5.3+)

libs.encodings: Export empty idna table

client: Remove unused import

disco: Force calculated caps in outgoing presence

Fix typos (thanks Link Mauve and codespell)

plugins.archive: Remove compat for really old version of XEP-0313

squishy: Include util.x509, required by net.http in Prosody 0.10+

squishy: Add util.time

verse: Ensure verse.quit() only quits the loop once

plugins.disco: Fix to use util.caps instead of broken hacky implementation

libs.hashes: Better error message when method not available

libs.hashes: Add support for sha1 lib from luarocks

squishy: Remove unnecessary files (indexedbheap only in Prosody trunk)

Makefile: Use configured squish path

verse.plugins.groupchat: Fix import of util.events

verse: Remove use of deprecated module() function

buildsys: Update to fetch from Prosody 0.10 branch

verse.plugins.pep: Support taking an item id, default to "current"

libs.hashes: Switch to moteus bgcrypto suite

plugins.archive: Call callback even f there were no <fin> element

plugins.archive: Don't require 'queryid' attribute in iq response

verse: trim trailing whitespace

component: Import sha1 via util.hashes

plugins.archive: Update to XEP-0313 v0.6

plugins.smacks: Update to sm:3 namespace

util.sasl.scram: Add support for authenticating with pre-hashed password

plugins.presence: If a string is given as presece options, use it as status

plugins.presence: Have option keys mirror the tag names (keeping compat with previous behaviour)

plugins.presence: Fix resending previous presence

Add plugin for XEP-0195: User Browsing

Merge with Zash

util.random: Use /dev/urandom or LuaCrypto

client, component: Fix logging of invalid XML

Merge with Zash

libs.hashes: Fix HMAC-SHA-1 blocksize to 64 (20 is output size)

squishy: Pin to Prosody 0.9.9 release to avoid more breaking changes there

Add util.ip, dependency of net.dns since Prosody 0.9.9

plugins: Cleanup [luacheck]

plugins.smacks: explicitly import luasocket which stops setting globals in new versions

plugins.ping: Import socket.gettime to a local, LuaSocket stopped setting globals

plugins: Use util.hashes instead of util.sha1

libs.encodings: mime.unb64 is buggy with \0 should have been fixed

util.sasl.scram: Use the new util.hashes and util.random

libs.hashes: Wrap LuaCrypto with fallback to util.sha1

Import util.random from Prosody (using SHA-1)

Import util.rsm from prosody-modules

squishy: Include util.xml and util.json

verse: Pass on error from trying to require verse connection module

plugins.tls: Allow configuring TLS options at stream.ssl

libs.adhoc: Don't set unintentional globals

verse: Enable TCP keepalives

plugins.legacy: Make functions local

Discard trailing whitespace

plugins.jingle_ft: Update to version 0.16

Added tag 0.9.1 for changeset 9aa5bce207b2

squishy: Add util.ip, now required by net.dns 0.9.1

Makefile: Remove config.unix when making a release

Added tag 0.9.0 for changeset 3267ae7c9217

README: Add README file 0.9.0

Makefile: Error if config.unix is missing

Makefile: Add 'install' target

configure, Makefile: Add configure script to set build-time variables

Makefile, buildscripts/squish: Add Makefile and squish to the repo

init: Log the error message that caused loading of a connection module to fail

init: Restore loading of LuaSec (must be loaded before net.server) (thanks ?)

squishy: Fetch from latest 0.9

squishy: Fix for fetching util.rsm

util.sasl.scram: Only indicate channel binding support when TLS is used

client: Deal with eg no-stream errors where no stanza is passed

util.sasl.scram: Slight optimization of HMAC

util.sasl.scram: Correctly verify that the server added its own nonce

verse: Import LuaSocket properly (especially for 5.2)

plugins.sasl: Store mechanisms with the correct name

util.sasl.scram: Fix typo

plugins.sasl: Alter mechanism loading and pass name of loaded mechanism. Fixes attempting SCRAM-PLUS when only SCRAM is offered

squishy: Add sasl mechs

SCRAM: Add channel binding support (SCRAM-SHA-1-PLUS)

Add SCRAM-SHA-1 implementation

Almost a SASL framework, supports negotiation and challenge-response, mechanism code split out into util/sasl/

plugins.archive: Update to MAM version 0.3

Merge with Zash

verse.plugins.uptime: Explicitly cast uptime to a number

plugins.smacks: Improve logic for sending <r/>

plugins.groupchat: Use verse.eventable (room objects were missing :unhook() )

plugins.pubsub: Implement fetching of items

plugins.pubsub: Keep track of wrapped callbacks

plugins.pubsub: Implement node discovery

plugins.archive: Update for MAM 0.2

verse.client: Fix stream error error

plugins.register: Support submitting email when registering an account

plugins.register: Fix event name (failure vs. failed)

plugins.adhoc, plugins.jingle: Fix checking of type attribute (thanks Mark)

plugins.adhoc: Add missing return in error case

plugins.ping: Reply to pings

plugins.pubsub: If no jid given to unsubscribe with, default to what was subscribed to (if given) or the bound jid

plugins.pubsub: Collect the subscribed jid

verse.client: Fire stream error events, so they can be handled

util.dataforms: Add method for converting XML dataforms to tables

util.dataforms: Update from Prosody repo

plugins.pubsub: Implement retract, purge and delete operations

plugins.pubsub: Explicitly subscribe with our current full jid as default

verse: Fix disconnected event for unassociated connections

Backout 55e3fd7b9731

verse.client: Use a different flag to indicate that our outgoing stream is closed

verse: Err, I meant the stream, not the connection

verse: Really pass the connection to ondisconnect, not some unknown global

plugins.smacks: Start counting when sending <enable/>

verse: Only fire the disconnected event if the stream and the connection are still associated (fixes smacks issue)

plugins.smacks: Don't try to reconnect on gracefull stream closure

verse.client: Try to behave better when stream is closed gracefully

verse: Add missing 'reason' argument to stream:close()

plugins.smacks: Re-send unacked outgoing stanzas on resumption

plugins.smacks: Break less on sending of non-stanzas such as raw strings.

plugins.receipts: XEP-0184 support.

plugins.carbons: Update to Carbons v0.8

util.vcard: Don't break on data outside of VCARD sections (thanks moo-min)

plugins.vcard: Convert textual vCards to XEP-54 format

plugins/sasl: Use ANONYMOUS authentication when no username provided

component: allow binding to non-host jids (thanks mva)

plugins.vcard: Fix previous commit

plugins.vcard: Update for never util.vcard

util.vcard: Handle empty vcards

util.vcard: Iterate on tags instead of items (thanks mva)

plugins.adhoc: Collect a <note/>

plugins.adhoc: Add explicit dependency on the disco plugin.

util.vcard: Ignore undefined properties

util.vcard: Completed separation of parsers and generators

plugins.archive: Don't modify the query params table

squishy, plugins.archive: Fetch RSM lib from prosody-modules and use.

plugins.archive: Treat query params correctly

plugins.sasl: Collect text message on SASL failure

plugins.groupchat: Import util.jid here too.

plugins.bind: Import util.jid to fix traceback

squishy: Update to fetch from a pre-timber revision of Prosody

util.vcard: Don't use module()

plugins.archive: Parse the timestamp

plugins.archive: Collect the archive id

plugins.archive: Move namespaces to the top

plugins.archive: Implement archiving preferences

plugins.archive: Import util.stanza directly and use it

plugins.archive: Add local verse

plugins.archive: Add a header comment

Merge with Zash

plugins.jingle_s5b: Add missing xmlns

plugins.jingle_s5b: Add local verse

doc/example_carbons.lua: Update to reflect timestamp change in carbons plugin.

plugins.carbons: Get and parse timestamp from carbon into a number.

plugins.carbons: Don't check carbons flag twice.

plugins.jingle_ibb: new_ibb() doesn't need to be global

plugins.pubsub: Add a local variable to save some table lookups

client, component: `ret` was probably meant to be a local

verse: Remove some, erm, debug logging

verse: Add :listen(host, port) to Verse objects ("connected" event is fired with new clients)

verse: Accept a file object as a log handler, and automatically call :write() on it with a formatted message

squishy: add util.datetime

plugins.carbons: Fix wrong variable name

plugins.roster: Make stanza error parts locals.

plugins.archive: Add missing :up()

plugins.carbons: Update to XEP v0.6. Check that messages are from your bare jid.

plugins.archive: Experimental implementation of the Message Archive Management ProtoXEP

plugins.pubsub: Implement unsubscribe.

plugins.roster: Change variable name to what's used in XMPP-IM

doc/example_pubsub.lua: Fix typo.

doc/example_pep.lua: Reorder a bit to avoid re-sending presence multiple times when caps change.

plugins.pep: Load disco, since PEP depends on it

plugins.disco: Add set_ and add_identity()

plugins.disco: A little cleanup and a bit of rewrite with a touch of premature optimization.

plugins.pubsub: Fix to use correct method in backwards-compatibility code

plugins.pubsub: Fix typo

plugins.pubsub: Fix missing <item/> when publishing.

verse.bosh: Minor change to pass Verse stream to stream callbacks (though it isn't currently used by them)

verse.bosh: Fix to loop over every child tag (childtags() is now too namespace-aware for this purpose)

doc/example*.lua: Update to use new .init() method

Merge with Zash

verse: Add stream:info() for emitting info-level log message.

verse: Add init(...) method to load connection modules (client, component, bosh, etc.)

plugins.groupchat: Fix missing 'end' in last commit

Merge with MattJ & mva

plugins.pep: Use the new PubSub api.

(0) -240 tip

mercurial