aboutsummaryrefslogtreecommitdiffstats
path: root/util
Commit message (Expand)AuthorAgeFilesLines
* util.stanza: Add an is_stanza() function to check if an object is a stanzaKim Alvefur2016-11-281-0/+6
* util.datamanager: Shorter patternKim Alvefur2016-11-201-1/+1
* util.datamanager: Remove extraneous decoding of + to space, which we never ne...Kim Alvefur2016-11-201-1/+1
* util.datamanager: Use the 'base' argument to tonumber() to indicate hexadecimalKim Alvefur2016-11-201-1/+1
* util.envload: Ignore use of Lua 5.1-only setfenv function [luacheck]Kim Alvefur2016-11-201-0/+1
* util.pubsub: Fix item retrieval by including the item order as it was before ...Kim Alvefur2016-11-191-0/+1
* util.dependencies: Disable warning about Lua 5.2 (but still warn about 5.3)Kim Alvefur2016-11-181-1/+1
* util.helpers: List event priorities instead of useless array indexKim Alvefur2016-11-181-2/+2
* util.pubsub: Rename loop variable to avoid name clash [luacheck]Kim Alvefur2016-10-181-5/+5
* util.cache: Ignore unused argument [luacheck]Kim Alvefur2016-10-181-0/+1
* util.statsd: Ignore unused argument [luacheck]Kim Alvefur2016-10-181-1/+1
* util.array: Remove unused arguments [luacheck]Kim Alvefur2016-10-181-1/+1
* util.array: Rename arguments to avoid name clash [luacheck]Kim Alvefur2016-10-181-4/+4
* util.pubsub: Factor item storage cache into a per service configurable optionKim Alvefur2016-10-161-3/+4
* util.pubsub: Switch to use util.cache for item dataKim Alvefur2016-10-161-33/+23
* util.datamanager: Add annotations to ignore name clashes [luacheck]Kim Alvefur2016-09-241-5/+5
* util.datamanager: Rename variables to avoid name clashes [luacheck]Kim Alvefur2016-09-241-12/+12
* mod_carbons: Make the conditions for ignoring MUC PMs more specific (fixes #744)Kim Alvefur2016-09-231-1/+1
* util.openssl: rename variable to not collide with other 'k's [luacheck]Anton Shestakov2016-07-281-4/+4
* statsmanager, util.statsd: Add built-in statsd providerMatthew Wild2016-07-271-0/+84
* util.sql: remove unused one-letter loop variables [luacheck]Anton Shestakov2016-07-231-2/+2
* util.ip: rename variable (i is already defined) [luacheck]Anton Shestakov2016-07-091-2/+2
* util.openssl: remove unused one-letter loop variable [luacheck]Anton Shestakov2016-07-091-1/+1
* util.ip: remove unused one-letter loop variables [luacheck]Anton Shestakov2016-07-091-2/+2
* util.time: New tiny library to abstract LuaSocket's gettime() function, so we...Matthew Wild2016-06-281-0/+8
* util.openssl: Handle return value from os.execute being true in Lua 5.2Kim Alvefur2016-06-231-1/+2
* util.prosodyctl: Handle os.execute in Lua 5.2 returning true when command ter...Kim Alvefur2016-06-231-1/+1
* util.dataforms: Fix including default value for list-single when given as fie...Kim Alvefur2016-05-291-1/+1
* util.dataforms: Allow separation of options from values in list fieldsKim Alvefur2016-05-271-4/+12
* util.cache: Add support for creating a proxy table to a cache, that looks and...Matthew Wild2016-05-221-0/+22
* util.datamanager: Import tostring and type (fix global access)Kim Alvefur2016-05-221-0/+2
* util.sql: Import type too (fix global access)Kim Alvefur2016-05-221-0/+1
* util.sql: Import pcall (fixes #677)Matthew Wild2016-05-221-1/+1
* util.events: Fix comparison of event_name with nil instead of false (fixes #554)Matthew Wild2016-05-121-1/+1
* util.iterators: Add iterator wrapper that works like select(n, ...) applied t...Kim Alvefur2016-04-151-0/+9
* util.cache: Add method for iterating over valuesKim Alvefur2016-04-151-0/+12
* util.iterators: Normalize indentationKim Alvefur2016-04-131-12/+12
* util.jid: Import select() into local (fixes traceback, tests on Lua 5.2)Kim Alvefur2016-03-281-0/+1
* util.sql: Log errors in transaction to error level with traceback but return ...Kim Alvefur2016-03-251-1/+5
* util.sql: Charset should be innocent until proven guilty (initialize charset_...Matthew Wild2016-03-231-1/+1
* util.iterators: Fix use of incorrect variable accidentally introduced in a9ef...Matthew Wild2016-03-211-2/+2
* util.sql: Catch errors from LuaDBI connect (Fixes #568)Kim Alvefur2016-03-211-1/+2
* util.jid+tests: Add simple helpers... node(), host() and resource() for extra...Matthew Wild2016-03-171-0/+15
* util.cache: Change behaviour of on_evict (and tests). Now accepts false inste...Matthew Wild2016-03-171-5/+5
* util.cache: Add head() and tail() methods (and tests)Matthew Wild2016-03-171-0/+12
* util.async: Remove to prevent blocking a stable releaseKim Alvefur2016-03-171-158/+0
* mod_presence: Move function for selecting "top resources" into a new util.pre...Kim Alvefur2016-03-141-0/+38
* util.sql: Remove unused arguments [luacheck]Kim Alvefur2016-03-131-2/+2
* util.sql: Don't break out of result retreival loopsKim Alvefur2016-03-131-7/+13
* util.sql: Move per-driver (currenly only PostgreSQL) query transform into its...Kim Alvefur2016-03-131-6/+10