aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Backed out changeset a0f728c3aa69 in favor of 580c13ed0ca1Kim Alvefur2018-03-291-7/+3
|
* util.startup: Initialize the 'prosody' global earlier (various things needs ↵Kim Alvefur2018-03-291-2/+2
| | | | the global util.events instance)
* util.startup: Factor out processing of plugin and data paths into a separate ↵Kim Alvefur2018-03-291-9/+20
| | | | functions
* util.json: Unescape surrogate pairsMatthew Wild2018-03-271-4/+5
|
* mod_pep_plus: Validate items here too (thanks Link Mauve)Kim Alvefur2018-03-251-0/+5
|
* mod_pubsub: Reject publishing of non-itemsKim Alvefur2018-03-211-0/+5
|
* util.pubsub: Allow setting a callback for validating items to be publishedKim Alvefur2018-03-211-0/+4
|
* loggingmanager: Hook event for reopening log files instead of config reloadedKim Alvefur2018-03-251-1/+1
|
* configmanager: Move firing of the 'config-reloaded' event into util.startup ↵Kim Alvefur2018-03-252-7/+5
| | | | (fixes #1117)
* storagemanager: Default storage_async_check to false for a whileMatthew Wild2018-03-251-1/+1
|
* net.http: Allow enabling/disabling error suppression, useful for testsMatthew Wild2018-03-241-2/+7
|
* net.http: Fix for Lua 5.2: return error from error handler (xpcall changed)Matthew Wild2018-03-241-1/+1
|
* util.startup: Read version for prosodyctl (restores version in 'about' command)Kim Alvefur2018-03-241-0/+1
|
* net.http.server: Prevent loading of net.server in tests (breaks unrelated ↵Kim Alvefur2018-03-241-0/+1
| | | | tests for some reason)
* net.server: Try to require configmanager instead checking for the prosody ↵Kim Alvefur2018-03-231-3/+7
| | | | global which does not yet exist when net.server is loaded now
* util.timer: Move sleep() here from util.asyncKim Alvefur2018-03-232-8/+8
| | | | This is to solve a indirect dependency issue where net.server was initialized before the config was read
* util.async: Remove last trace of async.once [luacheck]Kim Alvefur2018-03-231-1/+0
|
* util.async: Remove async.once(), can now be replaced by runner():run(func)Matthew Wild2018-03-232-33/+0
|
* prosody, util.startup: Switch from async.once() to long-lived thread, to ↵Matthew Wild2018-03-232-26/+28
| | | | avoid GC
* util.async: Make parameters to async.runner() optionalMatthew Wild2018-03-232-3/+27
|
* mod_announce: Remove unreachable return statement [luacheck]Kim Alvefur2018-03-231-2/+0
|
* net.httpserver: Make function local, fixes loading since there is no ↵Kim Alvefur2018-03-231-1/+1
| | | | environment [luacheck]
* luacheckrc: Allow top level variables in prosodyctl (eg CFG_*) [luacheck]Kim Alvefur2018-03-231-0/+4
|
* luacheckrc: Let luacheck know about the log and server globalsKim Alvefur2018-03-231-0/+2
|
* stanza_router: Limit scope of deprecated warning function since it is not ↵Kim Alvefur2018-03-231-1/+1
| | | | used anywhere else [luacheck]
* s2smanager: Explicitly export the incoming_s2s table [luacheck]Kim Alvefur2018-03-231-2/+2
|
* luacheckrc: Only allow top level declarations in the main prosody executableKim Alvefur2018-03-231-1/+5
|
* util.startup: Expose make_host() functionMatthew Wild2018-03-221-10/+11
|
* util.startup: Expose user switching information via prosody global objectMatthew Wild2018-03-221-5/+4
|
* 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
|