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 ffbc38cfa3 util.pubsub: Factor item storage cache into a per service configurable option 9 years ago
..
sasl util.sasl.scram: Rename variable in places missed in 65e36b81d56a (thanks mt) 10 years ago
adhoc.lua util.adhoc: New util for generating common adhoc handler patterns 13 years ago
array.lua util.array: Just use table.remove as array:pop() 10 years ago
cache.lua util.cache: Add support for creating a proxy table to a cache, that looks and acts (mostly) like a normal table. No tests yet. 10 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: Add annotations to ignore name clashes [luacheck] 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: Show the full error when a symbol is not found (i.e., when running Prosody with the wrong version of Lua). 10 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: 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: Fix order of functions using each other [fixes 00412b36166f] 11 years ago
hex.lua util.hex: Normalize hex to lowercase and discard non-hex input 11 years ago
hmac.lua Remove all trailing whitespace 13 years ago
http.lua util.http: Refactor and import all necessary functions 13 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: Handle os.execute in Lua 5.2 returning true when command terminates successfully 10 years ago
pubsub.lua util.pubsub: Factor item storage cache into a per service configurable option 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
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: remove unused one-letter loop variables [luacheck] 10 years ago
sslconfig.lua util.sslconfig: More descriptive variable names and also comments 10 years ago
stanza.lua util.stanza: Some code cleanup [luacheck] 10 years ago
statistics.lua util.statistics: Collect duration sample even if run fewer times than the sample interval 11 years ago
statsd.lua statsmanager, util.statsd: Add built-in statsd provider 10 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.*: Remove use of module() function, make all module functions local and return them in a table at the end 11 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.*: Remove use of module() function, make all module functions local and return them in a table at the end 11 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