Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | util.time: New tiny library to abstract LuaSocket's gettime() function, so ↵ | Matthew Wild | 2016-06-28 | 1 | -0/+8 | |
| | | | | | | | | we can use other sources in the future | |||||
| * | util.openssl: Handle return value from os.execute being true in Lua 5.2 | Kim Alvefur | 2016-06-23 | 1 | -1/+2 | |
| | | ||||||
| * | util.prosodyctl: Handle os.execute in Lua 5.2 returning true when command ↵ | Kim Alvefur | 2016-06-23 | 1 | -1/+1 | |
| | | | | | | | | terminates successfully | |||||
* | | Merge 0.10->trunk | Kim Alvefur | 2016-05-30 | 1 | -1/+1 | |
|\| | ||||||
| * | util.dataforms: Fix including default value for list-single when given as ↵ | Kim Alvefur | 2016-05-29 | 1 | -1/+1 | |
| | | | | | | | | field.value[].default | |||||
* | | Merge 0.10->trunk | Kim Alvefur | 2016-05-28 | 1 | -4/+12 | |
|\| | ||||||
| * | util.dataforms: Allow separation of options from values in list fields | Kim Alvefur | 2016-05-27 | 1 | -4/+12 | |
| | | ||||||
* | | Merge 0.10->trunk | Matthew Wild | 2016-05-22 | 1 | -0/+22 | |
|\| | ||||||
| * | util.cache: Add support for creating a proxy table to a cache, that looks ↵ | Matthew Wild | 2016-05-22 | 1 | -0/+22 | |
| | | | | | | | | and acts (mostly) like a normal table. No tests yet. | |||||
* | | util.async: Add some more comments for clarity | Matthew Wild | 2016-05-22 | 1 | -0/+15 | |
| | | ||||||
* | | Merge 0.10->trunk | Kim Alvefur | 2016-05-22 | 2 | -0/+3 | |
|\| | ||||||
| * | util.datamanager: Import tostring and type (fix global access) | Kim Alvefur | 2016-05-22 | 1 | -0/+2 | |
| | | ||||||
| * | util.sql: Import type too (fix global access) | Kim Alvefur | 2016-05-22 | 1 | -0/+1 | |
| | | ||||||
* | | Merge 0.10->trunk | Matthew Wild | 2016-05-22 | 1 | -1/+1 | |
|\| | ||||||
| * | util.sql: Import pcall (fixes #677) | Matthew Wild | 2016-05-22 | 1 | -1/+1 | |
| | | ||||||
* | | Merge 0.10->trunk | Matthew Wild | 2016-05-12 | 1 | -1/+1 | |
|\| | ||||||
| * | util.events: Fix comparison of event_name with nil instead of false (fixes #554) | Matthew Wild | 2016-05-12 | 1 | -1/+1 | |
| | | ||||||
* | | Update every link to the documentation to use HTTPS | Emmanuel Gil Peyrot | 2016-04-16 | 2 | -8/+8 | |
| | | ||||||
* | | Merge 0.10->trunk | Kim Alvefur | 2016-04-15 | 2 | -12/+33 | |
|\| | ||||||
| * | util.iterators: Add iterator wrapper that works like select(n, ...) applied ↵ | Kim Alvefur | 2016-04-15 | 1 | -0/+9 | |
| | | | | | | | | to original iterator | |||||
| * | util.cache: Add method for iterating over values | Kim Alvefur | 2016-04-15 | 1 | -0/+12 | |
| | | ||||||
| * | util.iterators: Normalize indentation | Kim Alvefur | 2016-04-13 | 1 | -12/+12 | |
| | | ||||||
* | | Merge 0.10->trunk | Kim Alvefur | 2016-03-29 | 1 | -0/+1 | |
|\| | ||||||
| * | util.jid: Import select() into local (fixes traceback, tests on Lua 5.2) | Kim Alvefur | 2016-03-28 | 1 | -0/+1 | |
| | | ||||||
* | | Merge 0.10->trunk | Kim Alvefur | 2016-03-26 | 1 | -1/+5 | |
|\| | ||||||
| * | util.sql: Log errors in transaction to error level with traceback but return ↵ | Kim Alvefur | 2016-03-25 | 1 | -1/+5 | |
| | | | | | | | | only error message (fixes #464) | |||||
* | | Merge 0.10->trunk | Matthew Wild | 2016-03-23 | 1 | -1/+1 | |
|\| | ||||||
| * | util.sql: Charset should be innocent until proven guilty (initialize ↵ | Matthew Wild | 2016-03-23 | 1 | -1/+1 | |
| | | | | | | | | charset_ok to true), fixes bug introduced in 187ba2e9c012 | |||||
* | | Merge 0.10->trunk | Matthew Wild | 2016-03-21 | 1 | -2/+2 | |
|\| | ||||||
| * | util.iterators: Fix use of incorrect variable accidentally introduced in ↵ | Matthew Wild | 2016-03-21 | 1 | -2/+2 | |
| | | | | | | | | a9ef93bc81d9 | |||||
* | | Merge 0.10->trunk | Kim Alvefur | 2016-03-21 | 1 | -1/+2 | |
|\| | ||||||
| * | util.sql: Catch errors from LuaDBI connect (Fixes #568) | Kim Alvefur | 2016-03-21 | 1 | -1/+2 | |
| | | ||||||
* | | Merge 0.10->trunk | Matthew Wild | 2016-03-18 | 1 | -0/+15 | |
|\| | ||||||
| * | util.jid+tests: Add simple helpers... node(), host() and resource() for ↵ | Matthew Wild | 2016-03-17 | 1 | -0/+15 | |
| | | | | | | | | extracting specific parts of a JID | |||||
* | | Merge 0.10->trunk | Matthew Wild | 2016-03-17 | 1 | -5/+17 | |
|\| | ||||||
| * | util.cache: Change behaviour of on_evict (and tests). Now accepts false ↵ | Matthew Wild | 2016-03-17 | 1 | -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 Wild | 2016-03-17 | 1 | -0/+12 | |
| | | ||||||
| * | util.async: Remove to prevent blocking a stable release | Kim Alvefur | 2016-03-17 | 1 | -158/+0 | |
| | | ||||||
* | | Merge 0.10->trunk | Kim Alvefur | 2016-03-14 | 1 | -0/+38 | |
|\| | ||||||
| * | mod_presence: Move function for selecting "top resources" into a new ↵ | Kim Alvefur | 2016-03-14 | 1 | -0/+38 | |
| | | | | | | | | util.presence | |||||
* | | Merge 0.10->trunk | Kim Alvefur | 2016-03-14 | 1 | -15/+25 | |
|\| | ||||||
| * | util.sql: Remove unused arguments [luacheck] | Kim Alvefur | 2016-03-13 | 1 | -2/+2 | |
| | | ||||||
| * | util.sql: Don't break out of result retreival loops | Kim Alvefur | 2016-03-13 | 1 | -7/+13 | |
| | | ||||||
| * | util.sql: Move per-driver (currenly only PostgreSQL) query transform into ↵ | Kim Alvefur | 2016-03-13 | 1 | -6/+10 | |
| | | | | | | | | its own method | |||||
* | | Merge 0.10->trunk | Kim Alvefur | 2016-03-11 | 1 | -2/+2 | |
|\| | ||||||
| * | util.dependencies: Show the full error when a symbol is not found (i.e., ↵ | Thijs Alkemade | 2016-03-10 | 1 | -2/+2 | |
| | | | | | | | | when running Prosody with the wrong version of Lua). | |||||
* | | Merge 0.10->trunk | Matthew Wild | 2016-03-10 | 5 | -30/+27 | |
|\| | ||||||
| * | util.prosodyctl: Remove unused variable [luacheck] | Matthew Wild | 2016-03-10 | 1 | -1/+1 | |
| | | ||||||
| * | util.json: Variable renaming to avoid shadowing [luacheck] | Matthew Wild | 2016-03-10 | 1 | -14/+14 | |
| | | ||||||
| * | util.iterators: Variable renaming to avoid shadowing [luacheck] | Matthew Wild | 2016-03-10 | 1 | -9/+9 | |
| | |