aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* util.template: Use util.envload instead of loadstring which is deprecated in ↵Kim Alvefur2017-11-231-2/+2
| | | | Lua 5.2
* util.format: Import unpack from table lib in Lua 5.2+Kim Alvefur2017-11-231-1/+1
|
* util.envload: Ignore "undefined variable" warning for loadstring [luacheck ↵Kim Alvefur2017-11-231-1/+1
| | | | with strict 5.2 or 5.3 checks]
* Merge 0.10->trunkKim Alvefur2017-11-231-23/+12
|\
| * util.signal: Use a static array to keep track of pending signals (fixes #1029)Kim Alvefur2017-11-141-23/+12
| |
* | spec/net.http.server: Add test for #1044Kim Alvefur2017-11-221-0/+12
| |
* | Merge 0.10->trunkKim Alvefur2017-11-221-1/+1
|\|
| * util.helpers: Handle missing priorities, happens due to wildcard magic in ↵Kim Alvefur2017-11-221-1/+1
| | | | | | | | net.http.server (fixes #1044)
* | Merge 0.10->trunkKim Alvefur2017-11-211-0/+2
|\|
| * mod_storage_sql: Add indices that include the with and when columns of archivesKim Alvefur2017-11-211-0/+2
| |
* | util.async: Fix thread check to work correctly in Lua 5.2Kim Alvefur2017-11-211-2/+2
| | | | | | | | | | coroutine.running() now returns the main thread and a boolean true if called from the main thread, as opposed to nil in 5.1
* | util.async: Factor out thread check into a functionKim Alvefur2017-11-211-8/+10
| |
* | Merge 0.10->trunkKim Alvefur2017-11-202-14/+35
|\|
| * certmanager: Set single curve conditioned on LuaSec advertising EC crypto ↵Kim Alvefur2017-11-201-1/+1
| | | | | | | | support
| * certmanager: Filter out curves not supported by LuaSecKim Alvefur2017-11-201-0/+12
| |
| * certmanager: Change table representing LuaSec capabilities to match ↵Kim Alvefur2017-11-201-13/+20
| | | | | | | | capabilities table exposed in LuaSec 0.7
| * mod_debug_sql: Declare itself as global moduleKim Alvefur2017-11-181-0/+2
| |
* | mod_storage_internal: Skip write if no items matched a deletion queryKim Alvefur2017-11-191-0/+3
| |
* | util.pubsub: Recreate itemstore if persist_items changes or resize it if ↵Kim Alvefur2017-11-091-7/+7
| | | | | | | | max_items changes
* | mod_pubsub: Allow itemstore to override item idsKim Alvefur2017-11-091-0/+3
| |
* | mod_pubsub/archive_itemstore: Support resize operationKim Alvefur2017-11-091-0/+5
| |
* | util.cache: Call on-eviction callback when shrinkingKim Alvefur2017-11-181-1/+6
| |
* | util.cache: Add a method to resize the cacheKim Alvefur2017-11-181-0/+14
| |
* | util.cache: Add method for removing all data (does not call eviction callback)Kim Alvefur2017-11-071-0/+7
| |
* | mod_storage_sql: Add support for truncating deletionKim Alvefur2017-11-091-1/+29
| |
* | mod_storage_internal: Optimize truncationKim Alvefur2017-11-101-4/+5
| |
* | mod_storage_internal: Allow truncating deletion at the beginning or end of ↵Kim Alvefur2017-11-091-0/+15
| | | | | | | | an archive store
* | util.datetime: Add testsKim Alvefur2017-11-191-0/+76
| |
* | Merge 0.10->trunkKim Alvefur2017-11-101-1/+1
|\|
| * mod_c2s: Set a default value for c2s_timeout (fixes #1036)Kim Alvefur2017-11-101-1/+1
| |
* | util: Ignore some Lua 5.1 vs 5.2 compat things [luacheck]Kim Alvefur2017-11-104-5/+5
| |
* | MUC: Cache names of public rooms on evictionKim Alvefur2017-11-091-0/+1
| |
* | MUC: Measure rate of room evictionKim Alvefur2017-11-091-0/+2
| |
* | MUC: Tweak debug log messageKim Alvefur2017-11-091-1/+1
| |
* | net.server_event: Split long line [luacheck]Kim Alvefur2017-11-101-1/+2
| |
* | util.format: Move tests to spec/Kim Alvefur2017-11-102-10/+13
| |
* | util: Various minor changes to please [luacheck]Kim Alvefur2017-11-1018-115/+107
| |
* | luacheckrc: Ignore long commets (e.g. license in util.sasl)Kim Alvefur2017-11-101-0/+4
| |
* | util.sql: Discard useless substitution count from string.gsub in SQL debug logsKim Alvefur2017-11-081-2/+2
| |
* | Merge 0.10->trunkKim Alvefur2017-11-071-1/+2
|\|
| * util.sql: Return an error message when a SQL commit fails (LuaDBI doesn't) ↵Kim Alvefur2017-11-071-1/+2
| | | | | | | | (Thanks Ge0rG)
* | mod_pep_plus: Broadcast only the last item (thanks lovetox)Kim Alvefur2017-11-071-4/+3
| |
* | util.pubsub: Add method for retreiving the last item (useful for sending on ↵Kim Alvefur2017-11-071-0/+9
| | | | | | | | subscribe)
* | mod_pubsub: Add a tail method (like util.cache) to archive_itemstoreKim Alvefur2017-11-071-0/+7
| |
* | mod_pubsub: Update node config names (should have been in 2abbb01cd756) ↵Kim Alvefur2017-11-061-1/+1
| | | | | | | | (thanks lovetox)
* | spec/util.encodings: Test a lonly padding (can appear like this in SASL)Kim Alvefur2017-11-031-0/+1
| |
* | spec/util.encodings: Test an UTF-8 sequenceKim Alvefur2017-11-031-0/+2
| |
* | spec/util.encodings: Fix syntaxKim Alvefur2017-11-031-2/+2
| |
* | spec/util.encodings: Remove workaround for a thingKim Alvefur2017-11-031-4/+0
| |
* | Merge 0.10->trunkKim Alvefur2017-11-031-1/+2
|\|