Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | util.stanza, util.xml, util.xmppstream: Add support for tracking defined ↵ | Matthew Wild | 2015-12-08 | 3 | -6/+49 |
| | | | | namespaces and their prefix (stanza.namespaces), knowing/preserving prefix names is required for some applications (thanks daurnimator) | ||||
* | Merge 0.10->trunk | Matthew Wild | 2015-11-26 | 2 | -30/+108 |
|\ | |||||
| * | util.cache: Small update to prefix private fields with an underscore, add a ↵ | Matthew Wild | 2015-11-26 | 1 | -32/+43 |
| | | | | | | | | :count() method (same as util.queue) and add an optional on_evict callback | ||||
| * | util.cache: Make sure cache size is specified as an integer | Kim Alvefur | 2015-11-25 | 1 | -0/+2 |
| | | |||||
| * | util.session: How would you even send anything to a session? | Kim Alvefur | 2015-11-24 | 1 | -0/+32 |
| | | |||||
| * | util.session: How does a session relate do a connection? | Kim Alvefur | 2015-11-24 | 1 | -0/+7 |
| | | |||||
| * | util.session: What does the session say? | Kim Alvefur | 2015-11-24 | 1 | -0/+8 |
| | | |||||
| * | util.session: What is the identity of a session? | Kim Alvefur | 2015-11-24 | 1 | -0/+7 |
| | | |||||
| * | util.session: What is a session? | Kim Alvefur | 2015-11-24 | 1 | -0/+11 |
| | | |||||
* | | Merge | Matthew Wild | 2015-11-24 | 1 | -3/+21 |
|\ \ | |||||
| * | | util.timer: If possible, close the existing timer handle in order to have ↵ | Kim Alvefur | 2015-11-22 | 1 | -2/+8 |
| | | | | | | | | | | | | only one | ||||
| * | | util.timer: Expire timer instance if another instance is already set to take ↵ | Kim Alvefur | 2015-11-22 | 1 | -2/+11 |
| | | | | | | | | | | | | care of the next scheduled event | ||||
| * | | util.timer: Keep count of how many timer instances are active | Kim Alvefur | 2015-11-22 | 1 | -0/+3 |
| | | | |||||
* | | | Merge 0.10->trunk | Matthew Wild | 2015-11-24 | 1 | -0/+91 |
|\ \ \ | |/ / |/| / | |/ | |||||
| * | util.cache: Ordered key->value data structure, with size limit (same as pubsub) | Matthew Wild | 2015-11-24 | 1 | -0/+91 |
| | | |||||
* | | Merge 0.10->trunk | Matthew Wild | 2015-11-22 | 1 | -4/+1 |
|\| | |||||
| * | util.ip: Improve comparison, == doesn't necessarily handle IPv6 addresses ↵ | Matthew Wild | 2015-11-22 | 1 | -4/+1 |
| | | | | | | | | correctly if they aren't normalized (case, ::, etc.) | ||||
* | | Merge 0.10->trunk | Kim Alvefur | 2015-11-09 | 1 | -1/+15 |
|\| | |||||
| * | util.queue: Add luacheck annotations | Matthew Wild | 2015-10-18 | 1 | -1/+2 |
| | | |||||
| * | util.queue: Add :items() iterator | Matthew Wild | 2015-10-18 | 1 | -0/+13 |
| | | |||||
* | | Merge 0.10->trunk | Kim Alvefur | 2015-10-11 | 1 | -3/+7 |
|\| | |||||
| * | Merge 0.9->0.10 | Kim Alvefur | 2015-10-11 | 1 | -3/+7 |
| |\ | |||||
| | * | util.openssl: Separate extension sections into one for self-signed certs and ↵ | Kim Alvefur | 2015-10-11 | 1 | -3/+7 |
| | | | | | | | | | | | | one for requests | ||||
* | | | Merge 0.10->trunk | Kim Alvefur | 2015-10-02 | 1 | -1/+1 |
|\| | | |||||
| * | | util.jid: Fix backout | Kim Alvefur | 2015-10-02 | 1 | -1/+1 |
| | | | |||||
* | | | Merge 0.10->trunk | Kim Alvefur | 2015-10-02 | 1 | -1/+5 |
|\| | | |||||
| * | | Backout 7e820979fd9b (broke tests) | Kim Alvefur | 2015-10-02 | 1 | -1/+5 |
| | | | |||||
* | | | util.timer: Fix indentation | Kim Alvefur | 2015-09-18 | 1 | -6/+6 |
| | | | |||||
* | | | Merge 0.10->trunk | Kim Alvefur | 2015-09-17 | 1 | -26/+22 |
|\| | | |||||
| * | | util.dataforms: Fix interaction of required fields and empty string values ↵ | Kim Alvefur | 2015-09-12 | 1 | -3/+4 |
| | | | | | | | | | | | | (fixes #521) | ||||
| * | | util.dataforms: Refactor parsing to reuse simple text parser instead of ↵ | Kim Alvefur | 2015-09-12 | 1 | -26/+21 |
| | | | | | | | | | | | | duplicate code | ||||
* | | | Merge 0.10->trunk | Kim Alvefur | 2015-09-03 | 1 | -0/+1 |
|\| | | |||||
| * | | util.stanza: Export xml_escape (missed during removal of module() calls) | Kim Alvefur | 2015-09-03 | 1 | -0/+1 |
| | | | |||||
* | | | Merge 0.10->trunk | Matthew Wild | 2015-09-02 | 2 | -1/+4 |
|\| | | |||||
| * | | util.sql: Export db2uri (mod_storage_sql2 command uses it) (thanks mike) | Kim Alvefur | 2015-09-02 | 1 | -0/+1 |
| | | | |||||
| * | | util.sql: Log when transactions begin | Kim Alvefur | 2015-08-30 | 1 | -0/+1 |
| | | | |||||
| * | | util.hex: Normalize hex to lowercase and discard non-hex input | Kim Alvefur | 2015-08-26 | 1 | -1/+2 |
| | | | |||||
* | | | Merge 0.10->trunk | Kim Alvefur | 2015-08-20 | 37 | -327/+467 |
|\| | | |||||
| * | | util.sasl.scram: Get rid of module call | Kim Alvefur | 2015-04-07 | 1 | -4/+7 |
| | | | |||||
| * | | util.json: Remove use of newproxy | Kim Alvefur | 2015-03-13 | 1 | -5/+2 |
| | | | |||||
| * | | util.helpers: Fix order of functions using each other [fixes 00412b36166f] | Kim Alvefur | 2015-03-03 | 1 | -8/+8 |
| | | | |||||
| * | | util.dependencies: Only abort on Lua versions before 5.1, log a warning ↵ | Kim Alvefur | 2015-02-21 | 1 | -2/+5 |
| | | | | | | | | | | | | about 5.2 and above for now | ||||
| * | | util.*: Remove use of module() function, make all module functions local and ↵ | Kim Alvefur | 2015-02-21 | 35 | -302/+435 |
| | | | | | | | | | | | | return them in a table at the end | ||||
* | | | Merge 0.10->trunk | Kim Alvefur | 2015-08-11 | 3 | -22/+30 |
|\| | | |||||
| * | | util.interpolation: Add support for filter functions | Kim Alvefur | 2015-08-07 | 1 | -1/+9 |
| | | | |||||
| * | | util.{interpolation,prosodyctl,sql}: Trim trailing whitespace | Kim Alvefur | 2015-07-17 | 3 | -21/+21 |
| | | | |||||
* | | | Merge 0.10->trunk | Matthew Wild | 2015-07-09 | 1 | -5/+30 |
|\| | | |||||
| * | | util.sql: Add safety check to ensure our chosen connection charset is ↵ | Matthew Wild | 2015-07-08 | 1 | -0/+12 |
| | | | | | | | | | | | | actually being used (MySQL) | ||||
| * | | util.sql: Fix log level of debug message | Matthew Wild | 2015-07-08 | 1 | -1/+1 |
| | | | |||||
| * | | util.sql: Log debug message when connecting to database | Matthew Wild | 2015-07-08 | 1 | -0/+1 |
| | | |