Log

util/startup.lua @ 11025:e47e7185b403

description author age
Merge 0.11->trunk Kim Alvefur Tue, 23 Jun 2020 15:17:35 +0200
util.startup: Remove duplicated initialization of logging (fix #1527) 0.11 Kim Alvefur Mon, 22 Jun 2020 14:56:44 +0200
util.argparse: Move exiting and error to util.startup Kim Alvefur Wed, 17 Jun 2020 19:32:12 +0200
util.startup: Configure the GC on startup, using the config or built-in defaults Matthew Wild Mon, 15 Jun 2020 14:16:34 +0100
util.startup: Break out command line argument parsing into util.argparse Kim Alvefur Wed, 19 Feb 2020 21:38:00 +0100
util.startup: expose current process type (prosody/prosodyctl) in the global prosody object Matthew Wild Tue, 28 Jan 2020 12:46:59 +0000
Merge 0.11->trunk Matthew Wild Sun, 19 Jan 2020 16:01:29 +0000
util.startup: Ensure prosody.opts exists even when no options provided 0.11 0.11.5 Matthew Wild Sun, 19 Jan 2020 15:50:32 +0000
util.startup: Remove accidentally-committed debugging 0.11 Matthew Wild Sun, 19 Jan 2020 15:50:16 +0000
Merge 0.11->trunk Matthew Wild Sun, 19 Jan 2020 15:39:49 +0000
util.startup: Fix logic to make --config work again 0.11 Matthew Wild Sun, 19 Jan 2020 15:39:13 +0000
Merge 0.11->trunk Matthew Wild Sun, 19 Jan 2020 15:34:28 +0000
prosody/util.startup: Switch to parse_args() for --root and --config 0.11 Matthew Wild Sun, 19 Jan 2020 15:27:16 +0000
util.startup: Add startup step for parsing command-line options 0.11 Matthew Wild Sun, 19 Jan 2020 15:26:22 +0000
util.startup: Ignore unused errno variable [luacheck] Kim Alvefur Mon, 23 Dec 2019 21:02:19 +0100
util.startup: Disable plugin installer path creation for now (see comments) Kim Alvefur Sat, 09 Nov 2019 00:26:56 +0100
util.startup: Split plugin installer path setup into a separate function Kim Alvefur Sat, 09 Nov 2019 00:23:08 +0100
Merge 0.11->trunk Kim Alvefur Mon, 04 Nov 2019 00:36:49 +0100
util.startup: Ensure prosody.paths are absolute (see #1430) 0.11 Kim Alvefur Mon, 04 Nov 2019 00:29:49 +0100
util.startup: Update config path (fixes #1430) 0.11 Kim Alvefur Sun, 03 Nov 2019 22:19:09 +0100
Merge mod-installer (2019 GSoC by João Duarte) Matthew Wild Mon, 19 Aug 2019 12:17:17 +0100
util.startup: Changed the way util.paths.complement_lua_path was being accessed João Duarte Fri, 16 Aug 2019 09:26:36 -0700
util.startup: Reorganized code at setup_plugindir João Duarte Thu, 01 Aug 2019 09:29:40 -0700
util.startup: Now calls a function to complement lua's path/cpath João Duarte Thu, 01 Aug 2019 09:22:50 -0700
util.startup: setup_plugindir now also checks package.cpath for duplicates João Duarte Thu, 01 Aug 2019 08:28:24 -0700
util.startup: Directly calling lfs.currentdir instead of storing it in a local variable João Duarte Thu, 01 Aug 2019 08:08:06 -0700
util.startup: Removed/rewrote comments at setup_plugindir João Duarte Thu, 01 Aug 2019 08:02:26 -0700
util.startupt: setup_plugindir now uses lfs.mkdir to check/create directories João Duarte Thu, 01 Aug 2019 07:48:11 -0700
util.startupt: I'm now using the resolve_relative_path function from util/paths at the setup_plugindir function João Duarte Thu, 01 Aug 2019 04:33:05 -0700
util.startup: Improved how .set_plugindir updates prosody.paths.plugins, package.path and package.cpath João Duarte Fri, 26 Jul 2019 17:54:37 -0700
util.startup: .setup_plugindir now checks if the specified directory for custom plugins exists, and creates it if it doesn't João Duarte Fri, 26 Jul 2019 08:58:56 -0700
util.startup: The .setup_plugindir function now correctly sets a default/specified path for custom plugins João Duarte Fri, 26 Jul 2019 08:39:27 -0700
util.startup: Removed unnecessary if clause at startup.set_plugindir João Duarte Thu, 25 Jul 2019 06:46:04 -0700
util.startup: Now it also loads default or configured paths to custom plugin directories and creates them João Duarte Wed, 24 Jul 2019 10:37:01 -0700
util.startup: Remove tostring call from logging Kim Alvefur Tue, 30 Jul 2019 02:23:06 +0200
util.startup: Don't die if there are no config warnings to log (thanks buildbot) Matthew Wild Wed, 20 Mar 2019 13:44:29 +0000
util.startup: Log configuration warnings at startup Matthew Wild Wed, 20 Mar 2019 12:45:58 +0000
util.startup: Give function a more generic name so it can apply to all warnings Matthew Wild Wed, 20 Mar 2019 12:18:34 +0000
util.startup: Always reload logging after config (fixes #1284) 0.11 Kim Alvefur Sun, 06 Jan 2019 12:14:42 +0100
util.startup: Set flag when config fully loaded Matthew Wild Sun, 19 Aug 2018 14:44:50 +0100
util.startup: Add a comment marking some compat code Kim Alvefur Sun, 01 Jul 2018 23:22:55 +0200
Merge 0.10->trunk Matthew Wild Thu, 07 Jun 2018 11:24:29 +0100
util.startup: Don't initialize global protection for prosodyctl, for now Matthew Wild Wed, 18 Apr 2018 08:49:44 +0100
util.startup: Force console logging before initializing logging (see 2fdeb979cc7c) Kim Alvefur Sat, 14 Apr 2018 15:23:08 +0200
util.startup: Initialize logging immediately after configuration is read (which is how it used to work) Matthew Wild Tue, 10 Apr 2018 20:39:05 +0100
util.startup/prosodyctl: Delay enabling global protection until last (silences warning about CFG_PLUGINDIR) Kim Alvefur Fri, 06 Apr 2018 16:55:17 +0200
util.startup: Fix traceback due to both plugin path becoming nil if plugin_paths is unset Kim Alvefur Fri, 06 Apr 2018 16:50:51 +0200
Fix spelling throughout the codebase [codespell] Kim Alvefur Sun, 04 Feb 2018 01:51:25 +0100
util.startup: Set up event hooks for reloading logging here instead of in loggingmanager to simplify startup dependencies Kim Alvefur Thu, 05 Apr 2018 17:53:51 +0200
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
util.startup: Access the hosts table via the prosody global for consistency Kim Alvefur Thu, 29 Mar 2018 16:38:35 +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
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
configmanager: Move firing of the 'config-reloaded' event into util.startup (fixes #1117) Kim Alvefur Sun, 25 Mar 2018 17:02:00 +0200
util.startup: Read version for prosodyctl (restores version in 'about' command) Kim Alvefur Sat, 24 Mar 2018 21:39:03 +0100
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.startup: Expose make_host() function Matthew Wild Thu, 22 Mar 2018 22:35:39 +0000