IMPORTANT: due to a drive failure, as of 13-Mar-2021, the Mercurial repository had to be re-mirrored, which changed every commit SHA. The old SHAs and trees are backed up in the vault branches. Please migrate to the new branches as soon as you can.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
prosody/util
Kim Alvefur 158dc0f9e1 util.datamanager: Check that the global 'prosody' exists before using it (fixes nil indexing in use outside of prosody) 11 years ago
..
sasl util.hashes, util.sasl.scram: Implement SCRAM-SHA1's Hi in C 13 years ago
adhoc.lua util.adhoc: New util for generating common adhoc handler patterns 13 years ago
array.lua util.array: Wrap tostring() output in {} (otherwise empty arrays print as ""). 13 years ago
caps.lua util.caps: Entity capabilities hash generation (moved from mod_pep) 16 years ago
dataforms.lua util/dataforms: Make sure we iterate over field tags 11 years ago
datamanager.lua util.datamanager: Check that the global 'prosody' exists before using it (fixes nil indexing in use outside of prosody) 11 years ago
datetime.lua util.datetime: Fix timestamp parsing pattern. 14 years ago
debug.lua util.debug: Add +1 to level when getting locals table, to account for current function 14 years ago
dependencies.lua util.dependencies: Check for Lua 5.1. We don't currently support any other versions. LuaJIT identifies as 5.1. 12 years ago
envload.lua util.envload: New module to abstract Lua 5.1's setfenv and Lua 5.2's load 14 years ago
events.lua util.events: Remove an event's table when it has no more handlers. 15 years ago
filters.lua util.filters: Ignore filters being added twice (fixes issues on removal) 12 years ago
helpers.lua util.helpers: Helper helpers to log host events 13 years ago
hmac.lua util.hmac, util.hashes: Implement HMAC functions in C, and move to util.hashes 13 years ago
http.lua util.http: Refactor and import all necessary functions 13 years ago
import.lua Update copyright headers for 2010 16 years ago
ip.lua util.ip: Convert IPv4 mapped addresses to hex. 13 years ago
iterators.lua util.iterators: Add ripairs() (ipairs() in reverse) (thanks Maranda) 13 years ago
jid.lua util.jid: Strip trailing '.' when normalizing hostnames 12 years ago
json.lua util.json: New, faster, stricter, more compliant JSON decoder. Now returns nil,err instead of throwing errors on invalid input. 13 years ago
logger.lua util.logger: Remove some redundant code 14 years ago
multitable.lua util.multitable: Some fixes for iter()... always match against query, and pass value after path results 14 years ago
openssl.lua util.openssl: Write the distinguished_name part of the config in a consistent order 13 years ago
pluginloader.lua util.pluginloader: Always use path separator from package.config (thanks Junne) 12 years ago
prosodyctl.lua prosodyctl: Verify that 'pidfile' is a string, show friendly error otherwise 12 years ago
pubsub.lua util.pubsub: Check whether node exists, when deleting 13 years ago
rfc6724.lua util.rfc{3484,6724}: Update to RFC 6724 13 years ago
sasl.lua util.sasl: Make registerMechanism a public function 14 years ago
sasl_cyrus.lua mod_auth_cyrus, util.sasl_cyrus: Add new option 'cyrus_server_fqdn' to override the hostname passed to Cyrus (and used in e.g. GSSAPI/Kerberos) - fixes #295 14 years ago
serialization.lua Eliminate direct setfenv usage 14 years ago
set.lua util.set: Remove unused variable 12 years ago
sql.lua mod_storage_sql2 (temporary name), sql.lib, util.sql: New SQL API supporting cross-module connection sharing, transactions and Things - a work in progress 13 years ago
stanza.lua Backout changeset 6e67c73f730c: not a major fix and it breaks interop with at least Isode M-Link, and possibly standards, while it's not clear it actually fixes the original problem either. 11 years ago
template.lua util.template: Use util.xml. 13 years ago
termcolours.lua util.termcolours: tohtml() for converting output to HTML. I don't know. 14 years ago
throttle.lua util.throttle: floor() internal balance calculation 14 years ago
timer.lua util.timer: Always pass the current time to timer callbacks. 14 years ago
uuid.lua util.uuid: Use a local instead of a global. 16 years ago
watchdog.lua util.watchdog: Pass watchdog object to callback so that it doesn't always have to be a closure 14 years ago
x509.lua util.x509: Remove logic for generating certificate configs 14 years ago
xml.lua util.xml: Fix module name. 13 years ago
xmppstream.lua util.xmppstream: When error is 'no-stream', pass the received tagname to the error handler 12 years ago