aboutsummaryrefslogtreecommitdiffstats
path: root/util
Commit message (Collapse)AuthorAgeFilesLines
...
| * | util.sasl.scram: Get rid of module callKim Alvefur2015-04-071-4/+7
| | |
| * | util.json: Remove use of newproxyKim Alvefur2015-03-131-5/+2
| | |
| * | util.helpers: Fix order of functions using each other [fixes 00412b36166f]Kim Alvefur2015-03-031-8/+8
| | |
| * | util.dependencies: Only abort on Lua versions before 5.1, log a warning ↵Kim Alvefur2015-02-211-2/+5
| | | | | | | | | | | | about 5.2 and above for now
| * | util.*: Remove use of module() function, make all module functions local and ↵Kim Alvefur2015-02-2135-302/+435
| | | | | | | | | | | | return them in a table at the end
* | | Merge 0.10->trunkKim Alvefur2015-08-113-22/+30
|\| |
| * | util.interpolation: Add support for filter functionsKim Alvefur2015-08-071-1/+9
| | |
| * | util.{interpolation,prosodyctl,sql}: Trim trailing whitespaceKim Alvefur2015-07-173-21/+21
| | |
* | | Merge 0.10->trunkMatthew Wild2015-07-091-5/+30
|\| |
| * | util.sql: Add safety check to ensure our chosen connection charset is ↵Matthew Wild2015-07-081-0/+12
| | | | | | | | | | | | actually being used (MySQL)
| * | util.sql: Fix log level of debug messageMatthew Wild2015-07-081-1/+1
| | |
| * | util.sql: Log debug message when connecting to databaseMatthew Wild2015-07-081-0/+1
| | |
| * | util.sql: Make set_encoding() return failure of SET NAMESMatthew Wild2015-07-081-1/+7
| | |
| * | util.sql: Return failure if set_encoding() failsMatthew Wild2015-07-081-1/+4
| | |
| * | util.sql: Use appropriate collation for the chosen character set - fixes ↵Matthew Wild2015-07-081-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 Wild2015-07-081-1/+1
| | | | | | | | | | | | connection, also use corresponding _bin collation
| * | util.sql: Allow onconnect callback to fail connection to the DB by returning ↵Matthew Wild2015-07-071-1/+4
| | | | | | | | | | | | false, err
* | | Merge 0.10->trunkKim Alvefur2015-07-051-0/+4
|\| |
| * | util.sql: Call onconnect, provide noop dummy if not setKim Alvefur2015-07-021-0/+4
| | |
* | | Merge 0.10->trunkKim Alvefur2015-06-252-103/+16
|\| |
| * | util.sql: Remove built-in engine caching. This is the wrong layer to do ↵Matthew Wild2015-06-031-8/+3
| | | | | | | | | | | | this, and unintentionally sharing connections could cause problems (e.g. when interleaving multiple queries and result fetching)
| * | util.sql: Expose db2uri helper functionMatthew Wild2015-06-031-1/+1
| | |
| * | util.sql: Rename some variable to match conventionsMatthew Wild2015-06-031-6/+6
| | |
| * | util.queue: Allow optional wrap-around when pushing, overwriting oldest ↵Matthew Wild2015-06-031-2/+7
| | | | | | | | | | | | unread item
| * | util.sql: Remove unused functions and unused commented codeMatthew Wild2015-05-301-87/+0
| | |
* | | Merge 0.10->trunkKim Alvefur2015-05-192-0/+80
|\| |
| * | util.interpolation: A template engine for textKim Alvefur2015-05-191-0/+77
| | |
| * | util.x509: Tell LuaSec we want UTF-8 dataKim Alvefur2015-05-181-0/+3
| | |
* | | Merge 0.10->trunkKim Alvefur2015-05-131-1/+5
|\| |
| * | Merge 0.9->0.10Kim Alvefur2015-05-131-1/+5
| |\|
| | * util.datamanager: Fix traceback from trying to purge when storage is empty ↵Kim Alvefur2015-05-131-1/+5
| | | | | | | | | | | | or otherwise unaccessible (fixes #496)
* | | Merge 0.10->trunkMatthew Wild2015-05-136-13/+68
|\| |
| * | util.queue: Small fast FIFO/ringbuffer/queue libraryMatthew Wild2015-05-131-0/+54
| | |
| * | util.set: Rename method argument to avoid name clash [luacheck]Matthew Wild2015-05-061-3/+3
| | |
| * | util.set: Add luacheck annotation for methods not referencing 'self'Matthew Wild2015-05-061-0/+3
| | |
| * | util.set: Remove unnecessary local declaration, arguments are already locals ↵Matthew Wild2015-05-061-1/+1
| | | | | | | | | | | | [luacheck]
| * | util.dataforms: Rename unused loop counter to '_' [luacheck]Matthew Wild2015-05-061-1/+1
| | |
| * | util.sslconfig: Rename variable to avoid name clash [luacheck]Matthew Wild2015-05-061-4/+4
| | |
| * | util.serialization: Remove unused imports of error() and loadstring() [luacheck]Matthew Wild2015-05-061-2/+0
| | |
| * | util.xml: Remove unused parameter (thanks, luacheck)Matthew Wild2015-05-061-1/+1
| | |
| * | util.dataforms: Remove unused import of pairs() (thanks luacheck)Matthew Wild2015-05-061-1/+1
| | |
* | | Merge 0.10->trunkMatthew Wild2015-05-062-0/+5
|\| |
| * | MergeMatthew Wild2015-05-063-4/+5
| |\ \
| * | | util.events: Add get_handlers() methodMatthew Wild2015-05-061-0/+4
| | | |
| * | | portmanager, s2smanager, sessionmanager, stanza_router, storagemanager, ↵Matthew Wild2015-05-061-0/+1
| | | | | | | | | | | | | | | | usermanager, util.xml: Add luacheck annotations
* | | | Merge 0.10->trunkKim Alvefur2015-05-052-3/+4
|\ \ \ \ | | |/ / | |/| |
| * | | util.statistics: Collect duration sample even if run fewer times than the ↵Kim Alvefur2015-05-051-2/+2
| | | | | | | | | | | | | | | | sample interval
| * | | util.events: Add local reference to table.remove (fixes traceback)Kim Alvefur2015-05-051-1/+2
| | | |
* | | | Merge 0.10->trunkKim Alvefur2015-05-032-2/+68
|\| | |
| * | | Merge 0.9->0.10Kim Alvefur2015-05-031-1/+1
| |\ \ \ | | |/ / | |/| / | | |/