Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | util.dependencies: Print tables itself to reduce number of imports | Kim Alvefur | 2023-05-26 | 1 | -2/+1 |
| | | | | | | | | | | | | | | | | Rationale: See diffstat When this module is imported, it ends up calling stty via term_width() in util.human.io.table(). When this happens outside of a terminal, the following message is sent to stdout: stty: 'standard input': Inappropriate ioctl for device Not importing this module avoids that. Furthermore three is value in this module having minimal dependencies as they might not be available when it does the checks. Ref a1fed82c44b9 | ||||
* | util: Prefix module imports with prosody namespace | Kim Alvefur | 2023-03-17 | 1 | -8/+8 |
| | |||||
* | util.dependencies: Reject Lua 5.1, Lua 5.2 or later is now required (see #1600) | Kim Alvefur | 2022-07-02 | 1 | -2/+2 |
| | |||||
* | util.dependencies: Deprecate support for Lua 5.1, this is your final warning | Kim Alvefur | 2022-06-30 | 1 | -1/+1 |
| | |||||
* | core.certmanager: Turn soft dependency on LuaSec into a hard | Kim Alvefur | 2022-02-10 | 1 | -1/+1 |
| | | | | | | The default network backend server_epoll already requires LuaSec so Prosody won't even start without it, so we can get rid of these lines here too. | ||||
* | util.dependencies: Refer to 'apt' instead of 'apt-get' | Kim Alvefur | 2022-02-13 | 1 | -6/+6 |
| | | | | | The more modern and user friendly frontend, should be in every supported version of Debian and Ubuntu by now | ||||
* | util.dependencies: Enable warning about missing lua-unbound | Kim Alvefur | 2022-01-05 | 1 | -3/+2 |
| | | | | Packages exists now. | ||||
* | util.dependencies: Fix typo (thanks jonas’) | Kim Alvefur | 2021-11-30 | 1 | -1/+1 |
| | | | | | | | | | | vim> Change "sevral" to: 1 "several" 2 "sacral" 3 "spiral" 4 "feral" 5 "serial" jonas’> I choose 4. | ||||
* | util.dependencies: Discourage Lua 5.1 | Kim Alvefur | 2021-11-28 | 1 | -0/+2 |
| | | | | Search for 'Lua 5.1' for reasons. | ||||
* | util.dependencies: Consider Lua 5.4 Supported:tm: | Kim Alvefur | 2021-11-28 | 1 | -1/+1 |
| | | | | | I have been running my own server exclusively on Lua 5.4 for months and apart from packaging issues I remember on major issues. | ||||
* | util.dependencies: Quiet luacheck | Kim Alvefur | 2020-06-28 | 1 | -2/+2 |
| | |||||
* | util.dependencies: Tone down lua-unbound dependency for now | Kim Alvefur | 2020-06-27 | 1 | -0/+2 |
| | | | | | | At least until packages are available Wording from MattJ | ||||
* | util.dependencies: Prefer net.unbound over net.adns | Kim Alvefur | 2020-06-25 | 1 | -0/+5 |
| | |||||
* | util.dependencies: Add awareness of luaunbound | Kim Alvefur | 2020-06-25 | 1 | -0/+8 |
| | |||||
* | util.dependencies: Use util.human.io.table to replace custom layout code | Matthew Wild | 2020-06-04 | 1 | -25/+22 |
| | |||||
* | util.dependencies: Pass require error to error formatting function | Kim Alvefur | 2019-12-23 | 1 | -10/+11 |
| | | | | | | For future use there. Silences luacheck warnings about unused 'err' | ||||
* | util.dependencies: Avoid missing bitop false positive on Lua 5.4 | Kim Alvefur | 2019-11-09 | 1 | -1/+1 |
| | |||||
* | util.dependencies: Increase Lua version to warn about to 5.4 | Kim Alvefur | 2019-06-19 | 1 | -1/+1 |
| | | | | | | No significant problems have been encountered with Lua 5.3 itself, so apart from some odd problems in LuaExpat it seems about time to declare it ready. | ||||
* | util.dependencies: Remove ztact compatability warning | Matthew Wild | 2018-10-26 | 1 | -13/+0 |
| | |||||
* | util.dependencies: Add compat code for normalization of socket constructors | Kim Alvefur | 2018-10-12 | 1 | -0/+4 |
| | | | | | | Old LuaSocket had only tcp() which was IPv4-only. LuaSocket ~3.0 adds a tcp6() that creates a IPv6 socket. Some version moves tcp() to tcp4() and adds an IP-version-agnostic tcp() constructor. | ||||
* | Merge 0.10->trunk | Kim Alvefur | 2017-03-23 | 1 | -1/+1 |
|\ | |||||
| * | util.dependencies: Give APT command for installing lua-sec | Kim Alvefur | 2017-03-21 | 1 | -1/+1 |
| | | |||||
* | | Merge 0.10->trunk | Kim Alvefur | 2017-01-29 | 1 | -11/+13 |
|\| | |||||
| * | util.dependencies: Normalize whitespace | Kim Alvefur | 2017-01-28 | 1 | -11/+13 |
| | | |||||
* | | Merge 0.10->trunk | Kim Alvefur | 2017-01-09 | 1 | -3/+3 |
|\| | |||||
| * | util.dependencies: Update Debian package names for liblua5.1-lib0 -> lua-lib ↵ | Kim Alvefur | 2017-01-06 | 1 | -3/+3 |
| | | | | | | | | transition | ||||
* | | Merge 0.10->trunk | Kim Alvefur | 2016-12-05 | 1 | -2/+13 |
|\| | |||||
| * | util.dependencies: Add check and info about lua-bitops (for mod_websockets) | Kim Alvefur | 2016-12-05 | 1 | -0/+11 |
| | | |||||
| * | util.dependencies: Update links for LuaExpat and LuaSec which have moved to ↵ | Kim Alvefur | 2016-12-05 | 1 | -2/+2 |
| | | | | | | | | new locations | ||||
* | | Merge 0.10->trunk | Kim Alvefur | 2016-11-19 | 1 | -1/+1 |
|\| | |||||
| * | util.dependencies: Disable warning about Lua 5.2 (but still warn about 5.3) | Kim Alvefur | 2016-11-18 | 1 | -1/+1 |
| | | |||||
* | | Update every link to the documentation to use HTTPS | Emmanuel Gil Peyrot | 2016-04-16 | 1 | -6/+6 |
|/ | |||||
* | util.dependencies: Show the full error when a symbol is not found (i.e., ↵ | Thijs Alkemade | 2016-03-10 | 1 | -2/+2 |
| | | | | when running Prosody with the wrong version of Lua). | ||||
* | util.dependencies: Use prosody.log() instead of global log() | Matthew Wild | 2015-12-16 | 1 | -4/+4 |
| | |||||
* | util.dependencies: Only abort on Lua versions before 5.1, log a warning ↵ | Kim Alvefur | 2015-02-21 | 1 | -2/+5 |
| | | | | about 5.2 and above for now | ||||
* | util.*: Remove use of module() function, make all module functions local and ↵ | Kim Alvefur | 2015-02-21 | 1 | -7/+12 |
| | | | | return them in a table at the end | ||||
* | Merge 0.9->0.10 | Kim Alvefur | 2014-04-10 | 1 | -0/+8 |
|\ | |||||
| * | util.dependencies: Check for Lua 5.1. We don't currently support any other ↵ | Waqas Hussain | 2014-04-09 | 1 | -0/+8 |
| | | | | | | | | versions. LuaJIT identifies as 5.1. | ||||
* | | Merge 0.9->0.10 | Matthew Wild | 2014-04-02 | 1 | -10/+10 |
|\ \ | |/ |/| | |||||
| * | Remove all trailing whitespace | Florian Zeitz | 2013-08-09 | 1 | -10/+10 |
| | | |||||
* | | util.dependencies: Log error when LuaExpat is not capable of enforcing ↵ | Matthew Wild | 2014-03-30 | 1 | -1/+9 |
|/ | | | | stanza size limits | ||||
* | util.dependencies, util.xmppstream: Move LuaExpat version checking to ↵ | Waqas Hussain | 2011-11-22 | 1 | -0/+8 |
| | | | | util.dependencies. | ||||
* | util.dependencies: Add a dummy util.ztact loader to log a message for people ↵ | Matthew Wild | 2011-04-05 | 1 | -0/+13 |
| | | | | still using it (e.g. in their Debian-derived config files) | ||||
* | prosody, prosodyctl, util.dependencies: Split checking and logging of ↵ | Matthew Wild | 2010-12-20 | 1 | -5/+8 |
| | | | | dependencies so we can check hard deps before the config and logging is loaded | ||||
* | Merge 0.6->0.7 | Matthew Wild | 2010-03-22 | 1 | -2/+2 |
|\ | |||||
| * | Update copyright headers for 2010 | Matthew Wild | 2010-03-22 | 1 | -2/+2 |
| | | |||||
| * | util.dependencies: Make the commands line up properly in the "missing ↵ | Matthew Wild | 2009-11-23 | 1 | -2/+6 |
| | | | | | | | | dependency" output. Yes, this was the commit you didn't know you were waiting for! | ||||
* | | util.dependencies: Don't query the config (it isn't really necessary) | Matthew Wild | 2010-02-05 | 1 | -9/+5 |
| | | |||||
* | | util.dependencies: Load luarocks.loader/luarocks.require | Matthew Wild | 2010-01-28 | 1 | -0/+5 |
| | | |||||
* | | util.dependencies, prosody, prosodyctl: Give util.dependencies a ↵ | Matthew Wild | 2010-01-28 | 1 | -81/+86 |
| | | | | | | | | check_dependencies() function so the caller can decide what to do when dependencies aren't met - update prosody/prosodyctl for this change |