Commit Graph

113 Commits (253b2fba90c19cc6758b8d63f409587df688a36e)

Author SHA1 Message Date
Kim Alvefur 812652818d util.startup: Use prosody. module namespace 2 years ago
Matthew Wild 7dc676faad util.startup: Attempt to bring some order to startup/shutdown with util.fsm 2 years ago
Kim Alvefur 435e008568 util.startup: Close state on exit to ensure GC finalizers are called 3 years ago
Kim Alvefur bab0635179 util.startup: Ensure import() is available in prosodyctl (thanks keyzer) 3 years ago
Kim Alvefur d5e749bc8a util.startup: Fix async waiting for last shutdown steps 4 years ago
Matthew Wild ff2a6d764e util.startup: Show error for unrecognized arguments passed to 'prosody' (fixes #1722) 4 years ago
Kim Alvefur 7ba9ee013c util.startup: Correctly point out unknown short param (fixes #1691) 4 years ago
Kim Alvefur af2cf5f188 renamening: Fix newly added imports to use the new namespace 3 years ago
Kim Alvefur 6c17ba5f28 util.startup: Record current version in a metric 3 years ago
Kim Alvefur d098a73534 util.startup: Remove componentmanager backwards compatibility 3 years ago
Matthew Wild 5ce1fe2603 util.startup: Add prosody.started promise to easily execute code after startup 3 years ago
Kim Alvefur 026b2d6e88 util.startup: Tweak function string representation 3 years ago
Kim Alvefur 43531740f9 util: Prefix module imports with prosody namespace 3 years ago
Kim Alvefur e2cff34641 util.mathcompat: Module to ease reuse of math.type() 3 years ago
Kim Alvefur e64c5e30c2 util.startup: Provide a common Lua 5.3+ math.type() for Lua 5.2 3 years ago
Matthew Wild 4c7989e7e4 util.startup: Set more aggressive defaults for GC 5 years ago
Matthew Wild c313b10cd9 util.startup: Configure the GC on startup, using the config or built-in defaults 6 years ago
Kim Alvefur bd36651336 util.startup: Remove duplicated initialization of logging (fix #1527) 6 years ago
Matthew Wild 73355a4f31 util.startup: Ensure prosody.opts exists even when no options provided 6 years ago
Matthew Wild 0d5f5c9229 util.startup: Remove accidentally-committed debugging 6 years ago
Matthew Wild 704acb8b7a util.startup: Fix logic to make --config work again 6 years ago
Matthew Wild e52171b0cd prosody/util.startup: Switch to parse_args() for --root and --config 6 years ago
Matthew Wild ec3865fa9d util.startup: Add startup step for parsing command-line options 6 years ago
Kim Alvefur ed06f22ae5 prosody: Move last cleanup and shutdown code into util.startup 7 years ago
Kim Alvefur 69a9195243 util.startup: Enable DANE in http client library with use_dane 4 years ago
Kim Alvefur f30bbd6dcf util.startup: Teach prosodyctl to be completely --silent 4 years ago
Kim Alvefur 14f31180b5 util.startup: Teach prosodyctl to be --quiet as complement to --verbose 4 years ago
Kim Alvefur 552af220f4 util.startup: Allow supplying an argument parsing settings 4 years ago
Matthew Wild f89a58330b util.startup: Initialize util.async at startup 4 years ago
Kim Alvefur b0ea55a155 util.startup: Integrate util.promise with net.server main loop 7 years ago
Kim Alvefur 619cf0043f util.startup: Understand -h, -? as --help in prosodyctl but ignore 4 years ago
Kim Alvefur 7791f88775 util.startup: Show brief usage on `prosody -h|-?|--help` 4 years ago
Kim Alvefur c5de2a9d22 util.startup: Skip config readability check in migrator (thanks eTaurus) 4 years ago
Kim Alvefur 14367c5ef7 util.startup: Only ask if 'prosodyctl' was meant instead of 'prosody' (fix #1692) 4 years ago
Kim Alvefur d0026b7941 util.startup: Allow separate command line argument settings for prosody and prosodyctl 4 years ago
Kim Alvefur f2442d9bd5 prosodyctl: Add support for -v/--verbose to enable debug logging 4 years ago
Kim Alvefur 48bc14c169 util.startup: Make installer_plugin_path relative to data directory 5 years ago
Kim Alvefur 27c7ee73b7 util.startup: Don't create installer plugin path (as root) 5 years ago
Matthew Wild c07d15cf71 util.startup: Handle missing nparams field from debug info (not present in 5.1) 5 years ago
Kim Alvefur c5933e9ed7 util.startup: Include arguments in function string representation 5 years ago
Kim Alvefur 9302a14d80 util.startup: Retrieve less data for function string representation 5 years ago
Kim Alvefur f7f0a20abf util.startup: Save the path used by the installer to prosody.paths 5 years ago
Kim Alvefur 4b4f32104f util.startup: Fix startup failure if CFG_DATADIR is unset 5 years ago
Kim Alvefur defba34a6c util.startup: Re-enable installer path setup 5 years ago
Kim Alvefur e9c3e1dedc util.startup: Put 'installer_plugin_path' under data directory by default 5 years ago
Matthew Wild fa462b8505 util.startup: Init util.error with defaults if none given 5 years ago
Matthew Wild 7507996371 util.error: Allow optional tracebacks to be injected on errors 5 years ago
Kim Alvefur 2b2f9903ae util.argparse: Move exiting and error to util.startup 6 years ago
Matthew Wild 758df8e14d util.startup: Configure the GC on startup, using the config or built-in defaults 6 years ago
Kim Alvefur e199091987 util.startup: Break out command line argument parsing into util.argparse 6 years ago