aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* prosodyctl: Large number of changes to satisfy [luacheck], includes bug fixesMatthew Wild2018-03-221-113/+131
|
* storagemanager: Remove unused variable [luacheck]Kim Alvefur2018-03-221-1/+1
|
* util.async: Use wrapper for once runner (thanks luacheck)Kim Alvefur2018-03-222-1/+2
|
* prosodyctl, util.prosodyctl: Pass source path as a parameter instead of ↵Matthew Wild2018-03-222-6/+4
| | | | global variable
* util.startup: Fix variable usage [luacheck]Matthew Wild2018-03-221-3/+3
|
* util.startup: Move original_logging_config to a local variableMatthew Wild2018-03-221-1/+3
|
* util.startup: Restore user switchingMatthew Wild2018-03-221-1/+2
|
* util.startup: Fix chdir() to use correct path variableMatthew Wild2018-03-221-7/+7
|
* mod_posix: Delay setting signal handlers until in the main threadMatthew Wild2018-03-221-18/+20
| | | | Signal handlers work by setting a debug hook. Hooks are per-thread, so we need this to be called in the main thread. However module loading is not in the main thread anymore.
* MUC: Catch and log error in case of storage failure in iterator over roomsKim Alvefur2018-03-151-1/+9
|
* MUC: Override methods on broken rooms to return internal-server-error insteadKim Alvefur2018-03-221-0/+8
|
* MUC: Return error if unable to keep track of room due to storage failureKim Alvefur2018-03-071-2/+6
|
* MUC: Log failure to load room stateKim Alvefur2018-03-161-1/+4
|
* MUC: Only fetch stored room state if room config is loaded without errorKim Alvefur2018-03-161-1/+1
|
* MUC: Prevent room eviction on storage failureKim Alvefur2018-03-071-9/+15
|
* MUC: Produce an untracked, locked room on failure to read room from storage ↵Kim Alvefur2018-03-121-1/+5
| | | | (#1091)
* util.async: Allow nil as a guard keyMatthew Wild2018-03-221-0/+2
|
* storagemanager: Log warning on storage access outside of async contextsMatthew Wild2018-03-221-0/+32
|
* util.startup: Execute startup routine inside async contextMatthew Wild2018-03-221-21/+24
|
* prosodyctl: Run commands inside async contextMatthew Wild2018-03-221-57/+70
|
* util.async: Add sleep() methodMatthew Wild2018-03-221-1/+9
|
* util.async: tests: ensure async.once() propagates errorsMatthew Wild2018-03-221-0/+8
|
* util.async: Add once() to create temporary runnersMatthew Wild2018-03-222-1/+31
|
* util.async: Add ready() to check whether running in async contextMatthew Wild2018-03-222-1/+19
|
* util.pubsub: Add simple test covering publishing and retrieving an itemKim Alvefur2018-03-211-0/+24
|
* mod_roster: Use new :text_tag()Kim Alvefur2018-03-211-1/+1
|
* util.stanza: Add :text_tag(), a shortcut for adding nodes with textKim Alvefur2018-03-211-0/+4
|
* mod_roster: Iterate over roster group items in more modern mannerKim Alvefur2018-03-211-8/+5
|
* mod_proxy65: Fix all warnings from luacheckMatthew Wild2018-03-211-3/+4
|
* mod_proxy65: Fix passing number to stanza API (thanks mimi89999)Matthew Wild2018-03-211-1/+1
|
* util.stanza: tests: Add more invalid data types and update for :text(nil) ↵Matthew Wild2018-03-211-10/+20
| | | | and :text("")
* util.stanza: Allow :text(nil) and :text("") as harmless nopsMatthew Wild2018-03-211-3/+5
|
* util.startup: Remove unused loop variable [luacheck]Kim Alvefur2018-03-211-1/+1
|
* util.startup: Ignore various globals being read and written as part of ↵Kim Alvefur2018-03-211-2/+7
| | | | startup [luacheck]
* util.startup: Trim trailing whitespace [luacheck]Kim Alvefur2018-03-211-5/+5
|
* util.startup: Oops, uncomment accidentally-commented codeMatthew Wild2018-03-201-1/+1
|
* prosody, prosodyctl, util.startup: Finally factor out startup-related and ↵Matthew Wild2018-03-203-575/+532
| | | | common code into a separate module
* util.prosodyctl: Fix getpass() for new return values of os.execute() in Lua 5.2Matthew Wild2018-03-201-1/+4
|
* util.async: tests: more code re-useMatthew Wild2018-03-191-32/+20
|
* util.async: tests: luacheck-clean, fixes some actual issuesMatthew Wild2018-03-191-64/+65
|
* util.async: tests: remove obsolete code and commentsMatthew Wild2018-03-191-5/+0
|
* util.async: tests: slight modifications to allow more code reuse in testsMatthew Wild2018-03-191-12/+15
|
* util.async: Bump log warnings to error levelMatthew Wild2018-03-191-2/+2
|
* util.async: Add some more tests for wait/doneMatthew Wild2018-03-181-0/+40
|
* util.async: Split runner_continue into smaller functions for easier testing ↵Matthew Wild2018-03-181-8/+29
| | | | and safety
* util.stanza: Switch from asserts to if's, improve performance, errors and testsMatthew Wild2018-03-182-44/+69
|
* util.async: Remove redundant line committed by mistake (Zash, luacheck)Matthew Wild2018-03-171-1/+0
|
* util.async: tests: Ensure done() can be called before wait()Matthew Wild2018-03-171-0/+18
|
* util.async: tests: Add helper function to create mock watcher callbacksMatthew Wild2018-03-171-9/+15
|
* util.async: Trim trailing whitespace in tests [luacheck]Kim Alvefur2018-03-171-26/+26
|