util.async: tests: slight modifications to allow more code reuse in tests
|
Matthew Wild |
Mon, 19 Mar 2018 16:24:42 +0000 |
util.async: Bump log warnings to error level
|
Matthew Wild |
Mon, 19 Mar 2018 11:51:40 +0000 |
util.async: Add some more tests for wait/done
|
Matthew Wild |
Sun, 18 Mar 2018 22:43:06 +0000 |
util.async: Split runner_continue into smaller functions for easier testing and safety
|
Matthew Wild |
Sun, 18 Mar 2018 12:05:38 +0000 |
util.stanza: Switch from asserts to if's, improve performance, errors and tests
|
Matthew Wild |
Sun, 18 Mar 2018 11:32:00 +0000 |
util.async: Remove redundant line committed by mistake (Zash, luacheck)
|
Matthew Wild |
Sat, 17 Mar 2018 22:03:08 +0000 |
util.async: tests: Ensure done() can be called before wait()
|
Matthew Wild |
Sat, 17 Mar 2018 18:23:39 +0000 |
util.async: tests: Add helper function to create mock watcher callbacks
|
Matthew Wild |
Sat, 17 Mar 2018 18:12:31 +0000 |
util.async: Trim trailing whitespace in tests [luacheck]
|
Kim Alvefur |
Sat, 17 Mar 2018 23:00:04 +0100 |
util.stanza: Test coverage of is_stanza()
|
Kim Alvefur |
Sat, 17 Mar 2018 19:50:22 +0100 |
util.format: Add test coverage for case of extra nil argument
|
Kim Alvefur |
Sat, 17 Mar 2018 19:47:48 +0100 |
util.format: Fix tests to have expected value first
|
Kim Alvefur |
Sat, 17 Mar 2018 19:43:20 +0100 |
util.async: tests: replace peeking at internal state with monitoring correct callback behaviour
|
Matthew Wild |
Sat, 17 Mar 2018 17:59:58 +0000 |
util.async: if debugging is enabled, use runner id in logs
|
Matthew Wild |
Sat, 17 Mar 2018 17:29:13 +0000 |
util.async: ensure change in e77b37de482e applies after out-of-loop resume also
|
Matthew Wild |
Sat, 17 Mar 2018 17:28:07 +0000 |
util.async: Behaviour change: continue to process queued items after errors
|
Matthew Wild |
Sat, 17 Mar 2018 14:54:48 +0000 |
util.async: Yet more tests
|
Matthew Wild |
Sat, 17 Mar 2018 11:47:07 +0000 |
util.async: Convert asserts to a return false (same as other unexpected behaviour)
|
Matthew Wild |
Sat, 17 Mar 2018 11:46:21 +0000 |
GNUMakefile: Add 'coverage' target (requires luacov and luacov-console)
|
Matthew Wild |
Sat, 17 Mar 2018 09:31:57 +0000 |
util.async: Add comment
|
Matthew Wild |
Fri, 16 Mar 2018 22:31:12 +0000 |
util.async: You can never have too many asserts!
|
Matthew Wild |
Fri, 16 Mar 2018 22:30:25 +0000 |
util.async: Ensure runner is left in correct state after out-of-main-loop error (+tests)
|
Matthew Wild |
Fri, 16 Mar 2018 22:26:15 +0000 |
util.async: Add test to ensure waiters throw an error outside async contexts
|
Matthew Wild |
Fri, 16 Mar 2018 22:19:33 +0000 |
util.async: Add tests to specifically cover error handling
|
Matthew Wild |
Fri, 16 Mar 2018 17:50:16 +0000 |
MUC: Use empty string if no subject provided (thanks pep+)
|
Matthew Wild |
Fri, 16 Mar 2018 17:36:49 +0000 |
util.async: Add tests
|
Matthew Wild |
Fri, 16 Mar 2018 17:13:57 +0000 |
util.async: Log the non-error state as well when there is an error being processed
|
Matthew Wild |
Fri, 16 Mar 2018 17:13:20 +0000 |
util.async: Bugfix, don't continue main loop while there is a pending error
|
Matthew Wild |
Fri, 16 Mar 2018 17:12:36 +0000 |
util.async: Fix order of statements so queue count makes more sense
|
Matthew Wild |
Fri, 16 Mar 2018 17:12:09 +0000 |
util.async: Log warning when unexpected state is reached
|
Matthew Wild |
Fri, 16 Mar 2018 17:11:23 +0000 |
util.async: Add per-runner ids and add runner:log() method
|
Matthew Wild |
Fri, 16 Mar 2018 14:59:41 +0000 |
util.stanza: Add stricter validation for data passed to stanza builder API
|
Matthew Wild |
Fri, 16 Mar 2018 14:51:24 +0000 |
util.stanza: Add tests ensuring support for unicode in tag/attr names
|
Matthew Wild |
Fri, 16 Mar 2018 14:50:28 +0000 |
util.stanza: Fix tests to call error_reply() correctly, and add tests to ensure it vaguely works
|
Matthew Wild |
Fri, 16 Mar 2018 14:24:53 +0000 |
mod_http: Pass util.events object to API, fixes traceback
|
Kim Alvefur |
Fri, 16 Mar 2018 08:47:51 +0100 |
mod_websocket: Transfer IP address derived by mod_http
|
Kim Alvefur |
Thu, 15 Mar 2018 17:52:11 +0100 |
mod_http: Set request.ip on all HTTP requests (moves code out of mod_bosh) (fixes #540)
|
Kim Alvefur |
Thu, 15 Mar 2018 17:22:49 +0100 |
Add makefiles compatible with BSD make
|
Kim Alvefur |
Sun, 11 Mar 2018 06:01:19 +0100 |
Rename Makefile -> GNUmakefile to reflect dependency on GNU Make
|
Kim Alvefur |
Tue, 31 Oct 2017 17:28:23 +0100 |
Merge 0.10->trunk
|
Kim Alvefur |
Sat, 10 Mar 2018 20:52:14 +0100 |
Merge 0.9->0.10
|
Kim Alvefur |
Sat, 10 Mar 2018 20:49:52 +0100 |
mod_admin_telnet: Include the default path property in URL calculation (fixes #1099)
|
Kim Alvefur |
Sat, 10 Mar 2018 20:47:34 +0100 |
MUC: send muc#stanza_id feature as per XEP-0045 v1.31 (fixes #1097)
|
Jonas Wielicki |
Thu, 08 Mar 2018 17:36:36 +0100 |
Added tag 0.9.13 for changeset 082d12728645
|
Matthew Wild |
Wed, 10 Jan 2018 15:15:25 +0000 |
mod_register_limits: Return reason for disallowing
|
Kim Alvefur |
Sat, 10 Mar 2018 02:28:29 +0100 |
mod_register_limits: Log message for white- and blacklist hits separate
|
Kim Alvefur |
Sat, 10 Mar 2018 02:27:09 +0100 |
mod_register_limits: Log a debug message when disallowing registration by ewhite- or blacklist
|
Kim Alvefur |
Sat, 10 Mar 2018 02:24:18 +0100 |
mod_register_ibr: Include reason for rejection of registration in debug log
|
Kim Alvefur |
Sat, 10 Mar 2018 02:21:23 +0100 |
luacheckrc: Ignore all unknown globals in config file (ie all settings)
|
Kim Alvefur |
Sat, 10 Mar 2018 00:08:21 +0100 |
Merge 0.10->trunk
|
Kim Alvefur |
Fri, 09 Mar 2018 22:17:59 +0100 |
mod_mam: Remove unmatched closing paren
|
Kim Alvefur |
Fri, 09 Mar 2018 21:51:06 +0100 |
mod_presence: Ignore unused argument but make note of its use elsewhere [luacheck]
|
Kim Alvefur |
Fri, 09 Mar 2018 21:50:01 +0100 |
MUC: send muc#stanza_id feature as per XEP-0045 v1.31 (fixes #1097)
|
Jonas Wielicki |
Thu, 08 Mar 2018 17:36:36 +0100 |
mod_mam: Add an option for whether to include 'total' counts by default in queries
|
Kim Alvefur |
Wed, 07 Mar 2018 15:05:20 +0100 |
mod_mam: Log a debug message if archive expiry has been disabled
|
Kim Alvefur |
Wed, 07 Mar 2018 14:59:00 +0100 |
Backed out changeset 97a094fdf101, interferes with 6ddddfe05a74
|
Kim Alvefur |
Wed, 07 Mar 2018 14:46:55 +0100 |
mod_presence: Remove unused local [luacheck]
|
Kim Alvefur |
Fri, 09 Mar 2018 19:26:35 +0100 |
luacheckrc: Restore module semantics, but only for plugins (ignores some globals)
|
Kim Alvefur |
Fri, 09 Mar 2018 19:23:19 +0100 |
MUC: Write down which functions are exposed and thus available to other modules
|
Kim Alvefur |
Fri, 09 Mar 2018 19:16:18 +0100 |
MUC: send muc#stanza_id feature as per XEP-0045 v1.31 (fixes #1097)
|
Jonas Wielicki |
Thu, 08 Mar 2018 17:35:56 +0100 |
util.import: Explicitly export the global import function [luacheck]
|
Kim Alvefur |
Wed, 07 Mar 2018 19:22:07 +0100 |
.luacheckrc: Add awareness of the module:http_url API added by mod_http
|
Kim Alvefur |
Wed, 07 Mar 2018 19:21:24 +0100 |
luacheckrc: Remove allowance legacy module() related globals
|
Kim Alvefur |
Wed, 07 Mar 2018 19:20:31 +0100 |
luacheckrc: Reflow globals settings
|
Kim Alvefur |
Wed, 07 Mar 2018 19:19:56 +0100 |
MUC/lock: Fix locking timeout to account for the direction of time
|
Kim Alvefur |
Wed, 07 Mar 2018 19:18:35 +0100 |
MUC/lock: Remove redundant fallback value
|
Kim Alvefur |
Wed, 07 Mar 2018 19:17:48 +0100 |
util_pubsub_spec: Move util.pubsub import into a setup block
|
Kim Alvefur |
Wed, 07 Mar 2018 12:51:27 +0100 |
mod_adhoc: Remove unused local [luacheck]
|
Kim Alvefur |
Tue, 06 Mar 2018 19:11:23 +0100 |
spec: Trim trailing whitespace
|
Kim Alvefur |
Tue, 06 Mar 2018 06:27:20 +0100 |
Merge 0.10->trunk
|
Kim Alvefur |
Tue, 06 Mar 2018 01:45:58 +0100 |
prosodyctl: Use correct separator in chown call (fixes #1093)
|
Kim Alvefur |
Fri, 02 Mar 2018 01:51:06 +0100 |
hostmanager: Add a logging close method in case something tries to close the origin of local-originated stanzas (see #1084)
|
Kim Alvefur |
Sat, 24 Feb 2018 19:40:18 +0100 |
util_pubsub_spec: Beginnings of tests for util.pubsub
|
Kim Alvefur |
Sat, 03 Mar 2018 20:55:46 +0100 |
luacheckrc: Declare known global functions in config file
|
Kim Alvefur |
Thu, 01 Mar 2018 21:58:50 +0100 |
util.logger: Import globals (fixes on Lua 5.2)
|
Kim Alvefur |
Wed, 28 Feb 2018 20:17:21 +0100 |
vairious: Add annotation when an empty environment is set [luacheck]
|
Kim Alvefur |
Wed, 28 Feb 2018 20:06:26 +0100 |
Makefile: Also package /net/resolvers
|
Michel Le Bihan |
Wed, 28 Feb 2018 18:12:20 +0100 |
util.logger: New method 'add_simple_sink', logger.add_simple_sink(print) works
|
Matthew Wild |
Tue, 27 Feb 2018 16:02:25 +0000 |
server_epoll: Onconnect should happen before first attempt to write to socket
|
Kim Alvefur |
Mon, 26 Feb 2018 18:31:27 +0100 |
net.http: Refactor to use new net.connect API, brings support for async DNS
|
Matthew Wild |
Mon, 26 Feb 2018 15:27:00 +0000 |
net.connect: Fix to store correct parameter
|
Matthew Wild |
Mon, 26 Feb 2018 15:26:08 +0000 |
net.connect: Improve error message
|
Matthew Wild |
Mon, 26 Feb 2018 15:25:52 +0000 |
net.connect: Handle immediate failures of server.addclient
|
Matthew Wild |
Mon, 26 Feb 2018 15:25:34 +0000 |
net.connect: Handle case when resolver runs out of targets
|
Matthew Wild |
Mon, 26 Feb 2018 15:21:27 +0000 |
net.connect: Track last connection error
|
Matthew Wild |
Mon, 26 Feb 2018 15:20:35 +0000 |
mod_s2s: Don't use string concatenation when passing values to logging
|
Kim Alvefur |
Sun, 25 Feb 2018 11:20:56 +0100 |
util.ringbuffer: Add method for discarding buffered data without returning it to lua
|
Kim Alvefur |
Sat, 24 Feb 2018 14:45:06 +0100 |
util.ringbuffer: Add various comments
|
Kim Alvefur |
Sat, 24 Feb 2018 14:44:46 +0100 |
net.server_epoll: Spelling writeable -> writable
|
Kim Alvefur |
Sat, 24 Feb 2018 14:39:36 +0100 |
net.server_epoll: Remove special casing for having sent an empty write buffer because the wantwrite flag must be unset regardless
|
Kim Alvefur |
Sat, 24 Feb 2018 14:36:44 +0100 |
net.server_epoll: Call onconnect listener on first successful read or write
|
Kim Alvefur |
Sat, 24 Feb 2018 13:46:16 +0100 |
Merge 0.10->trunk
|
Kim Alvefur |
Sat, 24 Feb 2018 11:51:43 +0100 |
mod_mam: Implement option to enable MAM implicitly when client support is detected (#867)
|
Kim Alvefur |
Wed, 21 Feb 2018 21:02:16 +0100 |
mod_storage_sql: Catch and report value deserialization errors
|
Kim Alvefur |
Sat, 24 Feb 2018 11:50:08 +0100 |
net.connect: Default to *a pattern if none provided
|
Matthew Wild |
Fri, 23 Feb 2018 16:23:03 +0000 |
net.http: Rename handler to conn, for consistency with all our other code
|
Matthew Wild |
Fri, 23 Feb 2018 16:21:40 +0000 |
net.http: Remove use of 'conn' (raw socket object returned by addclient)
|
Matthew Wild |
Fri, 23 Feb 2018 16:20:45 +0000 |
moduleapi: Remove unused and undocumented :has_feature and :has_identity
|
Kim Alvefur |
Fri, 23 Feb 2018 17:11:59 +0100 |
doc: Add template / API specification for net.server (thanks Daurnimator)
|
Kim Alvefur |
Fri, 23 Feb 2018 17:10:21 +0100 |
net.connect: New API for outgoing connections, based on 'service resolvers'
|
Matthew Wild |
Fri, 23 Feb 2018 15:53:45 +0000 |
net.server_event: Not every instantly-readable connection is an error, continue if possible
|
Matthew Wild |
Fri, 23 Feb 2018 15:41:12 +0000 |
net.server_event: Better outgoing connection error handling
|
Matthew Wild |
Fri, 23 Feb 2018 15:33:02 +0000 |
net.server_select: Better detection of errors for outgoing connections
|
Matthew Wild |
Fri, 23 Feb 2018 15:30:00 +0000 |
MUC: Emit 333 status code on presence as per XEP-0045 1.30 (fixes #1087)
|
Jonas Wielicki |
Fri, 23 Feb 2018 14:07:16 +0100 |
MUC: Treat missing type and type=normal the same
|
Kim Alvefur |
Fri, 20 Oct 2017 05:18:58 +0200 |
mod_bosh: Return implicit 404 instead of the proper BOSH terminate thing
|
Kim Alvefur |
Wed, 27 Dec 2017 01:00:34 +0100 |
mod_bosh: Limit stream to current host (fixes #371)
|
Kim Alvefur |
Wed, 13 Dec 2017 15:34:53 +0100 |
mod_bosh: Make into a normal module (fixes #402)
|
Kim Alvefur |
Wed, 13 Dec 2017 15:24:02 +0100 |
util.set: Add a __name field to metatable
|
Kim Alvefur |
Fri, 16 Feb 2018 08:23:26 +0100 |
util.array: Add a __name field to metatable
|
Kim Alvefur |
Fri, 16 Feb 2018 08:23:15 +0100 |
util.stanza: Change __type to __name as this is used by Lua 5.3 in some error reporting functions
|
Kim Alvefur |
Fri, 16 Feb 2018 08:16:38 +0100 |
MUC: Prevent traceback in case of no history items to serialize (fixes #1083)
|
Kim Alvefur |
Thu, 15 Feb 2018 02:54:52 +0100 |
Merge 0.10->trunk
|
Kim Alvefur |
Sun, 04 Feb 2018 01:40:11 +0100 |
mod_dialback: Ignore unused arguments [luacheck]
|
Kim Alvefur |
Sun, 04 Feb 2018 01:17:22 +0100 |
mod_dialback: Expand abbrevation
|
Kim Alvefur |
Sun, 04 Feb 2018 01:16:43 +0100 |
mod_dialback: Split long line [luacheck]
|
Kim Alvefur |
Sun, 04 Feb 2018 01:16:28 +0100 |
mod_dialback: Use renamed API for hooking non-stanza tags
|
Kim Alvefur |
Sun, 04 Feb 2018 01:06:40 +0100 |
mod_saslauth: Ignore unused argument [luacheck]
|
Kim Alvefur |
Sun, 04 Feb 2018 01:05:06 +0100 |
mod_saslauth: Use renamed API for hooking non-stanzas
|
Kim Alvefur |
Sun, 04 Feb 2018 01:03:44 +0100 |
mod_saslauth: Pass SASL EXTERNAL failure reason on to be used in error bounces
|
Kim Alvefur |
Sun, 04 Feb 2018 01:01:50 +0100 |