Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | luacheckrc: Remove allowance for the global log() since it may not exist as ↵ | Kim Alvefur | 2018-04-05 | 1 | -1/+0 | |
| | | | | | | | | | | | | early as before | |||||
* | | | Merge 0.10 -> trunk | Matthew Wild | 2018-04-04 | 1 | -2/+1 | |
|\| | | ||||||
| * | | CHANGES: Normalize syntax | Kim Alvefur | 2018-04-03 | 1 | -2/+1 | |
| | | | ||||||
* | | | Merge 0.10 -> trunk | Matthew Wild | 2018-04-04 | 1 | -1/+1 | |
|\| | | ||||||
| * | | net.http: Fix parameter order to http request callbacks | Matthew Wild | 2018-04-04 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | Commit e3b9dc9dd940 changed the parameter order in 2013, but did not update the names of the parameters in the callback function. Due to this inconsistency, 12df41a5a4b1 accidentally reversed the order when fixing the variable names without fixing where they are used. Additionally the documentation was incorrect (since 2013), and this has also now been fixed. | |||||
| * | | MUC: Don't reply to errors with more errors (fixes #1122) | Kim Alvefur | 2018-03-28 | 1 | -1/+3 | |
| | | | ||||||
| * | | MUC: Say something about storage failure before aborting (see #1091) | Kim Alvefur | 2018-03-12 | 1 | -0/+1 | |
| | | | ||||||
| * | | MUC: Prevent creation of room that could not be loaded from storage (see #1091) | Kim Alvefur | 2018-03-09 | 1 | -2/+8 | |
| | | | ||||||
| * | | MUC: Abort module loading if unable to get list of persistent rooms from ↵ | Kim Alvefur | 2018-03-07 | 1 | -1/+5 | |
| | | | | | | | | | | | | storage (fixes #1091) | |||||
* | | | prosodyctl: Increase robustness in luarocks version detection (fixes #1003) | Kim Alvefur | 2018-03-30 | 1 | -3/+9 | |
| | | | ||||||
* | | | Backed out changeset a0f728c3aa69 in favor of 580c13ed0ca1 | Kim Alvefur | 2018-03-29 | 1 | -7/+3 | |
| | | | ||||||
* | | | util.startup: Initialize the 'prosody' global earlier (various things needs ↵ | Kim Alvefur | 2018-03-29 | 1 | -2/+2 | |
| | | | | | | | | | | | | the global util.events instance) | |||||
* | | | util.startup: Factor out processing of plugin and data paths into a separate ↵ | Kim Alvefur | 2018-03-29 | 1 | -9/+20 | |
| | | | | | | | | | | | | functions | |||||
* | | | util.json: Unescape surrogate pairs | Matthew Wild | 2018-03-27 | 1 | -4/+5 | |
| | | | ||||||
* | | | mod_pep_plus: Validate items here too (thanks Link Mauve) | Kim Alvefur | 2018-03-25 | 1 | -0/+5 | |
| | | | ||||||
* | | | mod_pubsub: Reject publishing of non-items | Kim Alvefur | 2018-03-21 | 1 | -0/+5 | |
| | | | ||||||
* | | | util.pubsub: Allow setting a callback for validating items to be published | Kim Alvefur | 2018-03-21 | 1 | -0/+4 | |
| | | | ||||||
* | | | loggingmanager: Hook event for reopening log files instead of config reloaded | Kim Alvefur | 2018-03-25 | 1 | -1/+1 | |
| | | | ||||||
* | | | configmanager: Move firing of the 'config-reloaded' event into util.startup ↵ | Kim Alvefur | 2018-03-25 | 2 | -7/+5 | |
| | | | | | | | | | | | | (fixes #1117) | |||||
* | | | storagemanager: Default storage_async_check to false for a while | Matthew Wild | 2018-03-25 | 1 | -1/+1 | |
| | | | ||||||
* | | | net.http: Allow enabling/disabling error suppression, useful for tests | Matthew Wild | 2018-03-24 | 1 | -2/+7 | |
| | | | ||||||
* | | | net.http: Fix for Lua 5.2: return error from error handler (xpcall changed) | Matthew Wild | 2018-03-24 | 1 | -1/+1 | |
| | | | ||||||
* | | | util.startup: Read version for prosodyctl (restores version in 'about' command) | Kim Alvefur | 2018-03-24 | 1 | -0/+1 | |
| | | | ||||||
* | | | net.http.server: Prevent loading of net.server in tests (breaks unrelated ↵ | Kim Alvefur | 2018-03-24 | 1 | -0/+1 | |
| | | | | | | | | | | | | tests for some reason) | |||||
* | | | net.server: Try to require configmanager instead checking for the prosody ↵ | Kim Alvefur | 2018-03-23 | 1 | -3/+7 | |
| | | | | | | | | | | | | global which does not yet exist when net.server is loaded now | |||||
* | | | util.timer: Move sleep() here from util.async | Kim Alvefur | 2018-03-23 | 2 | -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 Alvefur | 2018-03-23 | 1 | -1/+0 | |
| | | | ||||||
* | | | util.async: Remove async.once(), can now be replaced by runner():run(func) | Matthew Wild | 2018-03-23 | 2 | -33/+0 | |
| | | | ||||||
* | | | prosody, util.startup: Switch from async.once() to long-lived thread, to ↵ | Matthew Wild | 2018-03-23 | 2 | -26/+28 | |
| | | | | | | | | | | | | avoid GC | |||||
* | | | util.async: Make parameters to async.runner() optional | Matthew Wild | 2018-03-23 | 2 | -3/+27 | |
| | | | ||||||
* | | | mod_announce: Remove unreachable return statement [luacheck] | Kim Alvefur | 2018-03-23 | 1 | -2/+0 | |
| | | | ||||||
* | | | net.httpserver: Make function local, fixes loading since there is no ↵ | Kim Alvefur | 2018-03-23 | 1 | -1/+1 | |
| | | | | | | | | | | | | environment [luacheck] | |||||
* | | | luacheckrc: Allow top level variables in prosodyctl (eg CFG_*) [luacheck] | Kim Alvefur | 2018-03-23 | 1 | -0/+4 | |
| | | | ||||||
* | | | luacheckrc: Let luacheck know about the log and server globals | Kim Alvefur | 2018-03-23 | 1 | -0/+2 | |
| | | | ||||||
* | | | stanza_router: Limit scope of deprecated warning function since it is not ↵ | Kim Alvefur | 2018-03-23 | 1 | -1/+1 | |
| | | | | | | | | | | | | used anywhere else [luacheck] | |||||
* | | | s2smanager: Explicitly export the incoming_s2s table [luacheck] | Kim Alvefur | 2018-03-23 | 1 | -2/+2 | |
| | | | ||||||
* | | | luacheckrc: Only allow top level declarations in the main prosody executable | Kim Alvefur | 2018-03-23 | 1 | -1/+5 | |
| | | | ||||||
* | | | util.startup: Expose make_host() function | Matthew Wild | 2018-03-22 | 1 | -10/+11 | |
| | | | ||||||
* | | | util.startup: Expose user switching information via prosody global object | Matthew Wild | 2018-03-22 | 1 | -5/+4 | |
| | | | ||||||
* | | | prosodyctl: Large number of changes to satisfy [luacheck], includes bug fixes | Matthew Wild | 2018-03-22 | 1 | -113/+131 | |
| | | | ||||||
* | | | storagemanager: Remove unused variable [luacheck] | Kim Alvefur | 2018-03-22 | 1 | -1/+1 | |
| | | | ||||||
* | | | util.async: Use wrapper for once runner (thanks luacheck) | Kim Alvefur | 2018-03-22 | 2 | -1/+2 | |
| | | | ||||||
* | | | prosodyctl, util.prosodyctl: Pass source path as a parameter instead of ↵ | Matthew Wild | 2018-03-22 | 2 | -6/+4 | |
| | | | | | | | | | | | | global variable | |||||
* | | | util.startup: Fix variable usage [luacheck] | Matthew Wild | 2018-03-22 | 1 | -3/+3 | |
| | | | ||||||
* | | | util.startup: Move original_logging_config to a local variable | Matthew Wild | 2018-03-22 | 1 | -1/+3 | |
| | | | ||||||
* | | | util.startup: Restore user switching | Matthew Wild | 2018-03-22 | 1 | -1/+2 | |
| | | | ||||||
* | | | util.startup: Fix chdir() to use correct path variable | Matthew Wild | 2018-03-22 | 1 | -7/+7 | |
| | | | ||||||
* | | | mod_posix: Delay setting signal handlers until in the main thread | Matthew Wild | 2018-03-22 | 1 | -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 rooms | Kim Alvefur | 2018-03-15 | 1 | -1/+9 | |
| | | | ||||||
* | | | MUC: Override methods on broken rooms to return internal-server-error instead | Kim Alvefur | 2018-03-22 | 1 | -0/+8 | |
| | | |