Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | prosody: Expose main thread on the 'prosody' global | Kim Alvefur | 2021-10-06 | 1 | -0/+2 |
| | | | | To allow running things in it. | ||||
* | prosody: Run shutdown procedure in async thread | Kim Alvefur | 2019-01-01 | 1 | -1/+1 |
| | |||||
* | prosody: Move last cleanup and shutdown code into util.startup | Kim Alvefur | 2019-01-01 | 1 | -13/+1 |
| | |||||
* | prosody: Close the state on exit (ie garbage-collect everything) | Kim Alvefur | 2021-05-18 | 1 | -1/+1 |
| | | | | | | | | | | This ensures __gc is called on everything that may need it, such as database connections. It was reported in the chat by Happy that SQLite3 does not close its state cleanly in WAL mode, leaving the WAL file behind. This is probably rather a bug in mod_storage_sql, but forcing a final GC sweep should also help with such things everywhere. | ||||
* | Merge 0.11->trunk | Matthew Wild | 2020-01-19 | 1 | -5/+1 |
|\ | |||||
| * | prosody/util.startup: Switch to parse_args() for --root and --config | Matthew Wild | 2020-01-19 | 1 | -5/+1 |
| | | |||||
* | | prosody: Also log status code passed to exit() | Kim Alvefur | 2019-05-31 | 1 | -0/+1 |
| | | | | | | | | Sometimes you're just too lazy to `echo $?` | ||||
* | | prosody: Log shutdown reason (in past tense) as the very last thing | Kim Alvefur | 2019-05-31 | 1 | -1/+1 |
| | | |||||
* | | prosody: Log shutdown reason | Kim Alvefur | 2019-05-31 | 1 | -0/+1 |
|/ | |||||
* | prosody: Get net.server via requre to avoid relying on globals | Kim Alvefur | 2018-04-05 | 1 | -0/+1 |
| | |||||
* | prosody: Use prosody.log instead of _G.log because it looks nicer | Kim Alvefur | 2018-04-05 | 1 | -5/+5 |
| | |||||
* | prosody, util.startup: Switch from async.once() to long-lived thread, to ↵ | Matthew Wild | 2018-03-23 | 1 | -2/+7 |
| | | | | avoid GC | ||||
* | prosody, prosodyctl, util.startup: Finally factor out startup-related and ↵ | Matthew Wild | 2018-03-20 | 1 | -349/+4 |
| | | | | common code into a separate module | ||||
* | Merge 0.10->trunk | Kim Alvefur | 2017-09-29 | 1 | -2/+2 |
|\ | |||||
| * | prosody, prosodyctl: Print the actual config file name used when a problem ↵ | Kim Alvefur | 2017-09-27 | 1 | -2/+2 |
| | | | | | | | | loading it was encountered (see #990) | ||||
* | | Merge 0.10->trunk | Matthew Wild | 2017-09-26 | 1 | -2/+2 |
|\| | |||||
| * | prosody: Tiny whitespace fix | Kim Alvefur | 2017-09-24 | 1 | -2/+2 |
| | | |||||
* | | Merge 0.10->trunk | Kim Alvefur | 2017-08-29 | 1 | -1/+1 |
|\| | |||||
| * | prosody, prosodyctl: Fix traceback if ssl config is missing (thanks lookshe ↵ | Kim Alvefur | 2017-08-29 | 1 | -1/+1 |
| | | | | | | | | and sol) | ||||
* | | Merge 0.10->trunk | Kim Alvefur | 2017-08-28 | 1 | -1/+5 |
|\| | |||||
| * | prosody, prosodyctl: Set up TLS settings for HTTPS requests in net.http ↵ | Kim Alvefur | 2017-07-07 | 1 | -1/+5 |
| | | | | | | | | (part of fix for #659) | ||||
* | | configmanager: Remove support for multiple parsers, fixes #852. | Emmanuel Gil Peyrot | 2017-05-27 | 1 | -3/+1 |
| | | |||||
* | | Merge 0.10->trunk | Kim Alvefur | 2017-01-29 | 1 | -19/+20 |
|\| | |||||
| * | prosody: Silence warnings about setting the globals 'server' and 'socket' ↵ | Kim Alvefur | 2017-01-29 | 1 | -0/+1 |
| | | | | | | | | [luacheck] | ||||
| * | prosody: Trim trailing whitespace | Kim Alvefur | 2017-01-29 | 1 | -19/+19 |
| | | |||||
* | | Merge 0.10->trunk | Kim Alvefur | 2017-01-02 | 1 | -1/+1 |
|\| | |||||
| * | prosody: Fix typo | Kim Alvefur | 2017-01-02 | 1 | -1/+1 |
| | | |||||
* | | Merge 0.10->trunk | Kim Alvefur | 2016-11-21 | 1 | -8/+16 |
|\| | |||||
| * | prosody: Add annotations to ignore various globals and unused arguments ↵ | Kim Alvefur | 2016-11-20 | 1 | -1/+9 |
| | | | | | | | | [luacheck] | ||||
| * | prosody: Set session tables on the 'prosody' global first, then export them ↵ | Kim Alvefur | 2016-11-20 | 1 | -7/+7 |
| | | | | | | | | as globals | ||||
* | | Update every link to the documentation to use HTTPS | Emmanuel Gil Peyrot | 2016-04-16 | 1 | -1/+1 |
|/ | |||||
* | prosody, prosodyctl: Allow setting CFG_* variables via Lua interpreter ↵ | Matthew Wild | 2016-03-18 | 1 | -4/+4 |
| | | | | before loading Prosody. Fixes #308. | ||||
* | prosody: Allow prosody.shutdown() to take an exit code for the process ↵ | Matthew Wild | 2016-01-15 | 1 | -2/+7 |
| | | | | (thanks daurnimator) | ||||
* | prosody: Don't silently ignore unknown command-line options | Matthew Wild | 2015-12-10 | 1 | -0/+6 |
| | |||||
* | prosody: Fix sleep call that relied on the no longer existing socket global | Kim Alvefur | 2015-11-16 | 1 | -1/+3 |
| | |||||
* | prosody: Set a luasocket global, fixes undefined global access in loop() ↵ | Kim Alvefur | 2015-09-02 | 1 | -0/+1 |
| | | | | (pending util.startup) | ||||
* | statsmanager, prosody: New core module and API for gathering statistics ↵ | Matthew Wild | 2015-01-20 | 1 | -0/+1 |
| | | | | about the running server | ||||
* | prosody: Make getfenv() replacement for require() sandboxing local to avoid ↵ | Kim Alvefur | 2014-10-13 | 1 | -6/+4 |
| | | | | polluting the globals table | ||||
* | prosody: Fix getfenv replacement for Lua 5.2 | Kim Alvefur | 2014-09-17 | 1 | -1/+6 |
| | |||||
* | Merge 0.9->0.10 | Kim Alvefur | 2014-04-10 | 1 | -3/+7 |
|\ | |||||
| * | prosody: Check dependencies later in the startup sequence | Kim Alvefur | 2014-04-09 | 1 | -3/+7 |
| | | |||||
* | | Merge 0.9->0.10 | Matthew Wild | 2013-12-13 | 1 | -1/+2 |
|\| | |||||
| * | prosody: Store the config file name so the same file can be used when reloading | Kim Alvefur | 2013-12-13 | 1 | -1/+2 |
| | | |||||
* | | prosody: Remove global ssl context, no longer used | Kim Alvefur | 2013-06-13 | 1 | -6/+0 |
|/ | |||||
* | prosody: load rostermanager after usermanager during environment initialization. | Marco Cirillo | 2013-04-05 | 1 | -1/+1 |
| | |||||
* | prosody, prosodyctl: Remove last trace of "core" \o/ | Kim Alvefur | 2013-03-23 | 1 | -2/+2 |
| | |||||
* | prosody: Add COMPAT note about globals | Matthew Wild | 2013-03-22 | 1 | -0/+1 |
| | |||||
* | configmanager, hostmanager, prosody: Almost complete removal of ↵ | Matthew Wild | 2013-03-22 | 1 | -2/+2 |
| | | | | section-related code, and the infamous 'core' section. Still backwards-compatible with API users. | ||||
* | prosodyctl, prosody: Pass the selected config file from prosodyctl to prosody | Kim Alvefur | 2013-01-09 | 1 | -0/+2 |
| | |||||
* | prosody, mod_c2s, mod_s2s: Move closing of c2s and s2s sessions to ↵ | Kim Alvefur | 2012-12-28 | 1 | -37/+0 |
| | | | | respective plugins |