Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | 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 | |
| | | | ||||||
| * | | util.sql: Make set_encoding() return failure of SET NAMES | Matthew Wild | 2015-07-08 | 1 | -1/+7 | |
| | | | ||||||
| * | | util.sql: Return failure if set_encoding() fails | Matthew Wild | 2015-07-08 | 1 | -1/+4 | |
| | | | ||||||
| * | | util.sql: Use appropriate collation for the chosen character set - fixes ↵ | Matthew Wild | 2015-07-08 | 1 | -1/+1 | |
| | | | | | | | | | | | | MySQL silently ignoring our SET NAMES command when we use utf8mb4 | |||||
| * | | util.sql: Create table with same charset as the charset we selected for our ↵ | Matthew Wild | 2015-07-08 | 1 | -1/+1 | |
| | | | | | | | | | | | | connection, also use corresponding _bin collation | |||||
| * | | util.sql: Allow onconnect callback to fail connection to the DB by returning ↵ | Matthew Wild | 2015-07-07 | 1 | -1/+4 | |
| | | | | | | | | | | | | false, err | |||||
* | | | Merge 0.10->trunk | Kim Alvefur | 2015-07-05 | 1 | -0/+4 | |
|\| | | ||||||
| * | | util.sql: Call onconnect, provide noop dummy if not set | Kim Alvefur | 2015-07-02 | 1 | -0/+4 | |
| | | | ||||||
* | | | Merge 0.10->trunk | Kim Alvefur | 2015-06-25 | 2 | -103/+16 | |
|\| | | ||||||
| * | | util.sql: Remove built-in engine caching. This is the wrong layer to do ↵ | Matthew Wild | 2015-06-03 | 1 | -8/+3 | |
| | | | | | | | | | | | | this, and unintentionally sharing connections could cause problems (e.g. when interleaving multiple queries and result fetching) | |||||
| * | | util.sql: Expose db2uri helper function | Matthew Wild | 2015-06-03 | 1 | -1/+1 | |
| | | | ||||||
| * | | util.sql: Rename some variable to match conventions | Matthew Wild | 2015-06-03 | 1 | -6/+6 | |
| | | | ||||||
| * | | util.queue: Allow optional wrap-around when pushing, overwriting oldest ↵ | Matthew Wild | 2015-06-03 | 1 | -2/+7 | |
| | | | | | | | | | | | | unread item | |||||
| * | | util.sql: Remove unused functions and unused commented code | Matthew Wild | 2015-05-30 | 1 | -87/+0 | |
| | | | ||||||
* | | | Merge 0.10->trunk | Kim Alvefur | 2015-05-19 | 2 | -0/+80 | |
|\| | | ||||||
| * | | util.interpolation: A template engine for text | Kim Alvefur | 2015-05-19 | 1 | -0/+77 | |
| | | | ||||||
| * | | util.x509: Tell LuaSec we want UTF-8 data | Kim Alvefur | 2015-05-18 | 1 | -0/+3 | |
| | | | ||||||
* | | | Merge 0.10->trunk | Kim Alvefur | 2015-05-13 | 1 | -1/+5 | |
|\| | | ||||||
| * | | Merge 0.9->0.10 | Kim Alvefur | 2015-05-13 | 1 | -1/+5 | |
| |\| | ||||||
| | * | util.datamanager: Fix traceback from trying to purge when storage is empty ↵ | Kim Alvefur | 2015-05-13 | 1 | -1/+5 | |
| | | | | | | | | | | | | or otherwise unaccessible (fixes #496) | |||||
* | | | Merge 0.10->trunk | Matthew Wild | 2015-05-13 | 6 | -13/+68 | |
|\| | | ||||||
| * | | util.queue: Small fast FIFO/ringbuffer/queue library | Matthew Wild | 2015-05-13 | 1 | -0/+54 | |
| | | | ||||||
| * | | util.set: Rename method argument to avoid name clash [luacheck] | Matthew Wild | 2015-05-06 | 1 | -3/+3 | |
| | | | ||||||
| * | | util.set: Add luacheck annotation for methods not referencing 'self' | Matthew Wild | 2015-05-06 | 1 | -0/+3 | |
| | | | ||||||
| * | | util.set: Remove unnecessary local declaration, arguments are already locals ↵ | Matthew Wild | 2015-05-06 | 1 | -1/+1 | |
| | | | | | | | | | | | | [luacheck] | |||||
| * | | util.dataforms: Rename unused loop counter to '_' [luacheck] | Matthew Wild | 2015-05-06 | 1 | -1/+1 | |
| | | | ||||||
| * | | util.sslconfig: Rename variable to avoid name clash [luacheck] | Matthew Wild | 2015-05-06 | 1 | -4/+4 | |
| | | | ||||||
| * | | util.serialization: Remove unused imports of error() and loadstring() [luacheck] | Matthew Wild | 2015-05-06 | 1 | -2/+0 | |
| | | | ||||||
| * | | util.xml: Remove unused parameter (thanks, luacheck) | Matthew Wild | 2015-05-06 | 1 | -1/+1 | |
| | | |