storagemanager: Log warning on storage access outside of async contexts
|
Matthew Wild |
Thu, 22 Mar 2018 16:25:20 +0000 |
util.startup: Execute startup routine inside async context
|
Matthew Wild |
Thu, 22 Mar 2018 16:24:22 +0000 |
prosodyctl: Run commands inside async context
|
Matthew Wild |
Thu, 22 Mar 2018 16:23:06 +0000 |
util.async: Add sleep() method
|
Matthew Wild |
Thu, 22 Mar 2018 13:02:00 +0000 |
util.async: tests: ensure async.once() propagates errors
|
Matthew Wild |
Thu, 22 Mar 2018 11:56:03 +0000 |
util.async: Add once() to create temporary runners
|
Matthew Wild |
Thu, 22 Mar 2018 07:56:01 +0000 |
util.async: Add ready() to check whether running in async context
|
Matthew Wild |
Thu, 22 Mar 2018 07:46:23 +0000 |
util.pubsub: Add simple test covering publishing and retrieving an item
|
Kim Alvefur |
Wed, 21 Mar 2018 17:03:13 +0100 |
mod_roster: Use new :text_tag()
|
Kim Alvefur |
Wed, 21 Mar 2018 23:20:59 +0100 |
util.stanza: Add :text_tag(), a shortcut for adding nodes with text
|
Kim Alvefur |
Wed, 21 Mar 2018 23:20:26 +0100 |
mod_roster: Iterate over roster group items in more modern manner
|
Kim Alvefur |
Wed, 21 Mar 2018 23:15:30 +0100 |
mod_proxy65: Fix all warnings from luacheck
|
Matthew Wild |
Wed, 21 Mar 2018 22:13:11 +0000 |
mod_proxy65: Fix passing number to stanza API (thanks mimi89999)
|
Matthew Wild |
Wed, 21 Mar 2018 22:10:24 +0000 |
util.stanza: tests: Add more invalid data types and update for :text(nil) and :text("")
|
Matthew Wild |
Wed, 21 Mar 2018 22:08:54 +0000 |
util.stanza: Allow :text(nil) and :text("") as harmless nops
|
Matthew Wild |
Wed, 21 Mar 2018 22:04:20 +0000 |
util.startup: Remove unused loop variable [luacheck]
|
Kim Alvefur |
Wed, 21 Mar 2018 16:31:48 +0100 |
util.startup: Ignore various globals being read and written as part of startup [luacheck]
|
Kim Alvefur |
Wed, 21 Mar 2018 16:30:24 +0100 |
util.startup: Trim trailing whitespace [luacheck]
|
Kim Alvefur |
Wed, 21 Mar 2018 10:26:29 +0100 |
util.startup: Oops, uncomment accidentally-commented code
|
Matthew Wild |
Tue, 20 Mar 2018 16:11:37 +0000 |
prosody, prosodyctl, util.startup: Finally factor out startup-related and common code into a separate module
|
Matthew Wild |
Tue, 20 Mar 2018 16:10:37 +0000 |
util.prosodyctl: Fix getpass() for new return values of os.execute() in Lua 5.2
|
Matthew Wild |
Tue, 20 Mar 2018 16:07:50 +0000 |
util.async: tests: more code re-use
|
Matthew Wild |
Mon, 19 Mar 2018 16:40:40 +0000 |
util.async: tests: luacheck-clean, fixes some actual issues
|
Matthew Wild |
Mon, 19 Mar 2018 16:31:53 +0000 |
util.async: tests: remove obsolete code and comments
|
Matthew Wild |
Mon, 19 Mar 2018 16:25:02 +0000 |
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 |