Merge 0.9->0.10
|
Kim Alvefur |
Sat, 09 Dec 2017 15:37:10 +0100 |
MUC: Always send subject message, even if it is empty (fixes #1053)
|
Kim Alvefur |
Sat, 09 Dec 2017 14:39:48 +0100 |
mod_register: Include the session and its IP address in user-registering event, so that plugins can use this
|
Kim Alvefur |
Fri, 08 Dec 2017 19:39:43 +0100 |
mod_s2s: Restructure some code
|
Kim Alvefur |
Tue, 05 Dec 2017 13:24:28 +0100 |
mod_s2s: Remove unused argument [luacheck]
|
Kim Alvefur |
Tue, 05 Dec 2017 12:35:01 +0100 |
mod_s2s: Remove unused local [luacheck]
|
Kim Alvefur |
Tue, 05 Dec 2017 12:34:50 +0100 |
mod_adhoc: Rename variable to avoid name clash [luacheck]
|
Kim Alvefur |
Tue, 05 Dec 2017 12:32:51 +0100 |
mod_adhoc/adhoc.lib: Rename variable to avoid name clash [luacheck]
|
Kim Alvefur |
Tue, 05 Dec 2017 12:32:25 +0100 |
mod_dialback: Use non-deprecated API
|
Kim Alvefur |
Tue, 05 Dec 2017 12:30:13 +0100 |
mod_dialback: Split long line [luacheck]
|
Kim Alvefur |
Tue, 05 Dec 2017 12:26:57 +0100 |
Merge 0.10->trunk
|
Kim Alvefur |
Tue, 05 Dec 2017 12:26:08 +0100 |
mod_dialback: Copy function from mod_s2s instead of depending on it, which made it harder to disable s2s (fixes #1050)
|
Kim Alvefur |
Tue, 05 Dec 2017 12:21:51 +0100 |
DEPENDS: Change link to https
|
Kim Alvefur |
Tue, 05 Dec 2017 11:59:43 +0100 |
mod_limits: Fix typo in comment
|
Kim Alvefur |
Tue, 05 Dec 2017 11:12:58 +0100 |
mod_register: Support CIDR notation in white-/blacklists (closes #941)
|
Kim Alvefur |
Fri, 01 Dec 2017 07:58:52 +0100 |
util.crand: Return early if a zero bytes are requested
|
Kim Alvefur |
Sun, 03 Dec 2017 15:42:55 +0100 |
spec/util.random: Check a larger range of sizes
|
Kim Alvefur |
Sun, 03 Dec 2017 15:37:17 +0100 |
util.crand: Throw an error for sizes smaller than 1 byte
|
Kim Alvefur |
Sun, 03 Dec 2017 15:36:20 +0100 |
util.crand: Make it possible to use arc4random on Linux (needs libbsd)
|
Kim Alvefur |
Sun, 03 Dec 2017 15:21:12 +0100 |
util.crand: Use a small buffer on the stack for small pieces of random, should be faster
|
Kim Alvefur |
Sun, 03 Dec 2017 15:03:25 +0100 |
util.crand: Remove unneeded cast
|
Kim Alvefur |
Sun, 03 Dec 2017 14:14:35 +0100 |
util.crand: Silence signedness warning
|
Kim Alvefur |
Sun, 03 Dec 2017 14:13:56 +0100 |
util.crand: Only keep return value of getrandom() as the others don't return partial results
|
Kim Alvefur |
Sat, 02 Dec 2017 11:11:32 +0100 |
util.crand: Try getrandom() again until buffer is filled
|
Kim Alvefur |
Sat, 02 Dec 2017 10:58:37 +0100 |
net.websocket.frames: Ignore Lua 5.3-only fields [luacheck]
|
Kim Alvefur |
Sat, 02 Dec 2017 02:12:06 +0100 |
util.ip: Do equality checking by comparing packed representation to avoid any variations
|
Kim Alvefur |
Fri, 01 Dec 2017 05:13:28 +0100 |
Merge 0.10->trunk
|
Kim Alvefur |
Fri, 01 Dec 2017 04:54:23 +0100 |
util.ip: Add CGNAT network range reserved in RFC 6598
|
Kim Alvefur |
Fri, 01 Dec 2017 03:13:52 +0100 |
util.ip: Do exact match for longer bit counts than available
|
Kim Alvefur |
Fri, 01 Dec 2017 03:31:37 +0100 |
util.ip: Do CIDR matching by comparing all bits at once instead of using O(n) function
|
Kim Alvefur |
Fri, 01 Dec 2017 03:29:25 +0100 |
util.ip: Cache return values of all methods in one place
|
Kim Alvefur |
Fri, 01 Dec 2017 02:25:25 +0100 |
util.ip: Instantiate various addresses used for comparisons once
|
Kim Alvefur |
Fri, 01 Dec 2017 02:23:57 +0100 |
util.ip: Simplify creation of IPv6-mapped IPv4 addresses
|
Kim Alvefur |
Fri, 01 Dec 2017 04:33:49 +0100 |
util.ip: Add a method returning a normalized IP address
|
Kim Alvefur |
Fri, 01 Dec 2017 04:33:27 +0100 |
util.ip: Simplify bitstring method
|
Kim Alvefur |
Fri, 01 Dec 2017 04:32:20 +0100 |
util.ip: Make bit string function into a method
|
Kim Alvefur |
Fri, 01 Dec 2017 04:37:33 +0100 |
util.ip: Parse IP address using inet_pton
|
Kim Alvefur |
Fri, 01 Dec 2017 04:39:12 +0100 |
util.ip: Reflow module export table
|
Kim Alvefur |
Fri, 01 Dec 2017 01:55:40 +0100 |
util.ip: Reflow metatable
|
Kim Alvefur |
Fri, 01 Dec 2017 01:55:15 +0100 |
net.dns: Use inet_ntop from util.net if available
|
Kim Alvefur |
Wed, 29 Nov 2017 08:02:14 +0100 |
util.net: Add bindings to inet_ntop and inet_pton
|
Kim Alvefur |
Sun, 26 Nov 2017 02:26:13 +0100 |
util.crand: Add comments about defines
|
Kim Alvefur |
Fri, 01 Dec 2017 00:56:11 +0100 |
util.crand: Apply formatter
|
Kim Alvefur |
Fri, 01 Dec 2017 00:29:25 +0100 |
util.crand: Reorder includes so system ones are first
|
Kim Alvefur |
Fri, 01 Dec 2017 00:28:52 +0100 |
util.crand: Always include stdlib to be sure __GLIBC_PREREQ is defined
|
Kim Alvefur |
Fri, 01 Dec 2017 00:27:37 +0100 |
net.dns: Don't compress a single zero group in IPv6 addresses to match behaviour of inet_ntop
|
Kim Alvefur |
Fri, 01 Dec 2017 04:50:20 +0100 |
util.signal: Fix loop (fixes #1047)
|
Kim Alvefur |
Thu, 30 Nov 2017 19:35:35 +0100 |
prosodyctl: Fix traceback with lfs < 1.6.2 and show warning
|
Matthew Wild |
Thu, 30 Nov 2017 18:47:06 +0000 |
util.template: Use util.envload instead of loadstring which is deprecated in Lua 5.2
|
Kim Alvefur |
Thu, 23 Nov 2017 21:00:29 +0100 |
util.format: Import unpack from table lib in Lua 5.2+
|
Kim Alvefur |
Thu, 23 Nov 2017 20:55:21 +0100 |
util.envload: Ignore "undefined variable" warning for loadstring [luacheck with strict 5.2 or 5.3 checks]
|
Kim Alvefur |
Thu, 23 Nov 2017 20:51:38 +0100 |
Merge 0.10->trunk
|
Kim Alvefur |
Thu, 23 Nov 2017 17:42:48 +0100 |
util.signal: Use a static array to keep track of pending signals (fixes #1029)
|
Kim Alvefur |
Tue, 14 Nov 2017 15:20:14 +0100 |
spec/net.http.server: Add test for #1044
|
Kim Alvefur |
Wed, 22 Nov 2017 02:40:42 +0100 |
Merge 0.10->trunk
|
Kim Alvefur |
Wed, 22 Nov 2017 02:36:10 +0100 |
util.helpers: Handle missing priorities, happens due to wildcard magic in net.http.server (fixes #1044)
|
Kim Alvefur |
Wed, 22 Nov 2017 02:34:42 +0100 |
Merge 0.10->trunk
|
Kim Alvefur |
Tue, 21 Nov 2017 23:16:16 +0100 |
mod_storage_sql: Add indices that include the with and when columns of archives
|
Kim Alvefur |
Tue, 21 Nov 2017 14:46:21 +0100 |
util.async: Fix thread check to work correctly in Lua 5.2
|
Kim Alvefur |
Tue, 21 Nov 2017 21:48:43 +0100 |
util.async: Factor out thread check into a function
|
Kim Alvefur |
Tue, 21 Nov 2017 21:48:14 +0100 |
Merge 0.10->trunk
|
Kim Alvefur |
Mon, 20 Nov 2017 02:22:09 +0100 |
certmanager: Set single curve conditioned on LuaSec advertising EC crypto support
|
Kim Alvefur |
Mon, 20 Nov 2017 00:27:26 +0100 |
certmanager: Filter out curves not supported by LuaSec
|
Kim Alvefur |
Mon, 20 Nov 2017 00:26:41 +0100 |
certmanager: Change table representing LuaSec capabilities to match capabilities table exposed in LuaSec 0.7
|
Kim Alvefur |
Mon, 20 Nov 2017 00:25:18 +0100 |
mod_storage_internal: Skip write if no items matched a deletion query
|
Kim Alvefur |
Sun, 19 Nov 2017 21:00:43 +0100 |
util.pubsub: Recreate itemstore if persist_items changes or resize it if max_items changes
|
Kim Alvefur |
Thu, 09 Nov 2017 17:19:11 +0100 |
mod_pubsub: Allow itemstore to override item ids
|
Kim Alvefur |
Thu, 09 Nov 2017 17:22:47 +0100 |
mod_pubsub/archive_itemstore: Support resize operation
|
Kim Alvefur |
Thu, 09 Nov 2017 17:21:50 +0100 |
util.cache: Call on-eviction callback when shrinking
|
Kim Alvefur |
Sat, 18 Nov 2017 21:35:40 +0100 |
util.cache: Add a method to resize the cache
|
Kim Alvefur |
Sat, 18 Nov 2017 21:35:31 +0100 |
util.cache: Add method for removing all data (does not call eviction callback)
|
Kim Alvefur |
Tue, 07 Nov 2017 00:38:47 +0100 |
mod_storage_sql: Add support for truncating deletion
|
Kim Alvefur |
Thu, 09 Nov 2017 16:50:36 +0100 |
mod_storage_internal: Optimize truncation
|
Kim Alvefur |
Fri, 10 Nov 2017 09:44:30 +0100 |
mod_storage_internal: Allow truncating deletion at the beginning or end of an archive store
|
Kim Alvefur |
Thu, 09 Nov 2017 01:42:01 +0100 |
util.datetime: Add tests
|
Kim Alvefur |
Sun, 19 Nov 2017 20:51:53 +0100 |
mod_debug_sql: Declare itself as global module
|
Kim Alvefur |
Sat, 18 Nov 2017 20:15:19 +0100 |
Merge 0.10->trunk
|
Kim Alvefur |
Fri, 10 Nov 2017 17:47:50 +0100 |
util: Ignore some Lua 5.1 vs 5.2 compat things [luacheck]
|
Kim Alvefur |
Fri, 10 Nov 2017 17:47:11 +0100 |
mod_c2s: Set a default value for c2s_timeout (fixes #1036)
|
Kim Alvefur |
Fri, 10 Nov 2017 07:11:03 +0100 |
MUC: Cache names of public rooms on eviction
|
Kim Alvefur |
Thu, 09 Nov 2017 17:27:52 +0100 |
MUC: Measure rate of room eviction
|
Kim Alvefur |
Thu, 09 Nov 2017 17:27:37 +0100 |
MUC: Tweak debug log message
|
Kim Alvefur |
Thu, 09 Nov 2017 17:27:12 +0100 |
net.server_event: Split long line [luacheck]
|
Kim Alvefur |
Fri, 10 Nov 2017 05:50:03 +0100 |
util.format: Move tests to spec/
|
Kim Alvefur |
Fri, 10 Nov 2017 05:46:39 +0100 |
util: Various minor changes to please [luacheck]
|
Kim Alvefur |
Fri, 10 Nov 2017 05:42:32 +0100 |
luacheckrc: Ignore long commets (e.g. license in util.sasl)
|
Kim Alvefur |
Fri, 10 Nov 2017 05:34:29 +0100 |
util.sql: Discard useless substitution count from string.gsub in SQL debug logs
|
Kim Alvefur |
Wed, 08 Nov 2017 10:45:58 +0100 |
Merge 0.10->trunk
|
Kim Alvefur |
Tue, 07 Nov 2017 09:29:04 +0100 |
util.sql: Return an error message when a SQL commit fails (LuaDBI doesn't) (Thanks Ge0rG)
|
Kim Alvefur |
Tue, 07 Nov 2017 09:26:48 +0100 |
mod_pep_plus: Broadcast only the last item (thanks lovetox)
|
Kim Alvefur |
Tue, 07 Nov 2017 02:32:45 +0100 |
util.pubsub: Add method for retreiving the last item (useful for sending on subscribe)
|
Kim Alvefur |
Tue, 07 Nov 2017 00:40:52 +0100 |
mod_pubsub: Add a tail method (like util.cache) to archive_itemstore
|
Kim Alvefur |
Tue, 07 Nov 2017 00:39:35 +0100 |
mod_pubsub: Update node config names (should have been in 2abbb01cd756) (thanks lovetox)
|
Kim Alvefur |
Mon, 06 Nov 2017 21:03:30 +0100 |
spec/util.encodings: Test a lonly padding (can appear like this in SASL)
|
Kim Alvefur |
Fri, 03 Nov 2017 15:44:43 +0100 |
spec/util.encodings: Test an UTF-8 sequence
|
Kim Alvefur |
Fri, 03 Nov 2017 15:44:39 +0100 |
spec/util.encodings: Fix syntax
|
Kim Alvefur |
Fri, 03 Nov 2017 15:43:36 +0100 |
spec/util.encodings: Remove workaround for a thing
|
Kim Alvefur |
Fri, 03 Nov 2017 15:40:52 +0100 |
Merge 0.10->trunk
|
Kim Alvefur |
Fri, 03 Nov 2017 01:17:53 +0100 |
util.termcolours: Split a long line [luacheck]
|
Kim Alvefur |
Fri, 03 Nov 2017 01:17:39 +0100 |
spec/util.encodings: Add some base64 tests (Thanks Link Mavue)
|
Kim Alvefur |
Fri, 03 Nov 2017 01:13:35 +0100 |
Merge 0.10->trunk
|
Kim Alvefur |
Sun, 29 Oct 2017 02:05:19 +0200 |
man prosodyctl: Highlight subcommands
|
Kim Alvefur |
Mon, 23 Oct 2017 12:46:11 +0200 |
mod_http_errors: Use util.interpolation to render HTML template
|
Kim Alvefur |
Fri, 27 Oct 2017 13:27:35 +0200 |
mod_http_errors: Set Content-Type header to HTML (fixes #1030)
|
Kim Alvefur |
Fri, 27 Oct 2017 13:28:34 +0200 |
net.http.server: Include response object in most http-error events
|
Kim Alvefur |
Fri, 27 Oct 2017 14:08:28 +0200 |
rostermanager: Log warning if removal self-contact failed
|
Kim Alvefur |
Sun, 29 Oct 2017 00:07:45 +0200 |
rostermanager: Use internal method for storing removal of self-contact
|
Kim Alvefur |
Sun, 29 Oct 2017 00:07:18 +0200 |
rostermanager: Demote warning to debug message
|
Kim Alvefur |
Sun, 29 Oct 2017 00:06:26 +0200 |
rostermanager: Capitalize log message
|
Kim Alvefur |
Sun, 29 Oct 2017 00:05:26 +0200 |
rostermanager: Remove self-contact entry (fixes #933)
|
Emmanuel Gil Peyrot |
Tue, 19 Sep 2017 19:17:23 +0200 |
rostermanager: Simplify logging.
|
Emmanuel Gil Peyrot |
Tue, 19 Sep 2017 19:17:07 +0200 |
loggingmanager: Make timestamps enabled by default in file sink (fixes #1004)
|
Kim Alvefur |
Thu, 26 Oct 2017 22:30:52 +0200 |