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 a18da188f6 util.prosodyctl: Resolve possibly relative pidfile path (fixes inconsistency with mod_posix) 9 years ago
..
sasl util.sasl.plain,scram: Record username in sasl state earlier 9 years ago
adhoc.lua util.adhoc: Pass command data to initial_data callback in order to allow loading per-user settings 9 years ago
array.lua util.array: Add method for filtering out duplicate values 9 years ago
cache.lua util.cache: Ignore unused argument [luacheck] 9 years ago
caps.lua util.*: Remove use of module() function, make all module functions local and return them in a table at the end 11 years ago
dataforms.lua util.dataforms: Fix including default value for list-single when given as field.value[].default 10 years ago
datamanager.lua util.datamanager: Use already known index instead of measuring length each iteration 9 years ago
datetime.lua net.websocket.frames, util.datetime, util.json, util.prosodyctl, util.rfc6724: Remove unused variables [luacheck] 10 years ago
debug.lua util.debug: Silence luacheck warning about modifying 'debug' lib 10 years ago
dependencies.lua util.dependencies: Give APT command for installing lua-sec 9 years ago
envload.lua util.envload: Close file handle after reading data 9 years ago
events.lua util.events: Fix comparison of event_name with nil instead of false (fixes #554) 10 years ago
filters.lua util.*: Remove use of module() function, make all module functions local and return them in a table at the end 11 years ago
helpers.lua util.helpers: List event priorities instead of useless array index 9 years ago
hex.lua util.hex: Normalize hex to lowercase and discard non-hex input 10 years ago
hmac.lua Remove all trailing whitespace 13 years ago
http.lua util.http: Refactor and import all necessary functions 13 years ago
id.lua util.id: New util for producing random identifiers of varying sizes 9 years ago
import.lua util.import: Localize unpack() in Lua 5.2 compatible way 10 years ago
interpolation.lua util.interpolation: Add support for filter functions 11 years ago
ip.lua util.ip: rename variable (i is already defined) [luacheck] 10 years ago
iterators.lua util.iterators: Add iterator wrapper that works like select(n, ...) applied to original iterator 10 years ago
jid.lua mod_carbons: Make the conditions for ignoring MUC PMs more specific (fixes #744) 9 years ago
json.lua util.json: Variable renaming to avoid shadowing [luacheck] 10 years ago
logger.lua util.logger: Silence luacheck warning 10 years ago
mercurial.lua util.mercurial: Utility functions for Mercurial repositories 11 years ago
multitable.lua util.multitable: Localize unpack() in Lua 5.2 compatible way 10 years ago
openssl.lua util.openssl: rename variable to not collide with other 'k's [luacheck] 10 years ago
paths.lua util.paths: Add function for joining path segments 11 years ago
pluginloader.lua modulemanager, util.pluginloader: Move logic for locating some module libraries to pluginloader, to fix problems with non-filesystem errors being masked by the second load_code call 10 years ago
presence.lua mod_presence: Move function for selecting "top resources" into a new util.presence 10 years ago
prosodyctl.lua util.prosodyctl: Resolve possibly relative pidfile path (fixes inconsistency with mod_posix) 9 years ago
pubsub.lua util.pubsub: Fix item retrieval by including the item order as it was before using util.cache (thanks walduhu) 9 years ago
queue.lua util.queue: Add luacheck annotations 10 years ago
random.lua util.crand: C binding to one of OpenSSL, Linux getrandom() or OpenBSD arc4random() CSPRNG 10 years ago
rfc6724.lua net.websocket.frames, util.datetime, util.json, util.prosodyctl, util.rfc6724: Remove unused variables [luacheck] 10 years ago
rsm.lua util.rsm: Add copyright header 9 years ago
sasl.lua util.*: Remove use of module() function, make all module functions local and return them in a table at the end 11 years ago
sasl_cyrus.lua util.*: Remove use of module() function, make all module functions local and return them in a table at the end 11 years ago
serialization.lua util.serialization: Remove unused imports of error() and loadstring() [luacheck] 11 years ago
session.lua util.session: Fix luacheck warnings 10 years ago
set.lua util.set: Rename method argument to avoid name clash [luacheck] 11 years ago
sql.lua util.sql: Produce more SQL-standard-like debug messages 9 years ago
sslconfig.lua util.sslconfig: Remvoe flag merging for 'verify' as this is more of a tri-state field than a set of options 9 years ago
stanza.lua util.stanza: Add an is_stanza() function to check if an object is a stanza 9 years ago
statistics.lua util.statistics,statsd,throttle,timer: Replace dependency on LuaSockect with util.time for precision time 9 years ago
statsd.lua util.statistics,statsd,throttle,timer: Replace dependency on LuaSockect with util.time for precision time 9 years ago
template.lua util.template: Use separate variables for source and compiled function [luacheck] 10 years ago
termcolours.lua util.termcolours: Rename loop variable [luacheck] 10 years ago
throttle.lua util.statistics,statsd,throttle,timer: Replace dependency on LuaSockect with util.time for precision time 9 years ago
time.lua util.time: New tiny library to abstract LuaSocket's gettime() function, so we can use other sources in the future 10 years ago
timer.lua util.statistics,statsd,throttle,timer: Replace dependency on LuaSockect with util.time for precision time 9 years ago
uuid.lua util.uuid: Open /dev/urandom read-only, make seed() a noop 10 years ago
watchdog.lua util.*: Remove use of module() function, make all module functions local and return them in a table at the end 11 years ago
x509.lua util.x509: Tell LuaSec we want UTF-8 data 11 years ago
xml.lua util.xml: Remove unused parameter (thanks, luacheck) 11 years ago
xmppstream.lua util.*: Remove use of module() function, make all module functions local and return them in a table at the end 11 years ago