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
Matthew Wild 6873a62f1e util.iterators: Fix use of incorrect variable accidentally introduced in a9ef93bc81d9 10 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: Change behaviour of on_evict (and tests). Now accepts false instead of a function (never evict), or on_evict can return false to prevent eviction. 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: Track which fields are included in a form 10 years ago
datamanager.lua util.datamanager: Explicit handling of each error condition (see #632) 10 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: Document data structures 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 Merge 0.9->0.10 10 years ago
iterators.lua util.iterators: Fix use of incorrect variable accidentally introduced in a9ef93bc81d9 10 years ago
jid.lua util.jid+tests: Add simple helpers... node(), host() and resource() for extracting specific parts of a JID 10 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: Allow order of distinguished name fields to be included in config 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: Remove unused variable [luacheck] 10 years ago
pubsub.lua util.*: Remove use of module() function, make all module functions local and return them in a table at the end 11 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: Catch errors from LuaDBI connect (Fixes #568) 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
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
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