util.startup: Integrate util.promise with net.server main loop
|
Kim Alvefur |
Sat, 05 Jan 2019 07:15:33 +0100 |
util.startup: Understand -h, -? as --help in prosodyctl but ignore
|
Kim Alvefur |
Mon, 25 Oct 2021 15:47:18 +0200 |
util.startup: Show brief usage on `prosody -h|-?|--help`
|
Kim Alvefur |
Mon, 25 Oct 2021 15:46:01 +0200 |
util.startup: Skip config readability check in migrator (thanks eTaurus)
|
Kim Alvefur |
Sat, 23 Oct 2021 22:24:59 +0200 |
util.startup: Only ask if 'prosodyctl' was meant instead of 'prosody' (fix #1692)
|
Kim Alvefur |
Tue, 12 Oct 2021 15:00:15 +0200 |
Merge 0.11->trunk
|
Kim Alvefur |
Tue, 12 Oct 2021 14:59:18 +0200 |
util.startup: Correctly point out unknown short param (fixes #1691)
0.11
|
Kim Alvefur |
Tue, 12 Oct 2021 14:53:45 +0200 |
util.startup: Allow separate command line argument settings for prosody and prosodyctl
|
Kim Alvefur |
Thu, 30 Sep 2021 17:47:00 +0200 |
prosodyctl: Add support for -v/--verbose to enable debug logging
|
Kim Alvefur |
Thu, 30 Sep 2021 17:45:43 +0200 |
Merge 0.11->trunk
|
Matthew Wild |
Thu, 13 May 2021 11:17:13 +0100 |
util.startup: Set more aggressive defaults for GC
0.11
|
Matthew Wild |
Fri, 07 May 2021 16:41:39 +0100 |
util.startup: Make installer_plugin_path relative to data directory
|
Kim Alvefur |
Sun, 24 Jan 2021 16:12:53 +0100 |
util.startup: Don't create installer plugin path (as root)
|
Kim Alvefur |
Sun, 24 Jan 2021 15:57:48 +0100 |
util.startup: Handle missing nparams field from debug info (not present in 5.1)
|
Matthew Wild |
Sun, 11 Oct 2020 20:25:32 +0100 |
util.startup: Include arguments in function string representation
|
Kim Alvefur |
Fri, 09 Oct 2020 17:41:10 +0200 |
util.startup: Retrieve less data for function string representation
|
Kim Alvefur |
Fri, 09 Oct 2020 17:34:04 +0200 |
util.startup: Save the path used by the installer to prosody.paths
|
Kim Alvefur |
Wed, 07 Oct 2020 15:37:15 +0200 |
util.startup: Fix startup failure if CFG_DATADIR is unset
|
Kim Alvefur |
Mon, 05 Oct 2020 21:54:17 +0200 |
util.startup: Re-enable installer path setup
|
Kim Alvefur |
Mon, 05 Oct 2020 21:45:02 +0200 |
util.startup: Put 'installer_plugin_path' under data directory by default
|
Kim Alvefur |
Mon, 05 Oct 2020 21:43:47 +0200 |
Merge 0.11->trunk
|
Matthew Wild |
Sat, 19 Sep 2020 20:49:24 +0100 |
util.startup: Configure the GC on startup, using the config or built-in defaults
0.11
|
Matthew Wild |
Mon, 15 Jun 2020 14:16:34 +0100 |
util.startup: Init util.error with defaults if none given
|
Matthew Wild |
Fri, 28 Aug 2020 12:54:31 +0100 |
util.error: Allow optional tracebacks to be injected on errors
|
Matthew Wild |
Fri, 28 Aug 2020 12:40:59 +0100 |
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 |
util.startup: Expose user switching information via prosody global object
|
Matthew Wild |
Thu, 22 Mar 2018 22:35:27 +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 |
util.startup: Execute startup routine inside async context
|
Matthew Wild |
Thu, 22 Mar 2018 16:24:22 +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 |