Commit Graph

439 Commits (41d45e0c64b94de227f048d5f376699dd6041735)

Author SHA1 Message Date
Waqas Hussain 4499df4f45 util.datamanager: When failing to load a file, and the file exists, return nil, error. 16 years ago
Matthew Wild 95f7a472e0 util.sasl_cyrus: Support for specifying the application name (to pass to Cyrus SASL's init()) 16 years ago
Waqas Hussain 8e1f8ca958 util.ztact: Fixed global accesses. 16 years ago
Waqas Hussain 3ee35fe849 util.uuid: Use a local instead of a global. 16 years ago
Waqas Hussain bc55b5ad8f util.stanza: Fixed some more nil global accesses. 16 years ago
Waqas Hussain a015c6a048 util.stanza: Fixed a nil global access. 16 years ago
Matthew Wild 2bc0606453 Update copyright headers for 2010 16 years ago
Matthew Wild 942fd3d965 Backed out changeset cb1f9266130b: better way to achieve this to be committed Real Soon Now. 16 years ago
Waqas Hussain 3b288052d5 util.datamanager: Added support for hooks to override behavior. 16 years ago
Waqas Hussain 4bf01bb76b util.sasl_cyrus: Add text message from cyrussasl to <not-authorized/> errors. 16 years ago
Matthew Wild 4262db951e util.sasl.digest-md5: Revert changeset 6094a4e2b6f3 as it breaks some clients, re-visit some time down the line 16 years ago
Matthew Wild b091201f79 util.dependencies: Don't query the config (it isn't really necessary) 16 years ago
Matthew Wild e1a8c86970 util.stanza: stanza.error_reply(): Fix to put the correct namespace on <text> 16 years ago
Matthew Wild 35d65ca55b util.stanza: Add stanza:get_error() to return type, condition and text of a stanza error 16 years ago
Matthew Wild 7086dd06fe util.dependencies: Load luarocks.loader/luarocks.require 16 years ago
Matthew Wild 08284a586e util.dependencies, prosody, prosodyctl: Give util.dependencies a check_dependencies() function so the caller can decide what to do when dependencies aren't met - update prosody/prosodyctl for this change 16 years ago
Matthew Wild 577ff7d3b8 util.dataforms: Add optional type parameters (defaults to 'form') 16 years ago
Matthew Wild 2545e17aeb util.stanza: Trailing whitespace 16 years ago
Matthew Wild 24aaf5e788 prosodyctl: Use mode r+ for opening the file so 1) it fails if the file doesn't exist 2) we have write access to lock it 16 years ago
Matthew Wild c1e075ec38 prosodyctl: Use mode r+ for opening the file so 1) it fails if the file doesn't exist 2) we have write access to lock it 16 years ago
Matthew Wild 815222417a util.prosodyctl: Report Prosody as not running if the pidfile isn't locked 16 years ago
Matthew Wild a664e2ba60 util.prosodyctl: Report Prosody as not running if the pidfile isn't locked 16 years ago
Matthew Wild d3a7681f7f util.datamanager: Use pposix.mkdir if available 16 years ago
Matthew Wild 4d626a622e util.events: Rename add_plugin() and remove_plugin() to add_handlers() and remove_handlers() respectively 16 years ago
Tobias Markmann 52fe0318ef util.sasl_cyrus: Report an error if Cyrus SASL init fails. 16 years ago
Tobias Markmann 8b90969a60 util.sasl_cyrus: Removing whitespace. 16 years ago
Tobias Markmann d121f0332f util.sasl_cyrus: Automatically initialize Cyrus SASL with the first used service name. 16 years ago
Tobias Markmann 9936532e18 util.sasl_cyrus: Change variable name. 16 years ago
Tobias Markmann 5915724fd2 util.sasl_cyrus: Fixing cyrus mechanism list parsing. (Thanks darkrain) 16 years ago
Matthew Wild 90116b3c35 util.timer: When using libevent hold onto the event handle to stop it being collected (and the timer stopping). Fixes BOSH ghosts, thanks Flo, niekie, waqas. 16 years ago
Waqas Hussain b0e0c82d16 util.sasl.digest-md5: Removed unnnecessary check (which included a nil global access). 16 years ago
Matthew Wild 367052b111 util.sasl_cyrus: Return invalid-mechanism instead of undefined-condition where appropriate 16 years ago
Matthew Wild d8c2bb590c util.sasl_cyrus: Clarify some log messages and levels 16 years ago
Paul Aurich 8ec1bec1fe util.sasl_cyrus: Protect the call to cyrussasl.server_new properly. 16 years ago
Paul Aurich f858b0f258 util.sasl_cyrus: If available, use a c14n callback for interoperability with bad clients. 16 years ago
Paul Aurich a99005ba14 util.cyrus_sasl: Pass the realm to Cyrus 16 years ago
Waqas Hussain 29e84d0af1 util.sasl: Fixed a nil global access. 16 years ago
Waqas Hussain 675aab41f9 util.stanza: Fixed nil global accesses. 16 years ago
Waqas Hussain 969ea466e4 util.sasl_cyrus: Ensure the mechanisms table is available after a failed auth attempt. 16 years ago
Waqas Hussain fafadcd1ac util.sasl.scram: Removed unnecessary dependency on bitlib. 16 years ago
jorj 6a6004339d first working version with Cyrus SASL support. 16 years ago
Tobias Markmann ebc2fcb9e2 util.sasl_cyrus: Further fixing and cleanup. 16 years ago
Tobias Markmann 9dc560b2a8 util.sasl_cyrus: Initializing Cyrus SASL library and a bit cleanup. 16 years ago
Tobias Markmann 9d6dd22165 util.sasl_cyrus: Log errors if CyrusSASL init fails. 16 years ago
Tobias Markmann edc52a67f0 Adding sasl_cyrus.lua. A sasl.lua drop-in replacement to use CyrusSASL for all c2s authentication. 16 years ago
Brian Cully 348b2532e3 util.prosodyctl: Saner determination of Prosody executable path 16 years ago
Matthew Wild d7d5b34c60 util.timer: Use luaevent's built-in method of repeating an event (fixes a weird crash) 16 years ago
Matthew Wild d930baaa0c util.datamanager: Store data stores with no host in '_global' folder 16 years ago
Matthew Wild 7be6d854c1 util.pluginloader: Don't specify a host for the plugin data store (clever waqas...) 16 years ago
Matthew Wild 6428065b5e util.dependencies: Fix package name of LuaFilesystem 16 years ago