aboutsummaryrefslogtreecommitdiffstats
path: root/util/dependencies.lua
Commit message (Collapse)AuthorAgeFilesLines
* util.dependencies: Print tables itself to reduce number of importsKim Alvefur2023-05-261-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 namespaceKim Alvefur2023-03-171-8/+8
|
* util.dependencies: Reject Lua 5.1, Lua 5.2 or later is now required (see #1600)Kim Alvefur2022-07-021-2/+2
|
* util.dependencies: Deprecate support for Lua 5.1, this is your final warningKim Alvefur2022-06-301-1/+1
|
* core.certmanager: Turn soft dependency on LuaSec into a hardKim Alvefur2022-02-101-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 Alvefur2022-02-131-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-unboundKim Alvefur2022-01-051-3/+2
| | | | Packages exists now.
* util.dependencies: Fix typo (thanks jonas’)Kim Alvefur2021-11-301-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.1Kim Alvefur2021-11-281-0/+2
| | | | Search for 'Lua 5.1' for reasons.
* util.dependencies: Consider Lua 5.4 Supported:tm:Kim Alvefur2021-11-281-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 luacheckKim Alvefur2020-06-281-2/+2
|
* util.dependencies: Tone down lua-unbound dependency for nowKim Alvefur2020-06-271-0/+2
| | | | | | At least until packages are available Wording from MattJ
* util.dependencies: Prefer net.unbound over net.adnsKim Alvefur2020-06-251-0/+5
|
* util.dependencies: Add awareness of luaunboundKim Alvefur2020-06-251-0/+8
|
* util.dependencies: Use util.human.io.table to replace custom layout codeMatthew Wild2020-06-041-25/+22
|
* util.dependencies: Pass require error to error formatting functionKim Alvefur2019-12-231-10/+11
| | | | | | For future use there. Silences luacheck warnings about unused 'err'
* util.dependencies: Avoid missing bitop false positive on Lua 5.4Kim Alvefur2019-11-091-1/+1
|
* util.dependencies: Increase Lua version to warn about to 5.4Kim Alvefur2019-06-191-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 warningMatthew Wild2018-10-261-13/+0
|
* util.dependencies: Add compat code for normalization of socket constructorsKim Alvefur2018-10-121-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->trunkKim Alvefur2017-03-231-1/+1
|\
| * util.dependencies: Give APT command for installing lua-secKim Alvefur2017-03-211-1/+1
| |
* | Merge 0.10->trunkKim Alvefur2017-01-291-11/+13
|\|
| * util.dependencies: Normalize whitespaceKim Alvefur2017-01-281-11/+13
| |
* | Merge 0.10->trunkKim Alvefur2017-01-091-3/+3
|\|
| * util.dependencies: Update Debian package names for liblua5.1-lib0 -> lua-lib ↵Kim Alvefur2017-01-061-3/+3
| | | | | | | | transition
* | Merge 0.10->trunkKim Alvefur2016-12-051-2/+13
|\|
| * util.dependencies: Add check and info about lua-bitops (for mod_websockets)Kim Alvefur2016-12-051-0/+11
| |
| * util.dependencies: Update links for LuaExpat and LuaSec which have moved to ↵Kim Alvefur2016-12-051-2/+2
| | | | | | | | new locations
* | Merge 0.10->trunkKim Alvefur2016-11-191-1/+1
|\|
| * util.dependencies: Disable warning about Lua 5.2 (but still warn about 5.3)Kim Alvefur2016-11-181-1/+1
| |
* | Update every link to the documentation to use HTTPSEmmanuel Gil Peyrot2016-04-161-6/+6
|/
* util.dependencies: Show the full error when a symbol is not found (i.e., ↵Thijs Alkemade2016-03-101-2/+2
| | | | when running Prosody with the wrong version of Lua).
* util.dependencies: Use prosody.log() instead of global log()Matthew Wild2015-12-161-4/+4
|
* util.dependencies: Only abort on Lua versions before 5.1, log a warning ↵Kim Alvefur2015-02-211-2/+5
| | | | about 5.2 and above for now
* util.*: Remove use of module() function, make all module functions local and ↵Kim Alvefur2015-02-211-7/+12
| | | | return them in a table at the end
* Merge 0.9->0.10Kim Alvefur2014-04-101-0/+8
|\
| * util.dependencies: Check for Lua 5.1. We don't currently support any other ↵Waqas Hussain2014-04-091-0/+8
| | | | | | | | versions. LuaJIT identifies as 5.1.
* | Merge 0.9->0.10Matthew Wild2014-04-021-10/+10
|\ \ | |/ |/|
| * Remove all trailing whitespaceFlorian Zeitz2013-08-091-10/+10
| |
* | util.dependencies: Log error when LuaExpat is not capable of enforcing ↵Matthew Wild2014-03-301-1/+9
|/ | | | stanza size limits
* util.dependencies, util.xmppstream: Move LuaExpat version checking to ↵Waqas Hussain2011-11-221-0/+8
| | | | util.dependencies.
* util.dependencies: Add a dummy util.ztact loader to log a message for people ↵Matthew Wild2011-04-051-0/+13
| | | | still using it (e.g. in their Debian-derived config files)
* prosody, prosodyctl, util.dependencies: Split checking and logging of ↵Matthew Wild2010-12-201-5/+8
| | | | dependencies so we can check hard deps before the config and logging is loaded
* Merge 0.6->0.7Matthew Wild2010-03-221-2/+2
|\
| * Update copyright headers for 2010Matthew Wild2010-03-221-2/+2
| |
| * util.dependencies: Make the commands line up properly in the "missing ↵Matthew Wild2009-11-231-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 Wild2010-02-051-9/+5
| |
* | util.dependencies: Load luarocks.loader/luarocks.requireMatthew Wild2010-01-281-0/+5
| |
* | util.dependencies, prosody, prosodyctl: Give util.dependencies a ↵Matthew Wild2010-01-281-81/+86
| | | | | | | | check_dependencies() function so the caller can decide what to do when dependencies aren't met - update prosody/prosodyctl for this change