Commit Graph

80 Commits (020cd46f0341663d71ebdbd02f67032ddcb4a677)

Author SHA1 Message Date
Kim Alvefur 17a3770292 util.startup: Initialize logging earlier, so that messages from eg net.server are shown 8 years ago
Kim Alvefur 38a5e6ec34 util.startup: Access the hosts table via the prosody global for consistency 8 years ago
Kim Alvefur f232c3cf3d util.startup: Use own logger instead of the possibly not available yet _G.log 8 years ago
Kim Alvefur 06d340adc5 util.startup: Remove luacheck directive for ignoring use of _G.log which might not exist until loggingmanager has been loaded 8 years ago
Kim Alvefur c67280b951 util.startup: Initialize the 'prosody' global earlier (various things needs the global util.events instance) 8 years ago
Kim Alvefur 8a2aef3598 util.startup: Factor out processing of plugin and data paths into a separate functions 8 years ago
Kim Alvefur 7e64fa124a configmanager: Move firing of the 'config-reloaded' event into util.startup (fixes #1117) 8 years ago
Kim Alvefur 9cd0153dd7 util.startup: Read version for prosodyctl (restores version in 'about' command) 8 years ago
Matthew Wild 59e03259d1 prosody, util.startup: Switch from async.once() to long-lived thread, to avoid GC 8 years ago
Matthew Wild 8858b07103 util.startup: Expose make_host() function 8 years ago
Matthew Wild 95737ca950 util.startup: Expose user switching information via prosody global object 8 years ago
Matthew Wild 34473917a1 util.startup: Fix variable usage [luacheck] 8 years ago
Matthew Wild 2ce0219833 util.startup: Move original_logging_config to a local variable 8 years ago
Matthew Wild 96c28157c1 util.startup: Restore user switching 8 years ago
Matthew Wild 496b5277c3 util.startup: Fix chdir() to use correct path variable 8 years ago
Matthew Wild 2846eb2eb2 util.startup: Execute startup routine inside async context 8 years ago
Kim Alvefur c7116e7ac8 util.startup: Remove unused loop variable [luacheck] 8 years ago
Kim Alvefur 1ee365769e util.startup: Ignore various globals being read and written as part of startup [luacheck] 8 years ago
Kim Alvefur 963e509586 util.startup: Trim trailing whitespace [luacheck] 8 years ago
Matthew Wild 0003738312 util.startup: Oops, uncomment accidentally-commented code 8 years ago
Matthew Wild 3a8c72b72e prosody, prosodyctl, util.startup: Finally factor out startup-related and common code into a separate module 8 years ago
Emmanuel Gil Peyrot eb231e9eab configmanager: Remove support for multiple parsers, fixes #852. 9 years ago
Kim Alvefur ebd348e104 prosody: Silence warnings about setting the globals 'server' and 'socket' [luacheck] 9 years ago
Kim Alvefur 18e2d68459 prosody: Trim trailing whitespace 9 years ago
Kim Alvefur 49fbb1c493 prosody: Fix typo 9 years ago
Kim Alvefur 82da87e629 prosody: Add annotations to ignore various globals and unused arguments [luacheck] 9 years ago
Kim Alvefur 850f75497a prosody: Set session tables on the 'prosody' global first, then export them as globals 9 years ago
Emmanuel Gil Peyrot c6048a7cb4 Update every link to the documentation to use HTTPS 10 years ago
Matthew Wild 42f15c4eb2 prosody, prosodyctl: Allow setting CFG_* variables via Lua interpreter before loading Prosody. Fixes #308. 10 years ago
Matthew Wild ec70d37770 prosody: Allow prosody.shutdown() to take an exit code for the process (thanks daurnimator) 10 years ago
Matthew Wild ed3b57fd19 prosody: Don't silently ignore unknown command-line options 10 years ago
Kim Alvefur cb6f7a82c9 prosody: Fix sleep call that relied on the no longer existing socket global 10 years ago
Kim Alvefur 2331a3d4b4 prosody: Set a luasocket global, fixes undefined global access in loop() (pending util.startup) 11 years ago
Matthew Wild a88d04d1c4 statsmanager, prosody: New core module and API for gathering statistics about the running server 11 years ago
Kim Alvefur b72a485cdd prosody: Make getfenv() replacement for require() sandboxing local to avoid polluting the globals table 11 years ago
Kim Alvefur cd0acc10f7 prosody: Fix getfenv replacement for Lua 5.2 11 years ago
Kim Alvefur 1f74845db7 prosody: Check dependencies later in the startup sequence 12 years ago
Kim Alvefur 276f7f39a2 prosody: Store the config file name so the same file can be used when reloading 12 years ago
Kim Alvefur f06c9f7d0d Backout ae48bf828f21 12 years ago
Kim Alvefur fdc11d1acc prosody: Remove global ssl context, no longer used 13 years ago
Marco Cirillo 23fdba8f6b prosody: load rostermanager after usermanager during environment initialization. 13 years ago
Kim Alvefur 2e91cb38d9 prosody, prosodyctl: Remove last trace of "core" \o/ 13 years ago
Matthew Wild bf3eb41b55 prosody: Add COMPAT note about globals 13 years ago
Matthew Wild ee5a8c9543 configmanager, hostmanager, prosody: Almost complete removal of section-related code, and the infamous 'core' section. Still backwards-compatible with API users. 13 years ago
Kim Alvefur 79a96e236c prosodyctl, prosody: Pass the selected config file from prosodyctl to prosody 13 years ago
Kim Alvefur 3e2a8fbe1c prosody, mod_c2s, mod_s2s: Move closing of c2s and s2s sessions to respective plugins 13 years ago
Matthew Wild 0cf860fc7a prosody, prosodyctl: chdir() to data directory on startup 13 years ago
Florian Zeitz 8eec297456 mod_admin_telnet, prosody, prosodyctl, ejabberd2prosody: Don't depend on modules setting globals 14 years ago
Florian Zeitz 3d682bf8b1 prosody: Define a getfenv() replacement for Lua 5.2 14 years ago
Kim Alvefur 1ef9002349 prosody, stanza_router: Load stanza_router earlier. Put routing functions in the global prosody table. Fixes module:send() 14 years ago