aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* util.crand: Include stdlib.h instead of malloc.h for portability (thanks Tobias)Kim Alvefur2016-02-221-1/+1
|
* util.crand: C binding to one of OpenSSL, Linux getrandom() or OpenBSD ↵Kim Alvefur2016-02-224-1/+187
| | | | arc4random() CSPRNG
* util.iterators: Use table.pack() on Lua 5.2Kim Alvefur2016-02-221-1/+1
|
* util.multitable: Localize unpack() in Lua 5.2 compatible wayKim Alvefur2016-02-221-1/+2
|
* util.iterators: Localize unpack() in Lua 5.2 compatible wayKim Alvefur2016-02-221-1/+2
|
* util.import: Localize unpack() in Lua 5.2 compatible wayKim Alvefur2016-02-221-0/+1
|
* util.debug: Silence luacheck warning about modifying 'debug' libKim Alvefur2016-02-221-0/+3
|
* util.session: Fix luacheck warningsKim Alvefur2016-02-221-3/+3
|
* util.sql: Localize unpack() in Lua 5.2 compatible wayKim Alvefur2016-02-221-1/+1
|
* mod_storage_sql: Treat non-existent archive IDs as beyound the end of the ↵Kim Alvefur2016-02-221-2/+2
| | | | archive (fixes #624) (tested on sqlite3 only)
* usermanager: Shortcircuit user existence check if they have existing sessionsKim Alvefur2016-02-211-0/+1
|
* mod_debug_sql: Small plugin that enables raw SQL query logging (for debugging)Kim Alvefur2016-02-211-0/+25
|
* mod_storage_sql: Remove debug logging of archive queriesKim Alvefur2016-02-211-2/+0
|
* util.sql: Raw query debug logging (needs to be explicitly enabled by a plugin)Kim Alvefur2016-02-211-1/+31
|
* mod_storage_sql: Lower message about new engine creation to debug levelKim Alvefur2016-02-211-1/+1
|
* tests: Add minimal test for util.random that checks that it returns the ↵Kim Alvefur2016-02-212-0/+11
| | | | number of bytes requested
* mod_storage_sql: Share SQL connections with same parameters across ↵Kim Alvefur2016-02-211-11/+17
| | | | VirtualHosts (fixes #576)
* mod_storage_sql: Fix setting value to false in map storeKim Alvefur2016-02-191-1/+2
|
* rostermanager: Require storagemanager at the top, fixes traceback on Lua 5.2Matthew Wild2016-02-191-3/+4
|
* Makefile: Use runtime set by configure (fixes #629)Kim Alvefur2016-02-181-1/+1
|
* loggingmanager,modulemanager,moduleapi: Ignore warning about accessing ↵Kim Alvefur2016-02-183-3/+4
| | | | _G.unpack [luacheck]
* loggingmanager,modulemanager,moduleapi: Localize unpack compatible with Lua 5.2+Kim Alvefur2016-02-182-2/+4
|
* certmanager: Localize tonumberMatthew Wild2016-02-181-1/+1
|
* loggingmanager: Import select() to fix global accessMatthew Wild2016-02-181-1/+1
|
* mod_storage_sql: Silence some harmless luacheck warningsKim Alvefur2016-02-091-0/+3
|
* rostermanager: Use map stores when only one contact is changedKim Alvefur2016-02-091-15/+20
|
* rostermanager: Use storagemanagerKim Alvefur2016-02-091-3/+4
|
* mod_storage_sql: Implement map:set_keys, allowing multiple keys to be set in ↵Kim Alvefur2016-02-091-17/+23
| | | | the same transaction
* storagemanager: Add set_keys method to map store shimKim Alvefur2016-02-091-0/+17
|
* storagemanager: Fix map store shim if store is emptyKim Alvefur2014-08-081-1/+1
|
* storagemanager: When map store isn't available, fallback to keyval store ↵daurnimator2014-08-071-1/+37
| | | | [backported from trunk]
* mod_storage_sql: Support non-string keys in map storeKim Alvefur2016-02-081-2/+14
|
* certmanager: Try filename.key if certificate is set to a full filename ↵Kim Alvefur2016-02-051-3/+2
| | | | ending with .crt
* certmanager: Apply global ssl config later so certificate/key is not ↵Kim Alvefur2016-02-051-1/+1
| | | | overwritten by magic
* certmanager: Support new certificate configuration for non-XMPP services too ↵Matthew Wild2016-02-051-6/+23
| | | | (fixes #614)
* loggingmanager: Stringify all arguments to format so we can finally see the ↵Kim Alvefur2016-02-041-5/+12
| | | | *real* error messages
* loggingmanager: Remove Windows hack, buffer_mode should fix thisKim Alvefur2016-02-041-7/+0
|
* loggingmanager: Write out timestamps in same write() call as everything elseKim Alvefur2016-02-041-6/+5
|
* loggingmanager: Make initial value for width of log name configurableKim Alvefur2016-02-041-1/+3
|
* loggingmanager: Move logic for adaptive column width into file sink, append ↵Kim Alvefur2016-02-041-9/+11
| | | | tab if disabled (fixes separation between name and level in plain file sinks)
* loggingmanager: Refactor the console log sink to re-use the stdout sink ↵Kim Alvefur2016-02-041-74/+45
| | | | which in turn uses the file sink (tailcalls!)
* loggingmanager: Write out color code, log level and reset code in one callKim Alvefur2016-02-041-4/+2
|
* loggingmanager: Don't reset default timestamp that is not changed by any ↵Kim Alvefur2016-02-041-1/+0
| | | | other code
* util.logger: Silence luacheck warningKim Alvefur2016-02-041-0/+1
|
* util.logger: Remove unused localsKim Alvefur2016-02-041-4/+1
|
* mod_groups: Move variable to smaller scopeKim Alvefur2016-02-041-3/+1
|
* mod_groups: Use module:get_option_path, look for file relative to config dirKim Alvefur2016-02-041-1/+1
|
* moduleapi: Add API method for getting a file pathKim Alvefur2016-02-041-0/+14
|
* loggingmanager: Call setvbuf on output files, defaulting to line-buffered, ↵Matthew Wild2016-02-041-3/+15
| | | | instead of manually calling flush(). Adds 'buffer_mode' option to sink configuration for stdout, console and file sinks.
* core.certmanager: Look for certificate and key in a few different placesKim Alvefur2016-02-031-0/+28
|