other half of previous commit

Clean up session when s2s connections are disconnected

Remove some overly-verbose debug log output

Destroy s2s sendqueue when connection is established successfully and data written

Fix nil concat for good this time (\!)

Fix nil concat when non-existant user is probed (another)

Fix nil concat when non-existant user is probed

Hack until we get SRV resolving

Fix for sessionmanager to not throw error when session doesn't have a private logger

Show error when no MD5 lib available

Fix mod_legacyauth to not use old stanza_dispatch

Merge from waqas

Moved some code and removed unnecessary checks.

Presence fixes (again)

Merging more s2s

Partial s2s commit

s2s works! \o/ \o/ s2s

working incoming s2s \o/ s2s

working outgoing s2s \o/ s2s

dialback keys now verified s2s

No need to comment out s2s in this branch s2s

Backed out changeset 98e9fea75e5b

Backed out changeset 37b3e9ed8918 (again)

Backed out changeset a0fc73d5f48c

Backed out changeset 8f17ba74823c

Reverting stanza_router to non-conflicted version

Making the best attempt out of a bad merge from waqas

Added TODO

Merged from Matthew

Merged from Matthew

Removed .hgtags

Fixed: Works when LuaRocks is not present

Roster updates

Docs update

Presence fixes

Fixed: Some modules did not return anything

Set things up for presence subscriptions.

Initial s2s stuff s2s

Final fix for marking user offline when all resources are gone :)

even faster checking for other sessions... thank you waqas :)

faster checking for other sessions

Fix for not destroying sessions when connection closed.

No s2s yet :)

Added a comment, removed all the old code

TLS/SASL no longer should include the connhandler module

Relocate presence broadcast to core_handle_stanza()

Merge roster & presence from waqas

Fixed: datamanager.store and datamanager.load could crash when username or host arguments were nil. (useful for server specific and global data).

Updated and fixed session documentation

Updated session documentation

Added session property for interested resources

Working presence, presence probes and other fixes

Added: TODO

Fixed: Unhandled stanza handling

Fixed: Roster support

Minor edit, and added a TODO

Added: More complete implementation for mod_roster

Added: Roster manipulation functions to core.rostermanager

Added: presence broadcast

Removed an unnecessary line

Fixed: util/jid.lua now returns module object

Fixed: Typos caused by lack of sleep.

Fixed: mod_roster now outputs all roster data (instead of just the JIDs)

Added some roster management functions

Documented the roster object's structure

Abstract connections with "connection listeners"

server.lua should degrade gracefully when LuaSec not present

Some tiny changes for main.lua

Updated TODO

Remove more of Dolphin's leftovers

Add AUTHORS file

Fix MUC address

Updated pull script for new repo

Fixed: util.stanza.deserialize now handles nil stanzas

Stanza preserialize/deserialize helpers, to strip and restore stanzas respectively. Fixed mod_vcard to use these.

Fixed: incorrect auth check

Minor fix

Merge from Matthew. datamanager.simplesave fix

Added: vCard plugin: mod_vcard

Added: mod_register now replies with an error stanza when file write fails

Added: Datastore support for hosts and global data in addition to users

Fixed routing for IQs to bare JIDs, and added a simple IQ validity check

Fix for saving tables with non-string keys

Merge roster fixes from waqas

Fixed: rostermanager.lua now returns the module

Removed: Unnecessary check in mod_roster. session.roster is guaranteed to be available for "c2s" session type.

Fized: Added check to ensure that resource binding is done after auth.

Load roster on resource bind

Merged docs from paul

Added script to pull from master mercurial repository

Remove debugging output from when doing TLS

Added to a comment

Code cleanup

Added: Local stanza routing

Fixed typo in variable name

forgot to commit mod_tls, oops :)

Beginnings of real stanza routing

Merged local TLS branch

Working TLS! tls

TLS: Handshake works, no data after that tls

Convert spaces->tabs

mod_InBandRegistration -> mod_register

Merged mod_InBandRegistration from waqas

Docs

User registration, etc (jabber:iq:register)

Merge from waqas

Removed unused functions

Fix setting resource before we even know what it is

Merge docs from waqas

Some notes of the stanza and session structures

DEPENDS updated by waqas

Session destruction fixes, some debugging code while we fix the rest. Also change logger to be more useful.

Fix for destruction of unauthed SASL sessions

Added lbase64 to the dependency list

Fix for using wrong auth token as username (fixes Gajim login)

New "import" module to help tidy up all the local declarations at the top of modules

Use xmlns for matching auth tag too

Fix stanza handlers to use xmlns also for matching

Resource binding, XMPP sessions (whatever they're for...)

Small fix for sending stanzas in case of resource binding error

Add "uuid" library and make sessionmanager use this.

Reply to unhandled iq's with service-unavailable

Small fixes

An oops in sessionmanager stream:features code :)

Move stream opening handling from xmlhandlers to sessionmanager

Add support for arbitrary events and event hooks

SASL!

Removed unused functions from main.lua

Moved hosts to a config file, still need better config though

Removed tag tip

Fixed: Session data was never removed from sessions list

Let modules set/write globals

Fix quoting in util/sasl.lua

Remove now useless debug output

Huge commit to:

jid.split(): Return nil when passed nil

Adding initial unit testing scripts

Fixing jid.split() for all JIDs

Merged Paul's branch

Grrr! Don't use KDE apps to view this repo!

Removed ~ files

Some docs written by Thorns. Need reviewing.

Various documentation updates, and added names.txt :)

Updated stanza routing doc

Remove some debugging messages

Merged in Tobias's SASL lib

Beginning of new routing logic

module table was missing

* missing base64 decode of SASL response

adding SASL lib with PLAIN support, not tested yet

Added tests/ folder

Coding style doc, HACKERS file

Moved server module to net/

Remove redundant comments

renaming _ to sock to improve readability

remaned _ to sock to improve readability

added LICENSE file

- Remove some debugging code

Merged 2 heads o_O

Added all the files to please hg :/

Presence unavailable on disconnect

"Shared roster" - well, kind of :)

Working presence!

Switched to new connection framework, courtesy of the luadch project

First commit, where do you want to go tomorrow?

(0) +3840 tip

mercurial