| Commit message (Expand) | Author | Age | Files | Lines |
* | prosodyctl: Run commands inside async context | Matthew Wild | 2018-03-22 | 1 | -57/+70 |
* | util.async: Add sleep() method | Matthew Wild | 2018-03-22 | 1 | -1/+9 |
* | util.async: tests: ensure async.once() propagates errors | Matthew Wild | 2018-03-22 | 1 | -0/+8 |
* | util.async: Add once() to create temporary runners | Matthew Wild | 2018-03-22 | 2 | -1/+31 |
* | util.async: Add ready() to check whether running in async context | Matthew Wild | 2018-03-22 | 2 | -1/+19 |
* | util.pubsub: Add simple test covering publishing and retrieving an item | Kim Alvefur | 2018-03-21 | 1 | -0/+24 |
* | mod_roster: Use new :text_tag() | Kim Alvefur | 2018-03-21 | 1 | -1/+1 |
* | util.stanza: Add :text_tag(), a shortcut for adding nodes with text | Kim Alvefur | 2018-03-21 | 1 | -0/+4 |
* | mod_roster: Iterate over roster group items in more modern manner | Kim Alvefur | 2018-03-21 | 1 | -8/+5 |
* | mod_proxy65: Fix all warnings from luacheck | Matthew Wild | 2018-03-21 | 1 | -3/+4 |
* | mod_proxy65: Fix passing number to stanza API (thanks mimi89999) | Matthew Wild | 2018-03-21 | 1 | -1/+1 |
* | util.stanza: tests: Add more invalid data types and update for :text(nil) and... | Matthew Wild | 2018-03-21 | 1 | -10/+20 |
* | util.stanza: Allow :text(nil) and :text("") as harmless nops | Matthew Wild | 2018-03-21 | 1 | -3/+5 |
* | util.startup: Remove unused loop variable [luacheck] | Kim Alvefur | 2018-03-21 | 1 | -1/+1 |
* | util.startup: Ignore various globals being read and written as part of startu... | Kim Alvefur | 2018-03-21 | 1 | -2/+7 |
* | util.startup: Trim trailing whitespace [luacheck] | Kim Alvefur | 2018-03-21 | 1 | -5/+5 |
* | util.startup: Oops, uncomment accidentally-commented code | Matthew Wild | 2018-03-20 | 1 | -1/+1 |
* | prosody, prosodyctl, util.startup: Finally factor out startup-related and com... | Matthew Wild | 2018-03-20 | 3 | -575/+532 |
* | util.prosodyctl: Fix getpass() for new return values of os.execute() in Lua 5.2 | Matthew Wild | 2018-03-20 | 1 | -1/+4 |
* | util.async: tests: more code re-use | Matthew Wild | 2018-03-19 | 1 | -32/+20 |
* | util.async: tests: luacheck-clean, fixes some actual issues | Matthew Wild | 2018-03-19 | 1 | -64/+65 |
* | util.async: tests: remove obsolete code and comments | Matthew Wild | 2018-03-19 | 1 | -5/+0 |
* | util.async: tests: slight modifications to allow more code reuse in tests | Matthew Wild | 2018-03-19 | 1 | -12/+15 |
* | util.async: Bump log warnings to error level | Matthew Wild | 2018-03-19 | 1 | -2/+2 |
* | util.async: Add some more tests for wait/done | Matthew Wild | 2018-03-18 | 1 | -0/+40 |
* | util.async: Split runner_continue into smaller functions for easier testing a... | Matthew Wild | 2018-03-18 | 1 | -8/+29 |
* | util.stanza: Switch from asserts to if's, improve performance, errors and tests | Matthew Wild | 2018-03-18 | 2 | -44/+69 |
* | util.async: Remove redundant line committed by mistake (Zash, luacheck) | Matthew Wild | 2018-03-17 | 1 | -1/+0 |
* | util.async: tests: Ensure done() can be called before wait() | Matthew Wild | 2018-03-17 | 1 | -0/+18 |
* | util.async: tests: Add helper function to create mock watcher callbacks | Matthew Wild | 2018-03-17 | 1 | -9/+15 |
* | util.async: Trim trailing whitespace in tests [luacheck] | Kim Alvefur | 2018-03-17 | 1 | -26/+26 |
* | util.stanza: Test coverage of is_stanza() | Kim Alvefur | 2018-03-17 | 1 | -0/+16 |
* | util.format: Add test coverage for case of extra nil argument | Kim Alvefur | 2018-03-17 | 1 | -0/+1 |
* | util.format: Fix tests to have expected value first | Kim Alvefur | 2018-03-17 | 1 | -5/+5 |
* | util.async: tests: replace peeking at internal state with monitoring correct ... | Matthew Wild | 2018-03-17 | 1 | -37/+68 |
* | util.async: if debugging is enabled, use runner id in logs | Matthew Wild | 2018-03-17 | 1 | -1/+1 |
* | util.async: ensure change in e77b37de482e applies after out-of-loop resume also | Matthew Wild | 2018-03-17 | 2 | -2/+26 |
* | util.async: Behaviour change: continue to process queued items after errors | Matthew Wild | 2018-03-17 | 2 | -0/+27 |
* | util.async: Yet more tests | Matthew Wild | 2018-03-17 | 1 | -0/+52 |
* | util.async: Convert asserts to a return false (same as other unexpected behav... | Matthew Wild | 2018-03-17 | 1 | -2/+4 |
* | GNUMakefile: Add 'coverage' target (requires luacov and luacov-console) | Matthew Wild | 2018-03-17 | 1 | -1/+8 |
* | util.async: Add comment | Matthew Wild | 2018-03-16 | 1 | -0/+1 |
* | util.async: You can never have too many asserts! | Matthew Wild | 2018-03-16 | 1 | -0/+2 |
* | util.async: Ensure runner is left in correct state after out-of-main-loop err... | Matthew Wild | 2018-03-16 | 2 | -1/+29 |
* | util.async: Add test to ensure waiters throw an error outside async contexts | Matthew Wild | 2018-03-16 | 1 | -0/+5 |
* | util.async: Add tests to specifically cover error handling | Matthew Wild | 2018-03-16 | 1 | -0/+56 |
* | MUC: Use empty string if no subject provided (thanks pep+) | Matthew Wild | 2018-03-16 | 1 | -1/+1 |
* | util.async: Add tests | Matthew Wild | 2018-03-16 | 1 | -0/+315 |
* | util.async: Log the non-error state as well when there is an error being proc... | Matthew Wild | 2018-03-16 | 1 | -1/+1 |
* | util.async: Bugfix, don't continue main loop while there is a pending error | Matthew Wild | 2018-03-16 | 1 | -1/+1 |