aboutsummaryrefslogtreecommitdiffstats
path: root/util
Commit message (Collapse)AuthorAgeFilesLines
* Merge 0.10->trunkMatthew Wild2016-05-221-0/+22
|\
| * util.cache: Add support for creating a proxy table to a cache, that looks ↵Matthew Wild2016-05-221-0/+22
| | | | | | | | and acts (mostly) like a normal table. No tests yet.
* | util.async: Add some more comments for clarityMatthew Wild2016-05-221-0/+15
| |
* | Merge 0.10->trunkKim Alvefur2016-05-222-0/+3
|\|
| * 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
| |
* | Merge 0.10->trunkMatthew Wild2016-05-221-1/+1
|\|
| * util.sql: Import pcall (fixes #677)Matthew Wild2016-05-221-1/+1
| |
* | Merge 0.10->trunkMatthew Wild2016-05-121-1/+1
|\|
| * util.events: Fix comparison of event_name with nil instead of false (fixes #554)Matthew Wild2016-05-121-1/+1
| |
* | Update every link to the documentation to use HTTPSEmmanuel Gil Peyrot2016-04-162-8/+8
| |
* | Merge 0.10->trunkKim Alvefur2016-04-152-12/+33
|\|
| * util.iterators: Add iterator wrapper that works like select(n, ...) applied ↵Kim Alvefur2016-04-151-0/+9
| | | | | | | | to original iterator
| * util.cache: Add method for iterating over valuesKim Alvefur2016-04-151-0/+12
| |
| * util.iterators: Normalize indentationKim Alvefur2016-04-131-12/+12
| |
* | Merge 0.10->trunkKim Alvefur2016-03-291-0/+1
|\|
| * util.jid: Import select() into local (fixes traceback, tests on Lua 5.2)Kim Alvefur2016-03-281-0/+1
| |
* | Merge 0.10->trunkKim Alvefur2016-03-261-1/+5
|\|
| * util.sql: Log errors in transaction to error level with traceback but return ↵Kim Alvefur2016-03-251-1/+5
| | | | | | | | only error message (fixes #464)
* | Merge 0.10->trunkMatthew Wild2016-03-231-1/+1
|\|
| * 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
* | Merge 0.10->trunkMatthew Wild2016-03-211-2/+2
|\|
| * util.iterators: Fix use of incorrect variable accidentally introduced in ↵Matthew Wild2016-03-211-2/+2
| | | | | | | | a9ef93bc81d9
* | Merge 0.10->trunkKim Alvefur2016-03-211-1/+2
|\|
| * util.sql: Catch errors from LuaDBI connect (Fixes #568)Kim Alvefur2016-03-211-1/+2
| |
* | Merge 0.10->trunkMatthew Wild2016-03-181-0/+15
|\|
| * util.jid+tests: Add simple helpers... node(), host() and resource() for ↵Matthew Wild2016-03-171-0/+15
| | | | | | | | extracting specific parts of a JID
* | Merge 0.10->trunkMatthew Wild2016-03-171-5/+17
|\|
| * 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
| |
* | Merge 0.10->trunkKim Alvefur2016-03-141-0/+38
|\|
| * mod_presence: Move function for selecting "top resources" into a new ↵Kim Alvefur2016-03-141-0/+38
| | | | | | | | util.presence
* | Merge 0.10->trunkKim Alvefur2016-03-141-15/+25
|\|
| * 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
* | Merge 0.10->trunkKim Alvefur2016-03-111-2/+2
|\|
| * 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).
* | Merge 0.10->trunkMatthew Wild2016-03-105-30/+27
|\|
| * 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]
* | Merge 0.10->trunkMatthew Wild2016-03-091-21/+20
|\|
| * util.stanza: Some code cleanup [luacheck]Matthew Wild2016-03-091-21/+20
| |
* | util.xmppstream: Remove namespace tracking, it's broken as implementedMatthew Wild2016-03-051-23/+0
| | | | | | | | | | The code fails to handle namespaces on the initial opening tag (when 'stanza' is nil). Fixing this seems not worth the effort for a feature that is not being used.
* | util.xml: Correct stanza.namespaces table construction when duplicate prefix ↵Waqas Hussain2016-03-051-5/+11
| | | | | | | | names are encountered in the element tree.