util.startup: Move original_logging_config to a local variable
|
Matthew Wild |
Thu, 22 Mar 2018 21:46:55 +0000 |
util.startup: Restore user switching
|
Matthew Wild |
Thu, 22 Mar 2018 21:46:05 +0000 |
util.startup: Fix chdir() to use correct path variable
|
Matthew Wild |
Thu, 22 Mar 2018 21:45:38 +0000 |
mod_posix: Delay setting signal handlers until in the main thread
|
Matthew Wild |
Thu, 22 Mar 2018 21:18:58 +0000 |
MUC: Catch and log error in case of storage failure in iterator over rooms
|
Kim Alvefur |
Thu, 15 Mar 2018 06:19:57 +0100 |
MUC: Override methods on broken rooms to return internal-server-error instead
|
Kim Alvefur |
Thu, 22 Mar 2018 20:08:32 +0100 |
MUC: Return error if unable to keep track of room due to storage failure
|
Kim Alvefur |
Wed, 07 Mar 2018 17:53:52 +0100 |
MUC: Log failure to load room state
|
Kim Alvefur |
Fri, 16 Mar 2018 21:59:41 +0100 |
MUC: Only fetch stored room state if room config is loaded without error
|
Kim Alvefur |
Fri, 16 Mar 2018 21:59:34 +0100 |
MUC: Prevent room eviction on storage failure
|
Kim Alvefur |
Wed, 07 Mar 2018 17:38:01 +0100 |
MUC: Produce an untracked, locked room on failure to read room from storage (#1091)
|
Kim Alvefur |
Mon, 12 Mar 2018 21:47:39 +0100 |
util.async: Allow nil as a guard key
|
Matthew Wild |
Thu, 22 Mar 2018 16:26:09 +0000 |
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 |