Log

description author age
util.startup: Initialize prosody.log / _G.log here instead of in loggingmanager to reduce dependencies Kim Alvefur Thu, 05 Apr 2018 17:52:37 +0200
util.startup: Initialize logging earlier, so that messages from eg net.server are shown Kim Alvefur Thu, 05 Apr 2018 17:41:00 +0200
prosodyctl: Use prosody.hosts instead of _G.hosts Kim Alvefur Thu, 29 Mar 2018 20:51:16 +0200
core: Use prosody.hosts instead of _G.hosts for consistency Kim Alvefur Thu, 29 Mar 2018 16:58:06 +0200
luacheckrc: Forget about _G.hosts, things should use _G.prosody.hosts Kim Alvefur Thu, 29 Mar 2018 16:42:24 +0200
util.startup: Access the hosts table via the prosody global for consistency Kim Alvefur Thu, 29 Mar 2018 16:38:35 +0200
prosody: Use prosody.log instead of _G.log because it looks nicer Kim Alvefur Thu, 05 Apr 2018 16:00:00 +0200
util.startup: Use own logger instead of the possibly not available yet _G.log Kim Alvefur Thu, 05 Apr 2018 16:01:10 +0200
util.startup: Remove luacheck directive for ignoring use of _G.log which might not exist until loggingmanager has been loaded Kim Alvefur Thu, 05 Apr 2018 16:00:27 +0200
net.server: Init a local logger (fixes traceback on attempt to warn about missing luaevent due to later loggingmanager initialization) Kim Alvefur Thu, 05 Apr 2018 15:58:08 +0200
luacheckrc: Remove allowance for the global log() since it may not exist as early as before Kim Alvefur Thu, 05 Apr 2018 15:56:47 +0200
Merge 0.10 -> trunk Matthew Wild Wed, 04 Apr 2018 18:42:32 +0100
CHANGES: Normalize syntax Kim Alvefur Tue, 03 Apr 2018 00:08:30 +0200
Merge 0.10 -> trunk Matthew Wild Wed, 04 Apr 2018 18:42:05 +0100
net.http: Fix parameter order to http request callbacks Matthew Wild Wed, 04 Apr 2018 18:27:44 +0100
MUC: Don't reply to errors with more errors (fixes #1122) Kim Alvefur Wed, 28 Mar 2018 18:11:09 +0200
MUC: Say something about storage failure before aborting (see #1091) Kim Alvefur Mon, 12 Mar 2018 16:05:08 +0100
MUC: Prevent creation of room that could not be loaded from storage (see #1091) Kim Alvefur Fri, 09 Mar 2018 02:10:44 +0100
MUC: Abort module loading if unable to get list of persistent rooms from storage (fixes #1091) Kim Alvefur Wed, 07 Mar 2018 16:01:58 +0100
prosodyctl: Increase robustness in luarocks version detection (fixes #1003) Kim Alvefur Fri, 30 Mar 2018 12:12:50 +0200
Backed out changeset a0f728c3aa69 in favor of 580c13ed0ca1 Kim Alvefur Thu, 29 Mar 2018 16:57:18 +0200
util.startup: Initialize the 'prosody' global earlier (various things needs the global util.events instance) Kim Alvefur Thu, 29 Mar 2018 16:36:18 +0200
util.startup: Factor out processing of plugin and data paths into a separate functions Kim Alvefur Thu, 29 Mar 2018 16:27:11 +0200
util.json: Unescape surrogate pairs Matthew Wild Tue, 27 Mar 2018 13:44:40 +0100
mod_pep_plus: Validate items here too (thanks Link Mauve) Kim Alvefur Sun, 25 Mar 2018 23:30:14 +0200
mod_pubsub: Reject publishing of non-items Kim Alvefur Wed, 21 Mar 2018 23:41:03 +0100
util.pubsub: Allow setting a callback for validating items to be published Kim Alvefur Wed, 21 Mar 2018 23:40:45 +0100
loggingmanager: Hook event for reopening log files instead of config reloaded Kim Alvefur Sun, 25 Mar 2018 17:02:39 +0200
configmanager: Move firing of the 'config-reloaded' event into util.startup (fixes #1117) Kim Alvefur Sun, 25 Mar 2018 17:02:00 +0200
storagemanager: Default storage_async_check to false for a while Matthew Wild Sun, 25 Mar 2018 12:45:24 +0100
net.http: Allow enabling/disabling error suppression, useful for tests Matthew Wild Sat, 24 Mar 2018 11:29:33 +0000
net.http: Fix for Lua 5.2: return error from error handler (xpcall changed) Matthew Wild Sat, 24 Mar 2018 11:29:04 +0000
util.startup: Read version for prosodyctl (restores version in 'about' command) Kim Alvefur Sat, 24 Mar 2018 21:39:03 +0100
net.http.server: Prevent loading of net.server in tests (breaks unrelated tests for some reason) Kim Alvefur Sat, 24 Mar 2018 00:06:55 +0100
net.server: Try to require configmanager instead checking for the prosody global which does not yet exist when net.server is loaded now Kim Alvefur Fri, 23 Mar 2018 18:02:37 +0100
util.timer: Move sleep() here from util.async Kim Alvefur Fri, 23 Mar 2018 21:18:15 +0100
util.async: Remove last trace of async.once [luacheck] Kim Alvefur Fri, 23 Mar 2018 20:57:34 +0100
util.async: Remove async.once(), can now be replaced by runner():run(func) Matthew Wild Fri, 23 Mar 2018 14:22:01 +0000
prosody, util.startup: Switch from async.once() to long-lived thread, to avoid GC Matthew Wild Fri, 23 Mar 2018 14:18:27 +0000
util.async: Make parameters to async.runner() optional Matthew Wild Fri, 23 Mar 2018 14:02:33 +0000
mod_announce: Remove unreachable return statement [luacheck] Kim Alvefur Fri, 23 Mar 2018 14:01:42 +0100
net.httpserver: Make function local, fixes loading since there is no environment [luacheck] Kim Alvefur Fri, 23 Mar 2018 13:20:19 +0100
luacheckrc: Allow top level variables in prosodyctl (eg CFG_*) [luacheck] Kim Alvefur Fri, 23 Mar 2018 13:18:28 +0100
luacheckrc: Let luacheck know about the log and server globals Kim Alvefur Fri, 23 Mar 2018 13:16:14 +0100
stanza_router: Limit scope of deprecated warning function since it is not used anywhere else [luacheck] Kim Alvefur Fri, 23 Mar 2018 13:15:19 +0100
s2smanager: Explicitly export the incoming_s2s table [luacheck] Kim Alvefur Fri, 23 Mar 2018 13:14:05 +0100
luacheckrc: Only allow top level declarations in the main prosody executable Kim Alvefur Fri, 23 Mar 2018 13:13:07 +0100
util.startup: Expose make_host() function Matthew Wild Thu, 22 Mar 2018 22:35:39 +0000
util.startup: Expose user switching information via prosody global object Matthew Wild Thu, 22 Mar 2018 22:35:27 +0000
prosodyctl: Large number of changes to satisfy [luacheck], includes bug fixes Matthew Wild Thu, 22 Mar 2018 22:33:42 +0000
storagemanager: Remove unused variable [luacheck] Kim Alvefur Thu, 22 Mar 2018 23:20:06 +0100
util.async: Use wrapper for once runner (thanks luacheck) Kim Alvefur Thu, 22 Mar 2018 23:15:04 +0100
prosodyctl, util.prosodyctl: Pass source path as a parameter instead of global variable Matthew Wild Thu, 22 Mar 2018 21:54:59 +0000
util.startup: Fix variable usage [luacheck] Matthew Wild Thu, 22 Mar 2018 21:47:16 +0000
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
MUC: Use empty string if no subject provided (thanks pep+) Matthew Wild Fri, 16 Mar 2018 17:36:49 +0000
util.async: Add tests Matthew Wild Fri, 16 Mar 2018 17:13:57 +0000
util.async: Log the non-error state as well when there is an error being processed Matthew Wild Fri, 16 Mar 2018 17:13:20 +0000
util.async: Bugfix, don't continue main loop while there is a pending error Matthew Wild Fri, 16 Mar 2018 17:12:36 +0000
util.async: Fix order of statements so queue count makes more sense Matthew Wild Fri, 16 Mar 2018 17:12:09 +0000
util.async: Log warning when unexpected state is reached Matthew Wild Fri, 16 Mar 2018 17:11:23 +0000