aboutsummaryrefslogtreecommitdiffstats
path: root/util
Commit message (Collapse)AuthorAgeFilesLines
* util.datamanager: When failing to load a file, and the file exists, return ↵Waqas Hussain2010-05-221-4/+12
| | | | nil, error.
* util.sasl_cyrus: Support for specifying the application name (to pass to ↵Matthew Wild2010-05-201-2/+2
| | | | Cyrus SASL's init())
* util.timer: When using libevent hold onto the event handle to stop it being ↵Matthew Wild2010-04-071-2/+3
| | | | collected (and the timer stopping). Fixes BOSH ghosts, thanks Flo, niekie, waqas.
* Merge 0.6->0.7Matthew Wild2010-04-032-3/+3
|\
| * util.ztact: Fixed global accesses.Waqas Hussain2010-04-011-2/+2
| |
| * util.uuid: Use a local instead of a global.Waqas Hussain2010-04-011-1/+1
| |
| * util.stanza: Fixed some more nil global accesses.Waqas Hussain2010-04-011-3/+3
| |
| * util.stanza: Fixed a nil global access.Waqas Hussain2010-04-011-0/+2
| |
* | util.sasl.digest-md5: Removed unnnecessary check (which included a nil ↵Waqas Hussain2010-03-241-2/+0
| | | | | | | | global access).
* | Merge 0.6->0.7Matthew Wild2010-03-2224-47/+47
|\|
| * Update copyright headers for 2010Matthew Wild2010-03-2224-47/+47
| |
| * Merge 0.6.2/waqas with 0.6.2/MattJMatthew Wild2010-03-035-12/+43
| |\
| | * util.sasl.plain: Allow empty authzid (thanks bjc).Waqas Hussain2009-12-011-1/+1
| | |
| | * util.stanza: stanza.error_reply(): Fix to put the correct namespace on <text>Matthew Wild2010-01-311-7/+10
| | |
| | * util.dataforms: Add optional type parameters (defaults to 'form')Matthew Wild2010-01-221-2/+2
| | |
| | * util.stanza: Add stanza:get_child(name, xmlns) to find a child tag given a ↵Matthew Wild2009-11-301-0/+11
| | | | | | | | | | | | name/xmlns
| | * util.jid: Add join(node, host, resource) function to join the components and ↵Matthew Wild2009-11-271-0/+13
| | | | | | | | | | | | return nil if invalid
| | * util.dependencies: Make the commands line up properly in the "missing ↵Matthew Wild2009-11-231-2/+6
| | | | | | | | | | | | dependency" output. Yes, this was the commit you didn't know you were waiting for!
| * | prosodyctl: Use mode r+ for opening the file so 1) it fails if the file ↵Matthew Wild2010-01-131-1/+1
| | | | | | | | | | | | doesn't exist 2) we have write access to lock it
| * | util.prosodyctl: Report Prosody as not running if the pidfile isn't lockedMatthew Wild2010-01-111-2/+9
| |/
* | util.sasl_cyrus: Return invalid-mechanism instead of undefined-condition ↵Matthew Wild2010-03-181-6/+2
| | | | | | | | where appropriate
* | util.sasl_cyrus: Clarify some log messages and levelsMatthew Wild2010-03-181-3/+3
| |
* | util.sasl_cyrus: Protect the call to cyrussasl.server_new properly.Paul Aurich2010-03-171-5/+8
| |
* | util.sasl_cyrus: If available, use a c14n callback for interoperability with ↵Paul Aurich2010-03-171-0/+10
| | | | | | | | | | | | bad clients. Specifically, clients that specify an authzid 'user@domain.com' and authcid 'user'.
* | util.cyrus_sasl: Pass the realm to CyrusPaul Aurich2010-03-151-1/+1
| |
* | util.sasl: Fixed a nil global access.Waqas Hussain2010-03-021-1/+1
| |
* | util.stanza: Fixed nil global accesses.Waqas Hussain2010-03-021-3/+3
| |
* | util.sasl_cyrus: Ensure the mechanisms table is available after a failed ↵Waqas Hussain2010-03-011-0/+1
| | | | | | | | auth attempt.
* | util.sasl.scram: Removed unnecessary dependency on bitlib.Waqas Hussain2010-02-161-1/+0
| |
* | Backed out changeset cb1f9266130b: better way to achieve this to be ↵Matthew Wild2010-02-131-43/+0
| | | | | | | | committed Real Soon Now.
* | util.datamanager: Added support for hooks to override behavior.Waqas Hussain2010-02-111-0/+43
| |
* | util.sasl_cyrus: Add text message from cyrussasl to <not-authorized/> errors.Waqas Hussain2010-02-101-1/+1
| |
* | Merge with backoutMatthew Wild2010-02-051-1/+2
|\ \
| * | util.sasl.digest-md5: Revert changeset 6094a4e2b6f3 as it breaks some ↵Matthew Wild2010-02-051-1/+2
| | | | | | | | | | | | clients, re-visit some time down the line
* | | util.dependencies: Don't query the config (it isn't really necessary)Matthew Wild2010-02-051-9/+5
| | |
* | | util.stanza: stanza.error_reply(): Fix to put the correct namespace on <text>Matthew Wild2010-01-311-7/+10
| | |
* | | util.stanza: Add stanza:get_error() to return type, condition and text of a ↵Matthew Wild2010-01-291-0/+26
| | | | | | | | | | | | stanza error
* | | util.dependencies: Load luarocks.loader/luarocks.requireMatthew Wild2010-01-281-0/+5
| | |
* | | util.dependencies, prosody, prosodyctl: Give util.dependencies a ↵Matthew Wild2010-01-281-81/+86
| | | | | | | | | | | | check_dependencies() function so the caller can decide what to do when dependencies aren't met - update prosody/prosodyctl for this change
* | | util.dataforms: Add optional type parameters (defaults to 'form')Matthew Wild2010-01-221-2/+2
| | |
* | | util.stanza: Trailing whitespaceMatthew Wild2010-01-211-7/+5
| | |
* | | prosodyctl: Use mode r+ for opening the file so 1) it fails if the file ↵Matthew Wild2010-01-131-1/+1
| | | | | | | | | | | | doesn't exist 2) we have write access to lock it
* | | util.prosodyctl: Report Prosody as not running if the pidfile isn't lockedMatthew Wild2010-01-111-2/+9
| | |
* | | util.datamanager: Use pposix.mkdir if availableMatthew Wild2010-01-101-3/+9
| | |
* | | util.events: Rename add_plugin() and remove_plugin() to add_handlers() and ↵Matthew Wild2009-12-311-4/+4
| | | | | | | | | | | | remove_handlers() respectively
* | | util.sasl_cyrus: Report an error if Cyrus SASL init fails.Tobias Markmann2009-12-301-1/+4
| | |
* | | util.sasl_cyrus: Removing whitespace.Tobias Markmann2009-12-291-2/+2
| | |
* | | util.sasl_cyrus: Automatically initialize Cyrus SASL with the first used ↵Tobias Markmann2009-12-291-1/+11
| | | | | | | | | | | | service name.
* | | util.sasl_cyrus: Change variable name.Tobias Markmann2009-12-281-2/+2
| | |
* | | util.sasl_cyrus: Fixing cyrus mechanism list parsing. (Thanks darkrain)Tobias Markmann2009-12-281-1/+1
| | |