Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | 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 | |||||
* | | util.sql: Call onconnect, provide noop dummy if not set | Kim Alvefur | 2015-07-02 | 1 | -0/+4 | |
| | | ||||||
* | | 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 | |
| | | ||||||
* | | 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.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) | |||||
* | | 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 | |
| | | ||||||
* | | util.dataforms: Remove unused import of pairs() (thanks luacheck) | Matthew Wild | 2015-05-06 | 1 | -1/+1 | |
| | | ||||||
* | | Merge | Matthew Wild | 2015-05-06 | 3 | -4/+5 | |
|\ \ | ||||||
| * | | util.statistics: Collect duration sample even if run fewer times than the ↵ | Kim Alvefur | 2015-05-05 | 1 | -2/+2 | |
| | | | | | | | | | | | | sample interval | |||||
| * | | util.events: Add local reference to table.remove (fixes traceback) | Kim Alvefur | 2015-05-05 | 1 | -1/+2 | |
| | | | ||||||
| * | | Merge 0.9->0.10 | Kim Alvefur | 2015-05-03 | 1 | -1/+1 | |
| |\| | ||||||
| | * | util.datamanager: Fix traceback due to %s in log message | Kim Alvefur | 2015-04-03 | 1 | -1/+1 | |
| | | | ||||||
* | | | util.events: Add get_handlers() method | Matthew Wild | 2015-05-06 | 1 | -0/+4 | |
| | | | ||||||
* | | | portmanager, s2smanager, sessionmanager, stanza_router, storagemanager, ↵ | Matthew Wild | 2015-05-06 | 1 | -0/+1 | |
|/ / | | | | | | | usermanager, util.xml: Add luacheck annotations | |||||
* | | util.events: Change from nil to false to indicate adding a global wrapper | Matthew Wild | 2015-04-28 | 1 | -2/+2 | |
| | | ||||||
* | | util.events: Add support for event wrappers, functions which can wrap the ↵ | Matthew Wild | 2015-04-28 | 1 | -1/+67 | |
| | | | | | | | | calling of event handlers to run code before/after an event (for debugging, statistics, logging purposes, etc.) | |||||
* | | util.mercurial: Utility functions for Mercurial repositories | Kim Alvefur | 2015-01-21 | 1 | -0/+34 | |
| | | ||||||
* | | Merge 0.9->0.10 | Kim Alvefur | 2015-02-21 | 1 | -1/+1 | |
|\| | ||||||
| * | util.datamanager: Check that the global 'prosody' exists before using it ↵ | Kim Alvefur | 2015-02-20 | 1 | -1/+1 | |
| | | | | | | | | (fixes nil indexing in use outside of prosody) | |||||
* | | util.statistics: Return 0 as percentile if data out of range | Matthew Wild | 2015-01-30 | 1 | -1/+1 | |
| | | ||||||
* | | statsmanager, util.statistics: API changes, remove debugging | Matthew Wild | 2015-01-21 | 1 | -24/+53 | |
| | | ||||||
* | | util.statistics: New library for gathering various kinds of statistics | Matthew Wild | 2015-01-20 | 1 | -0/+131 | |
| | | ||||||
* | | util.hex: Pedantic optimization, 1 table lookup per byte instead of 3 ↵ | Kim Alvefur | 2015-01-12 | 1 | -7/+13 | |
| | | | | | | | | function calls makes it go faster | |||||
* | | mod_storage_sql2, util.sql: Set character encoding on every connect | Kim Alvefur | 2014-12-11 | 1 | -0/+1 | |
| | | ||||||
* | | mod_pubsub: Add support for including the publisher in item broadcasts | Philipp Hancke | 2014-11-20 | 1 | -1/+1 | |
| | | ||||||
* | | util.paths: Add function for joining path segments | Kim Alvefur | 2014-11-08 | 1 | -0/+6 | |
| | | ||||||
* | | Merge 0.9->0.10 | Kim Alvefur | 2014-10-26 | 1 | -13/+2 | |
|\| | ||||||
| * | Backout changeset 6e67c73f730c: not a major fix and it breaks interop with ↵0.9.7 | Matthew Wild | 2014-10-24 | 1 | -13/+2 | |
| | | | | | | | | at least Isode M-Link, and possibly standards, while it's not clear it actually fixes the original problem either. | |||||
* | | Merge 0.9->0.10 | Waqas Hussain | 2014-10-08 | 2 | -3/+14 | |
|\| | ||||||
| * | util/dataforms: Make sure we iterate over field tags | daurnimator | 2014-10-07 | 1 | -1/+1 | |
| | | ||||||
| * | util.stanza: Escape newlines and tabs (\r\n\t) when serializing stanzas. ↵ | Waqas Hussain | 2014-10-08 | 1 | -2/+13 | |
| | | | | | | | | \r\n transforms into \n otherwise, and \r\n\t in attributes transforms into spaces. | |||||
* | | util.pubsub: Add support for limiting the number of item in a node (default ↵ | Kim Alvefur | 2014-09-28 | 1 | -0/+11 | |
| | | | | | | | | to 20) | |||||
* | | util.pubsub: Add support for node configuration | Kim Alvefur | 2014-09-28 | 1 | -2/+22 | |
| | | ||||||
* | | util.pubsub: One less table allocated per pubsub object created | Kim Alvefur | 2014-09-28 | 1 | -3/+3 | |
| | | ||||||
* | | util.pubsub: Use local | Kim Alvefur | 2014-09-27 | 1 | -1/+1 | |
| | |