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 |