aboutsummaryrefslogtreecommitdiffstats
path: root/util
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | | | only error message (fixes #464)
* util.sql: Charset should be innocent until proven guilty (initialize ↵Matthew Wild2016-03-231-1/+1
| | | | charset_ok to true), fixes bug introduced in 187ba2e9c012
* util.iterators: Fix use of incorrect variable accidentally introduced in ↵Matthew Wild2016-03-211-2/+2
| | | | a9ef93bc81d9
* 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 ↵Matthew Wild2016-03-171-0/+15
| | | | extracting specific parts of a JID
* util.cache: Change behaviour of on_evict (and tests). Now accepts false ↵Matthew Wild2016-03-171-5/+5
| | | | instead of a function (never evict), or on_evict can return false to prevent eviction.
* 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 ↵Kim Alvefur2016-03-141-0/+38
| | | | util.presence
* 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 ↵Kim Alvefur2016-03-131-6/+10
| | | | its own method
* util.dependencies: Show the full error when a symbol is not found (i.e., ↵Thijs Alkemade2016-03-101-2/+2
| | | | when running Prosody with the wrong version of Lua).
* util.prosodyctl: Remove unused variable [luacheck]Matthew Wild2016-03-101-1/+1
|
* util.json: Variable renaming to avoid shadowing [luacheck]Matthew Wild2016-03-101-14/+14
|
* util.iterators: Variable renaming to avoid shadowing [luacheck]Matthew Wild2016-03-101-9/+9
|
* net.websocket.frames, util.datetime, util.json, util.prosodyctl, ↵Matthew Wild2016-03-104-4/+1
| | | | util.rfc6724: Remove unused variables [luacheck]
* util.iterators: Return initial var from upstream iterator [luacheck]Matthew Wild2016-03-101-1/+1
|
* util.iterators: Don't replace var, as we should preserve var from the ↵Matthew Wild2016-03-101-1/+1
| | | | original iterator [luacheck]
* util.stanza: Some code cleanup [luacheck]Matthew Wild2016-03-091-21/+20
|
* util.json: Fix encoding of json.null (bug introduced in bf1f09a5bcf7)Matthew Wild2016-03-041-1/+3
|
* util.sasl.scram: Rename variable in places missed in 65e36b81d56a (thanks mt)Kim Alvefur2016-02-281-2/+2
|
* util.sasl.scram: Remove unused initial value [luacheck]Kim Alvefur2016-02-281-1/+1
|
* util.sasl.scram: Rename variable to avoid name clash [luacheck]Kim Alvefur2016-02-281-5/+5
|
* util.sasl.anonymous: Remove unused locals [luacheck]Kim Alvefur2016-02-281-2/+0
|
* util.termcolours: Rename loop variable [luacheck]Kim Alvefur2016-02-281-4/+4
|
* util.termcolours: Validate color codes, fixes tracebackKim Alvefur2016-02-281-2/+7
|
* util.termcolours: Add some CSS color namesKim Alvefur2016-02-271-0/+12
|
* util.termcolours: Add 256 color supportKim Alvefur2016-02-271-0/+25
|
* util.datamanager: Explicit handling of each error condition (see #632)Kim Alvefur2016-02-271-14/+16
|
* Merge 0.9->0.10Kim Alvefur2016-02-251-0/+1
|\
| * util.datamanager: Unreference file handle after closing it to prevent trying ↵Kim Alvefur2016-02-251-0/+1
| | | | | | | | to close it again (fixes #632)
| * util.uuid: Open /dev/urandom read-only, make seed() a noopKim Alvefur2016-01-101-4/+2
| |
* | util.termcolours: Remove argument from noop function [luacheck]Kim Alvefur2016-02-251-1/+1
| |
* | util.termcolours: Silence luacheck warningKim Alvefur2016-02-251-0/+2
| |
* | util.template: Use separate variables for source and compiled function ↵Kim Alvefur2016-02-251-4/+4
| | | | | | | | [luacheck]
* | util.template: Silence luacheck warnings about unused loop varsKim Alvefur2016-02-251-1/+1
| |
* | util.openssl: Allow order of distinguished name fields to be included in configKim Alvefur2016-02-251-2/+1
| |
* | util.crand: C binding to one of OpenSSL, Linux getrandom() or OpenBSD ↵Kim Alvefur2016-02-221-0/+3
| | | | | | | | arc4random() CSPRNG
* | util.iterators: Use table.pack() on Lua 5.2Kim Alvefur2016-02-221-1/+1
| |
* | util.multitable: Localize unpack() in Lua 5.2 compatible wayKim Alvefur2016-02-221-1/+2
| |
* | util.iterators: Localize unpack() in Lua 5.2 compatible wayKim Alvefur2016-02-221-1/+2
| |
* | util.import: Localize unpack() in Lua 5.2 compatible wayKim Alvefur2016-02-221-0/+1
| |
* | util.debug: Silence luacheck warning about modifying 'debug' libKim Alvefur2016-02-221-0/+3
| |
* | util.session: Fix luacheck warningsKim Alvefur2016-02-221-3/+3
| |
* | util.sql: Localize unpack() in Lua 5.2 compatible wayKim Alvefur2016-02-221-1/+1
| |
* | util.sql: Raw query debug logging (needs to be explicitly enabled by a plugin)Kim Alvefur2016-02-211-1/+31
| |
* | util.logger: Silence luacheck warningKim Alvefur2016-02-041-0/+1
| |